diff --git a/docs/static/Devel/ReleasePublish.md b/docs/static/Devel/ReleasePublish.md index 54ce1e0dd..7b5780f69 100644 --- a/docs/static/Devel/ReleasePublish.md +++ b/docs/static/Devel/ReleasePublish.md @@ -20,4 +20,4 @@ In order to publish the package to [npmjs](https://www.npmjs.com/) package repos 1. Authenticate on npmjs with `npm login` and use the vcity account together with proper credentials. Note: because the npmjs authentication mode of the `vcity`account is currently configured to [One-Time-Password (OTP) over email](https://docs.npmjs.com/receiving-a-one-time-password-over-email) you will need to be part of the `vcity@liris.cnrs.fr` email alias forwarder to receive the OTP and be patient about it (the reception delay can be up to a couple minutes). -1. `npm publish --workspace` +1. `npm publish --workspaces` diff --git a/packages/node/package.json b/packages/node/package.json index dadcc9b6a..8ecedc032 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -6,6 +6,9 @@ "scripts": { "build": "cross-env NODE_ENV=production webpack" }, + "files": [ + "src" + ], "repository": { "type": "git", "url": "git+https://github.com/VCityTeam/UD-Viz.git" diff --git a/packages/shared/package.json b/packages/shared/package.json index f89fcd203..19106e8b0 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -9,6 +9,9 @@ "test": "node --trace-warnings ./bin/test.js", "debug": "nodemon --trace-warnings --verbose --watch src --watch ./bin/Test/**/*.js --delay 2500ms ./bin/debug.js -e js" }, + "files": [ + "src" + ], "repository": { "type": "git", "url": "git+https://github.com/VCityTeam/UD-Viz.git"