@useinsider/eslint-config 4.0.0-beta.5 → 4.0.0
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/dist/cli.cjs +5 -2
- package/dist/cli.cjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -5379,6 +5379,7 @@ function resolveInstallCwd(depSummary, input) {
|
|
|
5379
5379
|
return input.cwd;
|
|
5380
5380
|
}
|
|
5381
5381
|
async function runInstaller(clack, depSummary, input) {
|
|
5382
|
+
persistPrunedManifest(depSummary);
|
|
5382
5383
|
return installWithRetry({
|
|
5383
5384
|
deps: depSummary.install.specs,
|
|
5384
5385
|
cwd: resolveInstallCwd(depSummary, input),
|
|
@@ -5393,7 +5394,6 @@ async function applyDepChanges(clack, depSummary, input) {
|
|
|
5393
5394
|
if (clack.note) clack.note("No package.json found alongside the migrated config — skipping dependency updates.", "Notice");
|
|
5394
5395
|
return true;
|
|
5395
5396
|
}
|
|
5396
|
-
persistPrunedManifest(depSummary);
|
|
5397
5397
|
if (input.noInstall) {
|
|
5398
5398
|
emitInstallNextSteps(clack, depSummary, input.cwd);
|
|
5399
5399
|
return true;
|
|
@@ -5406,7 +5406,10 @@ async function applyDepChanges(clack, depSummary, input) {
|
|
|
5406
5406
|
}
|
|
5407
5407
|
noteFallbacks(clack, depSummary);
|
|
5408
5408
|
if (!(await runInstaller(clack, depSummary, input)).installed) {
|
|
5409
|
-
emitInstallNextSteps(clack,
|
|
5409
|
+
emitInstallNextSteps(clack, {
|
|
5410
|
+
...depSummary,
|
|
5411
|
+
removed: []
|
|
5412
|
+
}, input.cwd);
|
|
5410
5413
|
return false;
|
|
5411
5414
|
}
|
|
5412
5415
|
return true;
|