Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.19.0
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ steps = [
{ argv = ["vpt", "stat-file", "packages/b/tsup.config.ts", "--assert-not", "file"], comment = "package b original config is removed" },
{ argv = ["vpt", "print-file", "packages/b/tsdown.config.ts"], comment = "package b gets a converted config" },
{ argv = ["vpt", "print-file", "packages/b/package.json"], comment = "package b uses vp pack" },
{ argv = ["vp", "run", "build"], cwd = "packages/a", comment = "package a migrated vp pack script builds successfully" },
{ argv = ["vp", "run", "build"], cwd = "packages/a", comment = "package a migrated vp pack script builds successfully", snapshot = false },
{ argv = ["vpt", "list-dir", "packages/a/dist"], comment = "package a build artifacts are created" },
{ argv = ["vp", "run", "build"], cwd = "packages/b", comment = "package b migrated vp pack script builds successfully" },
{ argv = ["vp", "run", "build"], cwd = "packages/b", comment = "package b migrated vp pack script builds successfully", snapshot = false },
{ argv = ["vpt", "list-dir", "packages/b/dist"], comment = "package b build artifacts are created" },
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,6 @@ package b uses vp pack

package a migrated vp pack script builds successfully

```
~/packages/a$ vp pack ⊘ cache disabled
ℹ entry: src/index.ts
ℹ Build start
ℹ dist/index.cjs <size> kB │ gzip: <size> kB
ℹ 1 files, total: <size> kB
ℹ dist/index.d.cts <size> kB │ gzip: <size> kB
ℹ 1 files, total: <size> kB
✔ Build complete in <duration>
```

## `vpt list-dir packages/a/dist`

Expand All @@ -129,16 +119,6 @@ index.d.cts

package b migrated vp pack script builds successfully

```
~/packages/b$ vp pack ⊘ cache disabled
ℹ entry: src/index.ts
ℹ Build start
ℹ dist/index.cjs <size> kB │ gzip: <size> kB
ℹ 1 files, total: <size> kB
ℹ dist/index.d.cts <size> kB │ gzip: <size> kB
ℹ 1 files, total: <size> kB
✔ Build complete in <duration>
```

## `vpt list-dir packages/b/dist`

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.12.0
22.18.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "shim_pnpm_uses_project_node_version"
vp = "global"
skip-platforms = ["windows"]
steps = [
{ argv = ["vp", "install", "-g", "pnpm"], comment = "Ensure pnpm is globally installed", snapshot = false, continue-on-failure = true },
{ argv = ["vp", "install", "-g", "pnpm@11.20.0"], comment = "Install a fixed JS-based pnpm version", snapshot = false, continue-on-failure = true },
{ argv = ["vp", "env", "exec", "node", "-v"], comment = "Node version resolved from .node-version", continue-on-failure = true },
{ argv = ["vp", "env", "exec", "pnpm", "exec", "node", "-v"], comment = "pnpm should use same project Node version", continue-on-failure = true },
{ argv = ["vp", "env", "exec", "pnpm", "--silent", "exec", "node", "-v"], comment = "pnpm should use same project Node version", continue-on-failure = true },
]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# shim_pnpm_uses_project_node_version

## `vp install -g pnpm`
## `vp install -g pnpm@11.20.0`

Ensure pnpm is globally installed
Install a fixed JS-based pnpm version


## `vp env exec node -v`
Expand All @@ -13,7 +13,7 @@ Node version resolved from .node-version
<version>
```

## `vp env exec pnpm exec node -v`
## `vp env exec pnpm --silent exec node -v`

pnpm should use same project Node version

Expand Down
Loading