-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
pnpm_10: init at 10.0.0 #371832
pnpm_10: init at 10.0.0 #371832
Conversation
8fddf62
to
145c26e
Compare
I patched
|
please also backport it to 24.11 |
In that case, we should make sure to keep |
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.
Changes LGTM
Proposal for release note entry:
|
Rebased to master as a package using |
Only rebuild is still
|
There is another conflict. Apart from that, I'd suggest dropping pnpm 8 soon. As pnpm 9 can work with lockfiles generated by pnpm 8, I don't really see many reasons to keep it around. After you rebase, I'd say this is good to merge |
I'm happy with starting the I'm creating the backport PR soon including the
|
Fixed a few instances where the file has |
Release: https://github.com/pnpm/pnpm/releases/tag/v10.0.0
Since the store and lockfile format has changed, we can't use
pnpm_10
for packages previously using the latestpnpm
. Therefore I pinned packages'pnpm
topnpm_9
.TODO
read through the release notes and see if we can improve on the current infrastructure
pnpm.fetchDeps
hashes will change, as expected from a new major releaseIn the pnpm tools already use
--ignore-scripts
where possible, this may affect packagesOverall there doesn't seem to be any new features for us
bump default pnpm to pnpm_10 (packages using
pnpm
are now pinned topnpm_9
)update release notes (we can skip this if we stick to pinning oldpnpm
packages topnpm_9
)figure out error: "Cannot install with "frozen-lockfile" because pnpm-lock.yaml is absent"
--force
from thepnpm install
command will say "Lockfile /build/source/pnpm-lock.yaml not compatible with current pnpm"pnpm config set store-dir my-store && pnpm install
installs deps tomy-store
on v9, but installs to default location in v10, but this only happens if there are no node_modules/dist foldersfind all PRs that are using the
pnpm
package and warn them that it's being changed frompnpm_9
topnpm_10
to avoid breakages (after this is merged)there are 15 such PRs (last updated: 2024-01-15)
How should we deal with soon EOL pnpm 8? (followup PR)
With a new major release and pnpm_8 being EOL in about 4 months, I think we should try to bump pnpm version in packages.
How much we should wait before starting to bump?
I'd start it ~1-2 months depending on how many PRs are touching pnpm versions, what do you think @Scrumplex?
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.