@ostack.tech/ui-kform-scaffolder 0.10.4 → 0.11.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useConfig, UseTableValuesSerializerConfig as UseTableValuesSerializerConfig$1, addEjsTemplateFile, joinPaths, tsFile, code, anySchematicKind as anySchematicKind$1, bigDecimalSchematicKind as bigDecimalSchematicKind$1, bigIntegerSchematicKind as bigIntegerSchematicKind$1, booleanSchematicKind as booleanSchematicKind$1, byteSchematicKind as byteSchematicKind$1, classSchematicKind as classSchematicKind$1, doubleSchematicKind as doubleSchematicKind$1, enumSchematicKind as enumSchematicKind$1, fileSchematicKind as fileSchematicKind$1, floatSchematicKind as floatSchematicKind$1, intSchematicKind as intSchematicKind$1, ListableBuilderWithoutKindSelect,
|
|
2
|
+
import { useConfig, UseTableValuesSerializerConfig as UseTableValuesSerializerConfig$1, addEjsTemplateFile, joinPaths, tsFile, code, anySchematicKind as anySchematicKind$1, bigDecimalSchematicKind as bigDecimalSchematicKind$1, bigIntegerSchematicKind as bigIntegerSchematicKind$1, booleanSchematicKind as booleanSchematicKind$1, byteSchematicKind as byteSchematicKind$1, classSchematicKind as classSchematicKind$1, doubleSchematicKind as doubleSchematicKind$1, enumSchematicKind as enumSchematicKind$1, fileSchematicKind as fileSchematicKind$1, floatSchematicKind as floatSchematicKind$1, intSchematicKind as intSchematicKind$1, ListableBuilderWithoutKindSelect, listSchematicKind, localDateSchematicKind as localDateSchematicKind$1, longSchematicKind as longSchematicKind$1, shortSchematicKind as shortSchematicKind$1, stringSchematicKind as stringSchematicKind$1, tableSchematicKind as tableSchematicKind$1, annotate, createSchematic, addTemplateFile, SchematicBuilder as SchematicBuilder$1, configScaffolder, scaffoldSchemas, scaffoldModels, scaffoldValidator } from "@ostack.tech/kform-scaffolder";
|
|
3
3
|
import { useRef } from "react";
|
|
4
4
|
import { camelCase, kebabCase, constantCase, sentenceCase, capitalCase, pascalCase } from "change-case";
|
|
5
5
|
const DEFAULT_LOCALE = "en-US";
|
|
@@ -1477,9 +1477,9 @@ function scaffoldViteProject(schematic, data) {
|
|
|
1477
1477
|
formId: kebabCase(schematic.name),
|
|
1478
1478
|
formClass: schematic.name,
|
|
1479
1479
|
formTitle: capitalCase(schematic.name),
|
|
1480
|
-
ostackUiVersion: "0.
|
|
1480
|
+
ostackUiVersion: "0.11.0",
|
|
1481
1481
|
kFormVersion: "0.32.4",
|
|
1482
|
-
dependencyVersions: JSON.parse('{"@eslint/js":"^9.39.2","@fortawesome/fontawesome-svg-core":"^7.
|
|
1482
|
+
dependencyVersions: JSON.parse('{"@eslint/js":"^9.39.2","@fortawesome/fontawesome-svg-core":"^7.2.0","@fortawesome/free-brands-svg-icons":"^7.2.0","@fortawesome/free-regular-svg-icons":"^7.2.0","@fortawesome/free-solid-svg-icons":"^7.2.0","@ostack.tech/kform":"^0.32.4","@ostack.tech/kform-react":"^0.32.4","@ostack.tech/kform-scaffolder":"^0.32.4","@storybook/addon-docs":"^10.2.8","@storybook/addon-links":"^10.2.8","@storybook/react-vite":"^10.2.8","@types/node":"^22.19.11","@types/react":"^19.2.14","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.4","change-case":"^5.4.4","cpy-cli":"^7.0.0","date-fns":"^4.1.0","eslint":"^9.39.2","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.5.0","eslint-plugin-simple-import-sort":"^12.1.1","eslint-plugin-storybook":"^10.2.8","globals":"^17.3.0","happy-dom":"^20.6.1","lint-staged":"^16.2.7","prettier":"^3.8.1","prettier-plugin-jsdoc":"^1.8.0","react":"^19.2.4","react-dom":"^19.2.4","rimraf":"^6.1.2","sass-embedded":"^1.97.3","simple-git-hooks":"^2.13.1","storybook":"^10.2.8","terser":"^5.46.0","tslib":"^2.8.1","typescript":"~5.9.3","typescript-eslint":"^8.55.0","vite":"^7.3.1","vite-plugin-dts":"^4.5.4","vitest":"^4.0.18","write-excel-file":"^2.3.10","zustand":"^5.0.11"}'),
|
|
1483
1483
|
externalContextsData: data.serializationFormat === "json" ? "{}" : `<${schematic.name}ExternalContexts />`,
|
|
1484
1484
|
apiBasePath: data.apiBasePath ?? DEFAULT_API_BASE_PATH,
|
|
1485
1485
|
viteConfigOutDir: data.viteConfigOutDir ?? DEFAULT_VITE_CONFIG_OUT_DIR,
|
|
@@ -1539,7 +1539,7 @@ function SchematicBuilder({
|
|
|
1539
1539
|
/* @__PURE__ */ jsx(SerializationFormatConfig, {}),
|
|
1540
1540
|
/* @__PURE__ */ jsx(UseTableValuesSerializerConfig, {})
|
|
1541
1541
|
] }),
|
|
1542
|
-
version = "0.
|
|
1542
|
+
version = "0.11.0",
|
|
1543
1543
|
...otherProps
|
|
1544
1544
|
}) {
|
|
1545
1545
|
return /* @__PURE__ */ jsx(
|