Skip to content

Commit ee3b113

Browse files
chore: unify pnpm @8.14.0 (#1200)
## PR Checklist - [x] Addresses an existing open issue: fixes #1199 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Sets `pnpm` to always reference the current latest `[email protected]`. Removes the unnecessary diff in the migration test snapshot.
1 parent 5088c2f commit ee3b113

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

Diff for: script/__snapshots__/migrate-test-e2e.js.snap

+1-10
Original file line numberDiff line numberDiff line change
@@ -231,14 +231,5 @@ exports[`expected file changes > package.json 1`] = `
231231
- "test:migrate": "vitest run -r script/",
232232
"tsc": "tsc"
233233
},
234-
"lint-staged": {
235-
@@ ... @@
236-
"vitest": "^1.0.2",
237-
"yaml-eslint-parser": "^1.2.2"
238-
},
239-
- "packageManager": "[email protected]",
240-
+ "packageManager": "[email protected]",
241-
"engines": {
242-
"node": ">=18"
243-
},"
234+
"lint-staged": {"
244235
`;

Diff for: src/steps/writing/creation/writePackageJson.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ describe("writePackageJson", () => {
9191
},
9292
"main": "./lib/index.js",
9393
"name": "test-repository",
94-
"packageManager": "pnpm@8.7.0",
94+
"packageManager": "pnpm@8.14.0",
9595
"publishConfig": {
9696
"provenance": true,
9797
},
@@ -164,7 +164,7 @@ describe("writePackageJson", () => {
164164
},
165165
"main": "./lib/index.js",
166166
"name": "test-repository",
167-
"packageManager": "pnpm@8.7.0",
167+
"packageManager": "pnpm@8.14.0",
168168
"publishConfig": {
169169
"provenance": true,
170170
},

Diff for: src/steps/writing/creation/writePackageJson.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export async function writePackageJson(options: Options) {
7373
},
7474
main: "./lib/index.js",
7575
name: options.repository,
76-
packageManager: "pnpm@8.7.0",
76+
packageManager: "pnpm@8.14.0",
7777
publishConfig: {
7878
provenance: true,
7979
},

0 commit comments

Comments
 (0)