Files
2026-07-13 12:38:36 +08:00

157 lines
7.7 KiB
JSON

{
"generators": {
"migrate-development-custom-condition": {
"version": "21.5.0-beta.2",
"description": "Migrate the legacy 'development' custom condition to a workspace-unique custom condition name.",
"factory": "./dist/src/migrations/update-21-5-0/migrate-development-custom-condition",
"documentation": "./dist/src/migrations/update-21-5-0/migrate-development-custom-condition.md"
},
"remove-external-options-from-js-executors": {
"version": "22.0.0-beta.0",
"description": "Remove the deprecated `external` and `externalBuildTargets` options from the `@nx/js:swc` and `@nx/js:tsc` executors.",
"factory": "./dist/src/migrations/update-22-0-0/remove-external-options-from-js-executors",
"documentation": "./dist/src/migrations/update-22-0-0/remove-external-options-from-js-executors.md"
},
"remove-redundant-ts-project-references": {
"version": "22.1.0-rc.1",
"description": "Removes redundant TypeScript project references from project's tsconfig.json files when runtime tsconfig files (e.g., tsconfig.lib.json, tsconfig.app.json) exist.",
"factory": "./dist/src/migrations/update-22-1-0/remove-redundant-ts-project-references",
"documentation": "./dist/src/migrations/update-22-1-0/remove-redundant-ts-project-references.md"
},
"23-0-0-rewrite-internal-subpath-imports": {
"version": "23.0.0-beta.14",
"description": "Rewrites `@nx/js/src/*` subpath imports to the new `@nx/js/internal` entry. The `./src/*` wildcard has been removed from `@nx/js`'s exports map; `@nx/js/src/release/version-actions` is preserved as a non-wildcard entry for back-compat with existing nx.json release configs. If a rewritten import resolves to a symbol that lives on the public `@nx/js` entry (e.g. `libraryGenerator`, `extractTsConfigBase`, `resolvePathsBaseUrl`), change the specifier to `@nx/js`.",
"factory": "./dist/src/migrations/update-23-0-0/rewrite-internal-subpath-imports"
},
"update-23-0-0-migrate-create-nodes-v2-import": {
"version": "23.0.0-beta.24",
"description": "Rename imports of `createNodesV2` from `@nx/js/typescript` to the canonical `createNodes` export.",
"implementation": "./dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes",
"documentation": "./dist/src/migrations/update-23-0-0/migrate-create-nodes-v2-to-create-nodes.md"
},
"23-1-0-add-ignore-deprecations-for-ts6": {
"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"
},
"23-1-0-set-tsconfig-root-dir-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"
}
},
"packageJsonUpdates": {
"21.2.0": {
"version": "21.2.0-beta.0",
"x-prompt": "Do you want to update to TypeScript v5.8?",
"requires": {
"typescript": ">=5.7.0 <5.8.0"
},
"packages": {
"typescript": {
"version": "~5.8.2",
"alwaysAddToPackageJson": false
}
}
},
"21.5.0": {
"version": "21.5.0-beta.2",
"x-prompt": "Do you want to update to TypeScript v5.9?",
"requires": {
"typescript": ">=5.8.0 <5.9.0"
},
"packages": {
"typescript": {
"version": "~5.9.2",
"alwaysAddToPackageJson": false
}
}
},
"22.5.0": {
"version": "22.5.0-beta.1",
"packages": {
"@swc/core": {
"version": "^1.15.5",
"alwaysAddToPackageJson": false
},
"@swc/helpers": {
"version": "^0.5.18",
"alwaysAddToPackageJson": false
},
"@swc-node/register": {
"version": "^1.11.1",
"alwaysAddToPackageJson": false
}
}
},
"22.5.0-swc-cli": {
"version": "22.5.0-beta.1",
"requires": {
"@swc/cli": ">=0.6.0 <0.7.0"
},
"packages": {
"@swc/cli": {
"version": "^0.7.10",
"alwaysAddToPackageJson": false
}
}
},
"22.6.4": {
"version": "22.6.4",
"packages": {
"verdaccio": {
"version": "^6.3.2",
"alwaysAddToPackageJson": false
}
}
},
"23.0.0-swc-cli": {
"version": "23.0.0-beta.17",
"requires": {
"@swc/cli": ">=0.7.0 <0.8.0"
},
"packages": {
"@swc/cli": {
"version": "~0.8.0",
"alwaysAddToPackageJson": false
}
}
},
"23.1.0-typescript": {
"version": "23.1.0-beta.0",
"incompatibleWith": {
"@remix-run/dev": "*"
},
"requires": {
"typescript": ">=5.9.0 <6.0.0"
},
"packages": {
"typescript": {
"version": "~6.0.3",
"alwaysAddToPackageJson": false
}
}
},
"23.1.0-swc-cli": {
"version": "23.1.0-rc.3",
"requires": {
"@swc/cli": ">=0.8.0 <0.8.1"
},
"packages": {
"@swc/cli": {
"version": "~0.8.1",
"alwaysAddToPackageJson": false
}
}
}
}
}