Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"definitions": {
"npm": {
"default": "11.12.1+sha1.432da55a9f0ca53c982740fabe2b081a38019fb1",
"default": "11.14.1+sha1.4a6839650da0005f323fec6abd39d77ee24f842f",
"fetchLatestFrom": {
"type": "npm",
"package": "npm"
Expand Down Expand Up @@ -38,7 +38,7 @@
}
},
"pnpm": {
"default": "10.33.0+sha1.46a0bef28aad690765997ab6da6d5475bdd4148e",
"default": "11.1.2+sha1.ed39d701687311ce9345771c62376f9fe7286694",
"fetchLatestFrom": {
"type": "npm",
"package": "pnpm"
Expand Down
4 changes: 4 additions & 0 deletions tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,8 @@

for (const name of SupportedPackageManagerSet) {
it(`should use the pinned version when local projects don't list any spec (${name})`, async () => {
process.env.pnpm_config_pm_on_fail= `ignore`;

Check failure on line 639 in tests/main.test.ts

View workflow job for this annotation

GitHub Actions / Testing chores

Operator '=' must be spaced

await xfs.mktempPromise(async cwd => {
await xfs.writeJsonPromise(ppath.join(cwd, `package.json` as Filename), {
// empty package.json file
Expand Down Expand Up @@ -811,6 +813,7 @@

// Disable strict checking to workaround the UsageError.
process.env.COREPACK_ENABLE_STRICT = `0`;
process.env.pnpm_config_pm_on_fail= `ignore`;

Check failure on line 816 in tests/main.test.ts

View workflow job for this annotation

GitHub Actions / Testing chores

Operator '=' must be spaced

await expect(runCli(cwd, [`yarn`, `--version`])).resolves.toMatchObject({
stdout: `1.0.0\n`,
Expand All @@ -832,6 +835,7 @@
packageManager: `yarn@1.0.0`,
});
process.env.COREPACK_ENABLE_PROJECT_SPEC = `0`;
process.env.pnpm_config_pm_on_fail= `ignore`;

Check failure on line 838 in tests/main.test.ts

View workflow job for this annotation

GitHub Actions / Testing chores

Operator '=' must be spaced

await expect(runCli(cwd, [`yarn`, `--version`])).resolves.toMatchObject({
stdout: `${config.definitions.yarn.default.split(`+`, 1)[0]}\n`,
Expand Down
Binary file modified tests/nocks.db
Binary file not shown.
Loading