@nx/devkit
Advanced tools
Comparing version 17.2.0-beta.4 to 17.2.0-beta.5
{ | ||
"name": "@nx/devkit", | ||
"version": "17.2.0-beta.4", | ||
"version": "17.2.0-beta.5", | ||
"private": false, | ||
@@ -37,3 +37,3 @@ "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.", | ||
"semver": "7.5.3", | ||
"@nrwl/devkit": "17.2.0-beta.4" | ||
"@nrwl/devkit": "17.2.0-beta.5" | ||
}, | ||
@@ -40,0 +40,0 @@ "peerDependencies": { |
import type { CreateNodesContext } from 'nx/src/devkit-exports'; | ||
export declare function calculateHashForCreateNodes(projectRoot: string, options: object, context: CreateNodesContext): string; | ||
export declare function calculateHashForCreateNodes(projectRoot: string, options: object, context: CreateNodesContext, additionalGlobs?: string[]): string; |
@@ -7,6 +7,7 @@ "use strict"; | ||
const { hashWithWorkspaceContext, hashArray, hashObject } = (0, nx_1.requireNx)(); | ||
function calculateHashForCreateNodes(projectRoot, options, context) { | ||
function calculateHashForCreateNodes(projectRoot, options, context, additionalGlobs = []) { | ||
return hashArray([ | ||
hashWithWorkspaceContext(context.workspaceRoot, [ | ||
(0, path_1.join)(projectRoot, '**/*'), | ||
...additionalGlobs, | ||
]), | ||
@@ -13,0 +14,0 @@ hashObject(options), |
165056
4338
+ Added@nrwl/devkit@17.2.0-beta.5(transitive)
- Removed@nrwl/devkit@17.2.0-beta.4(transitive)
Updated@nrwl/devkit@17.2.0-beta.5