nx-ignore
Advanced tools
Comparing version 18.0.2 to 18.3.0-beta.1
{ | ||
"name": "nx-ignore", | ||
"version": "18.0.2", | ||
"version": "18.3.0-beta.1", | ||
"type": "commonjs", | ||
@@ -22,6 +22,6 @@ "repository": { | ||
"dependencies": { | ||
"@swc/helpers": "0.5.1", | ||
"fs-extra": "^10.1.0" | ||
"fs-extra": "^10.1.0", | ||
"@swc/helpers": "0.5.1" | ||
}, | ||
"main": "./src/index.js" | ||
} |
@@ -60,5 +60,11 @@ #!/usr/bin/env node | ||
const graphJsonPath = join(tmpdir(), '.nx-affected-graph.json'); | ||
execSync(`npx nx affected:graph --base=${baseSha} --head=${headSha} --file=${graphJsonPath}`, { | ||
cwd: root | ||
}); | ||
try { | ||
execSync(`npx nx affected:graph --base=${baseSha} --head=${headSha} --file=${graphJsonPath}`, { | ||
cwd: root | ||
}); | ||
} catch (e) { | ||
if (e.stdout) console.error(e.stdout.toString()); | ||
if (e.stderr) console.error(e.stderr.toString()); | ||
exitWithoutBuild(`🛑 - Build cancelled due to the error above (Hint: commit with "[nx deploy]" to force deployment)`); | ||
} | ||
const projects = JSON.parse(readFileSync(graphJsonPath).toString()).affectedProjects; | ||
@@ -65,0 +71,0 @@ logDebug(`≫ Affected projects:\n - ${projects.join('\n - ')}\n`); |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
27707
230
1