Skip to content
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 rebuild accepts --store-dir #5036

Merged
merged 2 commits into from Jul 15, 2022
Merged

Conversation

chengcyber
Copy link
Member

@chengcyber chengcyber commented Jul 15, 2022

Summary

Make pnpm rebuild accepts --store-dir

Detail

Before:

pnpm install --store-dir <some_dir> --ignore-scripts
pnpm rebuild --store-dir <some_dir> --pending

pnpm complains

 ERROR   ERROR  Unknown option: 'store-dir'
Did you mean 'stream'? Use "--config.unknown=value" to force an unknown option.

After:

pnpm rebuild --store-dir <some_dir> --pending

it works

workaround now

pnpm rebuild --config.storeDir=<some_dir> --pending

@chengcyber chengcyber requested a review from zkochan as a code owner July 15, 2022 04:20
@chengcyber chengcyber changed the title Feat rebuild store dir pnpm rebuild accepts --store-dir Jul 15, 2022
@zkochan zkochan merged commit 13210db into pnpm:main Jul 15, 2022
@chengcyber chengcyber deleted the feat-rebuild-store-dir branch July 16, 2022 14:04
This was referenced Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants