@nx/devkit 19.2.0-beta.5 → 19.2.0-beta.6
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/devkit",
|
3
|
-
"version": "19.2.0-beta.
|
3
|
+
"version": "19.2.0-beta.6",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by leveraging the Nx Devkit](https://nx.dev/extending-nx/intro/getting-started) on our docs.",
|
6
6
|
"repository": {
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"semver": "^7.5.3",
|
37
37
|
"yargs-parser": "21.1.1",
|
38
38
|
"minimatch": "9.0.3",
|
39
|
-
"@nrwl/devkit": "19.2.0-beta.
|
39
|
+
"@nrwl/devkit": "19.2.0-beta.6"
|
40
40
|
},
|
41
41
|
"peerDependencies": {
|
42
42
|
"nx": ">= 17 <= 20"
|
@@ -212,7 +212,7 @@ _ExecutorToPluginMigrator_projectGraph = new WeakMap(), _ExecutorToPluginMigrato
|
|
212
212
|
}
|
213
213
|
});
|
214
214
|
}, _ExecutorToPluginMigrator_getTargetDefaultsForExecutor = function _ExecutorToPluginMigrator_getTargetDefaultsForExecutor() {
|
215
|
-
tslib_1.__classPrivateFieldSet(this, _ExecutorToPluginMigrator_targetDefaultsForExecutor, tslib_1.__classPrivateFieldGet(this, _ExecutorToPluginMigrator_nxJson, "f").targetDefaults?.[tslib_1.__classPrivateFieldGet(this, _ExecutorToPluginMigrator_executor, "f")], "f");
|
215
|
+
tslib_1.__classPrivateFieldSet(this, _ExecutorToPluginMigrator_targetDefaultsForExecutor, structuredClone(tslib_1.__classPrivateFieldGet(this, _ExecutorToPluginMigrator_nxJson, "f").targetDefaults?.[tslib_1.__classPrivateFieldGet(this, _ExecutorToPluginMigrator_executor, "f")]), "f");
|
216
216
|
}, _ExecutorToPluginMigrator_getCreatedTargetForProjectRoot = function _ExecutorToPluginMigrator_getCreatedTargetForProjectRoot(targetName, projectRoot) {
|
217
217
|
const entry = Object.entries(tslib_1.__classPrivateFieldGet(this, _ExecutorToPluginMigrator_createNodesResultsForTargets, "f").get(targetName)?.projects ?? {}).find(([root]) => root === projectRoot);
|
218
218
|
if (!entry) {
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { CreateNodesContext } from 'nx/src/devkit-exports';
|
2
|
-
export declare function calculateHashForCreateNodes(projectRoot: string, options: object, context: CreateNodesContext, additionalGlobs?: string[]): string
|
2
|
+
export declare function calculateHashForCreateNodes(projectRoot: string, options: object, context: CreateNodesContext, additionalGlobs?: string[]): Promise<string>;
|
@@ -4,9 +4,9 @@ exports.calculateHashForCreateNodes = void 0;
|
|
4
4
|
const path_1 = require("path");
|
5
5
|
const devkit_exports_1 = require("nx/src/devkit-exports");
|
6
6
|
const devkit_internals_1 = require("nx/src/devkit-internals");
|
7
|
-
function calculateHashForCreateNodes(projectRoot, options, context, additionalGlobs = []) {
|
7
|
+
async function calculateHashForCreateNodes(projectRoot, options, context, additionalGlobs = []) {
|
8
8
|
return (0, devkit_exports_1.hashArray)([
|
9
|
-
(0, devkit_internals_1.hashWithWorkspaceContext)(context.workspaceRoot, [
|
9
|
+
await (0, devkit_internals_1.hashWithWorkspaceContext)(context.workspaceRoot, [
|
10
10
|
(0, path_1.join)(projectRoot, '**/*'),
|
11
11
|
...additionalGlobs,
|
12
12
|
]),
|