Open History to see the last commit
1cleanupUnusedCatalogs: true
2linkWorkspacePackages: true
3preferWorkspacePackages: true
4blockExoticSubdeps: true
5trustPolicy: 'no-downgrade'
6minimumReleaseAge: 1440
7minimumReleaseAgeExclude:
8 - 'kiira@0.6.0' # root dev dependency (TS7-native engine); freshly published
9 - 'kiira-core@0.6.0' # transitive dependency of kiira@0.6.0
10 # Working closely with the aimock team; the e2e suite often needs fresh
11 # releases of this test-only mock as it tracks provider SDK changes.
12 - '@copilotkit/aimock'
13 # Build-time devDep; 0.6.0 is the release carrying the dts-5/Vite-8 fix
14 # (TanStack/config#403) this toolchain migration depends on.
15 - '@tanstack/vite-config@0.6.0'
16
17trustPolicyExclude:
18 - 'chokidar@4.0.3' # existing transitive from sass/nitro; latest v4 with v5 available
19 - 'semver@5.7.2' # existing Babel/jscodeshift transitive; latest v5, released years ago
20 - 'semver@6.3.1' # existing Babel transitive; latest v6, released years ago
21 - 'undici-types@6.21.0' # existing @types/node transitive via happy-dom/vitest, types-only
22
23# pnpm v11 dropped support for these fields in package.json — they must live
24# here. See https://github.com/pnpm/pnpm/releases/tag/v11.0.0.
25overrides:
26 abbrev: ^3.0.0
27
28# TypeScript 7's `typescript` package no longer ships the JS Compiler API
29# (`ts.sys`, `ts.createProgram`, etc.). These framework tools embed that API,
30# have no TS7 fallback, and don't declare `typescript` themselves — so they
31# resolve the root-hoisted TS7 and crash. Inject the API-complete 6.0.2 shim
32# into their own node_modules so they resolve it before walking up to root.
33packageExtensions:
34 '@sveltejs/package':
35 dependencies:
36 typescript: 'npm:@typescript/typescript6@6.0.2'
37 svelte-check:
38 dependencies:
39 typescript: 'npm:@typescript/typescript6@6.0.2'
40 vue-tsc:
41 dependencies:
42 typescript: 'npm:@typescript/typescript6@6.0.2'
43 # knip drives the TS JS API, which TS7 dropped. Inject the 6.0.2 shim into
44 # its node_modules so it resolves it instead of the root-hoisted TS7. knip's
45 # peer range already caps at `<7`. (kiira 0.6.0 type-checks with the project's
46 # native TS7 compiler directly, so it no longer needs the shim.)
47 knip:
48 dependencies:
49 typescript: 'npm:@typescript/typescript6@6.0.2'
50 # @analogjs/vite-plugin-angular (ai-angular's vitest transform) declares no
51 # typescript, so it grabs the root-hoisted TS7 and calls JS-API functions
52 # (ts.createIncrementalCompilerHost) that TS7 dropped. Angular also can't run
53 # on TS7 at all, so pin it to 5.9.3 (ai-angular's own version, Angular-
54 # supported) rather than the 6.0.2 shim.
55 '@analogjs/vite-plugin-angular':
56 dependencies:
57 typescript: 5.9.3
58
59# Keep @types/bun out of pnpm's shared virtual store (node_modules/.pnpm/node_modules).
60# @types/bun (a devDep of @tanstack/ai-isolate-quickjs-bun) globally augments Node/DOM
61# types — notably it redeclares `fetch` with `init: RequestInit | BunFetchRequestInit`,
62# dropping the DOM `preconnect` member. When it's hoisted into the shared store, the
63# phantom `import "bun"` type statements inside unrelated deps (srvx, crossws in the
64# nitro/SSR stack) resolve to it, leaking that augmentation into example apps' `tsc`
65# runs and breaking their `typeof fetch` usage. Excluding it from the shared store
66# keeps it resolvable only by its direct dependent (which links it in its own
67# node_modules), so the Bun types stay scoped to the package that needs them.
68hoistPattern:
69 - '*'
70 - '!@types/bun'
71
72patchedDependencies:
73 '@changesets/assemble-release-plan@6.0.9': patches/@changesets__assemble-release-plan@6.0.9.patch
74
75packages:
76 - 'packages/*'
77 - 'packages/ai-code-mode/models-eval'
78 - 'examples/*'
79 - 'testing/*'
80 - 'codemods'
81
82allowBuilds:
83 # Vite + every transitive bundler-step needs the platform-specific binary.
84 esbuild: true
85 # @google/genai (used by @tanstack/ai-gemini in CI) loads files generated by
86 # protobufjs's postinstall. Its own `preinstall` is a no-op echo and
87 # `prepare` only runs when developing the SDK from a git checkout, so it
88 # has no runtime effect on consumers.
89 protobufjs: true
90 # Expo/Metro reaches this through msgpackr and can use the native extractor.
91 msgpackr-extract: true
92 # Everything below is reachable only from dev scripts (wrangler dev,
93 # examples/ts-code-mode-web), is a perf optimisation with a working JS
94 # fallback, or has a no-op postinstall — none are required for `pnpm test:ci`
95 # to pass. Flip to true case-by-case if a future change relies on the script.
96 '@openrouter/sdk': false
97 '@parcel/watcher': false
98 isolated-vm: false
99 nx: false
100 puppeteer: false
101 sharp: false
102 unrs-resolver: false
103 workerd: false
104 '@google/genai': false
105 lmdb: true
106 # dockerode (@tanstack/ai-sandbox-docker) pulls these only for SSH-based
107 # Docker connections; the local-socket path the provider uses has a working
108 # JS fallback, so their native builds are not required.
109 cpu-features: false
110 ssh2: false
111 # Prisma and better-sqlite3 are peer-resolution artifacts only — no workspace
112 # package depends on them, so nothing imports the generated client or the
113 # native addon and their build scripts have nothing to produce for us.
114 '@prisma/client': false
115 '@prisma/engines': false
116 prisma: false
117 better-sqlite3: false