-
-
Notifications
You must be signed in to change notification settings - Fork 940
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
New command: pnpm fetch #3294
New command: pnpm fetch #3294
Conversation
Maybe I should rename the option from |
I think |
Don't forget to run |
I found that if I leave |
dd1236c
to
99830a7
Compare
9f59dae
to
bd40b8c
Compare
After thinking about it more, |
I even thought it might be another low-level command that is managing the virtual store and lockfile, rather than an option of install which is just convenient for implementation. |
Like cc @pnpm/collaborators |
pnpm preload? |
We use fetch in the repository and there are settings named fetch, so probably |
I like |
I've created a poll to gather some feedback https://twitter.com/pnpmjs/status/1377343518579044372 |
It looks like |
6f73d02
to
3ad1493
Compare
36ea486
to
af5405f
Compare
Co-authored-by: Zoltan Kochan <zkochan@users.noreply.github.com>
This PR attempts to implement the idea discussed in #3207, by adding a new option
--only-import-to-virtual-store
(No idea for better option name yet)to install command.With the feature implemented in this PR. Docker file can be simplified to
As long as the lockfile were not changed, the layer of
RUN pnpm install --only-import-to-virtual-store
can be cached.@zkochan Would you please review and give some advice?