-
-
Notifications
You must be signed in to change notification settings - Fork 230
Open
Description
Add corepack run with the same behavior as [npm|yarn] run to reduce the necessity of a package manager to run user-defined scripts in the package.json. e.g. with this start script
"scripts": {
"start": "node index.js"
}we don't need a package manager to run:
$ corepack run startAlso, we should add the Corepack's wrappers (npm, pnpm and yarn) to the PATH automatically. Achieving the same effect like corepack enable but only on the context of the command execution to support scripts like the following:
"test": "npm run env:test && jest",Without adding the package managers as global commands.
LucasOta, EzequielMontel, pabloromeo, estalldecker, ZerdoX-x and 4 morezanminkian
Metadata
Metadata
Assignees
Labels
No labels