@nx/js 20.3.0 → 20.4.0-canary.20241221-c7e2782
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
|
+
"version": "20.4.0-canary.20241221-c7e2782",
|
|
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.
|
|
43
|
-
"@nx/workspace": "20.
|
|
42
|
+
"@nx/devkit": "20.4.0-canary.20241221-c7e2782",
|
|
43
|
+
"@nx/workspace": "20.4.0-canary.20241221-c7e2782",
|
|
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",
|
|
@@ -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) {
|