-
-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Description
A quick repro case:
"config": {
"foo": "bar"
},
"scripts": {
"vars": "echo $npm_package_config_foo",
"fails": "run-s vars",
"works": "npm run vars"
}npm run ___ can run any of the three scripts successfully (as you'd expect).
pnpm can run vars directly or works, but fails on fails with:
ERROR ERROR Unknown options: '<pkgname>:foo'
I suspect this is very related to #193, but the description there sounded like it was coming at this error from a different direction, so I didn't want to hijack Jakob's issue.
I haven't tested yarn, though #196 sounds like a similar fix could potentially address issues there as well? Especially since a script of yall -s vars runs successfully with pnpm.
airtonix, sebaplaza, josh-hemphill, frank-lsf, chenweiyi and 3 moreHeartnett and edheltzel
Metadata
Metadata
Assignees
Labels
No labels