diff --git a/nx-dev/nx-dev/project.json b/nx-dev/nx-dev/project.json index 774b6f0234..605d58a99e 100644 --- a/nx-dev/nx-dev/project.json +++ b/nx-dev/nx-dev/project.json @@ -16,7 +16,7 @@ "outputPath": "dist/nx-dev/nx-dev", "commands": [ "nx run nx-dev:sitemap", - "ts-node -P ./scripts/tsconfig.scripts.json ./scripts/documentation/internal-link-checker.ts" + "ts-node -P ./scripts/tsconfig.release.json ./scripts/documentation/internal-link-checker.ts" ], "parallel": false } diff --git a/package.json b/package.json index f40f379cf8..f11be50a5e 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "check-documentation-map": "ts-node -P ./scripts/tsconfig.scripts.json ./scripts/documentation/map-link-checker.ts", "e2e-start-local-registry": "node ./scripts/e2e-start-local-registry.js", "e2e-build-package-publish": "ts-node -P ./scripts/tsconfig.e2e.json ./scripts/e2e-build-package-publish.ts", - "nx-release": "ts-node -P ./scripts/tsconfig.scripts.json ./scripts/nx-release", + "nx-release": "ts-node -P ./scripts/tsconfig.release.json ./scripts/nx-release", "prepublishOnly": "node ./scripts/update-package-group.js", "version": "npx prettier lerna.json --write", "depcheck": "ts-node -P ./scripts/tsconfig.scripts.json ./scripts/depcheck", diff --git a/scripts/tsconfig.release.json b/scripts/tsconfig.release.json new file mode 100644 index 0000000000..522adc8e78 --- /dev/null +++ b/scripts/tsconfig.release.json @@ -0,0 +1,9 @@ +{ + "extends": "../tsconfig.base.json", + "compilerOptions": { + "outDir": "../scripts/tools-out", + "module": "commonjs", + "types": ["node"] + }, + "include": ["**/*.ts"] +}