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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-windy",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "创建单组织、单租户、私有部署优先的 Windy 企业 Dashboard Starter",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "templateCommit": "e997376f88c9c48960c085f29c48f15477dbee7b",
4
- "generatorVersion": "0.2.0",
3
+ "templateCommit": "2ea424d9bb8c8f9ae0bdd94c101052684dfb5880",
4
+ "generatorVersion": "0.2.1",
5
5
  "modules": [
6
6
  {
7
7
  "name": "system",