Skip to content

Commit 6a43ba4

Browse files
## PR Checklist - [x] Addresses an existing open issue: fixes JoshuaKGoldberg#392; fixes JoshuaKGoldberg#324 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md) were taken ## Overview I had to go through a bunch of things to uninstall pnpm@7. I have no clue how I installed it in the first place. ``` rm -rf $(pnpm store path) npm un -g pnpm brew uninstall pnpm corepack disable pnpm code ~/.zshrc # remove pnpm entries sudo rm -rf /Users/josh/Library/pnpm sudo rm -rf /usr/local/bin/pnpm ```
1 parent faa5182 commit 6a43ba4

File tree

4 files changed

+1155
-1516
lines changed

4 files changed

+1155
-1516
lines changed

.github/DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Each should be shown in VS Code, and can be run manually on the command-line:
4040
- `pnpm lint:knip` ([knip](https://github.com/webpro/knip)): Detects unused files, dependencies, and code exports
4141
- `pnpm lint:md` ([Markdownlint](https://github.com/DavidAnson/markdownlint)): Checks Markdown source files
4242
- `pnpm lint:package` ([npm-package-json-lint](https://npmpackagejsonlint.org/)): Lints the `package.json` file
43-
- `pnpm lint:packages` ([pnpm-deduplicate](https://github.com/ocavue/pnpm-deduplicate)): Deduplicates packages in the `pnpm-lock.yml` file
43+
- `pnpm lint:packages` ([pnpm dedupe --check](https://pnpm.io/cli/dedupe)): Checks for unnecessarily duplicated packages in the `pnpm-lock.yml` file
4444
- `pnpm lint:spelling` ([cspell](https://cspell.org)): Spell checks across all source files
4545
- `pnpm lint` ([ESLint](https://eslint.org) with [typescript-eslint](https://typescript-eslint.io)): Lints JavaScript and TypeScript source files
4646

knip.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/knip@next/schema.json",
33
"entry": ["src/index.ts!", "script/setup*.js"],
4-
"ignoreBinaries": ["gh", "grep"],
4+
"ignoreBinaries": ["dedupe", "gh", "grep"],
55
"project": ["src/**/*.ts!", "script/**/*.js"]
66
}

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lint:knip": "knip",
2525
"lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line",
2626
"lint:package": "npmPkgJsonLint .",
27-
"lint:packages": "pnpm-deduplicate --list",
27+
"lint:packages": "pnpm dedupe --check",
2828
"lint:spelling": "cspell \"**\" \".github/**/*\"",
2929
"prepare": "husky install",
3030
"setup": "node script/setup.js",
@@ -70,7 +70,6 @@
7070
"npm-package-json-lint-config-default": "^5.0.0",
7171
"npm-user": "^5.0.1",
7272
"octokit": "^2.0.11",
73-
"pnpm-deduplicate": "^0.4.1",
7473
"prettier": "^2.8.3",
7574
"prettier-plugin-packagejson": "^2.4.2",
7675
"release-it": "^15.6.0",
@@ -82,7 +81,7 @@
8281
"vitest": "^0.29.0",
8382
"yaml-eslint-parser": "^1.2.0"
8483
},
85-
"packageManager": "pnpm@7.32.2",
84+
"packageManager": "pnpm@8.3.1",
8685
"engines": {
8786
"node": ">=18"
8887
}

0 commit comments

Comments
 (0)