@nx/workspace 20.5.0-canary.20250128-e0c49d3 → 20.5.0-canary.20250129-3f5e863
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/workspace",
|
3
|
-
"version": "20.5.0-canary.
|
3
|
+
"version": "20.5.0-canary.20250129-3f5e863",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
|
6
6
|
"repository": {
|
@@ -38,12 +38,12 @@
|
|
38
38
|
}
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@nx/devkit": "20.5.0-canary.
|
41
|
+
"@nx/devkit": "20.5.0-canary.20250129-3f5e863",
|
42
42
|
"chalk": "^4.1.0",
|
43
43
|
"enquirer": "~2.3.6",
|
44
44
|
"tslib": "^2.3.0",
|
45
45
|
"yargs-parser": "21.1.1",
|
46
|
-
"nx": "20.5.0-canary.
|
46
|
+
"nx": "20.5.0-canary.20250129-3f5e863"
|
47
47
|
},
|
48
48
|
"publishConfig": {
|
49
49
|
"access": "public"
|
@@ -49,15 +49,17 @@ function updateImports(tree, schema, project) {
|
|
49
49
|
from: mainEntryPointImportPath,
|
50
50
|
to: schema.importPath,
|
51
51
|
},
|
52
|
-
...secondaryEntryPointImportPaths
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
52
|
+
...(secondaryEntryPointImportPaths
|
53
|
+
? secondaryEntryPointImportPaths.map((p) => ({
|
54
|
+
from: p,
|
55
|
+
// if the import path doesn't start with the main entry point import path,
|
56
|
+
// it's a custom import path we don't know how to update the name, we keep
|
57
|
+
// it as-is, but we'll update the path it points to
|
58
|
+
to: schema.importPath && p.startsWith(mainEntryPointImportPath)
|
59
|
+
? p.replace(mainEntryPointImportPath, schema.importPath)
|
60
|
+
: null,
|
61
|
+
}))
|
62
|
+
: []),
|
61
63
|
];
|
62
64
|
if (serverEntryPointImportPath &&
|
63
65
|
schema.importPath &&
|