[js] remove npm dependency by using bazel for everything#17499
Conversation
Review Summary by QodoReplace npm with Bazel-managed pnpm for Node.js tooling WalkthroughsDescription• Replace npm with pnpm for package linking via Bazel • Remove hardcoded pnpm version from package.json • Standardize on Bazel for all Node.js tooling Diagramflowchart LR
A["npm link command"] -->|replaced with| B["Bazel pnpm execution"]
C["Hardcoded pnpm version"] -->|removed| D["Bazel-managed version"]
B --> E["Unified Bazel tooling"]
D --> E
File Changes1. rake_tasks/node.rake
|
Code Review by Qodo
1. cmd_line built via shell
|
|
Persistent review updated to latest commit 9630c52 |
* origin/trunk: (97 commits) [py] update python dependencies (SeleniumHQ#17490) [build] fix renovate reported issues with configuration [build] remove base-ref from renovate workflows it does not work for the use case I had for them [build] add renovate dependency workflow (SeleniumHQ#17504) [build] simplify commit-changes workflow (SeleniumHQ#17503) [build] clarify dependency pin and update tasks (SeleniumHQ#17463) [build] do not rerun or attempt to upload logs unless workflow failure is from the Bazel step [build] fix renovate ignore rules_python to v2 until upstream fixed [build] renovate ignore rules_python until upstream fixed [build] bump rules_closure version (SeleniumHQ#17500) [build] bump rules_jvm_external (SeleniumHQ#17501) [js] remove npm dependency by using bazel for everything (SeleniumHQ#17499) [build] bump ruby versions to latest patch releases (SeleniumHQ#17496) [dotnet] [build] Support deterministic build output (SeleniumHQ#17497) [build] remove renovate update requests pending work done in SeleniumHQ#17427 (SeleniumHQ#17498) [dotnet] [build] Fix remote linkage in SourceLink (SeleniumHQ#17495) [rust] update reqwest to 0.13 (SeleniumHQ#17488) [build] bump low-risk Bazel module dependencies (SeleniumHQ#17494) [dotnet] run format against slnx instead of looping csproj (SeleniumHQ#17483) [build] ignore renovate.json references in renovate recommendations ... # Conflicts: # MODULE.bazel # rust/BUILD.bazel
There was one place in node.rake that still used system npm, this removes it so that bazel is used for everything.
Also we're hard coding a pnpm version that I don't think even gets read since it uses the version from aspect_rules_js
💥 What does this PR do?
🤖 AI assistance
💡 Additional Considerations
Updating dependencies when working on JS code requires:
or