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

Making -D, -P short aliases for --dev, --prod #2251

Closed
zkochan opened this issue Jan 5, 2020 · 0 comments · Fixed by #2376
Closed

Making -D, -P short aliases for --dev, --prod #2251

zkochan opened this issue Jan 5, 2020 · 0 comments · Fixed by #2376

Comments

@zkochan
Copy link
Member

zkochan commented Jan 5, 2020

Currently, -D, -P are the short aliases of --save-dev, --save-prod.

However, the save flags are never used on the same commands as the dependency type commands, so we may use these short aliases for --dev and --prod as well.

So these will work:

pnpm install -P
pnpm list -D
@zkochan zkochan changed the title Making -D, -P, -O short aliases for --dev, --production, --optional Making -D, -P short aliases for --dev, --production Jan 7, 2020
@zkochan zkochan changed the title Making -D, -P short aliases for --dev, --production Making -D, -P short aliases for --dev, --prod Jan 7, 2020
@zkochan zkochan added the size: S label Jan 7, 2020
zkochan added a commit that referenced this issue Feb 23, 2020
zkochan added a commit that referenced this issue Feb 23, 2020
close #2251
PR #2376 

BREAKING CHANGE: @pnpm/parse-cli-args
@zkochan zkochan added this to the v4.10 milestone Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant