@akanjs/cli 1.0.20 → 2.1.0-rc.1

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.
Files changed (641) hide show
  1. package/guidelines/componentRule/componentRule.generate.json +37 -0
  2. package/guidelines/componentRule/componentRule.instruction.md +28 -0
  3. package/guidelines/cssRule/cssRule.generate.json +37 -0
  4. package/guidelines/cssRule/cssRule.instruction.md +28 -0
  5. package/guidelines/docPageRule/docPageRule.generate.json +37 -0
  6. package/guidelines/docPageRule/docPageRule.instruction.md +25 -0
  7. package/guidelines/docSyncRule/docSyncRule.generate.json +37 -0
  8. package/guidelines/docSyncRule/docSyncRule.instruction.md +25 -0
  9. package/guidelines/enumConstant/enumConstant.generate.json +37 -0
  10. package/guidelines/enumConstant/enumConstant.instruction.md +28 -0
  11. package/guidelines/fieldRule/fieldRule.generate.json +37 -0
  12. package/guidelines/fieldRule/fieldRule.instruction.md +31 -0
  13. package/guidelines/framework/framework.generate.json +37 -0
  14. package/guidelines/framework/framework.instruction.md +29 -0
  15. package/guidelines/modelConstant/modelConstant.generate.json +37 -0
  16. package/guidelines/modelConstant/modelConstant.instruction.md +30 -0
  17. package/guidelines/modelDictionary/modelDictionary.generate.json +37 -0
  18. package/guidelines/modelDictionary/modelDictionary.instruction.md +30 -0
  19. package/guidelines/modelDocument/modelDocument.generate.json +37 -0
  20. package/guidelines/modelDocument/modelDocument.instruction.md +29 -0
  21. package/guidelines/modelService/modelService.generate.json +37 -0
  22. package/guidelines/modelService/modelService.instruction.md +28 -0
  23. package/guidelines/modelSignal/modelSignal.generate.json +37 -0
  24. package/guidelines/modelSignal/modelSignal.instruction.md +28 -0
  25. package/guidelines/modelStore/modelStore.generate.json +37 -0
  26. package/guidelines/modelStore/modelStore.instruction.md +28 -0
  27. package/guidelines/modelTemplate/modelTemplate.generate.json +37 -0
  28. package/guidelines/modelTemplate/modelTemplate.instruction.md +25 -0
  29. package/guidelines/modelUnit/modelUnit.generate.json +37 -0
  30. package/guidelines/modelUnit/modelUnit.instruction.md +25 -0
  31. package/guidelines/modelUtil/modelUtil.generate.json +37 -0
  32. package/guidelines/modelUtil/modelUtil.instruction.md +25 -0
  33. package/guidelines/modelView/modelView.generate.json +37 -0
  34. package/guidelines/modelView/modelView.instruction.md +25 -0
  35. package/guidelines/modelZone/modelZone.generate.json +37 -0
  36. package/guidelines/modelZone/modelZone.instruction.md +25 -0
  37. package/guidelines/moduleCodegen/moduleCodegen.generate.json +37 -0
  38. package/guidelines/moduleCodegen/moduleCodegen.instruction.md +28 -0
  39. package/guidelines/moduleOverview/moduleOverview.generate.json +37 -0
  40. package/guidelines/moduleOverview/moduleOverview.instruction.md +31 -0
  41. package/guidelines/scalarConstant/scalarConstant.generate.json +37 -0
  42. package/guidelines/scalarConstant/scalarConstant.instruction.md +28 -0
  43. package/guidelines/scalarDictionary/scalarDictionary.generate.json +37 -0
  44. package/guidelines/scalarDictionary/scalarDictionary.instruction.md +28 -0
  45. package/guidelines/scalarModule/scalarModule.generate.json +37 -0
  46. package/guidelines/scalarModule/scalarModule.instruction.md +29 -0
  47. package/guidelines/sharedUiUsage/sharedUiUsage.generate.json +37 -0
  48. package/guidelines/sharedUiUsage/sharedUiUsage.instruction.md +25 -0
  49. package/guidelines/utilUiUsage/utilUiUsage.generate.json +37 -0
  50. package/guidelines/utilUiUsage/utilUiUsage.instruction.md +25 -0
  51. package/index.js +11658 -0
  52. package/package.json +38 -56
  53. package/templates/__scalar/__model__/__model__.constant.ts +15 -0
  54. package/templates/__scalar/__model__/__model__.dictionary.ts +19 -0
  55. package/templates/__scalar/__model__/__model__.document.ts +15 -0
  56. package/templates/app/akan.config.ts +14 -0
  57. package/templates/app/env/env.client.debug.ts.template +7 -0
  58. package/templates/app/env/env.client.develop.ts.template +7 -0
  59. package/templates/app/env/env.client.local.ts.template +7 -0
  60. package/templates/app/env/env.client.main.ts.template +7 -0
  61. package/templates/app/env/env.client.testing.ts.template +7 -0
  62. package/{esm/src/templates/app/env/env.client.js → templates/app/env/env.client.ts} +7 -6
  63. package/templates/app/env/env.client.type.ts +16 -0
  64. package/{esm/src/templates/app/env/env.server.testing.ts.template → templates/app/env/env.server.debug.ts.template} +3 -2
  65. package/templates/app/env/env.server.develop.ts.template +7 -0
  66. package/templates/app/env/env.server.local.ts.template +7 -0
  67. package/templates/app/env/env.server.main.ts.template +7 -0
  68. package/{cjs/src/templates → templates}/app/env/env.server.testing.ts.template +0 -0
  69. package/{esm/src/templates/app/env/env.server.js → templates/app/env/env.server.ts} +7 -6
  70. package/templates/app/lib/___appName__/__appName__.dictionary.ts +17 -0
  71. package/templates/app/lib/___appName__/__appName__.service.ts +13 -0
  72. package/templates/app/lib/___appName__/__appName__.signal.ts +17 -0
  73. package/templates/app/lib/___appName__/__appName__.store.ts +17 -0
  74. package/templates/app/lib/option.ts +18 -0
  75. package/templates/app/main.ts +16 -0
  76. package/templates/app/page/_index.tsx +296 -0
  77. package/templates/app/page/_layout.tsx +31 -0
  78. package/templates/app/page/styles.css.template +53 -0
  79. package/templates/app/public/favicon.ico +0 -0
  80. package/templates/app/public/logo.png +0 -0
  81. package/{esm/src/templates → templates}/app/tsconfig.json.template +0 -1
  82. package/templates/client.ts +46 -0
  83. package/templates/crudPages/[__model__Id]/edit/page.tsx +47 -0
  84. package/templates/crudPages/[__model__Id]/page.tsx +52 -0
  85. package/templates/crudPages/new/page.tsx +42 -0
  86. package/templates/crudPages/page.tsx +43 -0
  87. package/templates/crudSinglePage/page.tsx +37 -0
  88. package/templates/env/_env.server.type.ts +16 -0
  89. package/templates/facetIndex/index.ts +33 -0
  90. package/templates/index.ts +10 -0
  91. package/templates/lib/__lib/lib.constant.ts +38 -0
  92. package/templates/lib/__lib/lib.dictionary.ts +33 -0
  93. package/templates/lib/__lib/lib.document.ts +35 -0
  94. package/templates/lib/__lib/lib.service.ts +33 -0
  95. package/templates/lib/__lib/lib.signal.ts +34 -0
  96. package/templates/lib/__lib/lib.store.ts +33 -0
  97. package/templates/lib/cnst.ts +29 -0
  98. package/templates/lib/db.ts +32 -0
  99. package/{esm/src/templates/lib/dict.js → templates/lib/dict.ts} +16 -16
  100. package/templates/lib/sig.ts +60 -0
  101. package/templates/lib/srv.ts +34 -0
  102. package/templates/lib/st.ts +31 -0
  103. package/templates/lib/useClient.ts +19 -0
  104. package/templates/lib/useServer.ts +7 -0
  105. package/templates/libRoot/akan.config.ts +12 -0
  106. package/templates/libRoot/base/baseLogic.ts +14 -0
  107. package/templates/libRoot/base/index.ts +8 -0
  108. package/templates/libRoot/common/commonLogic.ts +14 -0
  109. package/templates/libRoot/common/index.ts +8 -0
  110. package/{esm/src/templates/libRoot/lib/___libName__/__libName__.dictionary.js → templates/libRoot/lib/___libName__/__libName__.dictionary.ts} +6 -6
  111. package/templates/libRoot/lib/___libName__/__libName__.service.ts +13 -0
  112. package/templates/libRoot/lib/___libName__/__libName__.store.ts +15 -0
  113. package/templates/libRoot/lib/option.ts +18 -0
  114. package/templates/libRoot/srvkit/backendLogic.ts +13 -0
  115. package/templates/libRoot/srvkit/index.ts +8 -0
  116. package/templates/libRoot/ui/index.ts +8 -0
  117. package/templates/libRoot/webkit/frontendLogic.ts +13 -0
  118. package/templates/libRoot/webkit/index.ts +8 -0
  119. package/templates/localDev/docker-compose.yaml.template +37 -0
  120. package/{esm/src/templates/module/__Model__.Template.js → templates/module/__Model__.Template.tsx} +11 -8
  121. package/templates/module/__Model__.Unit.tsx +26 -0
  122. package/templates/module/__Model__.Util.tsx +30 -0
  123. package/{esm/src/templates/module/__Model__.View.js → templates/module/__Model__.View.tsx} +11 -8
  124. package/{esm/src/templates/module/__Model__.Zone.js → templates/module/__Model__.Zone.tsx} +15 -12
  125. package/{esm/src/templates/module/__model__.constant.js → templates/module/__model__.constant.ts} +9 -6
  126. package/{esm/src/templates/module/__model__.dictionary.js → templates/module/__model__.dictionary.ts} +12 -9
  127. package/templates/module/__model__.document.ts +23 -0
  128. package/templates/module/__model__.service.ts +16 -0
  129. package/{esm/src/templates/module/__model__.signal.js → templates/module/__model__.signal.ts} +10 -7
  130. package/templates/module/__model__.store.ts +21 -0
  131. package/templates/moduleRoot/index.tsx +31 -0
  132. package/{esm/src/templates/libRoot → templates/pkgRoot}/tsconfig.json.template +2 -3
  133. package/templates/server.ts +45 -0
  134. package/templates/service/__model__.dictionary.ts +19 -0
  135. package/templates/service/__model__.service.ts +13 -0
  136. package/templates/service/__model__.signal.ts +17 -0
  137. package/templates/service/__model__.store.ts +17 -0
  138. package/templates/workspaceRoot/.env.template +14 -0
  139. package/{cjs/src/templates → templates}/workspaceRoot/.gitignore.template +14 -13
  140. package/templates/workspaceRoot/.vscode/settings.json.template +23 -0
  141. package/templates/workspaceRoot/biome.json.template +191 -0
  142. package/templates/workspaceRoot/bunfig.toml +4 -0
  143. package/templates/workspaceRoot/package.json.template +7 -0
  144. package/templates/workspaceRoot/tsconfig.json.template +29 -0
  145. package/README.md +0 -307
  146. package/cjs/index.js +0 -7778
  147. package/cjs/src/guidelines/___library/sharedUiStructureDescription.en.md +0 -767
  148. package/cjs/src/guidelines/___library/utilUiStructureDescription.en.md +0 -395
  149. package/cjs/src/guidelines/___lint/lintRuleDescription.en.md +0 -64
  150. package/cjs/src/guidelines/___module/moduleStructureDescription.en.md +0 -80
  151. package/cjs/src/guidelines/componentRule/componentRule.generate.json +0 -131
  152. package/cjs/src/guidelines/componentRule/componentRule.instruction.md +0 -637
  153. package/cjs/src/guidelines/cssRule/cssRule.generate.json +0 -93
  154. package/cjs/src/guidelines/cssRule/cssRule.instruction.md +0 -435
  155. package/cjs/src/guidelines/databaseModule/databaseModule.generate.json +0 -51
  156. package/cjs/src/guidelines/databaseModule/databaseModule.instruction.md +0 -631
  157. package/cjs/src/guidelines/docPageRule/docPageRule.generate.json +0 -72
  158. package/cjs/src/guidelines/docPageRule/docPageRule.instruction.md +0 -389
  159. package/cjs/src/guidelines/enumConstant/enumConstant.generate.json +0 -24
  160. package/cjs/src/guidelines/enumConstant/enumConstant.instruction.md +0 -232
  161. package/cjs/src/guidelines/framework/framework.generate.json +0 -119
  162. package/cjs/src/guidelines/framework/framework.instruction.md +0 -1110
  163. package/cjs/src/guidelines/howToUseStore/howToUseStore.generate.json +0 -0
  164. package/cjs/src/guidelines/modelConstant/modelConstant.generate.json +0 -128
  165. package/cjs/src/guidelines/modelConstant/modelConstant.instruction.md +0 -506
  166. package/cjs/src/guidelines/modelDictionary/modelDictionary.generate.json +0 -108
  167. package/cjs/src/guidelines/modelDictionary/modelDictionary.instruction.md +0 -547
  168. package/cjs/src/guidelines/modelDocument/modelDocument.generate.json +0 -129
  169. package/cjs/src/guidelines/modelDocument/modelDocument.instruction.md +0 -659
  170. package/cjs/src/guidelines/modelService/modelService.generate.json +0 -135
  171. package/cjs/src/guidelines/modelService/modelService.instruction.md +0 -708
  172. package/cjs/src/guidelines/modelSignal/modelSignal.generate.json +0 -201
  173. package/cjs/src/guidelines/modelSignal/modelSignal.instruction.md +0 -552
  174. package/cjs/src/guidelines/modelStore/modelStore.generate.json +0 -130
  175. package/cjs/src/guidelines/modelStore/modelStore.instruction.md +0 -590
  176. package/cjs/src/guidelines/modelTemplate/modelTemplate.generate.json +0 -104
  177. package/cjs/src/guidelines/modelTemplate/modelTemplate.instruction.md +0 -604
  178. package/cjs/src/guidelines/modelUnit/modelUnit.generate.json +0 -92
  179. package/cjs/src/guidelines/modelUnit/modelUnit.instruction.md +0 -541
  180. package/cjs/src/guidelines/modelUtil/modelUtil.generate.json +0 -93
  181. package/cjs/src/guidelines/modelUtil/modelUtil.instruction.md +0 -752
  182. package/cjs/src/guidelines/modelView/modelView.generate.json +0 -80
  183. package/cjs/src/guidelines/modelView/modelView.instruction.md +0 -1005
  184. package/cjs/src/guidelines/modelZone/modelZone.generate.json +0 -126
  185. package/cjs/src/guidelines/modelZone/modelZone.instruction.md +0 -528
  186. package/cjs/src/guidelines/scalarConstant/scalarConstant.generate.json +0 -106
  187. package/cjs/src/guidelines/scalarConstant/scalarConstant.instruction.md +0 -442
  188. package/cjs/src/guidelines/scalarDictionary/scalarDictionary.generate.json +0 -83
  189. package/cjs/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +0 -273
  190. package/cjs/src/guidelines/scalarModule/scalarModule.generate.json +0 -35
  191. package/cjs/src/guidelines/scalarModule/scalarModule.instruction.md +0 -81
  192. package/cjs/src/guidelines/sharedUiUsage/sharedUiUsage.generate.json +0 -108
  193. package/cjs/src/guidelines/sharedUiUsage/sharedUiUsage.instruction.md +0 -310
  194. package/cjs/src/guidelines/utilUiUsage/utilUiUsage.generate.json +0 -140
  195. package/cjs/src/guidelines/utilUiUsage/utilUiUsage.instruction.md +0 -339
  196. package/cjs/src/templates/__scalar/__model__/__model__.constant.js +0 -33
  197. package/cjs/src/templates/__scalar/__model__/__model__.dictionary.js +0 -37
  198. package/cjs/src/templates/__scalar/__model__/__model__.document.js +0 -33
  199. package/cjs/src/templates/app/akan.config.js +0 -33
  200. package/cjs/src/templates/app/app/[lang]/layout.js +0 -55
  201. package/cjs/src/templates/app/app/[lang]/page.js +0 -111
  202. package/cjs/src/templates/app/app/[lang]/styles.css.template +0 -20
  203. package/cjs/src/templates/app/app/csr.js +0 -36
  204. package/cjs/src/templates/app/app/index.html.template +0 -13
  205. package/cjs/src/templates/app/app/layout.js +0 -41
  206. package/cjs/src/templates/app/app/robots.js +0 -40
  207. package/cjs/src/templates/app/app/sitemap.js +0 -36
  208. package/cjs/src/templates/app/base/baseLogic.js +0 -35
  209. package/cjs/src/templates/app/base/index.js +0 -29
  210. package/cjs/src/templates/app/capacitor.config.ts.template +0 -8
  211. package/cjs/src/templates/app/common/commonLogic.js +0 -35
  212. package/cjs/src/templates/app/common/index.js +0 -29
  213. package/cjs/src/templates/app/env/env.client.debug.ts.template +0 -7
  214. package/cjs/src/templates/app/env/env.client.develop.ts.template +0 -7
  215. package/cjs/src/templates/app/env/env.client.js +0 -40
  216. package/cjs/src/templates/app/env/env.client.local.ts.template +0 -7
  217. package/cjs/src/templates/app/env/env.client.main.ts.template +0 -7
  218. package/cjs/src/templates/app/env/env.client.testing.ts.template +0 -7
  219. package/cjs/src/templates/app/env/env.client.type.js +0 -35
  220. package/cjs/src/templates/app/env/env.server.debug.ts.template +0 -10
  221. package/cjs/src/templates/app/env/env.server.develop.ts.template +0 -10
  222. package/cjs/src/templates/app/env/env.server.js +0 -39
  223. package/cjs/src/templates/app/env/env.server.local.ts.template +0 -10
  224. package/cjs/src/templates/app/env/env.server.main.ts.template +0 -10
  225. package/cjs/src/templates/app/instrumentation.js +0 -32
  226. package/cjs/src/templates/app/jest.config.js +0 -36
  227. package/cjs/src/templates/app/lib/___appName__/__appName__.dictionary.js +0 -35
  228. package/cjs/src/templates/app/lib/___appName__/__appName__.service.js +0 -31
  229. package/cjs/src/templates/app/lib/___appName__/__appName__.signal.js +0 -35
  230. package/cjs/src/templates/app/lib/___appName__/__appName__.store.js +0 -35
  231. package/cjs/src/templates/app/lib/option.js +0 -47
  232. package/cjs/src/templates/app/main.js +0 -39
  233. package/cjs/src/templates/app/nest/backendLogic.js +0 -34
  234. package/cjs/src/templates/app/nest/index.js +0 -29
  235. package/cjs/src/templates/app/next/frontendLogic.js +0 -34
  236. package/cjs/src/templates/app/next/index.js +0 -29
  237. package/cjs/src/templates/app/postcss.config.js.template +0 -8
  238. package/cjs/src/templates/app/proxy.js +0 -35
  239. package/cjs/src/templates/app/public/favicon.ico +0 -0
  240. package/cjs/src/templates/app/public/icons/icon-128x128.png +0 -0
  241. package/cjs/src/templates/app/public/icons/icon-144x144.png +0 -0
  242. package/cjs/src/templates/app/public/icons/icon-152x152.png +0 -0
  243. package/cjs/src/templates/app/public/icons/icon-192x192.png +0 -0
  244. package/cjs/src/templates/app/public/icons/icon-256x256.png +0 -0
  245. package/cjs/src/templates/app/public/icons/icon-384x384.png +0 -0
  246. package/cjs/src/templates/app/public/icons/icon-48x48.png +0 -0
  247. package/cjs/src/templates/app/public/icons/icon-512x512.png +0 -0
  248. package/cjs/src/templates/app/public/icons/icon-72x72.png +0 -0
  249. package/cjs/src/templates/app/public/icons/icon-96x96.png +0 -0
  250. package/cjs/src/templates/app/public/logo.svg +0 -70
  251. package/cjs/src/templates/app/public/manifest.json.template +0 -67
  252. package/cjs/src/templates/app/tsconfig.json.template +0 -22
  253. package/cjs/src/templates/app/tsconfig.spec.json.template +0 -7
  254. package/cjs/src/templates/app/ui/UiComponent.js +0 -38
  255. package/cjs/src/templates/app/ui/index.js +0 -29
  256. package/cjs/src/templates/client.js +0 -47
  257. package/cjs/src/templates/crudPages/[__model__Id]/edit/page.js +0 -72
  258. package/cjs/src/templates/crudPages/[__model__Id]/page.js +0 -78
  259. package/cjs/src/templates/crudPages/new/page.js +0 -67
  260. package/cjs/src/templates/crudPages/page.js +0 -68
  261. package/cjs/src/templates/crudSinglePage/page.js +0 -62
  262. package/cjs/src/templates/env/_env.server.type.js +0 -39
  263. package/cjs/src/templates/index.js +0 -29
  264. package/cjs/src/templates/lib/__lib/lib.constant.js +0 -57
  265. package/cjs/src/templates/lib/__lib/lib.dictionary.js +0 -50
  266. package/cjs/src/templates/lib/__lib/lib.document.js +0 -52
  267. package/cjs/src/templates/lib/__lib/lib.service.js +0 -59
  268. package/cjs/src/templates/lib/__lib/lib.signal.js +0 -55
  269. package/cjs/src/templates/lib/__lib/lib.store.js +0 -52
  270. package/cjs/src/templates/lib/cnst.js +0 -56
  271. package/cjs/src/templates/lib/db.js +0 -53
  272. package/cjs/src/templates/lib/dict.js +0 -69
  273. package/cjs/src/templates/lib/sig.js +0 -71
  274. package/cjs/src/templates/lib/srv.js +0 -50
  275. package/cjs/src/templates/lib/st.js +0 -50
  276. package/cjs/src/templates/lib/useClient.js +0 -40
  277. package/cjs/src/templates/lib/useServer.js +0 -31
  278. package/cjs/src/templates/libRoot/akan.config.js +0 -33
  279. package/cjs/src/templates/libRoot/base/baseLogic.js +0 -35
  280. package/cjs/src/templates/libRoot/base/index.js +0 -29
  281. package/cjs/src/templates/libRoot/common/commonLogic.js +0 -35
  282. package/cjs/src/templates/libRoot/common/index.js +0 -29
  283. package/cjs/src/templates/libRoot/jest.config.js +0 -36
  284. package/cjs/src/templates/libRoot/lib/___libName__/__libName__.dictionary.js +0 -35
  285. package/cjs/src/templates/libRoot/lib/___libName__/__libName__.service.js +0 -33
  286. package/cjs/src/templates/libRoot/lib/___libName__/__libName__.store.js +0 -35
  287. package/cjs/src/templates/libRoot/lib/option.js +0 -46
  288. package/cjs/src/templates/libRoot/nest/backendLogic.js +0 -34
  289. package/cjs/src/templates/libRoot/nest/index.js +0 -29
  290. package/cjs/src/templates/libRoot/next/frontendLogic.js +0 -34
  291. package/cjs/src/templates/libRoot/next/index.js +0 -29
  292. package/cjs/src/templates/libRoot/tsconfig.spec.json.template +0 -7
  293. package/cjs/src/templates/libRoot/ui/index.js +0 -29
  294. package/cjs/src/templates/localDev/docker-compose.yaml.template +0 -42
  295. package/cjs/src/templates/module/__Model__.Template.js +0 -53
  296. package/cjs/src/templates/module/__Model__.Unit.js +0 -43
  297. package/cjs/src/templates/module/__Model__.Util.js +0 -47
  298. package/cjs/src/templates/module/__Model__.View.js +0 -46
  299. package/cjs/src/templates/module/__Model__.Zone.js +0 -60
  300. package/cjs/src/templates/module/__model__.constant.js +0 -41
  301. package/cjs/src/templates/module/__model__.dictionary.js +0 -47
  302. package/cjs/src/templates/module/__model__.document.js +0 -46
  303. package/cjs/src/templates/module/__model__.service.js +0 -33
  304. package/cjs/src/templates/module/__model__.signal.js +0 -44
  305. package/cjs/src/templates/module/__model__.store.js +0 -38
  306. package/cjs/src/templates/module/index.js +0 -61
  307. package/cjs/src/templates/moduleRoot/index.js +0 -49
  308. package/cjs/src/templates/pkgRoot/tsconfig.json.template +0 -15
  309. package/cjs/src/templates/server.js +0 -87
  310. package/cjs/src/templates/workspaceRoot/.env.template +0 -20
  311. package/cjs/src/templates/workspaceRoot/.prettierignore.template +0 -10
  312. package/cjs/src/templates/workspaceRoot/.prettierrc.json.template +0 -6
  313. package/cjs/src/templates/workspaceRoot/.swcrc.template +0 -9
  314. package/cjs/src/templates/workspaceRoot/.vscode/settings.json.template +0 -12
  315. package/cjs/src/templates/workspaceRoot/README.md.template +0 -37
  316. package/cjs/src/templates/workspaceRoot/eslint.config.ts.template +0 -3
  317. package/cjs/src/templates/workspaceRoot/infra/app/Chart.yaml.template +0 -6
  318. package/cjs/src/templates/workspaceRoot/infra/app/templates/frontend.yaml.template +0 -182
  319. package/cjs/src/templates/workspaceRoot/infra/app/values/_common-values.yaml.template +0 -183
  320. package/cjs/src/templates/workspaceRoot/package.json.template +0 -47
  321. package/cjs/src/templates/workspaceRoot/tsconfig.json.template +0 -27
  322. package/esm/index.js +0 -7758
  323. package/esm/src/guidelines/___library/sharedUiStructureDescription.en.md +0 -767
  324. package/esm/src/guidelines/___library/utilUiStructureDescription.en.md +0 -395
  325. package/esm/src/guidelines/___lint/lintRuleDescription.en.md +0 -64
  326. package/esm/src/guidelines/___module/moduleStructureDescription.en.md +0 -80
  327. package/esm/src/guidelines/componentRule/componentRule.generate.json +0 -131
  328. package/esm/src/guidelines/componentRule/componentRule.instruction.md +0 -637
  329. package/esm/src/guidelines/cssRule/cssRule.generate.json +0 -93
  330. package/esm/src/guidelines/cssRule/cssRule.instruction.md +0 -435
  331. package/esm/src/guidelines/databaseModule/databaseModule.generate.json +0 -51
  332. package/esm/src/guidelines/databaseModule/databaseModule.instruction.md +0 -631
  333. package/esm/src/guidelines/docPageRule/docPageRule.generate.json +0 -72
  334. package/esm/src/guidelines/docPageRule/docPageRule.instruction.md +0 -389
  335. package/esm/src/guidelines/enumConstant/enumConstant.generate.json +0 -24
  336. package/esm/src/guidelines/enumConstant/enumConstant.instruction.md +0 -232
  337. package/esm/src/guidelines/framework/framework.generate.json +0 -119
  338. package/esm/src/guidelines/framework/framework.instruction.md +0 -1110
  339. package/esm/src/guidelines/howToUseStore/howToUseStore.generate.json +0 -0
  340. package/esm/src/guidelines/modelConstant/modelConstant.generate.json +0 -128
  341. package/esm/src/guidelines/modelConstant/modelConstant.instruction.md +0 -506
  342. package/esm/src/guidelines/modelDictionary/modelDictionary.generate.json +0 -108
  343. package/esm/src/guidelines/modelDictionary/modelDictionary.instruction.md +0 -547
  344. package/esm/src/guidelines/modelDocument/modelDocument.generate.json +0 -129
  345. package/esm/src/guidelines/modelDocument/modelDocument.instruction.md +0 -659
  346. package/esm/src/guidelines/modelService/modelService.generate.json +0 -135
  347. package/esm/src/guidelines/modelService/modelService.instruction.md +0 -708
  348. package/esm/src/guidelines/modelSignal/modelSignal.generate.json +0 -201
  349. package/esm/src/guidelines/modelSignal/modelSignal.instruction.md +0 -552
  350. package/esm/src/guidelines/modelStore/modelStore.generate.json +0 -130
  351. package/esm/src/guidelines/modelStore/modelStore.instruction.md +0 -590
  352. package/esm/src/guidelines/modelTemplate/modelTemplate.generate.json +0 -104
  353. package/esm/src/guidelines/modelTemplate/modelTemplate.instruction.md +0 -604
  354. package/esm/src/guidelines/modelUnit/modelUnit.generate.json +0 -92
  355. package/esm/src/guidelines/modelUnit/modelUnit.instruction.md +0 -541
  356. package/esm/src/guidelines/modelUtil/modelUtil.generate.json +0 -93
  357. package/esm/src/guidelines/modelUtil/modelUtil.instruction.md +0 -752
  358. package/esm/src/guidelines/modelView/modelView.generate.json +0 -80
  359. package/esm/src/guidelines/modelView/modelView.instruction.md +0 -1005
  360. package/esm/src/guidelines/modelZone/modelZone.generate.json +0 -126
  361. package/esm/src/guidelines/modelZone/modelZone.instruction.md +0 -528
  362. package/esm/src/guidelines/scalarConstant/scalarConstant.generate.json +0 -106
  363. package/esm/src/guidelines/scalarConstant/scalarConstant.instruction.md +0 -442
  364. package/esm/src/guidelines/scalarDictionary/scalarDictionary.generate.json +0 -83
  365. package/esm/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +0 -273
  366. package/esm/src/guidelines/scalarModule/scalarModule.generate.json +0 -35
  367. package/esm/src/guidelines/scalarModule/scalarModule.instruction.md +0 -81
  368. package/esm/src/guidelines/sharedUiUsage/sharedUiUsage.generate.json +0 -108
  369. package/esm/src/guidelines/sharedUiUsage/sharedUiUsage.instruction.md +0 -310
  370. package/esm/src/guidelines/utilUiUsage/utilUiUsage.generate.json +0 -140
  371. package/esm/src/guidelines/utilUiUsage/utilUiUsage.instruction.md +0 -339
  372. package/esm/src/templates/__scalar/__model__/__model__.constant.js +0 -13
  373. package/esm/src/templates/__scalar/__model__/__model__.dictionary.js +0 -17
  374. package/esm/src/templates/__scalar/__model__/__model__.document.js +0 -13
  375. package/esm/src/templates/app/akan.config.js +0 -13
  376. package/esm/src/templates/app/app/[lang]/layout.js +0 -35
  377. package/esm/src/templates/app/app/[lang]/page.js +0 -91
  378. package/esm/src/templates/app/app/[lang]/styles.css.template +0 -20
  379. package/esm/src/templates/app/app/csr.js +0 -16
  380. package/esm/src/templates/app/app/index.html.template +0 -13
  381. package/esm/src/templates/app/app/layout.js +0 -21
  382. package/esm/src/templates/app/app/robots.js +0 -20
  383. package/esm/src/templates/app/app/sitemap.js +0 -16
  384. package/esm/src/templates/app/base/baseLogic.js +0 -15
  385. package/esm/src/templates/app/base/index.js +0 -9
  386. package/esm/src/templates/app/capacitor.config.ts.template +0 -8
  387. package/esm/src/templates/app/common/commonLogic.js +0 -15
  388. package/esm/src/templates/app/common/index.js +0 -9
  389. package/esm/src/templates/app/env/env.client.debug.ts.template +0 -7
  390. package/esm/src/templates/app/env/env.client.develop.ts.template +0 -7
  391. package/esm/src/templates/app/env/env.client.local.ts.template +0 -7
  392. package/esm/src/templates/app/env/env.client.main.ts.template +0 -7
  393. package/esm/src/templates/app/env/env.client.testing.ts.template +0 -7
  394. package/esm/src/templates/app/env/env.client.type.js +0 -15
  395. package/esm/src/templates/app/env/env.server.debug.ts.template +0 -10
  396. package/esm/src/templates/app/env/env.server.develop.ts.template +0 -10
  397. package/esm/src/templates/app/env/env.server.local.ts.template +0 -10
  398. package/esm/src/templates/app/env/env.server.main.ts.template +0 -10
  399. package/esm/src/templates/app/instrumentation.js +0 -12
  400. package/esm/src/templates/app/jest.config.js +0 -16
  401. package/esm/src/templates/app/lib/___appName__/__appName__.dictionary.js +0 -15
  402. package/esm/src/templates/app/lib/___appName__/__appName__.service.js +0 -11
  403. package/esm/src/templates/app/lib/___appName__/__appName__.signal.js +0 -15
  404. package/esm/src/templates/app/lib/___appName__/__appName__.store.js +0 -15
  405. package/esm/src/templates/app/lib/option.js +0 -27
  406. package/esm/src/templates/app/main.js +0 -19
  407. package/esm/src/templates/app/nest/backendLogic.js +0 -14
  408. package/esm/src/templates/app/nest/index.js +0 -9
  409. package/esm/src/templates/app/next/frontendLogic.js +0 -14
  410. package/esm/src/templates/app/next/index.js +0 -9
  411. package/esm/src/templates/app/package.json.template +0 -5
  412. package/esm/src/templates/app/postcss.config.js.template +0 -8
  413. package/esm/src/templates/app/proxy.js +0 -15
  414. package/esm/src/templates/app/public/favicon.ico +0 -0
  415. package/esm/src/templates/app/public/icons/icon-128x128.png +0 -0
  416. package/esm/src/templates/app/public/icons/icon-144x144.png +0 -0
  417. package/esm/src/templates/app/public/icons/icon-152x152.png +0 -0
  418. package/esm/src/templates/app/public/icons/icon-192x192.png +0 -0
  419. package/esm/src/templates/app/public/icons/icon-256x256.png +0 -0
  420. package/esm/src/templates/app/public/icons/icon-384x384.png +0 -0
  421. package/esm/src/templates/app/public/icons/icon-48x48.png +0 -0
  422. package/esm/src/templates/app/public/icons/icon-512x512.png +0 -0
  423. package/esm/src/templates/app/public/icons/icon-72x72.png +0 -0
  424. package/esm/src/templates/app/public/icons/icon-96x96.png +0 -0
  425. package/esm/src/templates/app/public/logo.svg +0 -70
  426. package/esm/src/templates/app/public/manifest.json.template +0 -67
  427. package/esm/src/templates/app/tsconfig.spec.json.template +0 -7
  428. package/esm/src/templates/app/ui/UiComponent.js +0 -18
  429. package/esm/src/templates/app/ui/index.js +0 -9
  430. package/esm/src/templates/client.js +0 -27
  431. package/esm/src/templates/crudPages/[__model__Id]/edit/page.js +0 -52
  432. package/esm/src/templates/crudPages/[__model__Id]/page.js +0 -58
  433. package/esm/src/templates/crudPages/new/page.js +0 -47
  434. package/esm/src/templates/crudPages/page.js +0 -48
  435. package/esm/src/templates/crudSinglePage/page.js +0 -42
  436. package/esm/src/templates/env/_env.server.type.js +0 -19
  437. package/esm/src/templates/index.js +0 -9
  438. package/esm/src/templates/lib/__lib/lib.constant.js +0 -37
  439. package/esm/src/templates/lib/__lib/lib.dictionary.js +0 -30
  440. package/esm/src/templates/lib/__lib/lib.document.js +0 -32
  441. package/esm/src/templates/lib/__lib/lib.service.js +0 -39
  442. package/esm/src/templates/lib/__lib/lib.signal.js +0 -35
  443. package/esm/src/templates/lib/__lib/lib.store.js +0 -32
  444. package/esm/src/templates/lib/cnst.js +0 -36
  445. package/esm/src/templates/lib/db.js +0 -33
  446. package/esm/src/templates/lib/sig.js +0 -51
  447. package/esm/src/templates/lib/srv.js +0 -30
  448. package/esm/src/templates/lib/st.js +0 -30
  449. package/esm/src/templates/lib/useClient.js +0 -20
  450. package/esm/src/templates/lib/useServer.js +0 -11
  451. package/esm/src/templates/libRoot/.gitignore.template +0 -16
  452. package/esm/src/templates/libRoot/akan.config.js +0 -13
  453. package/esm/src/templates/libRoot/base/baseLogic.js +0 -15
  454. package/esm/src/templates/libRoot/base/index.js +0 -9
  455. package/esm/src/templates/libRoot/common/commonLogic.js +0 -15
  456. package/esm/src/templates/libRoot/common/index.js +0 -9
  457. package/esm/src/templates/libRoot/env/env.server.example.ts.template +0 -6
  458. package/esm/src/templates/libRoot/env/env.server.testing.ts.template +0 -6
  459. package/esm/src/templates/libRoot/jest.config.js +0 -16
  460. package/esm/src/templates/libRoot/lib/___libName__/__libName__.service.js +0 -13
  461. package/esm/src/templates/libRoot/lib/___libName__/__libName__.store.js +0 -15
  462. package/esm/src/templates/libRoot/lib/option.js +0 -26
  463. package/esm/src/templates/libRoot/nest/backendLogic.js +0 -14
  464. package/esm/src/templates/libRoot/nest/index.js +0 -9
  465. package/esm/src/templates/libRoot/next/frontendLogic.js +0 -14
  466. package/esm/src/templates/libRoot/next/index.js +0 -9
  467. package/esm/src/templates/libRoot/package.json.template +0 -5
  468. package/esm/src/templates/libRoot/tsconfig.spec.json.template +0 -7
  469. package/esm/src/templates/libRoot/ui/index.js +0 -9
  470. package/esm/src/templates/localDev/docker-compose.yaml.template +0 -42
  471. package/esm/src/templates/module/__Model__.Unit.js +0 -23
  472. package/esm/src/templates/module/__Model__.Util.js +0 -27
  473. package/esm/src/templates/module/__model__.document.js +0 -26
  474. package/esm/src/templates/module/__model__.service.js +0 -13
  475. package/esm/src/templates/module/__model__.store.js +0 -18
  476. package/esm/src/templates/module/index.js +0 -41
  477. package/esm/src/templates/moduleRoot/index.js +0 -29
  478. package/esm/src/templates/pkgRoot/tsconfig.json.template +0 -15
  479. package/esm/src/templates/server.js +0 -67
  480. package/esm/src/templates/workspaceRoot/.env.template +0 -20
  481. package/esm/src/templates/workspaceRoot/.gitignore.template +0 -119
  482. package/esm/src/templates/workspaceRoot/.prettierignore.template +0 -10
  483. package/esm/src/templates/workspaceRoot/.prettierrc.json.template +0 -6
  484. package/esm/src/templates/workspaceRoot/.swcrc.template +0 -9
  485. package/esm/src/templates/workspaceRoot/.vscode/settings.json.template +0 -12
  486. package/esm/src/templates/workspaceRoot/README.md.template +0 -37
  487. package/esm/src/templates/workspaceRoot/eslint.config.ts.template +0 -3
  488. package/esm/src/templates/workspaceRoot/infra/app/Chart.yaml.template +0 -6
  489. package/esm/src/templates/workspaceRoot/infra/app/templates/frontend.yaml.template +0 -182
  490. package/esm/src/templates/workspaceRoot/infra/app/values/_common-values.yaml.template +0 -183
  491. package/esm/src/templates/workspaceRoot/package.json.template +0 -47
  492. package/esm/src/templates/workspaceRoot/tsconfig.json.template +0 -27
  493. package/index.d.ts +0 -2
  494. package/src/application/application.command.d.ts +0 -31
  495. package/src/application/application.interface.d.ts +0 -40
  496. package/src/application/application.runner.d.ts +0 -73
  497. package/src/application/application.script.d.ts +0 -83
  498. package/src/cloud/cloud.command.d.ts +0 -12
  499. package/src/cloud/cloud.runner.d.ts +0 -11
  500. package/src/cloud/cloud.script.d.ts +0 -11
  501. package/src/guideline/guideline.command.d.ts +0 -9
  502. package/src/guideline/guideline.prompt.d.ts +0 -29
  503. package/src/guideline/guideline.runner.d.ts +0 -19
  504. package/src/guideline/guideline.script.d.ts +0 -12
  505. package/src/guidelines/___library/sharedUiStructureDescription.en.md +0 -767
  506. package/src/guidelines/___library/utilUiStructureDescription.en.md +0 -395
  507. package/src/guidelines/___lint/lintRuleDescription.en.md +0 -64
  508. package/src/guidelines/___module/moduleStructureDescription.en.md +0 -80
  509. package/src/guidelines/componentRule/componentRule.instruction.md +0 -637
  510. package/src/guidelines/cssRule/cssRule.instruction.md +0 -435
  511. package/src/guidelines/databaseModule/databaseModule.instruction.md +0 -631
  512. package/src/guidelines/docPageRule/docPageRule.instruction.md +0 -389
  513. package/src/guidelines/enumConstant/enumConstant.instruction.md +0 -232
  514. package/src/guidelines/framework/framework.instruction.md +0 -1110
  515. package/src/guidelines/modelConstant/modelConstant.instruction.md +0 -506
  516. package/src/guidelines/modelDictionary/modelDictionary.instruction.md +0 -547
  517. package/src/guidelines/modelDocument/modelDocument.instruction.md +0 -659
  518. package/src/guidelines/modelService/modelService.instruction.md +0 -708
  519. package/src/guidelines/modelSignal/modelSignal.instruction.md +0 -552
  520. package/src/guidelines/modelStore/modelStore.instruction.md +0 -590
  521. package/src/guidelines/modelTemplate/modelTemplate.instruction.md +0 -604
  522. package/src/guidelines/modelUnit/modelUnit.instruction.md +0 -541
  523. package/src/guidelines/modelUtil/modelUtil.instruction.md +0 -752
  524. package/src/guidelines/modelView/modelView.instruction.md +0 -1005
  525. package/src/guidelines/modelZone/modelZone.instruction.md +0 -528
  526. package/src/guidelines/scalarConstant/scalarConstant.instruction.md +0 -442
  527. package/src/guidelines/scalarDictionary/scalarDictionary.instruction.md +0 -273
  528. package/src/guidelines/scalarModule/scalarModule.instruction.md +0 -81
  529. package/src/guidelines/sharedUiUsage/sharedUiUsage.instruction.md +0 -310
  530. package/src/guidelines/utilUiUsage/utilUiUsage.instruction.md +0 -339
  531. package/src/library/library.command.d.ts +0 -9
  532. package/src/library/library.runner.d.ts +0 -9
  533. package/src/library/library.script.d.ts +0 -9
  534. package/src/module/module.command.d.ts +0 -10
  535. package/src/module/module.prompt.d.ts +0 -13
  536. package/src/module/module.request.d.ts +0 -63
  537. package/src/module/module.runner.d.ts +0 -53
  538. package/src/module/module.script.d.ts +0 -17
  539. package/src/package/package.command.d.ts +0 -10
  540. package/src/package/package.runner.d.ts +0 -9
  541. package/src/package/package.script.d.ts +0 -10
  542. package/src/page/page.command.d.ts +0 -6
  543. package/src/page/page.runner.d.ts +0 -8
  544. package/src/page/page.script.d.ts +0 -9
  545. package/src/scalar/scalar.command.d.ts +0 -7
  546. package/src/scalar/scalar.prompt.d.ts +0 -23
  547. package/src/scalar/scalar.runner.d.ts +0 -14
  548. package/src/scalar/scalar.script.d.ts +0 -7
  549. package/src/templates/__scalar/__model__/__model__.constant.d.ts +0 -7
  550. package/src/templates/__scalar/__model__/__model__.dictionary.d.ts +0 -7
  551. package/src/templates/__scalar/__model__/__model__.document.d.ts +0 -7
  552. package/src/templates/app/akan.config.d.ts +0 -6
  553. package/src/templates/app/app/[lang]/layout.d.ts +0 -11
  554. package/src/templates/app/app/[lang]/page.d.ts +0 -9
  555. package/src/templates/app/app/csr.d.ts +0 -9
  556. package/src/templates/app/app/layout.d.ts +0 -9
  557. package/src/templates/app/app/robots.d.ts +0 -6
  558. package/src/templates/app/app/sitemap.d.ts +0 -6
  559. package/src/templates/app/base/baseLogic.d.ts +0 -6
  560. package/src/templates/app/base/index.d.ts +0 -6
  561. package/src/templates/app/common/commonLogic.d.ts +0 -6
  562. package/src/templates/app/common/index.d.ts +0 -6
  563. package/src/templates/app/env/env.client.d.ts +0 -6
  564. package/src/templates/app/env/env.client.type.d.ts +0 -6
  565. package/src/templates/app/env/env.server.d.ts +0 -6
  566. package/src/templates/app/instrumentation.d.ts +0 -6
  567. package/src/templates/app/jest.config.d.ts +0 -6
  568. package/src/templates/app/lib/___appName__/__appName__.dictionary.d.ts +0 -7
  569. package/src/templates/app/lib/___appName__/__appName__.service.d.ts +0 -7
  570. package/src/templates/app/lib/___appName__/__appName__.signal.d.ts +0 -7
  571. package/src/templates/app/lib/___appName__/__appName__.store.d.ts +0 -7
  572. package/src/templates/app/lib/option.d.ts +0 -6
  573. package/src/templates/app/main.d.ts +0 -6
  574. package/src/templates/app/nest/backendLogic.d.ts +0 -6
  575. package/src/templates/app/nest/index.d.ts +0 -6
  576. package/src/templates/app/next/frontendLogic.d.ts +0 -6
  577. package/src/templates/app/next/index.d.ts +0 -6
  578. package/src/templates/app/proxy.d.ts +0 -6
  579. package/src/templates/app/ui/UiComponent.d.ts +0 -9
  580. package/src/templates/app/ui/index.d.ts +0 -6
  581. package/src/templates/client.d.ts +0 -4
  582. package/src/templates/crudPages/[__model__Id]/edit/page.d.ts +0 -11
  583. package/src/templates/crudPages/[__model__Id]/page.d.ts +0 -11
  584. package/src/templates/crudPages/new/page.d.ts +0 -11
  585. package/src/templates/crudPages/page.d.ts +0 -11
  586. package/src/templates/crudSinglePage/page.d.ts +0 -11
  587. package/src/templates/env/_env.server.type.d.ts +0 -7
  588. package/src/templates/index.d.ts +0 -6
  589. package/src/templates/lib/__lib/lib.constant.d.ts +0 -4
  590. package/src/templates/lib/__lib/lib.dictionary.d.ts +0 -4
  591. package/src/templates/lib/__lib/lib.document.d.ts +0 -4
  592. package/src/templates/lib/__lib/lib.service.d.ts +0 -4
  593. package/src/templates/lib/__lib/lib.signal.d.ts +0 -4
  594. package/src/templates/lib/__lib/lib.store.d.ts +0 -4
  595. package/src/templates/lib/cnst.d.ts +0 -4
  596. package/src/templates/lib/db.d.ts +0 -4
  597. package/src/templates/lib/dict.d.ts +0 -4
  598. package/src/templates/lib/sig.d.ts +0 -4
  599. package/src/templates/lib/srv.d.ts +0 -4
  600. package/src/templates/lib/st.d.ts +0 -4
  601. package/src/templates/lib/useClient.d.ts +0 -4
  602. package/src/templates/lib/useServer.d.ts +0 -4
  603. package/src/templates/libRoot/akan.config.d.ts +0 -5
  604. package/src/templates/libRoot/base/baseLogic.d.ts +0 -5
  605. package/src/templates/libRoot/base/index.d.ts +0 -5
  606. package/src/templates/libRoot/common/commonLogic.d.ts +0 -5
  607. package/src/templates/libRoot/common/index.d.ts +0 -5
  608. package/src/templates/libRoot/jest.config.d.ts +0 -6
  609. package/src/templates/libRoot/lib/___libName__/__libName__.dictionary.d.ts +0 -6
  610. package/src/templates/libRoot/lib/___libName__/__libName__.service.d.ts +0 -6
  611. package/src/templates/libRoot/lib/___libName__/__libName__.store.d.ts +0 -6
  612. package/src/templates/libRoot/lib/option.d.ts +0 -6
  613. package/src/templates/libRoot/nest/backendLogic.d.ts +0 -5
  614. package/src/templates/libRoot/nest/index.d.ts +0 -5
  615. package/src/templates/libRoot/next/frontendLogic.d.ts +0 -5
  616. package/src/templates/libRoot/next/index.d.ts +0 -5
  617. package/src/templates/libRoot/ui/index.d.ts +0 -5
  618. package/src/templates/module/__Model__.Template.d.ts +0 -11
  619. package/src/templates/module/__Model__.Unit.d.ts +0 -11
  620. package/src/templates/module/__Model__.Util.d.ts +0 -11
  621. package/src/templates/module/__Model__.View.d.ts +0 -11
  622. package/src/templates/module/__Model__.Zone.d.ts +0 -11
  623. package/src/templates/module/__model__.constant.d.ts +0 -8
  624. package/src/templates/module/__model__.dictionary.d.ts +0 -8
  625. package/src/templates/module/__model__.document.d.ts +0 -8
  626. package/src/templates/module/__model__.service.d.ts +0 -8
  627. package/src/templates/module/__model__.signal.d.ts +0 -9
  628. package/src/templates/module/__model__.store.d.ts +0 -8
  629. package/src/templates/module/index.d.ts +0 -11
  630. package/src/templates/moduleRoot/index.d.ts +0 -11
  631. package/src/templates/server.d.ts +0 -4
  632. package/src/workspace/workspace.command.d.ts +0 -12
  633. package/src/workspace/workspace.runner.d.ts +0 -13
  634. package/src/workspace/workspace.script.d.ts +0 -24
  635. package/ui/MultiScrollList.d.ts +0 -14
  636. /package/{cjs/src/templates → templates}/app/package.json.template +0 -0
  637. /package/{cjs/src/templates → templates}/libRoot/.gitignore.template +0 -0
  638. /package/{cjs/src/templates → templates}/libRoot/env/env.server.example.ts.template +0 -0
  639. /package/{cjs/src/templates → templates}/libRoot/env/env.server.testing.ts.template +0 -0
  640. /package/{cjs/src/templates → templates}/libRoot/package.json.template +0 -0
  641. /package/{cjs/src/templates → templates}/libRoot/tsconfig.json.template +0 -0
@@ -1,60 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/module/__Model__.Zone.tsx
20
- var Model_Zone_exports = {};
21
- __export(Model_Zone_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(Model_Zone_exports);
25
- function getContent(scanInfo, dict) {
26
- return {
27
- filename: `${dict.Model}.Zone.tsx`,
28
- content: `
29
- "use client";
30
- import { Load } from "@akanjs/ui";
31
- import { cnst, ${dict.Model} } from "@${dict.sysName}/client";
32
- import { ClientInit, ClientView } from "@akanjs/signal";
33
-
34
- interface CardProps {
35
- className?: string;
36
- init: ClientInit<"${dict.model}", cnst.Light${dict.Model}>;
37
- sliceName?: string;
38
- }
39
- export const Card = ({ className, init, sliceName }: CardProps) => {
40
- return (
41
- <Load.Units
42
- className={className}
43
- init={init}
44
- renderItem={(${dict.model}: cnst.Light${dict.Model}) => (
45
- <${dict.Model}.Unit.Card key={${dict.model}.id} href={\`/${dict.model}/\${${dict.model}.id}\`} ${dict.model}={${dict.model}} />
46
- )}
47
- />
48
- );
49
- };
50
-
51
- interface ViewProps {
52
- className?: string;
53
- view: ClientView<"${dict.model}", cnst.${dict.Model}>;
54
- }
55
- export const View = ({ view }: ViewProps) => {
56
- return <Load.View view={view} renderView={(${dict.model}) => <${dict.Model}.View.General ${dict.model}={${dict.model}} />} />;
57
- };
58
- `
59
- };
60
- }
@@ -1,41 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/module/__model__.constant.ts
20
- var model_constant_exports = {};
21
- __export(model_constant_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(model_constant_exports);
25
- function getContent(scanInfo, dict) {
26
- return `
27
- import { via } from "@akanjs/constant";
28
-
29
- export class ${dict.Model}Input extends via((field) => ({
30
- field: field(String).optional(),
31
- })) {}
32
-
33
- export class ${dict.Model}Object extends via(${dict.Model}Input, (field) => ({})) {}
34
-
35
- export class Light${dict.Model} extends via(${dict.Model}Object, [] as const, (resolve) => ({})) {}
36
-
37
- export class ${dict.Model} extends via(${dict.Model}Object, Light${dict.Model}, (resolve) => ({})) {}
38
-
39
- export class ${dict.Model}Insight extends via(${dict.Model}, (field) => ({})) {}
40
- `;
41
- }
@@ -1,47 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/module/__model__.dictionary.ts
20
- var model_dictionary_exports = {};
21
- __export(model_dictionary_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(model_dictionary_exports);
25
- function getContent(scanInfo, dict) {
26
- return `
27
- import { modelDictionary } from "@akanjs/dictionary";
28
-
29
- import type { ${dict.Model}, ${dict.Model}Insight } from "./${dict.model}.constant";
30
- import type { ${dict.Model}Endpoint, ${dict.Model}Slice } from "./${dict.model}.signal";
31
-
32
- export const dictionary = modelDictionary(["en", "ko"])
33
- .of((t) =>
34
- t(["${dict.Model}", "${dict.Model}"]).desc(["${dict.Model} description", "${dict.Model} \uC124\uBA85"])
35
- )
36
- .model<${dict.Model}>((t) => ({
37
- field: t(["Field", "\uD544\uB4DC"]).desc(["Field description", "\uD544\uB4DC \uC124\uBA85"]),
38
- }))
39
- .insight<${dict.Model}Insight>((t) => ({}))
40
- .slice<${dict.Model}Slice>((fn) => ({
41
- inPublic: fn(["${dict.Model} In Public", "${dict.Model} \uACF5\uAC1C"]).arg((t) => ({})),
42
- }))
43
- .endpoint<${dict.Model}Endpoint>((fn) => ({}))
44
- .error({})
45
- .translate({});
46
- `;
47
- }
@@ -1,46 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/module/__model__.document.ts
20
- var model_document_exports = {};
21
- __export(model_document_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(model_document_exports);
25
- function getContent(scanInfo, dict) {
26
- return `
27
- import { beyond, by, from, into, type SchemaOf } from "@akanjs/document";
28
-
29
- import * as cnst from "../cnst";
30
-
31
- export class ${dict.Model}Filter extends from(cnst.${dict.Model}, (filter) => ({
32
- query: {},
33
- sort: {},
34
- })) {}
35
-
36
- export class ${dict.Model} extends by(cnst.${dict.Model}) {}
37
-
38
- export class ${dict.Model}Model extends into(${dict.Model}, ${dict.Model}Filter, cnst.${dict.model}, () => ({})) {}
39
-
40
- export class ${dict.Model}Middleware extends beyond(${dict.Model}Model, ${dict.Model}) {
41
- onSchema(schema: SchemaOf<${dict.Model}Model, ${dict.Model}>) {
42
- // schema.index({ field: 1 })
43
- }
44
- }
45
- `;
46
- }
@@ -1,33 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/module/__model__.service.ts
20
- var model_service_exports = {};
21
- __export(model_service_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(model_service_exports);
25
- function getContent(scanInfo, dict) {
26
- return `
27
- import { serve } from "@akanjs/service";
28
-
29
- import * as db from "../db";
30
-
31
- export class ${dict.Model}Service extends serve(db.${dict.model}, ({ use, service }) => ({})) {}
32
- `;
33
- }
@@ -1,44 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/module/__model__.signal.ts
20
- var model_signal_exports = {};
21
- __export(model_signal_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(model_signal_exports);
25
- function getContent(scanInfo, dict) {
26
- return `
27
- import { Public } from "@akanjs/nest";
28
- import { endpoint, internal, slice } from "@akanjs/signal";
29
-
30
- import * as cnst from "../cnst";
31
- import * as srv from "../srv";
32
-
33
- export class ${dict.Model}Internal extends internal(srv.${dict.model}, ({ interval }) => ({})) {}
34
-
35
- export class ${dict.Model}Slice extends slice(srv.${dict.model}, { guards: { root: Public, get: Public, cru: Public } }, (init) => ({
36
- inPublic: init()
37
- .exec(function () {
38
- return this.${dict.model}Service.queryAny();
39
- }),
40
- })) {}
41
-
42
- export class ${dict.Model}Endpoint extends endpoint(srv.${dict.model}, ({ query, mutation }) => ({})) {}
43
- `;
44
- }
@@ -1,38 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/module/__model__.store.ts
20
- var model_store_exports = {};
21
- __export(model_store_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(model_store_exports);
25
- function getContent(scanInfo, dict) {
26
- return `
27
- import { store } from "@akanjs/store";
28
-
29
- import * as cnst from "../cnst";
30
- import { fetch, sig } from "../useClient";
31
-
32
- export class ${dict.Model}Store extends store(sig.${dict.model}, {
33
- // state
34
- }) {
35
- // action
36
- }
37
- `;
38
- }
@@ -1,61 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/module/index.tsx
20
- var module_exports = {};
21
- __export(module_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(module_exports);
25
- function getContent(scanInfo, dict) {
26
- return {
27
- filename: "index.tsx",
28
- content: `
29
- import { Signal } from "@akanjs/ui";
30
- import { AiOutlineDatabase } from "react-icons/ai";
31
-
32
- import * as Template from "./${dict.Model}.Template";
33
- import * as Unit from "./${dict.Model}.Unit";
34
- import * as Util from "./${dict.Model}.Util";
35
- import * as View from "./${dict.Model}.View";
36
- import * as Zone from "./${dict.Model}.Zone";
37
-
38
- export const ${dict.Model} = {
39
- Menu: {
40
- Admin: {
41
- key: "${dict.model}",
42
- label: "${dict.Model}",
43
- icon: <AiOutlineDatabase />,
44
- render: () => <Zone.Admin />,
45
- },
46
- Doc: {
47
- key: "${dict.model}",
48
- label: "${dict.Model}",
49
- icon: <AiOutlineDatabase />,
50
- render: () => <Signal.Doc.Zone refName="${dict.model}" />,
51
- },
52
- },
53
- Template,
54
- Unit,
55
- Util,
56
- View,
57
- Zone,
58
- };
59
- `
60
- };
61
- }
@@ -1,49 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/moduleRoot/index.tsx
20
- var moduleRoot_exports = {};
21
- __export(moduleRoot_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(moduleRoot_exports);
25
- function getContent(scanInfo, dict) {
26
- const moduleInfo = scanInfo.database.get(dict.model) ?? scanInfo.service.get(dict.model);
27
- if (!moduleInfo)
28
- return null;
29
- const fileTypes = [];
30
- if (moduleInfo.has("template"))
31
- fileTypes.push("Template");
32
- if (moduleInfo.has("unit"))
33
- fileTypes.push("Unit");
34
- if (moduleInfo.has("util"))
35
- fileTypes.push("Util");
36
- if (moduleInfo.has("view"))
37
- fileTypes.push("View");
38
- if (moduleInfo.has("zone"))
39
- fileTypes.push("Zone");
40
- if (fileTypes.length === 0)
41
- return null;
42
- return {
43
- filename: "index.tsx",
44
- content: `
45
- ${fileTypes.map((type) => `import * as ${type} from "./${dict.Model}.${type}";`).join("\n")}
46
-
47
- export const ${dict.Model} = { ${fileTypes.join(", ")} };`
48
- };
49
- }
@@ -1,15 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "jsx": "preserve",
5
- "declaration": true,
6
- "declarationDir": "dist"
7
- },
8
- "files": [],
9
- "include": ["**/*.ts", "**/*.tsx"],
10
- "references": [
11
- {
12
- "path": "./tsconfig.spec.json"
13
- }
14
- ]
15
- }
@@ -1,87 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // pkgs/@akanjs/cli/src/templates/server.ts
20
- var server_exports = {};
21
- __export(server_exports, {
22
- default: () => getContent
23
- });
24
- module.exports = __toCommonJS(server_exports);
25
- var capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1);
26
- function getContent(scanInfo, dict = {}) {
27
- if (!scanInfo)
28
- return null;
29
- const libs = scanInfo.getLibs();
30
- const databaseModules = [...scanInfo.database.entries()].filter(([_, files]) => files.has("service"));
31
- const serviceModules = [...scanInfo.service.entries()].filter(([_, files]) => files.has("service"));
32
- const scalarModules = [...scanInfo.scalar.entries()];
33
- return `
34
- import { databaseModuleOf, scalarModulesOf, serviceModuleOf, type Module, type Middleware } from "@akanjs/server";
35
- ${libs.map((lib) => `import { registerModules as register${capitalize(lib)}Modules, registerMiddlewares as register${capitalize(lib)}Middlewares } from "@${lib}/server";`).join("\n")}
36
-
37
- import * as cnst from "./lib/cnst";
38
- import * as db from "./lib/db";
39
- import * as srv from "./lib/srv";
40
- import { allSrvs } from "./lib/srv";
41
- import * as sig from "./lib/sig";
42
- import { type ModulesOptions, registerGlobalModule, registerGlobalMiddlewares } from "./lib/option";
43
-
44
- // database modules
45
- ${databaseModules.map(([model]) => {
46
- const Model = capitalize(model);
47
- return `const register${Model}Module = () => databaseModuleOf({ constant: cnst.${model}, database: db.${model}, signal: sig.${Model}Signal, service: srv.${Model}Service }, allSrvs);`;
48
- }).join("\n")}
49
-
50
- // service modules
51
- ${serviceModules.map(([model, moduleInfo]) => {
52
- const Model = capitalize(model);
53
- return `const register${Model}Module = () => serviceModuleOf({ service: srv.${Model}Service${moduleInfo.has("signal") ? `, signal: sig.${Model}Signal` : ""} }, allSrvs);`;
54
- }).join("\n")}
55
-
56
- // scalar modules
57
- const registerScalarModule = () => scalarModulesOf({ constants: [${scalarModules.map(([model]) => `cnst.${capitalize(model)}`).join(", ")}] }, allSrvs);
58
-
59
- export const registerModules = (options: ModulesOptions, isChild?: boolean) => {
60
- const modules = [
61
- ${libs.map((lib) => ` ...(!isChild ? register${capitalize(lib)}Modules(options, true) : []),`).join("\n")}
62
- registerGlobalModule(options),
63
- registerScalarModule(),
64
- ${serviceModules.map(([model]) => ` register${capitalize(model)}Module(),`).join("\n")}
65
- ${databaseModules.map(([model]) => ` register${capitalize(model)}Module(),`).join("\n")}
66
- ] as Module[];
67
- return modules;
68
- };
69
-
70
- export const registerMiddlewares = (options: ModulesOptions, isChild?: boolean) => {
71
- const middlewares = [
72
- ${libs.map((lib) => ` ...(!isChild ? register${capitalize(lib)}Middlewares(options, true) : []),`).join("\n")}
73
- ...registerGlobalMiddlewares(options),
74
- ] as Middleware[];
75
- return middlewares;
76
- };
77
-
78
- export { env } from "./env/env.server.testing";
79
- export * as db from "./lib/db";
80
- export * as srv from "./lib/srv";
81
- export * as sig from "./lib/sig";
82
- export * as option from "./lib/option";
83
- export * as cnst from "./lib/cnst";
84
- export { fetch } from "./lib/sig";
85
- export * as dict from "./lib/dict";
86
- `;
87
- }
@@ -1,20 +0,0 @@
1
- # organization configuration, no need to change
2
- NEXT_PUBLIC_REPO_NAME=<%= repoName %>
3
- NEXT_PUBLIC_SERVE_DOMAIN="<%= serveDomain %>"
4
-
5
- # development branch, debug, develop, main, etc. mainly it changes databases.
6
- NEXT_PUBLIC_ENV=local
7
-
8
- # local, cloud, edge it changes the connection point of the clients.
9
- NEXT_PUBLIC_OPERATION_MODE=local
10
- # hybrid app specific config, will be depreciated in the future
11
- APP_OPERATION_MODE=local
12
-
13
- # backend service mode, federation, batch, all
14
- SERVER_MODE=federation
15
-
16
- # analyze the bundle size
17
- ANALYZE=false
18
-
19
- # log level, debug, info, warn, error
20
- NEXT_PUBLIC_LOG_LEVEL=debug
@@ -1,10 +0,0 @@
1
- # Add files here to ignore them from prettier formatting
2
-
3
- /dist
4
- /coverage
5
- /node_modules
6
- /dump
7
- /data
8
- /releases
9
- /tmp
10
- **/*.yaml
@@ -1,6 +0,0 @@
1
- {
2
- "trailingComma": "es5",
3
- "singleQuote": false,
4
- "printWidth": 120,
5
- "plugins": ["prettier-plugin-tailwindcss"]
6
- }
@@ -1,9 +0,0 @@
1
- {
2
- "jsc": {
3
- "target": "es2016",
4
- "parser": {
5
- "syntax": "typescript"
6
- }
7
- },
8
- "exclude": [".*\\.spec|test\\.ts$"]
9
- }
@@ -1,12 +0,0 @@
1
- {
2
- "testing.saveBeforeTest": false,
3
- "jest.autoRun": "false",
4
- "jestTestExplorer.flattenExplorer": false,
5
- "prettier.configPath": ".prettierrc.json",
6
- "tailwindCSS.classAttributes": ["class", "className", ".*Class", ".*ClassName"],
7
- "colorize.languages": ["typescript", "javascript", "css", "scss"],
8
- "typescript.tsserver.maxTsServerMemory": 16384,
9
- "typescript.enablePromptUseWorkspaceTsdk": true,
10
- "typescript.tsdk": "node_modules/typescript/lib",
11
- "eslint.useFlatConfig": true
12
- }
@@ -1,37 +0,0 @@
1
- ## Get Started
2
-
3
- Run the code below.
4
-
5
- ```
6
- npm run downloadEnv # Need to register your public key
7
-
8
- npm i -g akan pnpm
9
-
10
- pnpm i
11
-
12
- cat <<EOF >> .env
13
- # organization configuration, no need to change
14
- NEXT_PUBLIC_REPO_NAME=<%= repoName %>
15
- NEXT_PUBLIC_SERVE_DOMAIN="<%= serveDomain %>"
16
-
17
- # development branch, debug, develop, main, etc. mainly it changes databases.
18
- NEXT_PUBLIC_ENV=debug
19
-
20
- # local, cloud, edge it changes the connection point of the clients.
21
- NEXT_PUBLIC_OPERATION_MODE=local
22
- # hybrid app specific config, will be depreciated in the future
23
- APP_OPERATION_MODE=local
24
-
25
- # backend service mode, federation, batch, all
26
- SERVER_MODE=federation
27
-
28
- # analyze the bundle size
29
- ANALYZE=false
30
-
31
- # log level, debug, info, warn, error
32
- NEXT_PUBLIC_LOG_LEVEL=debug
33
- EOF
34
-
35
- akan serve-backend <%= appName %>
36
- # or akan serve-frontend <%= appName %>, etc
37
- ```
@@ -1,3 +0,0 @@
1
- import { eslintConfig } from "@akanjs/lint";
2
-
3
- export default eslintConfig;
@@ -1,6 +0,0 @@
1
- apiVersion: v2
2
- name: helm
3
- description: A Helm chart for Kubernetes
4
- type: application
5
- version: 0.1.0
6
- appVersion: "1.16.0"