Replies: 2 comments
-
That would breaks the compatibility with other package managers. |
Beta Was this translation helpful? Give feedback.
-
Cross-compatibility with other package managers isn't an issue surely? They can either add the functionality or you only choose to structure your package.json this way if you intend to use pnpm (they can always refactor it if they change package managers). And yes I'm well aware you can do both of those options. But they don't leave your setup very tidy. Especially in larger projects like monorepos where you can end up with 20-40 scripts. Many of which might just exist to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The main idea is to tidy the set of package.json scripts, but it may also allow use of something like
pnpm format
to run both orpnpm format:eslint
to run one. E.g:Couldn't find any mention on it. Doesn't feel like a particularly original idea so wondering if there's an answer somewhere already?
Beta Was this translation helpful? Give feedback.
All reactions