Skip to content

Commit a40f931

Browse files
docs: add development in information
* Publishing on NPM * Regenerating package-lock.json
1 parent f5abb18 commit a40f931

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,3 +473,21 @@ Finally, make the node command available through:
473473
```
474474
sudo ln -sf /usr/local/n/versions/node/<VERSION>/bin/node /usr/bin/node
475475
```
476+
477+
## Development Internals
478+
479+
<details>
480+
<summary>details</summary>
481+
482+
### Publishing on NPM
483+
484+
Run `npm publish --workspaces` in root node-wot folder.
485+
486+
### Regenerating package-lock.json
487+
488+
1. Delete `package-lock.json` file
489+
1. Delete _any_ local cache (like `node_modules` folders etc.)
490+
1. Run `npm install`
491+
1. Run `npm dedupe` (see https://github.com/eclipse/thingweb.node-wot/pull/765#issuecomment-1133772886)
492+
493+
</details>

0 commit comments

Comments
 (0)