@nx/js 20.3.0 → 20.4.0-canary.20241224-fbd3db8

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": "20.3.0",
3
+ "version": "20.4.0-canary.20241224-fbd3db8",
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": {
@@ -39,8 +39,8 @@
39
39
  "@babel/preset-env": "^7.23.2",
40
40
  "@babel/preset-typescript": "^7.22.5",
41
41
  "@babel/runtime": "^7.22.6",
42
- "@nx/devkit": "20.3.0",
43
- "@nx/workspace": "20.3.0",
42
+ "@nx/devkit": "20.4.0-canary.20241224-fbd3db8",
43
+ "@nx/workspace": "20.4.0-canary.20241224-fbd3db8",
44
44
  "@zkochan/js-yaml": "0.0.7",
45
45
  "babel-plugin-const-enum": "^1.0.1",
46
46
  "babel-plugin-macros": "^2.8.0",
@@ -99,7 +99,7 @@ function execLockFileUpdate(command, cwd, env = {}) {
99
99
  `Verify that '${command}' succeeds when run from the workspace root.`,
100
100
  `To configure a string of arguments to be passed to this command, set the 'release.version.generatorOptions.installArgs' property in nx.json.`,
101
101
  `To ignore install lifecycle scripts, set 'release.version.generatorOptions.installIgnoreScripts' to true in nx.json.`,
102
- `To disable this step entirely, set 'release.version.skipLockFileUpdate' to true in nx.json.`,
102
+ `To disable this step entirely, set 'release.version.generatorOptions.skipLockFileUpdate' to true in nx.json.`,
103
103
  ],
104
104
  });
105
105
  throw e;
@@ -230,6 +230,9 @@ function computeCompilerOptionsPaths(tsConfig, dependencies) {
230
230
  }
231
231
  function createTmpTsConfig(tsconfigPath, workspaceRoot, projectRoot, dependencies, useWorkspaceAsBaseUrl = false) {
232
232
  const tmpTsConfigPath = (0, path_1.join)(workspaceRoot, 'tmp', projectRoot, process.env.NX_TASK_TARGET_TARGET ?? 'build', 'tsconfig.generated.json');
233
+ if (tsconfigPath === tmpTsConfigPath) {
234
+ return tsconfigPath;
235
+ }
233
236
  const parsedTSConfig = readTsConfigWithRemappedPaths(tsconfigPath, tmpTsConfigPath, dependencies, workspaceRoot);
234
237
  process.on('exit', () => cleanupTmpTsConfigFile(tmpTsConfigPath));
235
238
  if (useWorkspaceAsBaseUrl) {