Replies: 3 comments 6 replies
-
I think it is a good idea. Contributions are welcomed. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Why didn't you just use |
Beta Was this translation helpful? Give feedback.
0 replies
-
🚢 pnpm v6.6.0 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks, I was wondering about whether pnpm was interested in replicating the yarn's CLI experience for unknown commands.
Today if you install a new dependency which adds a binary, these binaries can be used with
pnpx
orppm exec -r
vs Yarn's
Yarn's missing CLI command props will check:
Which makes writing instructions trivial because it's always one app to call and much easier to reason about because it's always just a prefix to the rest of your commands. E.g.
yarn eslint --fix
.Switching to this pattern isn't a breaking change (all the other commands can still work as-is) but it allows for people to migrate to the simpler CLI experience. Is there interest?
( also somewhat discussion for this in npm npm/rfcs#279 )
Beta Was this translation helpful? Give feedback.
All reactions