Let's say you want to add a new package named test-analysis
.
-
Run the create-package script
node scripts/create-package.mjs test-analysis
-
Add a description to your package:
- In
packages/test-analysis/package.json
- In
packages/test-analysis/README.md
- In
-
Implement the package. Do not forget to update the usage example in
packages/test-analysis/README.md
.
Example: test-analysis
needs to depend on other-analysis
.
- If
other-analysis
is already published in the npm registry:npm i -w test-analysis other-analysis
. - If
other-analysis
is not published yet, add the dependency manually, as"other-analysis": "^0.0.0"
.