Skip to content

Commit 4a2c1d5

Browse files
committed
chore: add pnpm catalog and @fileoverview headers
**Catalog Implementation** (High Impact) - Created pnpm catalog in pnpm-workspace.yaml with 33 core dependencies - Migrated package.json to use catalog: for shared packages - Improves version consistency across 132+ npm override packages - Catalog includes: build tools (Babel, esbuild, TypeScript), testing (vitest), linting (Biome, ESLint), Socket packages, and common utilities **Documentation Headers** - Added @fileoverview headers to 23 files (test files + type declarations) - Test files: 14 npm package override tests - Scripts: 9 type declaration files **Impact**: - Prevents version drift across monorepo workspaces - Ensures consistent tooling versions for all packages - Improves maintainability with documented file purposes Part of project-wide standardization effort.
1 parent f3f2793 commit 4a2c1d5

26 files changed

+223
-69
lines changed

package.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@
4141
"validate-packages": "node scripts/testing/validate-package-tests.mjs"
4242
},
4343
"devDependencies": {
44-
"@babel/core": "7.28.4",
45-
"@babel/generator": "7.28.3",
46-
"@babel/parser": "7.28.4",
47-
"@babel/traverse": "7.28.4",
48-
"@babel/types": "7.28.4",
49-
"@biomejs/biome": "2.2.4",
44+
"@babel/core": "catalog:",
45+
"@babel/generator": "catalog:",
46+
"@babel/parser": "catalog:",
47+
"@babel/traverse": "catalog:",
48+
"@babel/types": "catalog:",
49+
"@biomejs/biome": "catalog:",
5050
"@biomejs/js-api": "3.0.0",
51-
"@biomejs/wasm-nodejs": "2.2.4",
51+
"@biomejs/wasm-nodejs": "catalog:",
5252
"@dotenvx/dotenvx": "1.49.0",
5353
"@eslint/compat": "1.3.2",
5454
"@eslint/js": "9.35.0",
@@ -59,11 +59,11 @@
5959
"@npmcli/package-json": "7.0.0",
6060
"@npmcli/promise-spawn": "8.0.3",
6161
"@socketregistry/is-unicode-supported": "workspace:*",
62-
"@socketregistry/packageurl-js": "1.3.5",
62+
"@socketregistry/packageurl-js": "catalog:",
6363
"@socketregistry/scripts": "file:scripts",
64-
"@socketsecurity/lib": "3.1.3",
64+
"@socketsecurity/lib": "catalog:",
6565
"@types/fs-extra": "11.0.4",
66-
"@types/node": "24.9.2",
66+
"@types/node": "catalog:",
6767
"@types/normalize-package-data": "2.4.4",
6868
"@types/npm-package-arg": "6.1.4",
6969
"@types/npmcli__package-json": "4.0.4",
@@ -75,45 +75,45 @@
7575
"@types/validate-npm-package-name": "4.0.2",
7676
"@types/which": "3.0.4",
7777
"@typescript/native-preview": "7.0.0-dev.20250920.1",
78-
"@vitest/coverage-v8": "4.0.3",
79-
"@vitest/ui": "4.0.3",
78+
"@vitest/coverage-v8": "catalog:",
79+
"@vitest/ui": "catalog:",
8080
"@yarnpkg/extensions": "2.0.6",
8181
"@zkochan/js-yaml": "0.0.10",
8282
"browserslist": "4.26.3",
8383
"c8": "10.1.3",
8484
"cacache": "20.0.1",
8585
"clipboardy": "4.0.0",
8686
"debug": "^4.4.3",
87-
"del": "8.0.1",
88-
"del-cli": "6.0.0",
87+
"del": "catalog:",
88+
"del-cli": "catalog:",
8989
"dev-null-cli": "2.0.0",
9090
"didyoumean2": "7.0.4",
91-
"esbuild": "0.25.11",
92-
"eslint": "9.35.0",
91+
"esbuild": "catalog:",
92+
"eslint": "catalog:",
9393
"eslint-import-resolver-typescript": "4.4.4",
94-
"eslint-plugin-import-x": "4.16.1",
95-
"eslint-plugin-n": "17.23.1",
96-
"eslint-plugin-sort-destructure-keys": "2.0.0",
97-
"eslint-plugin-unicorn": "56.0.1",
94+
"eslint-plugin-import-x": "catalog:",
95+
"eslint-plugin-n": "catalog:",
96+
"eslint-plugin-sort-destructure-keys": "catalog:",
97+
"eslint-plugin-unicorn": "catalog:",
9898
"eta": "3.5.0",
99-
"fast-glob": "3.3.3",
99+
"fast-glob": "catalog:",
100100
"fast-sort": "3.4.1",
101101
"fs-extra": "11.3.1",
102102
"get-east-asian-width": "1.3.0",
103103
"globals": "16.4.0",
104-
"husky": "9.1.7",
104+
"husky": "catalog:",
105105
"js-yaml": "npm:@zkochan/[email protected]",
106106
"libnpmpack": "9.0.9",
107-
"magic-string": "0.30.17",
107+
"magic-string": "catalog:",
108108
"make-fetch-happen": "15.0.2",
109109
"minimatch": "9.0.5",
110-
"normalize-package-data": "8.0.0",
111-
"npm-package-arg": "13.0.0",
110+
"normalize-package-data": "catalog:",
111+
"npm-package-arg": "catalog:",
112112
"npm-run-all2": "8.0.4",
113113
"out-url": "1.2.2",
114-
"pacote": "21.0.1",
114+
"pacote": "catalog:",
115115
"read-yaml-file": "2.1.0",
116-
"semver": "7.7.2",
116+
"semver": "catalog:",
117117
"source-map-support": "0.5.21",
118118
"spdx-correct": "3.2.0",
119119
"spdx-expression-parse": "4.0.0",
@@ -123,15 +123,15 @@
123123
"trash": "10.0.0",
124124
"tsx": "4.20.5",
125125
"type-coverage": "2.29.7",
126-
"typescript": "5.9.2",
127-
"typescript-eslint": "8.44.1",
126+
"typescript": "catalog:",
127+
"typescript-eslint": "catalog:",
128128
"update-browserslist-db": "1.1.3",
129-
"validate-npm-package-name": "6.0.2",
130-
"vitest": "4.0.3",
129+
"validate-npm-package-name": "catalog:",
130+
"vitest": "catalog:",
131131
"which": "5.0.0",
132132
"yargs-parser": "22.0.0",
133-
"yoctocolors-cjs": "2.1.3",
134-
"zod": "4.1.12"
133+
"yoctocolors-cjs": "catalog:",
134+
"zod": "catalog:"
135135
},
136136
"engines": {
137137
"pnpm": ">=10.16.0",

0 commit comments

Comments
 (0)