@ostack.tech/ui-kform-scaffolder 0.15.1 → 0.15.3
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/ostack-ui-kform-scaffolder.js +15 -15
- package/dist/ostack-ui-kform-scaffolder.js.map +1 -1
- package/dist/webapp/assets/gradle-wrapper-BR-5feie.jar +0 -0
- package/dist/webapp/assets/{index-CZhbP43P.js → index-B-KacLGe.js} +18 -28
- package/dist/webapp/index.html +1 -1
- package/package.json +6 -6
- package/{dist/types → types}/scaffolding/scaffolders/scaffoldGradleProject.d.ts +2 -2
- package/dist/webapp/assets/gradle-wrapper-BruD2auj.jar +0 -0
- /package/{dist/types → types}/SchematicBuilder.d.ts +0 -0
- /package/{dist/types → types}/SchematicKind.d.ts +0 -0
- /package/{dist/types → types}/configs/DefaultLocaleConfig.d.ts +0 -0
- /package/{dist/types → types}/configs/SerializationFormatConfig.d.ts +0 -0
- /package/{dist/types → types}/configs/UseTableValuesSerializerConfig.d.ts +0 -0
- /package/{dist/types → types}/index.d.ts +0 -0
- /package/{dist/types → types}/main.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/ScaffoldingData.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/kotlin/KtData.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/reactApp/ReactAppData.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/reactApp/util/reactAppLayout.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldActions.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldApi.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldAppComponent.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldAppContext.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldExternalContexts.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldGradleWrapper.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldIssueMessages.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldMain.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldPageComponents.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldProjectMisc.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldResponses.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldSerializer.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldStyles.d.ts +0 -0
- /package/{dist/types → types}/scaffolding/scaffolders/scaffoldViteProject.d.ts +0 -0
- /package/{dist/types → types}/util/arrayify.d.ts +0 -0
|
Binary file
|
|
@@ -655,27 +655,27 @@ org.gradle.caching=true
|
|
|
655
655
|
org.gradle.configuration-cache=true
|
|
656
656
|
`,Ds=`[versions]
|
|
657
657
|
# Plugins
|
|
658
|
-
kotlin = "2.
|
|
658
|
+
kotlin = "2.3.21"
|
|
659
659
|
nodeGradle = "7.1.0"
|
|
660
660
|
# Libraries
|
|
661
|
-
kotlinxCoroutines = "1.
|
|
661
|
+
kotlinxCoroutines = "1.11.0"
|
|
662
662
|
kform = "<%= kFormVersion %>"
|
|
663
663
|
<%_ if (includeKotlinxDatetime) { -%>
|
|
664
|
-
kotlinxDatetime = "0.
|
|
664
|
+
kotlinxDatetime = "0.8.0"
|
|
665
665
|
<%_ } -%>
|
|
666
666
|
<%_ if (serializationFormat === "json") { -%>
|
|
667
|
-
kotlinxSerialization = "1.
|
|
667
|
+
kotlinxSerialization = "1.11.0"
|
|
668
668
|
<%_ } -%>
|
|
669
669
|
<%_ if (includeKtMath) { -%>
|
|
670
670
|
ktMath = "0.10.2"
|
|
671
671
|
<%_ } -%>
|
|
672
|
-
slf4j = "2.0.
|
|
672
|
+
slf4j = "2.0.18"
|
|
673
673
|
<%_ if (serializationFormat === "xml") { -%>
|
|
674
674
|
xmlutil = "0.91.1"
|
|
675
675
|
<%_ } -%>
|
|
676
676
|
<%_ if (includeKotlinxDatetime) { -%>
|
|
677
677
|
# npm libraries
|
|
678
|
-
jsJodaTimezone = "2.
|
|
678
|
+
jsJodaTimezone = "2.23.0"
|
|
679
679
|
<%_ } -%>
|
|
680
680
|
# Runtimes
|
|
681
681
|
jvmToolchain = "<%= jvmToolchainVersion %>"
|
|
@@ -879,9 +879,9 @@ external object JsJodaTimeZoneModule
|
|
|
879
879
|
|
|
880
880
|
@JsExport
|
|
881
881
|
val jsJodaTz = JsJodaTimeZoneModule
|
|
882
|
-
`;function Ms(e,t){let n={gradlePropertiesGroup:t.gradlePropertiesGroup??t.currentPackage,filePackage:t.currentPackage,formId:mo(e.name),formTitle:fo(e.name),kFormVersion:`0.35.0`,serializationFormat:t.serializationFormat??`json`,includeKotlinxDatetime:t.includeKotlinxDatetime??Ns(e,t),includeKtMath:t.includeKtMath??Ps(e),jvmToolchainVersion:t.jvmToolchainVersion??`
|
|
882
|
+
`;function Ms(e,t){let n={gradlePropertiesGroup:t.gradlePropertiesGroup??t.currentPackage,filePackage:t.currentPackage,formId:mo(e.name),formTitle:fo(e.name),kFormVersion:`0.35.0`,serializationFormat:t.serializationFormat??`json`,includeKotlinxDatetime:t.includeKotlinxDatetime??Ns(e,t),includeKtMath:t.includeKtMath??Ps(e),jvmToolchainVersion:t.jvmToolchainVersion??`21`,nodejsVersion:t.nodejsVersion??`24.16.0`};Na(t,`gradle.properties`,Es,n),Na(t,`settings.gradle.kts`,ks,n),Na(t,`gradle/libs.versions.toml`,Ds,n),Ga(t,`build.gradle.kts`,Ts),Na(t,`shared/build.gradle.kts`,As,n),n.includeKotlinxDatetime&&Na(t,`shared/src/jsMain/kotlin/JsJodaTimeZone.kt`,js,n),Na(t,`react-app/build.gradle.kts`,Os,n)}function Ns(e,t){return t.schematicKinds.get(e.kind)?.package===`kotlinx.datetime`||e.children?.some(e=>Ns(e,t))===!0}function Ps(e){return[`BigInteger`,`BigDecimal`].includes(e.kind)||e.children?.some(e=>Ps(e))===!0}var Fs=`/assets/gradle-wrapper-BR-5feie.jar`,Is=`distributionBase=GRADLE_USER_HOME
|
|
883
883
|
distributionPath=wrapper/dists
|
|
884
|
-
distributionUrl=https\\://services.gradle.org/distributions/gradle-
|
|
884
|
+
distributionUrl=https\\://services.gradle.org/distributions/gradle-9.3.0-bin.zip
|
|
885
885
|
networkTimeout=10000
|
|
886
886
|
validateDistributionUrl=true
|
|
887
887
|
zipStoreBase=GRADLE_USER_HOME
|
|
@@ -958,11 +958,10 @@ goto fail\r
|
|
|
958
958
|
:execute\r
|
|
959
959
|
@rem Setup the command line\r
|
|
960
960
|
\r
|
|
961
|
-
set CLASSPATH=\r
|
|
962
961
|
\r
|
|
963
962
|
\r
|
|
964
963
|
@rem Execute Gradle\r
|
|
965
|
-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -
|
|
964
|
+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\\gradle\\wrapper\\gradle-wrapper.jar" %*\r
|
|
966
965
|
\r
|
|
967
966
|
:end\r
|
|
968
967
|
@rem End local scope for the variables with windows NT shell\r
|
|
@@ -983,7 +982,7 @@ if "%OS%"=="Windows_NT" endlocal\r
|
|
|
983
982
|
`,Rs=`#!/bin/sh
|
|
984
983
|
|
|
985
984
|
#
|
|
986
|
-
# Copyright © 2015
|
|
985
|
+
# Copyright © 2015 the original authors.
|
|
987
986
|
#
|
|
988
987
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
989
988
|
# you may not use this file except in compliance with the License.
|
|
@@ -1096,7 +1095,6 @@ case "$( uname )" in #(
|
|
|
1096
1095
|
NONSTOP* ) nonstop=true ;;
|
|
1097
1096
|
esac
|
|
1098
1097
|
|
|
1099
|
-
CLASSPATH="\\\\\\"\\\\\\""
|
|
1100
1098
|
|
|
1101
1099
|
|
|
1102
1100
|
# Determine the Java command to use to start the JVM.
|
|
@@ -1154,7 +1152,6 @@ fi
|
|
|
1154
1152
|
# For Cygwin or MSYS, switch paths to Windows format before running java
|
|
1155
1153
|
if "$cygwin" || "$msys" ; then
|
|
1156
1154
|
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
|
1157
|
-
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
|
1158
1155
|
|
|
1159
1156
|
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
|
1160
1157
|
|
|
@@ -1194,7 +1191,6 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
|
1194
1191
|
|
|
1195
1192
|
set -- \\
|
|
1196
1193
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \\
|
|
1197
|
-
-classpath "$CLASSPATH" \\
|
|
1198
1194
|
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \\
|
|
1199
1195
|
"$@"
|
|
1200
1196
|
|
|
@@ -1352,7 +1348,6 @@ export default defineConfig([
|
|
|
1352
1348
|
reactRefresh.configs.vite,
|
|
1353
1349
|
],
|
|
1354
1350
|
languageOptions: {
|
|
1355
|
-
ecmaVersion: 2020,
|
|
1356
1351
|
globals: globals.browser,
|
|
1357
1352
|
},
|
|
1358
1353
|
},
|
|
@@ -1423,10 +1418,9 @@ export default defineConfig([
|
|
|
1423
1418
|
`,ec=`{
|
|
1424
1419
|
"compilerOptions": {
|
|
1425
1420
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
1426
|
-
"target": "
|
|
1427
|
-
"
|
|
1428
|
-
"
|
|
1429
|
-
"module": "ESNext",
|
|
1421
|
+
"target": "es2023",
|
|
1422
|
+
"lib": ["ES2023", "DOM"],
|
|
1423
|
+
"module": "esnext",
|
|
1430
1424
|
"types": ["vite/client"],
|
|
1431
1425
|
"skipLibCheck": true,
|
|
1432
1426
|
|
|
@@ -1439,12 +1433,10 @@ export default defineConfig([
|
|
|
1439
1433
|
"jsx": "react-jsx",
|
|
1440
1434
|
|
|
1441
1435
|
/* Linting */
|
|
1442
|
-
"strict": true,
|
|
1443
1436
|
"noUnusedLocals": true,
|
|
1444
1437
|
"noUnusedParameters": true,
|
|
1445
1438
|
"erasableSyntaxOnly": true,
|
|
1446
|
-
"noFallthroughCasesInSwitch": true
|
|
1447
|
-
"noUncheckedSideEffectImports": true
|
|
1439
|
+
"noFallthroughCasesInSwitch": true
|
|
1448
1440
|
},
|
|
1449
1441
|
"include": ["src"]
|
|
1450
1442
|
}
|
|
@@ -1458,9 +1450,9 @@ export default defineConfig([
|
|
|
1458
1450
|
`,nc=`{
|
|
1459
1451
|
"compilerOptions": {
|
|
1460
1452
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
1461
|
-
"target": "
|
|
1453
|
+
"target": "es2023",
|
|
1462
1454
|
"lib": ["ES2023"],
|
|
1463
|
-
"module": "
|
|
1455
|
+
"module": "esnext",
|
|
1464
1456
|
"types": ["node"],
|
|
1465
1457
|
"skipLibCheck": true,
|
|
1466
1458
|
|
|
@@ -1472,12 +1464,10 @@ export default defineConfig([
|
|
|
1472
1464
|
"noEmit": true,
|
|
1473
1465
|
|
|
1474
1466
|
/* Linting */
|
|
1475
|
-
"strict": true,
|
|
1476
1467
|
"noUnusedLocals": true,
|
|
1477
1468
|
"noUnusedParameters": true,
|
|
1478
1469
|
"erasableSyntaxOnly": true,
|
|
1479
|
-
"noFallthroughCasesInSwitch": true
|
|
1480
|
-
"noUncheckedSideEffectImports": true
|
|
1470
|
+
"noFallthroughCasesInSwitch": true
|
|
1481
1471
|
},
|
|
1482
1472
|
"include": ["vite.config.ts"]
|
|
1483
1473
|
}
|
|
@@ -1523,4 +1513,4 @@ export default defineConfig({
|
|
|
1523
1513
|
proxy: { "<%= apiBasePath %>": "<%= viteConfigProxyTarget %>" },
|
|
1524
1514
|
},
|
|
1525
1515
|
});
|
|
1526
|
-
`;function ic(e,t){let n={formId:mo(e.name),formClass:e.name,formTitle:fo(e.name),ostackUiVersion:`0.15.
|
|
1516
|
+
`;function ic(e,t){let n={formId:mo(e.name),formClass:e.name,formTitle:fo(e.name),ostackUiVersion:`0.15.3`,kFormVersion:`0.35.0`,dependencyVersions:JSON.parse(`{"@eslint/js":"^10.0.1","@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.35.0","@ostack.tech/kform-react":"~0.35.0","@ostack.tech/kform-scaffolder":"~0.35.0","@storybook/addon-docs":"^10.4.2","@storybook/addon-links":"^10.4.2","@storybook/react-vite":"^10.4.2","@types/node":"^24.12.4","@types/react":"^19.2.16","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.2","change-case":"^5.4.4","cpy-cli":"^7.0.0","date-fns":"^4.4.0","eslint":"^10.4.1","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.5.2","eslint-plugin-simple-import-sort":"^13.0.0","eslint-plugin-storybook":"^10.4.2","globals":"^17.6.0","happy-dom":"^20.9.0","lint-staged":"^17.0.7","prettier":"^3.8.3","prettier-plugin-jsdoc":"^1.8.1","react":"^19.2.7","react-dom":"^19.2.7","rimraf":"^6.1.3","sass-embedded":"^1.100.0","simple-git-hooks":"^2.13.1","storybook":"^10.4.2","terser":"^5.48.0","tslib":"^2.8.1","typescript":"~6.0.3","typescript-eslint":"^8.60.1","vite":"^8.0.16","vitest":"^4.1.8","write-excel-file":"^4.0.7","zod":"^4.4.3","zustand":"^5.0.14"}`),encodedExternalContexts:JSON.stringify(t.serializationFormat===`json`?`{}`:`<${e.name}ExternalContexts />`),apiBasePath:t.apiBasePath??`/api/`,viteConfigOutDir:t.viteConfigOutDir??`build/dist/`,viteConfigProxyTarget:t.viteConfigProxyTarget??`http://127.0.0.1:8080/`};Na(t,`react-app/package.json`,Qs,n),Na(t,`react-app/vite.config.ts`,rc,n),Ga(t,`react-app/tsconfig.json`,tc),Ga(t,`react-app/tsconfig.app.json`,ec),Ga(t,`react-app/tsconfig.node.json`,nc),Ga(t,`react-app/eslint.config.js`,Xs),Na(t,`react-app/index.html`,Zs,n),Ga(t,`react-app/public/vite.svg`,$s)}var ac={currentDir:`shared/src/commonMain/kotlin`},oc={currentDir:`shared/src/commonTest/kotlin`},sc={currentDir:`react-app/src`};function cc({name:e=`ostack-ui-kform`,schematicKinds:t=us,scaffolders:n=[Gs,zs,Ms,ic,Gr(Da,ac),Gr(ui,ac),Gr(qs,ac),Gr(ws,ac),Gr(Bo,ac),Gr(Ia,oc),Gr(Bs,sc),Gr(Ys,sc),Gr(ms,sc),Gr(Ss,sc),Gr(To,sc),Gr(ko,sc),Gr(Po,sc)],scaffoldingData:r=e=>({useFileBase64Serializer:!0,...e.config}),configs:i=(0,U.jsxs)(U.Fragment,{children:[(0,U.jsx)(Qa,{}),(0,U.jsx)(eo,{}),(0,U.jsx)(to,{})]}),version:a=`0.15.3`,...o}){return(0,U.jsx)(Ha,{name:e,schematicKinds:t,scaffolders:n,scaffoldingData:r,configs:i,version:a,...o})}(0,S.createRoot)(document.getElementById(`root`)).render((0,U.jsx)(C.StrictMode,{children:(0,U.jsx)(cc,{})}));
|
package/dist/webapp/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<meta name="color-scheme" content="light dark" />
|
|
7
7
|
<title>Form Scaffolder—ostack/UI-KForm</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-B-KacLGe.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-BKUWl2po.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ostack.tech/ui-kform-scaffolder",
|
|
3
3
|
"description": "Scaffold a new project using ostack/KForm, UI, and UI-KForm.",
|
|
4
|
-
"version": "0.15.
|
|
4
|
+
"version": "0.15.3",
|
|
5
5
|
"homepage": "https://ui-kform-scaffolder.ostack.tech/",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Opensoft",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"ostack-ui-kform-scaffolder": "bin/ostack-ui-kform-scaffolder"
|
|
18
18
|
},
|
|
19
19
|
"main": "dist/ostack-ui-kform-scaffolder.js",
|
|
20
|
-
"types": "
|
|
20
|
+
"types": "types/index.d.ts",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
-
"types": "./
|
|
23
|
+
"types": "./types/index.d.ts",
|
|
24
24
|
"import": "./dist/ostack-ui-kform-scaffolder.js"
|
|
25
25
|
},
|
|
26
26
|
"./package.json": "./package.json"
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"files": [
|
|
30
30
|
"bin/",
|
|
31
|
-
"dist/"
|
|
31
|
+
"dist/",
|
|
32
|
+
"types/"
|
|
32
33
|
],
|
|
33
34
|
"scripts": {
|
|
34
35
|
"dev": "vite",
|
|
35
|
-
"
|
|
36
|
-
"build": "vite build && vite build --mode webapp && tsc -p tsconfig.build.json",
|
|
36
|
+
"build": "tsc -b && vite build && vite build --mode webapp",
|
|
37
37
|
"preview": "vite build --mode webapp && vite preview --outDir dist/webapp/"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Schematic } from "@ostack.tech/kform-scaffolder";
|
|
2
2
|
import type { ScaffoldingData } from "../ScaffoldingData.ts";
|
|
3
|
-
export declare const DEFAULT_JVM_TOOLCHAIN_VERSION = "
|
|
4
|
-
export declare const DEFAULT_NODEJS_VERSION = "
|
|
3
|
+
export declare const DEFAULT_JVM_TOOLCHAIN_VERSION = "21";
|
|
4
|
+
export declare const DEFAULT_NODEJS_VERSION = "24.16.0";
|
|
5
5
|
export declare function scaffoldGradleProject(schematic: Schematic, data: ScaffoldingData): void;
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|