-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: switch to 'npm workspaces' #156
Conversation
Let's try npm workspaces for handling multiple packages. The primary win is developing local changes to the helpers package and having the others automatically linked. Note that npm workspaces requires npm@7 or later, which typically means node@16 or later. For earler Node.js versions there are utils/run-* scripts to support install/test/lint.
I've tested
The second point may difficult to do changes in more than one package at the same time (I think they can manually |
What version of node and npm were you using with this? With node 18 I get:
|
Then it's okay. It will be obvious if someone with node < 16 and npm < 7 creates a PR and accidentally includes those files. |
Let's try npm workspaces for handling multiple packages. The primary win is developing local changes to the helpers package and having the others automatically linked.
Note that npm workspaces requires npm@7 or later, which typically means node@16 or later. For earler Node.js versions there are utils/run-* scripts to support install/test/lint.