create-windy 0.2.0 → 0.2.1
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 +3 -1
- package/package.json +1 -1
- package/template/.windy-template.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -3741,6 +3741,7 @@ async function restoreUpdateState(projectDirectory, state) {
|
|
|
3741
3741
|
await copyFile2(backup, target);
|
|
3742
3742
|
}
|
|
3743
3743
|
await rm5(join8(projectDirectory, updateStatePath), { force: true });
|
|
3744
|
+
await rm5(state.backupDirectory, { recursive: true, force: true });
|
|
3744
3745
|
}
|
|
3745
3746
|
async function clearUpdateState(projectDirectory) {
|
|
3746
3747
|
await rm5(join8(projectDirectory, updateStatePath), { force: true });
|
|
@@ -3826,7 +3827,8 @@ async function diagnoseProject(projectDirectory, repair = false) {
|
|
|
3826
3827
|
// src/update/recipes.ts
|
|
3827
3828
|
var recipes = [
|
|
3828
3829
|
{ id: "starter-0.1.1-to-0.1.2", from: "0.1.1", to: "0.1.2" },
|
|
3829
|
-
{ id: "starter-0.1.2-to-0.2.0", from: "0.1.2", to: "0.2.0" }
|
|
3830
|
+
{ id: "starter-0.1.2-to-0.2.0", from: "0.1.2", to: "0.2.0" },
|
|
3831
|
+
{ id: "starter-0.2.0-to-0.2.1", from: "0.2.0", to: "0.2.1" }
|
|
3830
3832
|
];
|
|
3831
3833
|
function resolveRecipeChain(sourceVersion, targetVersion) {
|
|
3832
3834
|
if (sourceVersion === targetVersion)
|
package/package.json
CHANGED