@nx/workspace 19.7.2 → 19.8.0-canary.20240910-9b3a960
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": "19.
|
3
|
+
"version": "19.8.0-canary.20240910-9b3a960",
|
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": {
|
@@ -61,13 +61,13 @@
|
|
61
61
|
}
|
62
62
|
},
|
63
63
|
"dependencies": {
|
64
|
-
"@nx/devkit": "19.
|
64
|
+
"@nx/devkit": "19.8.0-canary.20240910-9b3a960",
|
65
65
|
"chalk": "^4.1.0",
|
66
66
|
"enquirer": "~2.3.6",
|
67
67
|
"tslib": "^2.3.0",
|
68
68
|
"yargs-parser": "21.1.1",
|
69
|
-
"nx": "19.
|
70
|
-
"@nrwl/workspace": "19.
|
69
|
+
"nx": "19.8.0-canary.20240910-9b3a960",
|
70
|
+
"@nrwl/workspace": "19.8.0-canary.20240910-9b3a960"
|
71
71
|
},
|
72
72
|
"publishConfig": {
|
73
73
|
"access": "public"
|
@@ -74,12 +74,4 @@ function addWorkflowFileToSharedGlobals(nxJson, ci, workflowFileName) {
|
|
74
74
|
nxJson.namedInputs ??= {};
|
75
75
|
nxJson.namedInputs.sharedGlobals ??= [];
|
76
76
|
nxJson.namedInputs.sharedGlobals.push(input);
|
77
|
-
// Ensure 'default' named input exists and includes 'sharedGlobals'
|
78
|
-
if (!nxJson.namedInputs.default) {
|
79
|
-
nxJson.namedInputs.default = ['sharedGlobals'];
|
80
|
-
}
|
81
|
-
else if (Array.isArray(nxJson.namedInputs.default) &&
|
82
|
-
!nxJson.namedInputs.default.includes('sharedGlobals')) {
|
83
|
-
nxJson.namedInputs.default.push('sharedGlobals');
|
84
|
-
}
|
85
77
|
}
|