Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Disable package hoisting #45991

Open
Open
@gitstart-sourcegraph

Description

@gitstart-sourcegraph

Problem statement

We are migrating from yarn to pnpm, the initial setups are done in this branch.
We need to disabling pnpm hoisting by setting hoist=false is recommended on projects using rules_js so that pnpm outside of Bazel lays out a node_modules tree similar to what rules_js lays out under Bazel (without a hidden node_modules/.pnpm/node_modules)

Success criteria

  • Lift other dependencies from the root package.json to client workspaces packages
  • Disable package hoisting hoist=false in the .npmrc

Time estimate

  • Pull requests with ~450 lines changed should take 8 hours at maximum. Ping the reviewer in the spec pull request if time-consuming changes are required.
  • Split the work into multiple pull requests if the total diff is bigger than 450 lines of code.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions