@nx/js 18.0.5 → 18.0.7
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": "18.0.
|
|
3
|
+
"version": "18.0.7",
|
|
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": "18.0.
|
|
61
|
-
"@nx/workspace": "18.0.
|
|
62
|
-
"@nrwl/js": "18.0.
|
|
60
|
+
"@nx/devkit": "18.0.7",
|
|
61
|
+
"@nx/workspace": "18.0.7",
|
|
62
|
+
"@nrwl/js": "18.0.7"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"verdaccio": "^5.0.4"
|
|
@@ -23,6 +23,13 @@ async function updateLockFile(cwd, { dryRun, verbose, generatorOptions, }) {
|
|
|
23
23
|
}
|
|
24
24
|
return [];
|
|
25
25
|
}
|
|
26
|
+
const workspacesEnabled = (0, devkit_1.isWorkspacesEnabled)(packageManager, cwd);
|
|
27
|
+
if (!workspacesEnabled) {
|
|
28
|
+
if (verbose) {
|
|
29
|
+
console.log(`\nSkipped lock file update because ${packageManager} workspaces are not enabled.`);
|
|
30
|
+
}
|
|
31
|
+
return [];
|
|
32
|
+
}
|
|
26
33
|
const isDaemonEnabled = client_1.daemonClient.enabled();
|
|
27
34
|
if (!dryRun && isDaemonEnabled) {
|
|
28
35
|
// if not in dry-run temporarily stop the daemon, as it will error if the lock file is updated
|
|
@@ -127,7 +127,7 @@ function calculateDependenciesFromTaskGraph(taskGraph, projectGraph, root, proje
|
|
|
127
127
|
const depTask = taskGraph.tasks[taskName];
|
|
128
128
|
const depProjectNode = projectGraph.nodes?.[depTask.target.project];
|
|
129
129
|
if (depProjectNode?.type !== 'lib') {
|
|
130
|
-
|
|
130
|
+
continue;
|
|
131
131
|
}
|
|
132
132
|
let outputs = (0, devkit_1.getOutputsForTargetAndConfiguration)(depTask.target, depTask.overrides, depProjectNode);
|
|
133
133
|
if (outputs.length === 0) {
|