create-windy 0.2.27 → 0.2.28
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 +11 -1
- package/package.json +1 -1
- package/template/.windy-template.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -4336,7 +4336,8 @@ var recipes = [
|
|
|
4336
4336
|
{ id: "starter-0.2.23-to-0.2.24", from: "0.2.23", to: "0.2.24" },
|
|
4337
4337
|
{ id: "starter-0.2.24-to-0.2.25", from: "0.2.24", to: "0.2.25" },
|
|
4338
4338
|
{ id: "starter-0.2.25-to-0.2.26", from: "0.2.25", to: "0.2.26" },
|
|
4339
|
-
{ id: "starter-0.2.26-to-0.2.27", from: "0.2.26", to: "0.2.27" }
|
|
4339
|
+
{ id: "starter-0.2.26-to-0.2.27", from: "0.2.26", to: "0.2.27" },
|
|
4340
|
+
{ id: "starter-0.2.27-to-0.2.28", from: "0.2.27", to: "0.2.28" }
|
|
4340
4341
|
];
|
|
4341
4342
|
function resolveRecipeChain(sourceVersion, targetVersion) {
|
|
4342
4343
|
if (sourceVersion === targetVersion)
|
|
@@ -4431,6 +4432,12 @@ import { join as join16 } from "node:path";
|
|
|
4431
4432
|
import { createHash as createHash2 } from "node:crypto";
|
|
4432
4433
|
var wrongTextVersions = new Set(["0.2.12", "0.2.13"]);
|
|
4433
4434
|
var formattedBaselineVersions = new Set(["0.2.14", "0.2.15"]);
|
|
4435
|
+
var known026DownstreamHashes = new Map([
|
|
4436
|
+
[
|
|
4437
|
+
"apps/server/src/module-bootstrap.ts",
|
|
4438
|
+
"4b79ab5d0271b3111c7cb546e0b581d483da8c5de263f8d2f9671d53f60c5099"
|
|
4439
|
+
]
|
|
4440
|
+
]);
|
|
4434
4441
|
var known023DownstreamHashes = new Map([
|
|
4435
4442
|
[
|
|
4436
4443
|
"apps/server/src/http-app.ts",
|
|
@@ -4484,6 +4491,9 @@ function repairKnownDerivedFile(input) {
|
|
|
4484
4491
|
function repairKnown026Downstream(input) {
|
|
4485
4492
|
if (input.sourceVersion !== "0.2.26")
|
|
4486
4493
|
return;
|
|
4494
|
+
if (known026DownstreamHashes.get(input.path) === contentHash(input.content)) {
|
|
4495
|
+
return input.targetContent;
|
|
4496
|
+
}
|
|
4487
4497
|
if (input.path === "apps/web/src/router/index.ts" && input.targetContent.includes("@/pages/auth/LoginPage.vue")) {
|
|
4488
4498
|
return replaceKnown(input.content, 'import LoginPage from "@/app/auth/LijianLoginPage.vue";', 'import LoginPage from "@/pages/auth/LoginPage.vue";');
|
|
4489
4499
|
}
|
package/package.json
CHANGED