-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
449 lines (437 loc) · 16.7 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
449 lines (437 loc) · 16.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
packages:
- packages/*
- tools/*
- '!packages/package-builder/build'
- '.config/fleet/oxlint-plugin'
- '.config/fleet/oxlint-plugin/fleet/*'
- '.claude/hooks/fleet/*'
- '.claude/hooks/repo/*'
# Packages allowed to run build scripts (pnpm v11 strictDepBuilds default).
allowBuilds:
# @swc/core native binding — vitiate's coverage-guided fuzz lane
# (packages/cli/scripts/repo/fuzz.mts) SWC-instruments src for coverage.
'@swc/core': true
cpu-features: false
protobufjs: false
puppeteer: false
rolldown: true
postject: false
ssh2: false
# Refuse to run if the pnpm version on PATH differs from the packageManager
# field in package.json. Our setup action pins pnpm via external-tools.json;
# any drift should fail fast, not silently auto-download via @pnpm/exe
# (which in rc.5 leaves a placeholder launcher that errors at runtime).
pmOnFail: warn
catalogDriftIgnore:
# type-coverage uses TypeScript's JavaScript compiler API. TypeScript 7 is a
# native compiler and its npm package does not expose that API, so
# type-coverage crashes before scanning any files. Keep the last JavaScript
# compiler release until type-coverage supports the native API.
- 'typescript'
catalog:
'@anthropic-ai/claude-code': 2.1.198
'@babel/core': 7.29.7
'@babel/generator': 7.28.5
'@babel/parser': 7.28.4
'@babel/plugin-proposal-export-default-from': 7.27.1
'@babel/plugin-transform-export-namespace-from': 7.27.1
'@babel/plugin-transform-runtime': 7.28.3
'@babel/preset-react': 7.27.1
'@babel/preset-typescript': 7.27.1
'@babel/runtime': 7.28.4
'@babel/traverse': 7.28.4
'@babel/types': 7.28.5
'@gitbeaker/rest': 43.7.0
'@iarna/toml': 2.2.5
'@modelcontextprotocol/sdk': 1.29.0
'@npmcli/arborist': 9.4.2
'@npmcli/config': 10.4.0
'@octokit/graphql': 9.0.1
'@octokit/openapi-types': 25.1.0
'@octokit/request-error': 7.0.0
'@octokit/rest': 22.0.0
'@octokit/types': 14.1.0
'@pnpm/dependency-path': 1001.1.0
'@pnpm/lockfile.detect-dep-types': 1001.0.13
'@pnpm/lockfile.fs': 1001.1.17
'@pnpm/logger': 1001.0.0
'@redwoodjs/agent-ci': 0.17.1
'@sentry/node': 8.0.0
'@sinclair/typebox': 0.34.52
'@socketregistry/hyrious__bun.lockb': 1.0.19
'@socketregistry/indent-string': 1.0.14
'@socketregistry/is-interactive': 1.0.6
'@socketregistry/packageurl-js': 1.4.5
'@socketsecurity/lib': 6.2.2
'@types/shell-quote': 1.7.5
'@ultrathink/acorn.wasm': npm:@ultrathink/acorn-wasm@0.0.1
# -stable aliases: pnpm `overrides:` can't redirect a package's own
# name from inside the same package — Node ESM resolves it as a
# self-reference. The 4 Socket-published packages each need a
# SECOND name (`<canonical>-stable`) so build/script/hook/config
# code resolves to the published catalog version regardless of where
# the importing file lives. See socket-wheelhouse@92cd3e3 for the
# full rationale.
'@socketregistry/packageurl-js-stable': 'npm:@socketregistry/packageurl-js@1.4.5'
'@socketregistry/yocto-spinner': 1.0.25
'@socketsecurity/lib-stable': 'npm:@socketsecurity/lib@6.2.2'
'@socketsecurity/registry': 'npm:@socketsecurity/registry@2.0.2'
'@socketsecurity/registry-stable': 'npm:@socketsecurity/registry@2.0.2'
'@socketsecurity/sdk': 'npm:@socketsecurity/sdk@4.0.1'
'@socketsecurity/sdk-stable': 'npm:@socketsecurity/sdk@4.0.1'
'@types/adm-zip': 0.5.7
'@types/cmd-shim': 5.0.2
'@types/js-yaml': 4.0.9
'@types/mdast': 4.0.4
'@types/micromatch': 4.0.9
'@types/mock-fs': 4.13.4
'@types/node': 26.1.1
'@types/npm-package-arg': 6.1.4
'@types/npmcli__arborist': 6.3.1
'@types/npmcli__config': 6.0.3
'@types/proc-log': 3.0.4
'@types/react': 19.2.2
'@types/semver': 7.7.1
'@types/which': 3.0.4
'@types/yargs-parser': 21.0.3
'@typescript/native-preview': 7.0.0-dev.20260510.1
'@vitiate/core': 0.3.1
'@vitest/coverage-v8': 4.1.10
'@vitest/ui': 4.1.10
'@yao-pkg/pkg': 6.8.0
'@yarnpkg/parsers': 3.0.3
adm-zip: 0.5.16
aggregate-error: npm:@socketregistry/aggregate-error@^1.0.15
ajv-dist: 8.17.1
ansi-regex: 6.2.2
brace-expansion: 5.0.5
browserslist: 4.25.4
'c8': 12.0.0
chalk-table: 1.0.2
'chrome-devtools-mcp': 1.6.0
cmd-shim: 7.0.0
compromise: 14.16.0
del-cli: 6.0.0
dev-null-cli: 2.0.0
'dtu-github-actions': 0.17.1
ecc-agentshield: 1.4.0
emoji-regex: 10.6.0
es-define-property: npm:@socketregistry/es-define-property@^1.0.7
es-set-tostringtag: npm:@socketregistry/es-set-tostringtag@^1.0.10
'fast-check': 4.9.0
fast-glob: 3.3.3
fast-xml-parser: 5.5.1
function-bind: npm:@socketregistry/function-bind@^1.0.7
globalthis: npm:@socketregistry/globalthis@^1.0.8
gopd: npm:@socketregistry/gopd@^1.0.7
graceful-fs: 4.2.11
has-property-descriptors: npm:@socketregistry/has-property-descriptors@^1.0.7
has-proto: npm:@socketregistry/has-proto@^1.0.7
has-symbols: npm:@socketregistry/has-symbols@^1.0.7
has-tostringtag: npm:@socketregistry/has-tostringtag@^1.0.7
hasown: npm:@socketregistry/hasown@^1.0.7
hpagent: 1.2.0
https-proxy-agent: 7.0.6
husky: 9.1.7
ignore: 7.0.5
indent-string: npm:@socketregistry/indent-string@^1.0.14
is-core-module: npm:@socketregistry/is-core-module@^1.0.11
isarray: npm:@socketregistry/isarray@^1.0.8
js-yaml: npm:@zkochan/js-yaml@0.0.10
lint-staged: 16.1.6
lodash: 4.17.21
magic-string: 1.0.0
'markdownlint-cli2': 0.23.0
'mdast-util-from-markdown': 2.0.3
'micromark': 4.0.2
micromatch: 4.0.8
mock-fs: 5.5.0
nanotar: 0.2.1
'neosanitize': 0.3.0
nock: 14.0.16
npm-package-arg: 13.0.0
npm-run-all2: 9.0.2
octokit: 5.0.5
onnxruntime-web: 1.23.0
open: 10.2.0
oxfmt: 0.59.0
oxlint: 1.75.0
'oxlint-tsgolint': 7.0.2001
packageurl-js: npm:@socketregistry/packageurl-js@^1.4.4
path-parse: npm:@socketregistry/path-parse@^1.0.8
'playwright-core': 1.61.1
'portless': 0.15.4
postject: 1.0.0-alpha.6
react: 19.2.0
react-reconciler: 0.33.0
registry-auth-token: 5.1.0
registry-url: 7.2.0
# Fleet bundler (replaces esbuild) for the CLI bundle. Fleet-latest,
# single-sourced; the override forces vite's bundled rolldown to match.
'regjsparser': 0.13.2
rolldown: 1.1.4
safe-buffer: npm:@socketregistry/safe-buffer@^1.0.9
safer-buffer: npm:@socketregistry/safer-buffer@^1.0.10
semver: 7.8.5
set-function-length: npm:@socketregistry/set-function-length@^1.0.10
shell-quote: 1.10.0
side-channel: npm:@socketregistry/side-channel@^1.0.10
ssri: 12.0.0
string-width: 8.1.0
string_decoder: 0.10.31
strip-ansi: 7.1.2
'svgo': 4.0.1
tar-stream: 3.1.7
taze: 19.16.0
terminal-link: 2.1.1
tiny-colors: 2.1.3
trash: 10.0.0
type-coverage: 2.29.7
typedarray: npm:@socketregistry/typedarray@^1.0.8
typescript: 7.0.2
undici: 6.21.3
unplugin-purge-polyfills: 0.1.0
# vite 8.0.14 swaps esbuild → rolldown natively; the override forces its
# bundled rolldown up to the catalog's 1.0.3.
vite: 8.1.0
vitiate: 0.3.1
vitest: 4.1.10
wrap-ansi: 9.0.2
xml2js: 0.6.2
yaml: 2.8.1
yargs-parser: 21.1.1
yoctocolors-cjs: 2.1.3
zod: 4.1.8
# pnpm v11 reads settings from this file; only auth/registry go in .npmrc.
ignoreScripts: true
linkWorkspacePackages: false
# Wait 7 days (10080 minutes) before installing newly published packages.
minimumReleaseAge: 10080
minimumReleaseAgeExclude:
- '@socketregistry/*'
- '@socketsecurity/*'
- 'sfw'
- '@stuie/*'
- '@ultrathink/*'
- '@socketoverride/*'
- 'socket'
- '@sdxgen/*'
- 'sdxgen'
- 'stuie'
# published: 2026-07-16 | removable: 2026-07-23
- 'magic-string@1.0.0'
# The fleet-cascaded .npmrc already excludes verkit; mirrored here because
# pnpm v11 reads excludes from this file.
# published: 2026-07-19 | removable: 2026-07-26
- 'verkit@0.1.2'
# published: 2026-07-16 | removable: 2026-07-23
- 'portless@0.15.4'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint-tsgolint/darwin-arm64@7.0.2001'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint-tsgolint/darwin-x64@7.0.2001'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint-tsgolint/linux-arm64@7.0.2001'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint-tsgolint/linux-x64@7.0.2001'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint-tsgolint/win32-arm64@7.0.2001'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint-tsgolint/win32-x64@7.0.2001'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-android-arm-eabi@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-android-arm64@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-darwin-arm64@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-darwin-x64@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-freebsd-x64@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-arm-gnueabihf@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-arm-musleabihf@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-arm64-gnu@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-arm64-musl@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-ppc64-gnu@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-riscv64-gnu@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-riscv64-musl@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-s390x-gnu@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-x64-gnu@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-linux-x64-musl@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-openharmony-arm64@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-win32-arm64-msvc@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-win32-ia32-msvc@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- '@oxlint/binding-win32-x64-msvc@1.75.0'
# published: 2026-07-21 | removable: 2026-07-28
- 'oxlint-tsgolint@7.0.2001'
# published: 2026-07-21 | removable: 2026-07-28
- 'oxlint@1.75.0'
# published: 2026-07-22 | removable: 2026-07-29
- 'taze@19.16.0'
# Refuse transitive dependencies declared via git/tarball/local-tarball
# specs — an npm package shouldn't be allowed to drag in a git URL we
# don't control (bypasses npm registry validation, no provenance, no
# soak window). Direct git deps are still allowed (the test suite at
# pnpm/pkg-manager/core/test/install/blockExoticSubdeps.ts confirms
# this). pnpm's current default is `false`; declared explicitly so a
# future flip can't silently change install behavior.
blockExoticSubdeps: true
# type-coverage-core 2.29.7 declares a typescript peer through 5. The catalog
# already resolves typescript 7 for the private tools/type-coverage workspace
# (the lockfile has carried 7.0.2 since the catalog bump; only a fresh
# resolution re-checks peers), so allow 6 and 7 to keep re-resolution green.
peerDependencyRules:
allowedVersions:
'type-coverage-core>typescript': '6 || 7'
confirmModulesPurge: false
managePackageManagerVersions: false
# Dependency overrides (migrated from package.json pnpm.overrides).
# Force every consumer of Socket's own packages to resolve through the
# catalog-pinned published versions. The `catalog:` form rewrites
# `workspace:*`, `^x.y.z`, and bare-version specs alike to the version
# in the default `catalog:` block above. This defeats accidental
# local-checkout resolution when a sibling repo is on disk.
overrides:
# Fleet-canonical overrides (managed by socket-wheelhouse sync; do not edit).
'@socketregistry/packageurl-js': 'catalog:'
'@socketsecurity/lib': 'catalog:'
'@socketsecurity/registry': 'catalog:'
'@socketsecurity/sdk': 'catalog:'
# The previous transitive 1.0.2 release failed the trust policy; 1.0.4 has
# cleared the seven-day soak and restores the normal no-downgrade gate.
'ast-v8-to-istanbul': '1.0.4'
'chalk@>=5': '5.6.2'
'es-define-property': 'npm:@socketregistry/es-define-property@1.0.7'
'es-set-tostringtag': 'npm:@socketregistry/es-set-tostringtag@1.0.10'
'function-bind': 'npm:@socketregistry/function-bind@1.0.7'
'glob': '13.0.6'
'gopd': 'npm:@socketregistry/gopd@1.0.7'
'has-symbols': 'npm:@socketregistry/has-symbols@1.0.7'
'has-tostringtag': 'npm:@socketregistry/has-tostringtag@1.0.7'
'hasown': 'npm:@socketregistry/hasown@1.0.7'
'iconv-lite': '0.7.2'
'isexe@>=3': '4.0.0'
'lru-cache@>=10': '11.3.6'
'magic-string': '1.0.0'
'mime-db': '1.54.0'
'mime-types@>=3': '3.0.2'
'minipass@>=4': '7.1.3'
'safe-buffer': 'npm:@socketregistry/safe-buffer@1.0.9'
'safer-buffer': 'npm:@socketregistry/safer-buffer@1.0.10'
'semver@>=5.0.0 <7.6.0': '7.8.1'
'side-channel': 'npm:@socketregistry/side-channel@1.0.10'
'ssri@>=12': '13.0.1'
'string-width@>=5': '8.1.0'
'update-notifier@>=4.0.0': '7.3.1'
'uuid': '11.1.1'
'which': '7.0.0'
'wrap-ansi@>=8': '9.0.2'
'yaml@2': '2.9.0'
# Repo-specific overrides below.
'@octokit/graphql': 'catalog:'
'@octokit/request-error': 'catalog:'
'@sigstore/core': '3.2.1'
'@sigstore/sign': '4.1.0'
'@sigstore/verify': '3.1.1'
'@socketregistry/packageurl-js-stable': 'catalog:'
'@socketsecurity/lib-stable': 'catalog:'
'@socketsecurity/registry-stable': 'catalog:'
'@socketsecurity/sdk-stable': 'catalog:'
'aggregate-error': 'catalog:'
'ansi-regex': 'catalog:'
'brace-expansion': 'catalog:'
'defu': '>=6.1.7'
'emoji-regex': 'catalog:'
'fast-uri': '>=4.1.0'
'form-data': '>=4.0.6'
'globalthis': 'catalog:'
'graceful-fs': 'catalog:'
'has-property-descriptors': 'catalog:'
'has-proto': 'catalog:'
'hono': '>=4.12.30'
'https-proxy-agent': 'catalog:'
'indent-string': 'catalog:'
'ip-address': '>=10.2.0'
'is-core-module': 'catalog:'
'isarray': 'catalog:'
'lodash': 'catalog:'
'npm-package-arg': 'catalog:'
'packageurl-js': 'catalog:'
'path-parse': 'catalog:'
'postcss': '>=8.5.19'
'qs': '>=6.15.3'
# Force vite's bundled rolldown (1.0.2) up to the catalog's 1.0.3.
'rolldown': 'catalog:'
'semver': 'catalog:'
'set-function-length': 'catalog:'
'shell-quote': 'catalog:'
'signal-exit': '4.1.0'
'sigstore': '4.1.1'
'string-width': 'catalog:'
'string_decoder': 'catalog:'
'strip-ansi': 'catalog:'
'tar': '>=7.5.20'
'tiny-colors': 'catalog:'
'typedarray': 'catalog:'
'undici': 'catalog:'
'vite': 'catalog:'
'which@>=4': '7.0.0'
'wrap-ansi': 'catalog:'
'xml2js': 'catalog:'
'yaml': 'catalog:'
'yargs-parser': 'catalog:'
# Auto-install missing peer deps (pnpm default). Declared explicitly
# so a future default flip can't silently change install behavior.
autoInstallPeers: true
# Run pre/post lifecycle scripts on the workspace root (e.g.
# prepare -> husky). This is the pnpm default; declared explicitly
# so a future default flip can't silently disable husky setup.
enablePrePostScripts: true
# Patched dependencies (migrated from package.json pnpm.patchedDependencies).
patchedDependencies:
# Splits the 'node-gyp/bin/node-gyp.js' literal in require.resolve so the
# CLI's rolldown bundle keeps the lookup at runtime instead of inlining a
# build-machine path. Consumer: packages/cli bundled npm shim.
'@npmcli/run-script@10.0.4': patches/@npmcli__run-script@10.0.4.patch
# Replaces the unconditional require('http2') constants with literals so the
# bundle loads on node-smol SEA builds, which ship without http2. Consumer:
# packages/cli SEA binary.
'@sigstore/sign@4.1.0': patches/@sigstore__sign@4.1.0.patch
# The 1.4.5 publish dropped the "types" condition from package.json exports,
# so tsc under nodenext resolves the package as untyped any. Restores the
# types condition pointing at the shipped dist/*.d.mts files. Consumer:
# packages/cli typecheck via the -stable alias.
'@socketregistry/packageurl-js@1.4.5': patches/@socketregistry__packageurl-js@1.4.5.patch
# signal-exit is deduped to v4, which exports a named onExit instead of the
# v3 default export execa calls; restores the call contract. Consumer:
# packages/cli bundled npm tooling.
execa@2.1.0: patches/execa@2.1.0.patch
# Same signal-exit v4 named-onExit contract restore as execa@2.1.0.
# Consumer: packages/cli bundled npm tooling.
execa@5.1.1: patches/execa@5.1.1.patch
# Drops the bundled Find-VisualStudio.cs source (compiled ad hoc on Windows
# hosts) so the CLI package payload carries no compilable C# for AV/pack
# scanners to flag. Consumer: packages/cli bundled npm tooling.
node-gyp@12.2.0: patches/node-gyp@12.2.0.patch
saveExact: true
strictPeerDependencies: true
trustPolicy: no-downgrade
trustPolicyExclude:
# Transitive dep of @vitest/coverage-v8@4.1.6. Same maintainer
# (ariperkkio) + same repo + provenance attestation as earlier
- undici@6.21.3
- 'compromise@14.15.0'