-
Notifications
You must be signed in to change notification settings - Fork 14k
switch to yarn #148672
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: master
Are you sure you want to change the base?
switch to yarn #148672
Conversation
|
This PR modifies If appropriate, please update This PR modifies If appropriate, please update |
src/build_helper/src/npm.rs
Outdated
| cmd.arg("install"); | ||
|
|
||
| // ensure pnpm obeys the lockfile, and disable command shims so we can controll the nodejs version easily | ||
| //cmd.args(&["--config.extendNodePath=false", "--config.nodeLinker=hoisted", "--frozen-lockfile", "--shamefully-hoist"]); |
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.
pnpm leftover
src/build_helper/src/npm.rs
Outdated
| let exit_status = cmd.spawn()?.wait()?; | ||
| if !exit_status.success() { | ||
| eprintln!("npm install did not exit successfully"); | ||
| eprintln!("pnpm install did not exit successfully"); |
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.
pnpm leftover
src/build_helper/src/npm.rs
Outdated
| eprintln!("pnpm install did not exit successfully"); | ||
| return Err(io::Error::other(Box::<dyn Error + Send + Sync>::from(format!( | ||
| "npm install returned exit code {exit_status}" | ||
| "pnpm install returned exit code {exit_status}" |
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.
pnpm leftover
bootstrap.example.toml
Outdated
| # The npm executable to use. Note that this is used for rustdoc-gui tests, | ||
| # otherwise this can be omitted. | ||
| # The pnpm executable to use. Note that this is used for rustdoc-gui tests and | ||
| # tidy js extra-checks, otherwise this can be omitted. | ||
| # | ||
| # Under Windows this should be `npm.cmd` or path to it (verified on nodejs v18.06), or | ||
| # Under Windows this should be `pnpm.cmd` or path to it (verified on nodejs v18.06), or | ||
| # error will be emitted. | ||
| #build.npm = "npm" | ||
| #build.pnpm = "pnpm" |
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.
pnpm leftovers
This comment has been minimized.
This comment has been minimized.
dd4b4c9 to
b5bcc0e
Compare
|
Removed all the references to pnpm, I think tidy still references will also update change_tracker once CI is done. |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
npm lockfile implementation is nonfunctional