create-windy 0.2.10 → 0.2.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 CHANGED
@@ -411,6 +411,7 @@ var platformModules = [
411
411
  "apps/server/src/settings",
412
412
  "apps/web/src/pages/settings",
413
413
  "apps/web/src/layout/GlobalWatermark.vue",
414
+ "apps/web/src/layout/GlobalWatermark.webtest.ts",
414
415
  "apps/web/src/services/platform-settings-api.ts",
415
416
  "apps/web/src/composables/useWatermarkSettings.ts",
416
417
  "apps/web/src/composables/watermark-settings.ts",
@@ -4006,7 +4007,9 @@ var recipes = [
4006
4007
  { id: "starter-0.2.6-to-0.2.7", from: "0.2.6", to: "0.2.7" },
4007
4008
  { id: "starter-0.2.7-to-0.2.8", from: "0.2.7", to: "0.2.8" },
4008
4009
  { id: "starter-0.2.8-to-0.2.9", from: "0.2.8", to: "0.2.9" },
4009
- { id: "starter-0.2.9-to-0.2.10", from: "0.2.9", to: "0.2.10" }
4010
+ { id: "starter-0.2.9-to-0.2.10", from: "0.2.9", to: "0.2.10" },
4011
+ { id: "starter-0.2.10-to-0.2.11", from: "0.2.10", to: "0.2.11" },
4012
+ { id: "starter-0.2.11-to-0.2.12", from: "0.2.11", to: "0.2.12" }
4010
4013
  ];
4011
4014
  function resolveRecipeChain(sourceVersion, targetVersion) {
4012
4015
  if (sourceVersion === targetVersion)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-windy",
3
- "version": "0.2.10",
3
+ "version": "0.2.12",
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": "652e485ee74518b544f3cacaa20b917667e29970",
4
- "generatorVersion": "0.2.10",
3
+ "templateCommit": "8b610ccf38a29d887666d0c7f4730b84a3334027",
4
+ "generatorVersion": "0.2.12",
5
5
  "modules": [
6
6
  {
7
7
  "name": "system",
@@ -15,7 +15,10 @@ import {
15
15
  import type { ResourceColumn, ResourceInlineToggle } from "../resource-config";
16
16
  import type { SystemRecord } from "@/services/system-api";
17
17
  import { formatDateTime } from "@/lib/date-time";
18
- import { AUDIT_ACTION_DEFINITIONS } from "@southwind-ai/shared";
18
+ import {
19
+ AUDIT_ACTION_DEFINITIONS,
20
+ LICENSE_CATALOG,
21
+ } from "@southwind-ai/shared";
19
22
  import { useAccessSnapshot } from "@/composables/useAccessSnapshot";
20
23
  import {
21
24
  Tooltip,
@@ -108,10 +111,8 @@ function formatLicensePolicy(item: SystemRecord): string {
108
111
  }
109
112
 
110
113
  function licenseVersionLabel(version: string): string {
111
- return (
112
- access.snapshot.value?.licenseCatalog?.find(({ key }) => key === version)
113
- ?.label || version
114
- );
114
+ const catalog = access.snapshot.value?.licenseCatalog || LICENSE_CATALOG;
115
+ return catalog.find(({ key }) => key === version)?.label || version;
115
116
  }
116
117
  </script>
117
118