-
Notifications
You must be signed in to change notification settings - Fork 61
feat(ng-dev): add sync-module-bazel command to update pnpm and typescript versions and integrity in MODULE.bazel
#3340
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
base: main
Are you sure you want to change the base?
Conversation
5153813 to
dc9872e
Compare
…ypescript` versions and integrity in `MODULE.bazel` This is helpful to ensure that these versions are always synced.
dc9872e to
67a9f7b
Compare
c9c20e4 to
8eb6661
Compare
This will be handled in dev-infra preset, see: angular/dev-infra#3340
8eb6661 to
a5377cc
Compare
… and `typescript` versions and integrity in `MODULE.bazel`
a5377cc to
de575ef
Compare
| "24.11.0-linux_amd64": ("node-v24.11.0-linux-x64.tar.xz", "node-v24.11.0-linux-x64", "46da9a098973ab7ba4fca76945581ecb2eaf468de347173897044382f10e0a0a"), | ||
| "24.11.0-windows_amd64": ("node-v24.11.0-win-x64.zip", "node-v24.11.0-win-x64", "1054540bce22b54ec7e50ebc078ec5d090700a77657607a58f6a64df21f49fdd"), | ||
| }, | ||
| node_version = "24.11.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using node_version_from_nvmrc in dev-infra causes build failures because pnpm ng-dev sync-module-bazel executes inside Bazel. To prevent errors during syncing, we must ensure the Node.js toolchain is correctly configured before actually syncing. Thus, we update the node_version with that inside the .nvmrc during syncing.
This is helpful to ensure that these versions are always synced.