@nx/devkit 23.3.0-canary.20260928-ff94a98 → 23.3.0-canary.20260929-b8beaaa
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.calculateHashForCreateNodes = calculateHashForCreateNodes;
|
|
4
4
|
exports.calculateHashesForCreateNodes = calculateHashesForCreateNodes;
|
|
5
|
-
const
|
|
5
|
+
const posix_1 = require("node:path/posix");
|
|
6
6
|
const devkit_exports_1 = require("nx/src/devkit-exports");
|
|
7
7
|
const devkit_internals_1 = require("nx/src/devkit-internals");
|
|
8
8
|
/**
|
|
@@ -13,7 +13,7 @@ const devkit_internals_1 = require("nx/src/devkit-internals");
|
|
|
13
13
|
async function calculateHashForCreateNodes(projectRoot, options, context, additionalGlobs = []) {
|
|
14
14
|
return (0, devkit_exports_1.hashArray)([
|
|
15
15
|
await (0, devkit_internals_1.hashWithWorkspaceContext)(context.workspaceRoot, [
|
|
16
|
-
(0,
|
|
16
|
+
(0, posix_1.join)(projectRoot, '**/*'),
|
|
17
17
|
...additionalGlobs,
|
|
18
18
|
]),
|
|
19
19
|
(0, devkit_internals_1.hashObject)(options),
|
|
@@ -28,7 +28,7 @@ async function calculateHashesForCreateNodes(projectRoots, options, context, add
|
|
|
28
28
|
throw new Error(`calculateHashesForCreateNodes: projectRoots.length (${projectRoots.length}) !== additionalGlobs.length (${additionalGlobs.length})`);
|
|
29
29
|
}
|
|
30
30
|
const hashes = await (0, devkit_internals_1.hashMultiGlobWithWorkspaceContext)(context.workspaceRoot, projectRoots.map((projectRoot, idx) => [
|
|
31
|
-
(0,
|
|
31
|
+
(0, posix_1.join)(projectRoot, '**/*'),
|
|
32
32
|
...(additionalGlobs.length ? additionalGlobs[idx] : []),
|
|
33
33
|
]));
|
|
34
34
|
return hashes.map((hash) => (0, devkit_exports_1.hashArray)([hash, (0, devkit_internals_1.hashObject)(options)]));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/devkit",
|
|
3
|
-
"version": "23.3.0-canary.
|
|
3
|
+
"version": "23.3.0-canary.20260929-b8beaaa",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"jest": "30.3.0",
|
|
70
|
-
"nx": "23.3.0-canary.
|
|
70
|
+
"nx": "23.3.0-canary.20260929-b8beaaa"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"nx": ">= 22 <= 24 || ^23.0.0-0"
|