|
1 | 1 | { |
2 | 2 | "name": "@socketregistry/monorepo", |
3 | 3 | "version": "1.0.0", |
| 4 | + "packageManager": "[email protected]", |
4 | 5 | "private": true, |
| 6 | + "license": "MIT", |
5 | 7 | "description": "Monorepo for Socket.dev optimized package overrides", |
6 | 8 | "homepage": "http://github.com/SocketDev/socket-registry", |
7 | | - "license": "MIT", |
8 | 9 | "repository": { |
9 | 10 | "type": "git", |
10 | 11 | "url": "git+https://github.com/SocketDev/socket-registry.git" |
|
14 | 15 | |
15 | 16 | "url": "https://socket.dev" |
16 | 17 | }, |
| 18 | + "engines": { |
| 19 | + "node": ">=18", |
| 20 | + "pnpm": ">=10.22.0" |
| 21 | + }, |
17 | 22 | "scripts": { |
18 | 23 | "analyze-ci-failures": "node scripts/testing/analyze-ci-failures.mjs", |
19 | 24 | "build": "node scripts/build.mjs", |
20 | 25 | "check": "node scripts/check.mjs", |
21 | 26 | "check-registry-package-types": "node --experimental-strip-types scripts/check-registry-package-types.mjs", |
22 | | - "check-trusted": "node scripts/check-trusted-packages.mjs", |
| 27 | + "check-trusted": "node scripts/npm/check-trusted-packages.mjs", |
23 | 28 | "clean": "node scripts/clean.mjs", |
24 | 29 | "claude": "node scripts/claude.mjs", |
25 | 30 | "cover": "node scripts/cover.mjs", |
26 | 31 | "fix": "node scripts/lint.mjs --fix", |
27 | | - "generate-actions-allow-list": "node scripts/generate-actions-allow-list.mjs", |
28 | | - "generate-actions-tree": "node scripts/show-actions-tree.mjs", |
29 | | - "inline-action-shas": "node scripts/inline-action-versions-as-shas.mjs", |
| 32 | + "generate-actions-allow-list": "node scripts/ci/generate-actions-allow-list.mjs", |
| 33 | + "generate-actions-tree": "node scripts/ci/show-actions-tree.mjs", |
| 34 | + "inline-action-shas": "node scripts/ci/inline-action-versions-as-shas.mjs", |
30 | 35 | "lint": "node scripts/lint.mjs", |
31 | | - "make-npm-override": "node scripts/make-npm-override.mjs", |
32 | | - "package-npm-access": "node scripts/set-npm-package-access.mjs", |
33 | | - "package-npm-publish": "node scripts/publish-npm-packages.mjs", |
| 36 | + "make-npm-override": "node scripts/npm/make-npm-override.mjs", |
| 37 | + "package-npm-access": "node scripts/npm/set-npm-package-access.mjs", |
| 38 | + "package-npm-publish": "node scripts/npm/publish-npm-packages.mjs", |
34 | 39 | "perf": "node scripts/perf.mjs", |
35 | 40 | "precommit": "pnpm run check --lint --staged", |
36 | 41 | "prepare": "husky && pnpm run build", |
37 | | - "release-npm": "node scripts/release-npm-packages.mjs", |
| 42 | + "release-npm": "node scripts/npm/release-npm-packages.mjs", |
38 | 43 | "test": "node scripts/test.mjs", |
39 | 44 | "update": "node scripts/update.mjs", |
40 | 45 | "validate-ci": "node scripts/testing/reproduce-ci-locally.mjs", |
41 | 46 | "validate-packages": "node scripts/testing/validate-package-tests.mjs" |
42 | 47 | }, |
43 | 48 | "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", |
50 | | - "@biomejs/js-api": "3.0.0", |
51 | | - "@biomejs/wasm-nodejs": "2.2.4", |
52 | | - "@dotenvx/dotenvx": "1.49.0", |
53 | | - "@eslint/compat": "1.3.2", |
54 | | - "@eslint/js": "9.35.0", |
55 | | - "@inquirer/checkbox": "4.2.4", |
56 | | - "@inquirer/core": "10.2.2", |
57 | | - "@inquirer/prompts": "7.8.6", |
58 | | - "@mdn/browser-compat-data": "7.1.5", |
59 | | - "@npmcli/package-json": "7.0.0", |
60 | | - "@npmcli/promise-spawn": "8.0.3", |
| 49 | + "@babel/core": "catalog:", |
| 50 | + "@babel/generator": "catalog:", |
| 51 | + "@babel/parser": "catalog:", |
| 52 | + "@babel/traverse": "catalog:", |
| 53 | + "@babel/types": "catalog:", |
| 54 | + "@biomejs/biome": "catalog:", |
| 55 | + "@biomejs/js-api": "catalog:", |
| 56 | + "@biomejs/wasm-nodejs": "catalog:", |
| 57 | + "@eslint/compat": "catalog:", |
| 58 | + "@eslint/js": "catalog:", |
| 59 | + "@inquirer/checkbox": "catalog:", |
| 60 | + "@inquirer/core": "catalog:", |
| 61 | + "@inquirer/prompts": "catalog:", |
| 62 | + "@mdn/browser-compat-data": "catalog:", |
| 63 | + "@npmcli/package-json": "catalog:", |
| 64 | + "@npmcli/promise-spawn": "catalog:", |
61 | 65 | "@socketregistry/is-unicode-supported": "workspace:*", |
62 | | - "@socketregistry/packageurl-js": "1.3.5", |
| 66 | + "@socketregistry/packageurl-js": "catalog:", |
63 | 67 | "@socketregistry/scripts": "file:scripts", |
64 | | - "@socketsecurity/lib": "3.1.3", |
65 | | - "@types/fs-extra": "11.0.4", |
66 | | - "@types/node": "24.9.2", |
67 | | - "@types/normalize-package-data": "2.4.4", |
68 | | - "@types/npm-package-arg": "6.1.4", |
69 | | - "@types/npmcli__package-json": "4.0.4", |
70 | | - "@types/npmcli__promise-spawn": "6.0.3", |
71 | | - "@types/picomatch": "4.0.2", |
72 | | - "@types/semver": "7.7.1", |
73 | | - "@types/spdx-correct": "3.1.3", |
74 | | - "@types/spdx-expression-parse": "3.0.5", |
75 | | - "@types/validate-npm-package-name": "4.0.2", |
76 | | - "@types/which": "3.0.4", |
77 | | - "@typescript/native-preview": "7.0.0-dev.20250920.1", |
78 | | - "@vitest/coverage-v8": "4.0.3", |
79 | | - "@vitest/ui": "4.0.3", |
80 | | - "@yarnpkg/extensions": "2.0.6", |
81 | | - "@zkochan/js-yaml": "0.0.10", |
82 | | - "browserslist": "4.26.3", |
83 | | - "c8": "10.1.3", |
84 | | - "cacache": "20.0.1", |
85 | | - "clipboardy": "4.0.0", |
86 | | - "debug": "^4.4.3", |
87 | | - "del": "8.0.1", |
88 | | - "del-cli": "6.0.0", |
89 | | - "dev-null-cli": "2.0.0", |
90 | | - "didyoumean2": "7.0.4", |
91 | | - "esbuild": "0.25.11", |
92 | | - "eslint": "9.35.0", |
93 | | - "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", |
98 | | - "eta": "3.5.0", |
99 | | - "fast-glob": "3.3.3", |
100 | | - "fast-sort": "3.4.1", |
101 | | - "fs-extra": "11.3.1", |
102 | | - "get-east-asian-width": "1.3.0", |
103 | | - "globals": "16.4.0", |
104 | | - "husky": "9.1.7", |
105 | | - "js-yaml": "npm:@zkochan/[email protected]", |
106 | | - "libnpmpack": "9.0.9", |
107 | | - "magic-string": "0.30.17", |
108 | | - "make-fetch-happen": "15.0.2", |
109 | | - "minimatch": "9.0.5", |
110 | | - "normalize-package-data": "8.0.0", |
111 | | - "npm-package-arg": "13.0.0", |
112 | | - "npm-run-all2": "8.0.4", |
113 | | - "out-url": "1.2.2", |
114 | | - "pacote": "21.0.1", |
115 | | - "read-yaml-file": "2.1.0", |
116 | | - "semver": "7.7.2", |
117 | | - "source-map-support": "0.5.21", |
118 | | - "spdx-correct": "3.2.0", |
119 | | - "spdx-expression-parse": "4.0.0", |
120 | | - "streaming-iterables": "8.0.1", |
121 | | - "tar": "7.5.1", |
122 | | - "taze": "19.6.0", |
123 | | - "trash": "10.0.0", |
124 | | - "tsx": "4.20.5", |
125 | | - "type-coverage": "2.29.7", |
126 | | - "typescript": "5.9.2", |
127 | | - "typescript-eslint": "8.44.1", |
128 | | - "update-browserslist-db": "1.1.3", |
129 | | - "validate-npm-package-name": "6.0.2", |
130 | | - "vitest": "4.0.3", |
131 | | - "which": "5.0.0", |
132 | | - "yargs-parser": "22.0.0", |
133 | | - "yoctocolors-cjs": "2.1.3", |
134 | | - "zod": "4.1.12" |
135 | | - }, |
136 | | - "engines": { |
137 | | - "pnpm": ">=10.16.0", |
138 | | - "node": ">=18" |
| 68 | + "@socketsecurity/lib": "4.2.0", |
| 69 | + "@types/fs-extra": "catalog:", |
| 70 | + "@types/node": "catalog:", |
| 71 | + "@types/normalize-package-data": "catalog:", |
| 72 | + "@types/npm-package-arg": "catalog:", |
| 73 | + "@types/npmcli__package-json": "catalog:", |
| 74 | + "@types/npmcli__promise-spawn": "catalog:", |
| 75 | + "@types/picomatch": "catalog:", |
| 76 | + "@types/semver": "catalog:", |
| 77 | + "@types/spdx-correct": "catalog:", |
| 78 | + "@types/spdx-expression-parse": "catalog:", |
| 79 | + "@types/validate-npm-package-name": "catalog:", |
| 80 | + "@types/which": "catalog:", |
| 81 | + "@typescript/native-preview": "catalog:", |
| 82 | + "@vitest/coverage-v8": "catalog:", |
| 83 | + "@vitest/ui": "catalog:", |
| 84 | + "@zkochan/js-yaml": "catalog:", |
| 85 | + "browserslist": "catalog:", |
| 86 | + "cacache": "catalog:", |
| 87 | + "clipboardy": "catalog:", |
| 88 | + "debug": "catalog:", |
| 89 | + "del": "catalog:", |
| 90 | + "del-cli": "catalog:", |
| 91 | + "dev-null-cli": "catalog:", |
| 92 | + "didyoumean2": "catalog:", |
| 93 | + "esbuild": "catalog:", |
| 94 | + "eslint": "catalog:", |
| 95 | + "eslint-import-resolver-typescript": "catalog:", |
| 96 | + "eslint-plugin-import-x": "catalog:", |
| 97 | + "eslint-plugin-n": "catalog:", |
| 98 | + "eslint-plugin-sort-destructure-keys": "catalog:", |
| 99 | + "eslint-plugin-unicorn": "catalog:", |
| 100 | + "eta": "catalog:", |
| 101 | + "fast-glob": "catalog:", |
| 102 | + "fast-sort": "catalog:", |
| 103 | + "fs-extra": "catalog:", |
| 104 | + "get-east-asian-width": "catalog:", |
| 105 | + "globals": "catalog:", |
| 106 | + "husky": "catalog:", |
| 107 | + "js-yaml": "catalog:", |
| 108 | + "libnpmpack": "catalog:", |
| 109 | + "magic-string": "catalog:", |
| 110 | + "make-fetch-happen": "catalog:", |
| 111 | + "minimatch": "catalog:", |
| 112 | + "normalize-package-data": "catalog:", |
| 113 | + "npm-package-arg": "catalog:", |
| 114 | + "out-url": "catalog:", |
| 115 | + "pacote": "catalog:", |
| 116 | + "read-yaml-file": "catalog:", |
| 117 | + "semver": "catalog:", |
| 118 | + "source-map-support": "catalog:", |
| 119 | + "spdx-correct": "catalog:", |
| 120 | + "spdx-expression-parse": "catalog:", |
| 121 | + "streaming-iterables": "catalog:", |
| 122 | + "tar": "catalog:", |
| 123 | + "taze": "catalog:", |
| 124 | + "trash": "catalog:", |
| 125 | + "tsx": "catalog:", |
| 126 | + "type-coverage": "catalog:", |
| 127 | + "typescript": "catalog:", |
| 128 | + "typescript-eslint": "catalog:", |
| 129 | + "update-browserslist-db": "catalog:", |
| 130 | + "validate-npm-package-name": "catalog:", |
| 131 | + "vitest": "catalog:", |
| 132 | + "which": "catalog:", |
| 133 | + "yargs-parser": "catalog:", |
| 134 | + "yoctocolors-cjs": "catalog:", |
| 135 | + "zod": "catalog:" |
139 | 136 | }, |
140 | 137 | "pnpm": { |
141 | 138 | "ignoredBuiltDependencies": [ |
142 | 139 | "esbuild", |
143 | 140 | "unrs-resolver" |
144 | 141 | ], |
145 | 142 | "overrides": { |
146 | | - "@types/node": "24.9.2", |
147 | | - "typescript": "5.9.2", |
| 143 | + "@types/node": "catalog:", |
| 144 | + "typescript": "catalog:", |
148 | 145 | "aggregate-error": "npm:@socketregistry/[email protected]", |
149 | 146 | "array-buffer-byte-length": "npm:@socketregistry/[email protected]", |
150 | 147 | "available-typed-arrays": "npm:@socketregistry/[email protected]", |
151 | | - "brace-expansion": "2.0.2", |
| 148 | + "brace-expansion": "catalog:", |
152 | 149 | "es-define-property": "npm:@socketregistry/[email protected]", |
153 | 150 | "es-get-iterator": "npm:@socketregistry/[email protected]", |
154 | 151 | "es-set-tostringtag": "npm:@socketregistry/[email protected]", |
|
159 | 156 | "has-symbols": "npm:@socketregistry/[email protected]", |
160 | 157 | "has-tostringtag": "npm:@socketregistry/[email protected]", |
161 | 158 | "hasown": "npm:@socketregistry/[email protected]", |
162 | | - "iconv-lite": "0.6.3", |
| 159 | + "iconv-lite": "catalog:", |
163 | 160 | "indent-string": "npm:@socketregistry/[email protected]", |
164 | 161 | "is-arguments": "npm:@socketregistry/[email protected]", |
165 | 162 | "is-array-buffer": "npm:@socketregistry/[email protected]", |
|
173 | 170 | "isarray": "npm:@socketregistry/[email protected]", |
174 | 171 | "json-stable-stringify": "npm:@socketregistry/[email protected]", |
175 | 172 | "jsonify": "npm:@socketregistry/[email protected]", |
176 | | - "minimatch": "9.0.5", |
| 173 | + "minimatch": "catalog:", |
177 | 174 | "object-is": "npm:@socketregistry/[email protected]", |
178 | 175 | "object-keys": "npm:@socketregistry/[email protected]", |
179 | 176 | "object.assign": "npm:@socketregistry/[email protected]", |
|
185 | 182 | "shell-quote": "npm:[email protected]", |
186 | 183 | "side-channel": "npm:@socketregistry/[email protected]", |
187 | 184 | "which-boxed-primitive": "npm:@socketregistry/[email protected]", |
188 | | - "vite": "7.1.12", |
| 185 | + "vite": "catalog:", |
189 | 186 | "which-collection": "npm:@socketregistry/[email protected]", |
190 | 187 | "which-typed-array": "npm:@socketregistry/[email protected]" |
191 | 188 | }, |
192 | 189 | "patchedDependencies": { |
193 | 190 | |
194 | 191 | |
195 | | - }, |
196 | | - "peerDependencyRules": { |
197 | | - "ignoreMissing": [ |
198 | | - "@yarnpkg/core" |
199 | | - ] |
200 | 192 | } |
201 | 193 | }, |
202 | 194 | "typeCoverage": { |
203 | 195 | "cache": true, |
204 | | - "atLeast": 70, |
| 196 | + "atLeast": 99, |
205 | 197 | "ignoreAsAssertion": true, |
206 | 198 | "ignoreCatch": true, |
207 | 199 | "ignoreEmptyType": true, |
208 | 200 | "ignore-non-null-assertion": true, |
209 | 201 | "ignore-type-assertion": true, |
210 | | - "ignore-files": "test/*", |
| 202 | + "ignoreFiles": [ |
| 203 | + "test/**/*.{ts,mts}", |
| 204 | + "perf/**/*.{ts,mts}", |
| 205 | + "scripts/**/*.{ts,mts,d.mts}", |
| 206 | + "packages/**/*.{ts,d.ts}" |
| 207 | + ], |
211 | 208 | "strict": true |
212 | 209 | } |
213 | 210 | } |
0 commit comments