-
-
Notifications
You must be signed in to change notification settings - Fork 980
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
feat: move .pnpm-lock.yaml to .pnpm/ #2018
Conversation
@aparajita @ExE-Boss I think now that there'll be a |
PR #2018 BREAKING CHANGE: node_modules/.pnpm-lock.yaml => node_modules/.pnpm/pnpm-lock.yaml
3e4388d
to
ad9a77a
Compare
PR #2018 BREAKING CHANGE: node_modules/.pnpm-lock.yaml => node_modules/.pnpm/pnpm-lock.yaml
ad9a77a
to
59b7d8b
Compare
PR #2018 BREAKING CHANGE: node_modules/.pnpm-lock.yaml => node_modules/.pnpm/pnpm-lock.yaml
59b7d8b
to
c2e487c
Compare
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.
I think doing this is a good idea, but I’ll wait for @aparajita.
A thought occurs, why is pnpm’s name duplicated in the file hierarchy, shouldn’t it just be:
|
I guess |
BREAKING CHANGE:
node_modules/.pnpm-lock.yaml => node_modules/.pnpm/pnpm-lock.yaml
node_modules/.modules.yaml => node_modules/.pnpm/modules.yamlIt is pretty safe to move.pnpm-lock.yaml
to.pnpm/pnpm-lock.yaml
.I am not sure about.modules.yaml
though. There are two issues with moving.modules.yaml
:1. previous versions of pnpm are reading this file and they can tell users that a newer version of pnpm was used to install the node_modules2. if we decide to make the virtual store location configurable (the
node_modules/.pnpm
dir),.modules.yaml
may be used to store its custom location (related #1636)