With this, one npm install is enough to get all dependencies for all modules. Tasks can also be started from the root directory:
npm run taskName --workspaces # starts a task with that name in all workspaces
npm run taskName --workspace workspaceName # starts a task with that name in a specific workspace
Adds a root
package.json
, which makes use of NPM workspaces: https://docs.npmjs.com/cli/v7/using-npm/workspaces https://ruanmartinelli.com/posts/npm-7-workspaces-1With this, one
npm install
is enough to get all dependencies for all modules. Tasks can also be started from the root directory: