-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmigrations.json
More file actions
48 lines (48 loc) · 4.07 KB
/
Copy pathmigrations.json
File metadata and controls
48 lines (48 loc) · 4.07 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
{
"migrations": [
{
"version": "23.1.0-beta.0",
"requires": {
"react": ">=19.0.0"
},
"description": "Create AI instructions to help migrate workspaces from React 18 to 19.",
"prompt": "tools/ai-migrations/@nx/react/23.1.0/ai-instructions-for-react-19.md",
"documentation": "./dist/src/migrations/update-23-1-0/upgrade-to-react-19.md",
"package": "@nx/react",
"name": "update-23-1-0-create-ai-instructions-for-react-19"
},
{
"version": "23.1.0-beta.8",
"description": "Adds `\"ignoreDeprecations\": \"6.0\"` to tsconfig files whose compilerOptions (or ts-node.compilerOptions) carry a TypeScript 6 deprecated option value, set directly or inherited through `extends` including from a base this migration does not edit (e.g. moduleResolution node/node10/classic, baseUrl, target es5, esModuleInterop false, outFile, module amd/umd/system/none, alwaysStrict false, allowSyntheticDefaultImports false, downlevelIteration set). Also pins `\"strict\": false`, `\"noUncheckedSideEffectImports\": false`, `\"types\": [\"*\"]`, and `\"esModuleInterop\": false` in chain-root tsconfigs (no \"extends\") that lack each key, preserving pre-TS6 behavior where these defaults changed; `esModuleInterop` false is itself deprecated (removed in TS7) so it also receives `ignoreDeprecations`, deferring the interop change to the TS7 migration. Also adds `ignoreDeprecations` to every `tsconfig.json` (the exact name jest/ts-node auto-resolve when compiling a config file; ts-node injects a deprecated default `target: es5` there, so the load hits a TS6 error even on a clean config), even one with no deprecated value of its own; a stale local `ignoreDeprecations` (e.g. `5.0`) that would otherwise override the inherited flag is upgraded.",
"requires": {
"typescript": ">=6.0.0"
},
"factory": "./dist/src/migrations/update-23-1-0/add-ignore-deprecations-for-ts6",
"documentation": "./dist/src/migrations/update-23-1-0/add-ignore-deprecations-for-ts6.md",
"package": "@nx/js",
"name": "23-1-0-add-ignore-deprecations-for-ts6"
},
{
"version": "23.1.0-rc.2",
"description": "Sets an explicit `rootDir` on project `tsconfig*.json` files that lack one, pinned to the source directory TypeScript 5 inferred implicitly, so programs keep compiling and emitting the same layout under TypeScript 6, which otherwise hard-fails with TS5011 or TS6059 (for example a spec tsconfig importing another project's source through a `paths` alias). The pin is written even when the inferred directory already equals the tsconfig directory, because tools like ts-jest with `isolatedModules` compile a program per file and re-infer a deeper directory from that subset. The value is computed by the compiler, so emit layout is unchanged. Each config is written on its own; the migration never writes to a shared `extends` base, so a config never inherits a value computed for a sibling. Composite projects are pinned to their own directory: `rootDir` already defaults there under `tsc` so it is a no-op for a real composite build, but ts-jest strips `composite` for its per-file transpile and the explicit value is needed to avoid TS5011 there.",
"requires": {
"typescript": ">=6.0.0"
},
"factory": "./dist/src/migrations/update-23-1-0/set-tsconfig-root-dir-for-ts6",
"documentation": "./dist/src/migrations/update-23-1-0/set-tsconfig-root-dir-for-ts6.md",
"package": "@nx/js",
"name": "23-1-0-set-tsconfig-root-dir-for-ts6"
},
{
"version": "23.1.0-beta.6",
"requires": {
"cypress": ">=14.0.0"
},
"description": "Set `justInTimeCompile: false` in webpack component testing Cypress configs on Cypress 14+, where it defaults to true and can intermittently run 0 tests in CI.",
"implementation": "./dist/src/migrations/update-23-1-0/disable-webpack-ct-just-in-time-compile",
"documentation": "./dist/src/migrations/update-23-1-0/disable-webpack-ct-just-in-time-compile.md",
"package": "@nx/cypress",
"name": "disable-webpack-ct-just-in-time-compile"
}
]
}