Skip to content
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

Support npm workspaces in set-workspace-version.js #1368

Merged

Conversation

timostamm
Copy link
Member

@timostamm timostamm commented Dec 13, 2024

This updates scripts/set-workspace-version.js to use the Node.js v22 glob feature to support npm workspaces. The script requires a package-lock.json file now. Workspace packages can omit a version, but only if they are private.

Also updating the script in connectrpc/connect-query-es#499 and bufbuild/protobuf-es#1036.

Signed-off-by: Timo Stamm <ts@timostamm.de>
@timostamm timostamm merged commit a9b4b83 into main Dec 17, 2024
46 checks passed
@timostamm timostamm deleted the tstamm/Support-npm-workspaces-in-set-workspace-version.js branch December 17, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants