sonamu 0.10.4 → 0.10.5

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.
@@ -5,7 +5,7 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/sonamu-ui/setting.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>{{projectName}}: Sonamu UI</title>
8
- <script type="module" crossorigin src="/sonamu-ui/assets/index-CDd6xT-F.js"></script>
8
+ <script type="module" crossorigin src="/sonamu-ui/assets/index-BLX4zN8c.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/sonamu-ui/assets/index-Dx4ap5i4.css">
10
10
  </head>
11
11
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sonamu",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "description": "Sonamu — TypeScript Fullstack API Framework",
5
5
  "keywords": [
6
6
  "framework",
@@ -130,8 +130,8 @@
130
130
  "vite": "8.0.16",
131
131
  "vitest": "^4.1.9",
132
132
  "@sonamu-kit/hmr-hook": "^0.5.1",
133
- "@sonamu-kit/tasks": "^0.3.1",
134
133
  "@sonamu-kit/hmr-runner": "^0.2.0",
134
+ "@sonamu-kit/tasks": "^0.3.1",
135
135
  "@sonamu-kit/ts-loader": "^2.2.0"
136
136
  },
137
137
  "devDependencies": {
package/src/bin/cli.ts CHANGED
@@ -197,8 +197,8 @@ async function bootstrap() {
197
197
  stub_entity,
198
198
  scaffold_model,
199
199
  scaffold_model_test,
200
- // scaffold_view_list,
201
- // scaffold_view_form,
200
+ scaffold_view_list,
201
+ scaffold_view_form,
202
202
  cone_gen,
203
203
  sync,
204
204
  build_all,
@@ -983,6 +983,19 @@ async function scaffold_model_test(entityId: string) {
983
983
  });
984
984
  }
985
985
 
986
+ async function scaffold_view_list(entityId: string) {
987
+ await Sonamu.syncer.generateTemplate("view_list", {
988
+ entityId,
989
+ extra: undefined,
990
+ });
991
+ }
992
+
993
+ async function scaffold_view_form(entityId: string) {
994
+ await Sonamu.syncer.generateTemplate("view_form", {
995
+ entityId,
996
+ });
997
+ }
998
+
986
999
  /**
987
1000
  * pnpm sonamu skills sync 하면 실행되는 함수입니다.
988
1001
  * 공식 Skills를 로컬 프로젝트 또는 글로벌 ~/.claude/로 동기화합니다.