@nx/devkit
Advanced tools
Comparing version 0.0.0-pr-22870-d31b9b7 to 0.0.0-pr-22870-dcac42e
{ | ||
"name": "@nx/devkit", | ||
"version": "0.0.0-pr-22870-d31b9b7", | ||
"version": "0.0.0-pr-22870-dcac42e", | ||
"private": false, | ||
@@ -39,3 +39,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.", | ||
"minimatch": "9.0.3", | ||
"@nrwl/devkit": "0.0.0-pr-22870-d31b9b7" | ||
"@nrwl/devkit": "0.0.0-pr-22870-dcac42e" | ||
}, | ||
@@ -42,0 +42,0 @@ "peerDependencies": { |
import type { ProjectConfiguration } from 'nx/src/config/workspace-json-project-json'; | ||
import { type CreateNodes, type CreateNodesV2, type ProjectGraph, type TargetConfiguration, type Tree } from 'nx/src/devkit-exports'; | ||
export type InferredTargetConfiguration = TargetConfiguration & { | ||
name: string; | ||
}; | ||
type PostTargetTransformer = (targetConfiguration: TargetConfiguration, tree: Tree, projectDetails: { | ||
projectName: string; | ||
root: string; | ||
}, inferredTargetConfiguration: TargetConfiguration) => TargetConfiguration | Promise<TargetConfiguration>; | ||
}, inferredTargetConfiguration: InferredTargetConfiguration) => TargetConfiguration | Promise<TargetConfiguration>; | ||
type SkipTargetFilter = (targetConfiguration: TargetConfiguration) => false | string; | ||
@@ -8,0 +11,0 @@ type SkipProjectFilter = (projectConfiguration: ProjectConfiguration) => false | string; |
@@ -85,3 +85,3 @@ "use strict"; | ||
} | ||
projectTarget = await tslib_1.__classPrivateFieldGet(this, _ExecutorToPluginMigrator_postTargetTransformer, "f").call(this, projectTarget, this.tree, { projectName, root: projectFromGraph.data.root }, createdTarget); | ||
projectTarget = await tslib_1.__classPrivateFieldGet(this, _ExecutorToPluginMigrator_postTargetTransformer, "f").call(this, projectTarget, this.tree, { projectName, root: projectFromGraph.data.root }, { ...createdTarget, name: targetName }); | ||
if (projectTarget.options && | ||
@@ -88,0 +88,0 @@ Object.keys(projectTarget.options).length === 0) { |
222682
5445
+ Added@nrwl/devkit@0.0.0-pr-22870-dcac42e(transitive)
- Removed@nrwl/devkit@0.0.0-pr-22870-d31b9b7(transitive)