Skip to content

Commit 7b6892d

Browse files
committed
test(snap): upgrade pnpm v11 tests from beta.6 to rc.5
Bump all 26 pnpm11 snap test cases to pnpm@11.0.0-rc.5 and regenerate snap.txt. The ERR_PNPM_LOCKFILE_CONFIG_MISMATCH issue in link/unlink persists in rc.5, confirming it's a stable v11 behavioral change.
1 parent 733d977 commit 7b6892d

57 files changed

Lines changed: 71 additions & 507 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "command-add-pnpm11-with-workspace",
33
"version": "1.0.0",
4-
"packageManager": "pnpm@11.0.0-beta.6"
4+
"packageManager": "pnpm@11.0.0-rc.5"
55
}

packages/cli/snap-tests-global/command-add-pnpm11-with-workspace/snap.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
> vp add testnpm2 -D -w && cat package.json # should add package to workspace root
22
Progress: resolved <variable>, reused <variable>, downloaded <variable>, added <variable>, done
33

4-
dependencies:
5-
+ @pnpm/exe <semver>
6-
+ pnpm <semver>
4+
devDependencies:
5+
+ testnpm2 ^1.0.1
76

87
Packages: +<variable>
98
+<repeat>
@@ -127,8 +126,6 @@ Done in <variable>ms using pnpm v<semver>
127126
}
128127

129128
> vp install test-vite-plus-package@1.0.0 --filter "*" --workspace-root --save-catalog && cat package.json packages/app/package.json packages/utils/package.json pnpm-workspace.yaml # should install packages alias for add command
130-
VITE+ - The Unified Toolchain for the Web
131-
132129
. | +1 +<repeat>
133130
Progress: resolved <variable>, reused <variable>, downloaded <variable>, added <variable>, done
134131
Done in <variable>ms using pnpm v<semver>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "command-add-pnpm11",
33
"version": "1.0.0",
4-
"packageManager": "pnpm@11.0.0-beta.6"
4+
"packageManager": "pnpm@11.0.0-rc.5"
55
}

packages/cli/snap-tests-global/command-add-pnpm11/snap.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
> vp add --help # should show help
2-
VITE+ - The Unified Toolchain for the Web
3-
42
Usage: vp add [OPTIONS] <PACKAGES>... [-- <PASS_THROUGH_ARGS>...]
53

64
Add packages to dependencies
@@ -41,10 +39,6 @@ Packages: +<variable>
4139
+<repeat>
4240
Progress: resolved <variable>, reused <variable>, downloaded <variable>, added <variable>, done
4341

44-
dependencies:
45-
+ @pnpm/exe <semver>
46-
+ pnpm <semver>
47-
4842
devDependencies:
4943
+ testnpm2 <semver>
5044

@@ -80,8 +74,6 @@ Done in <variable>ms using pnpm v<semver>
8074
}
8175

8276
> vp install test-vite-plus-package@1.0.0 --save-peer && cat package.json # should install package alias for add
83-
VITE+ - The Unified Toolchain for the Web
84-
8577
Packages: +<variable>
8678
+<repeat>
8779
Progress: resolved <variable>, reused <variable>, downloaded <variable>, added <variable>, done
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "command-cache-pnpm11",
33
"version": "1.0.0",
4-
"packageManager": "pnpm@11.0.0-beta.6"
4+
"packageManager": "pnpm@11.0.0-rc.5"
55
}

packages/cli/snap-tests-global/command-cache-pnpm11/snap.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
> vp pm cache --help # should show help
2-
VITE+ - The Unified Toolchain for the Web
3-
42
Usage: vp pm cache <SUBCOMMAND> [-- <PASS_THROUGH_ARGS>...]
53

64
Manage package cache
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "command-config-pnpm11",
33
"version": "1.0.0",
4-
"packageManager": "pnpm@11.0.0-beta.6"
4+
"packageManager": "pnpm@11.0.0-rc.5"
55
}

packages/cli/snap-tests-global/command-config-pnpm11/snap.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
> vp pm config --help # should show help
2-
VITE+ - The Unified Toolchain for the Web
3-
42
Usage: vp pm config <COMMAND>
53

64
Manage package manager configuration

packages/cli/snap-tests-global/command-dedupe-pnpm11/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"optionalDependencies": {
1111
"test-vite-plus-package-optional": "1.0.0"
1212
},
13-
"packageManager": "pnpm@11.0.0-beta.6"
13+
"packageManager": "pnpm@11.0.0-rc.5"
1414
}

packages/cli/snap-tests-global/command-dedupe-pnpm11/snap.txt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
> vp dedupe --help # should show help
2-
VITE+ - The Unified Toolchain for the Web
3-
42
Usage: vp dedupe [OPTIONS] [-- <PASS_THROUGH_ARGS>...]
53

64
Deduplicate dependencies
@@ -20,15 +18,12 @@ Already up to date
2018
Progress: resolved <variable>, reused <variable>, downloaded <variable>, added <variable>, done
2119

2220
dependencies:
23-
+ @pnpm/exe <semver>
24-
+ pnpm <semver>
25-
- testnpm2 <semver>
21+
+ testnpm2 <semver>
2622

2723
optionalDependencies:
28-
- test-vite-plus-package-optional <semver>
24+
+ test-vite-plus-package-optional <semver>
2925

3026
devDependencies:
31-
- test-vite-plus-package <semver>
3227
+ test-vite-plus-package <semver>
3328

3429
{

0 commit comments

Comments
 (0)