Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ This tools assumes an archetype structure of:
that has tasks for both production and development. Must have `name`,
`description` fields.
* A development sub-directory or independent repository containing dependencies
for development tasks only.
* `dev/package.json`
* `../ARCHETYPE-dev/package.json`
for development tasks only. One of the following should exist:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, One, and only one, of the following ?

* `./dev`
* `../ARCHETYPE-dev`

Assuming those exist, then the tool:

* Modifies `ARCHETYPE-dev/package.json` as follows:
* Copies the root `package.json`
* Removes `package.json:devDependencies`
* Replaces `package.json:dependencies` with
`ARCHETYPE-dev/package.json:dependencies`
* Replaces `package.json:dependencies` that were copied from root with
`ARCHTYPE-dev/package.json:dependencies`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: s/ARCHTYPE/ARCHETYPE/

* Updates things like the `name` field to represent `ARCHETYPE-dev`

* Copies `README.md` to `ARCHETYPE-dev/README.md`
Expand Down