@nx/devkit
Advanced tools
Comparing version 20.0.12 to 20.0.13
{ | ||
"name": "@nx/devkit", | ||
"version": "20.0.12", | ||
"version": "20.0.13", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "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.", |
@@ -132,3 +132,3 @@ "use strict"; | ||
} | ||
const replacedTargets = new Set(); | ||
let hasChanges = false; | ||
for (const targetCommand of targetCommands) { | ||
@@ -144,3 +144,3 @@ const { command, target, configuration } = targetCommand; | ||
: `$1nx ${target}$3`); | ||
replacedTargets.add(target); | ||
hasChanges = true; | ||
} | ||
@@ -204,3 +204,3 @@ else { | ||
: `$1nx ${target}$4`)); | ||
replacedTargets.add(target); | ||
hasChanges = true; | ||
} | ||
@@ -212,3 +212,3 @@ else { | ||
: `$1nx ${target}$3`)); | ||
replacedTargets.add(target); | ||
hasChanges = true; | ||
} | ||
@@ -219,3 +219,5 @@ } | ||
} | ||
(0, devkit_exports_1.writeJson)(tree, packageJsonPath, packageJson); | ||
if (hasChanges) { | ||
(0, devkit_exports_1.writeJson)(tree, packageJsonPath, packageJson); | ||
} | ||
} | ||
@@ -222,0 +224,0 @@ function getInferredTargetCommands(project) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5025
203825