@nx/js 17.0.4 → 17.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/js",
3
- "version": "17.0.4",
3
+ "version": "17.0.5",
4
4
  "private": false,
5
5
  "description": "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
6
6
  "repository": {
@@ -57,9 +57,9 @@
57
57
  "semver": "^7.5.3",
58
58
  "source-map-support": "0.5.19",
59
59
  "tslib": "^2.3.0",
60
- "@nx/devkit": "17.0.4",
61
- "@nx/workspace": "17.0.4",
62
- "@nrwl/js": "17.0.4"
60
+ "@nx/devkit": "17.0.5",
61
+ "@nx/workspace": "17.0.5",
62
+ "@nrwl/js": "17.0.5"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "verdaccio": "^5.0.4"
@@ -223,7 +223,7 @@ function computeCompilerOptionsPaths(tsConfig, dependencies) {
223
223
  }
224
224
  exports.computeCompilerOptionsPaths = computeCompilerOptionsPaths;
225
225
  function createTmpTsConfig(tsconfigPath, workspaceRoot, projectRoot, dependencies) {
226
- const tmpTsConfigPath = (0, path_1.join)(workspaceRoot, 'tmp', projectRoot, 'tsconfig.generated.json');
226
+ const tmpTsConfigPath = (0, path_1.join)(workspaceRoot, 'tmp', projectRoot, process.env.NX_TASK_TARGET_TARGET ?? 'build', 'tsconfig.generated.json');
227
227
  const parsedTSConfig = readTsConfigWithRemappedPaths(tsconfigPath, tmpTsConfigPath, dependencies);
228
228
  process.on('exit', () => cleanupTmpTsConfigFile(tmpTsConfigPath));
229
229
  (0, devkit_1.writeJsonFile)(tmpTsConfigPath, parsedTSConfig);