-
Notifications
You must be signed in to change notification settings - Fork 30k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-URL: #55977 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
- Loading branch information
1 parent
935b105
commit ab693c3
Showing
10 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env node | ||
process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='0'; | ||
require('module').enableCompileCache?.(); | ||
require('./lib/corepack.cjs').runMain(process.argv.slice(2)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env node | ||
process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1' | ||
require('module').enableCompileCache?.(); | ||
require('./lib/corepack.cjs').runMain(['npm', ...process.argv.slice(2)]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env node | ||
process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1' | ||
require('module').enableCompileCache?.(); | ||
require('./lib/corepack.cjs').runMain(['npx', ...process.argv.slice(2)]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env node | ||
process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1' | ||
require('module').enableCompileCache?.(); | ||
require('./lib/corepack.cjs').runMain(['pnpm', ...process.argv.slice(2)]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env node | ||
process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1' | ||
require('module').enableCompileCache?.(); | ||
require('./lib/corepack.cjs').runMain(['pnpx', ...process.argv.slice(2)]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env node | ||
process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1' | ||
require('module').enableCompileCache?.(); | ||
require('./lib/corepack.cjs').runMain(['yarn', ...process.argv.slice(2)]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env node | ||
process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1' | ||
require('module').enableCompileCache?.(); | ||
require('./lib/corepack.cjs').runMain(['yarnpkg', ...process.argv.slice(2)]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters