create-windy 0.2.10 → 0.2.11
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
|
@@ -4006,7 +4006,8 @@ var recipes = [
|
|
|
4006
4006
|
{ id: "starter-0.2.6-to-0.2.7", from: "0.2.6", to: "0.2.7" },
|
|
4007
4007
|
{ id: "starter-0.2.7-to-0.2.8", from: "0.2.7", to: "0.2.8" },
|
|
4008
4008
|
{ 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" }
|
|
4009
|
+
{ id: "starter-0.2.9-to-0.2.10", from: "0.2.9", to: "0.2.10" },
|
|
4010
|
+
{ id: "starter-0.2.10-to-0.2.11", from: "0.2.10", to: "0.2.11" }
|
|
4010
4011
|
];
|
|
4011
4012
|
function resolveRecipeChain(sourceVersion, targetVersion) {
|
|
4012
4013
|
if (sourceVersion === targetVersion)
|
package/package.json
CHANGED
|
@@ -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 {
|
|
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
|
-
|
|
112
|
-
|
|
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
|
|