Skip to content

Commit

Permalink
docs: add development in information
Browse files Browse the repository at this point in the history
* Publishing on NPM
* Regenerating package-lock.json
  • Loading branch information
danielpeintner committed May 24, 2022
1 parent f5abb18 commit a40f931
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,3 +473,21 @@ Finally, make the node command available through:
```
sudo ln -sf /usr/local/n/versions/node/<VERSION>/bin/node /usr/bin/node
```

## Development Internals

<details>
<summary>details</summary>

### Publishing on NPM

Run `npm publish --workspaces` in root node-wot folder.

### Regenerating package-lock.json

1. Delete `package-lock.json` file
1. Delete _any_ local cache (like `node_modules` folders etc.)
1. Run `npm install`
1. Run `npm dedupe` (see https://github.com/eclipse/thingweb.node-wot/pull/765#issuecomment-1133772886)

</details>

0 comments on commit a40f931

Please sign in to comment.