Open History to see the last commit
1cleanupUnusedCatalogs: true
2linkWorkspacePackages: true
3preferWorkspacePackages: true
4blockExoticSubdeps: true
5trustPolicy: 'no-downgrade'
6minimumReleaseAge: 1440
7minimumReleaseAgeExclude:
8 # octane adapter upgrade: published less than 24 hours ago
9 - 'octane@0.12.1'
10 - '@octanejs/testing-library@0.1.62'
11 - 'kiira@0.6.0' # root dev dependency (TS7-native engine); freshly published
12 - 'kiira-core@0.6.0' # transitive dependency of kiira@0.6.0
13 # Working closely with the aimock team; the e2e suite often needs fresh
14 # releases of this test-only mock as it tracks provider SDK changes.
15 - '@copilotkit/aimock'
16 # Reactor JS SDK; the example app needs the current 3.x client.
17 - '@reactor-team/js-sdk'
18 # fal WMA client for H3 Max Director in the media example.
19 - '@fal-ai/client'
20 # Build-time devDep; 0.6.0 is the release carrying the dts-5/Vite-8 fix
21 # (TanStack/config#403) this toolchain migration depends on.
22 - '@tanstack/vite-config@0.6.0'
23 # @tanstack/ai-octane's framework peer + its testing library. Octane
24 # publishes these two in lockstep β @octanejs/testing-library pins an exact
25 # `octane` peer β so they must be excluded together or neither resolves.
26 # Octane releases roughly daily, so the newest pair is essentially always
27 # inside the 24h window.
28 - 'octane@0.1.17'
29 - '@octanejs/testing-library@0.1.14'
30 # Remix 3 RC and its @remix-run/* subpackages. Peer of @tanstack/ai-remix.
31 # Fresh RCs fail the 24h age gate, including nested @remix-run packages.
32 - 'remix'
33 - '@remix-run/assert'
34 - '@remix-run/assets'
35 - '@remix-run/async-context-middleware'
36 - '@remix-run/auth'
37 - '@remix-run/auth-middleware'
38 - '@remix-run/cli'
39 - '@remix-run/compression-middleware'
40 - '@remix-run/cookie'
41 - '@remix-run/cop-middleware'
42 - '@remix-run/cors-middleware'
43 - '@remix-run/csrf-middleware'
44 - '@remix-run/data-schema'
45 - '@remix-run/data-table'
46 - '@remix-run/data-table-mysql'
47 - '@remix-run/data-table-postgres'
48 - '@remix-run/data-table-sqlite'
49 - '@remix-run/fetch-proxy'
50 - '@remix-run/fetch-router'
51 - '@remix-run/file-storage'
52 - '@remix-run/file-storage-s3'
53 - '@remix-run/form-data-middleware'
54 - '@remix-run/form-data-parser'
55 - '@remix-run/fs'
56 - '@remix-run/headers'
57 - '@remix-run/html-template'
58 - '@remix-run/lazy-file'
59 - '@remix-run/logger-middleware'
60 - '@remix-run/method-override-middleware'
61 - '@remix-run/mime'
62 - '@remix-run/multipart-parser'
63 - '@remix-run/node-fetch-server'
64 - '@remix-run/node-hmr'
65 - '@remix-run/node-tsx'
66 - '@remix-run/render-middleware'
67 - '@remix-run/response'
68 - '@remix-run/route-pattern'
69 - '@remix-run/session'
70 - '@remix-run/session-middleware'
71 - '@remix-run/session-storage-memcache'
72 - '@remix-run/session-storage-redis'
73 - '@remix-run/spa'
74 - '@remix-run/static-middleware'
75 - '@remix-run/tar-parser'
76 - '@remix-run/terminal'
77 - '@remix-run/test'
78 - '@remix-run/ui'
79 - '@remix-run/ui-hmr'
80β
81trustPolicyExclude:
82 - 'chokidar@4.0.3' # existing transitive from sass/nitro; latest v4 with v5 available
83 - 'semver@5.7.2' # existing Babel/jscodeshift transitive; latest v5, released years ago
84 - 'semver@6.3.1' # existing Babel transitive; latest v6, released years ago
85 - 'undici-types@6.21.0' # existing @types/node transitive via happy-dom/vitest, types-only
86β
87# pnpm v11 dropped support for these fields in package.json β they must live
88# here. See https://github.com/pnpm/pnpm/releases/tag/v11.0.0.
89overrides:
90 abbrev: ^5.0.0
91 # @angular/build@22.2.4 pulls @inquirer/core@12.0.6, which depends on
92 # @inquirer/type@4.2.1. That version is not on npm (latest is 4.2.0).
93 '@inquirer/type': 4.2.0
94β
95# TypeScript 7's `typescript` package no longer ships the JS Compiler API
96# (`ts.sys`, `ts.createProgram`, etc.). These framework tools embed that API,
97# have no TS7 fallback, and don't declare `typescript` themselves β so they
98# resolve the root-hoisted TS7 and crash. Inject the API-complete 6.0.2 shim
99# into their own node_modules so they resolve it before walking up to root.
100packageExtensions:
101 '@sveltejs/package':
102 dependencies:
103 typescript: 'npm:@typescript/typescript6@6.0.2'
104 svelte-check:
105 dependencies:
106 typescript: 'npm:@typescript/typescript6@6.0.2'
107 vue-tsc:
108 dependencies:
109 typescript: 'npm:@typescript/typescript6@6.0.2'
110 # knip drives the TS JS API, which TS7 dropped. Inject the 6.0.2 shim into
111 # its node_modules so it resolves it instead of the root-hoisted TS7. knip's
112 # peer range already caps at `<7`. (kiira 0.6.0 type-checks with the project's
113 # native TS7 compiler directly, so it no longer needs the shim.)
114 knip:
115 dependencies:
116 typescript: 'npm:@typescript/typescript6@6.0.2'
117 # typedoc (pnpm generate-docs, via @tanstack/typedoc-config) imports the
118 # TypeScript JS Compiler API at module load (`ts.SyntaxKind`). TS7 dropped
119 # that API. typedoc 0.28.x supports TS 5β6 only (TS7 support is unreleased,
120 # TypeStrong/typedoc#3098). Inject the 6.0.2 shim into both packages so
121 # typedoc's typescript peer resolves the shim from its parent instead of
122 # walking up to the root-hoisted TS7.
123 typedoc:
124 dependencies:
125 typescript: 'npm:@typescript/typescript6@6.0.2'
126 '@tanstack/typedoc-config':
127 dependencies:
128 typescript: 'npm:@typescript/typescript6@6.0.2'
129 # @analogjs/vite-plugin-angular (ai-angular's vitest transform) declares no
130 # typescript, so it grabs the root-hoisted TS7 and calls JS-API functions
131 # (ts.createIncrementalCompilerHost) that TS7 dropped. Angular 22 peers
132 # typescript >=6.0 <6.1, so pin the real 6.0.2 package (same pin as
133 # ai-angular), not the TS7 root and not the @typescript/typescript6 alias.
134 '@analogjs/vite-plugin-angular':
135 dependencies:
136 typescript: 6.0.2
137β
138# Keep @types/bun out of pnpm's shared virtual store (node_modules/.pnpm/node_modules).
139# @types/bun (a devDep of @tanstack/ai-isolate-quickjs-bun) globally augments Node/DOM
140# types β notably it redeclares `fetch` with `init: RequestInit | BunFetchRequestInit`,
141# dropping the DOM `preconnect` member. When it's hoisted into the shared store, the
142# phantom `import "bun"` type statements inside unrelated deps (srvx, crossws in the
143# nitro/SSR stack) resolve to it, leaking that augmentation into example apps' `tsc`
144# runs and breaking their `typeof fetch` usage. Excluding it from the shared store
145# keeps it resolvable only by its direct dependent (which links it in its own
146# node_modules), so the Bun types stay scoped to the package that needs them.
147hoistPattern:
148 - '*'
149 - '!@types/bun'
150β
151patchedDependencies:
152 '@changesets/assemble-release-plan@6.0.9': patches/@changesets__assemble-release-plan@6.0.9.patch
153β
154packages:
155 - 'packages/*'
156 - 'packages/ai-code-mode/models-eval'
157 - 'examples/*'
158 - 'examples/react/*'
159 - 'testing/*'
160 - 'codemods'
161 - 'tools/*'
162β
163allowBuilds:
164 # Vite + every transitive bundler-step needs the platform-specific binary.
165 esbuild: true
166 # @google/genai (used by @tanstack/ai-gemini in CI) loads files generated by
167 # protobufjs's postinstall. Its own `preinstall` is a no-op echo and
168 # `prepare` only runs when developing the SDK from a git checkout, so it
169 # has no runtime effect on consumers.
170 protobufjs: true
171 # Expo/Metro reaches this through msgpackr and can use the native extractor.
172 msgpackr-extract: true
173 # Everything below is reachable only from dev scripts (wrangler dev,
174 # examples/ts-code-mode-web), is a perf optimisation with a working JS
175 # fallback, or has a no-op postinstall β none are required for `pnpm test:ci`
176 # to pass. Flip to true case-by-case if a future change relies on the script.
177 '@openrouter/sdk': false
178 '@parcel/watcher': false
179 isolated-vm: false
180 nx: false
181 puppeteer: false
182 sharp: false
183 unrs-resolver: false
184 workerd: false
185 '@google/genai': false
186 lmdb: true
187 # dockerode (@tanstack/ai-sandbox-docker) pulls these only for SSH-based
188 # Docker connections; the local-socket path the provider uses has a working
189 # JS fallback, so their native builds are not required.
190 cpu-features: false
191 ssh2: false
192 # Prisma and better-sqlite3 are peer-resolution artifacts only β no workspace
193 # package depends on them, so nothing imports the generated client or the
194 # native addon and their build scripts have nothing to produce for us.
195 '@prisma/client': false
196 '@prisma/engines': false
197 prisma: false
198 better-sqlite3: false
199 # @tanstack/ai-computer-local needs only the types. Its tests use a fake
200 # robot, so nothing loads the native addon that this script downloads.
201 '@jitsi/robotjs': false