When a URL is used for packageManager
field of package.json
, an error is thrown ("expected to match regular expression")
#9611
Labels
Verify canary release
Link to code that reproduces this issue
https://codesandbox.io/p/devbox/https-github-com-inversify-inversifyjs-issues-1630-forked-mk4dgv?workspaceId=ws_UGoaic2rUkCT9cicv4uPWU
Which canary version will you have in your reproduction?
2.3.4-canary.2
Enviroment information
Expected behavior
turbo run
should work.Actual behavior
turbo run
throws an error:To Reproduce
Open https://codesandbox.io/p/devbox/https-github-com-inversify-inversifyjs-issues-1630-forked-mk4dgv?workspaceId=ws_UGoaic2rUkCT9cicv4uPWU
Run:
Additional context
Regex for
packageManager
seems to be this:turborepo/crates/turborepo-repository/src/package_manager/mod.rs
Line 202 in ffd4679
corepack
supports custom URLs nowadays: https://github.com/nodejs/corepack?tab=readme-ov-file#when-authoring-packagesAnd using them might be needed by some projects, e.g. we at @hokify want to switch from official pnpm to a forked one, for that we need to set a custom URL.
BTW we are very happy users of turborepo, great work!!
The text was updated successfully, but these errors were encountered: