create-windy 0.3.11 → 0.3.12
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.js +9 -3
- package/package.json +1 -1
- package/template/.windy-template.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -7369,8 +7369,13 @@ async function unresolvedPreservePaths(root, backupPath, state) {
|
|
|
7369
7369
|
unresolved.push(path2);
|
|
7370
7370
|
continue;
|
|
7371
7371
|
}
|
|
7372
|
-
const
|
|
7373
|
-
|
|
7372
|
+
const backup = entry.existed ? await backupExpectation(root, backupPath, entry.path, entry.mode) : { kind: "missing" };
|
|
7373
|
+
const actualHash = await hashSafePath(root, path2);
|
|
7374
|
+
const actualMode = await safeFileMode(root, path2);
|
|
7375
|
+
const mutation = state.mutationEvidence?.find((evidence) => evidence.path === path2);
|
|
7376
|
+
const matchesBackup = matchesExpected(actualHash, actualMode, backup, entry.mode);
|
|
7377
|
+
const matchesOutcome = Boolean(mutation?.linearized && mutation.outcome && matchesExpected(actualHash, actualMode, mutation.outcome, mutation.outcomeMode));
|
|
7378
|
+
if (!matchesBackup && !matchesOutcome) {
|
|
7374
7379
|
unresolved.push(path2);
|
|
7375
7380
|
}
|
|
7376
7381
|
}
|
|
@@ -9095,7 +9100,8 @@ var recipes = [
|
|
|
9095
9100
|
{ id: "starter-0.3.7-to-0.3.8", from: "0.3.7", to: "0.3.8" },
|
|
9096
9101
|
{ id: "starter-0.3.8-to-0.3.9", from: "0.3.8", to: "0.3.9" },
|
|
9097
9102
|
{ id: "starter-0.3.9-to-0.3.10", from: "0.3.9", to: "0.3.10" },
|
|
9098
|
-
{ id: "starter-0.3.10-to-0.3.11", from: "0.3.10", to: "0.3.11" }
|
|
9103
|
+
{ id: "starter-0.3.10-to-0.3.11", from: "0.3.10", to: "0.3.11" },
|
|
9104
|
+
{ id: "starter-0.3.11-to-0.3.12", from: "0.3.11", to: "0.3.12" }
|
|
9099
9105
|
];
|
|
9100
9106
|
function resolveRecipeChain(sourceVersion, targetVersion) {
|
|
9101
9107
|
if (sourceVersion === targetVersion)
|
package/package.json
CHANGED