Add shortcut commands like -S for --save & -D for --dev
using yarn add <pkg-name> does that, however I don't see how to do it for dev-dep
@MRokas https://yarnpkg.com/en/docs/cli/add#toc-yarn-add-dev
yarn add --dev $pkg works, but it's going to take a while for my muscle memory to adapt to --dev instead of -D…
Yea it would be good to have as more as possible mappings of npm commands/flags
@montogeek - oh, managed to miss docs link. ty!
Yeah I was gonna alias npm=yarn but typing npm triggers muscle memory and I'd mess it all up, haha.
Kind of a duplicate of #649 - please see https://github.com/yarnpkg/yarn/issues/649#issuecomment-252983006 for why adding shortcuts might not be a good idea.
Fixed by #1618 and #1653.
Most helpful comment
Kind of a duplicate of #649 - please see https://github.com/yarnpkg/yarn/issues/649#issuecomment-252983006 for why adding shortcuts might not be a good idea.