zudojs-cli 2.1.2 → 2.2.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.
Files changed (572) hide show
  1. package/README.md +6 -3
  2. package/dist/src/adapters/databases/databaseAdapter.resolver.d.ts +0 -1
  3. package/dist/src/adapters/databases/databaseAdapter.resolver.js +0 -1
  4. package/dist/src/adapters/databases/index.d.ts +0 -1
  5. package/dist/src/adapters/databases/index.js +0 -1
  6. package/dist/src/adapters/databases/mysql.adapter.d.ts +0 -1
  7. package/dist/src/adapters/databases/mysql.adapter.js +0 -1
  8. package/dist/src/adapters/databases/postgres.adapter.d.ts +0 -1
  9. package/dist/src/adapters/databases/postgres.adapter.js +0 -1
  10. package/dist/src/adapters/databases/sqlite.adapter.d.ts +0 -1
  11. package/dist/src/adapters/databases/sqlite.adapter.js +0 -1
  12. package/dist/src/adapters/frontend/angular.adapter.d.ts +0 -1
  13. package/dist/src/adapters/frontend/angular.adapter.js +0 -1
  14. package/dist/src/adapters/frontend/astro.adapter.d.ts +0 -1
  15. package/dist/src/adapters/frontend/astro.adapter.js +0 -1
  16. package/dist/src/adapters/frontend/fallback/fallback.helper.d.ts +0 -1
  17. package/dist/src/adapters/frontend/fallback/fallback.helper.js +0 -1
  18. package/dist/src/adapters/frontend/fallback/framework/angular/angular.fallback.d.ts +0 -1
  19. package/dist/src/adapters/frontend/fallback/framework/angular/angular.fallback.js +0 -1
  20. package/dist/src/adapters/frontend/fallback/framework/angular/angularWorkspace.fallback.d.ts +0 -1
  21. package/dist/src/adapters/frontend/fallback/framework/angular/angularWorkspace.fallback.js +0 -1
  22. package/dist/src/adapters/frontend/fallback/framework/angular/index.d.ts +0 -1
  23. package/dist/src/adapters/frontend/fallback/framework/angular/index.js +0 -1
  24. package/dist/src/adapters/frontend/fallback/framework/astro.fallback.d.ts +0 -1
  25. package/dist/src/adapters/frontend/fallback/framework/astro.fallback.js +0 -1
  26. package/dist/src/adapters/frontend/fallback/framework/index.d.ts +0 -1
  27. package/dist/src/adapters/frontend/fallback/framework/index.js +0 -1
  28. package/dist/src/adapters/frontend/fallback/framework/next.fallback.d.ts +0 -1
  29. package/dist/src/adapters/frontend/fallback/framework/next.fallback.js +0 -1
  30. package/dist/src/adapters/frontend/fallback/framework/nuxt.fallback.d.ts +0 -1
  31. package/dist/src/adapters/frontend/fallback/framework/nuxt.fallback.js +0 -1
  32. package/dist/src/adapters/frontend/fallback/framework/sveltekit.fallback.d.ts +0 -1
  33. package/dist/src/adapters/frontend/fallback/framework/sveltekit.fallback.js +0 -1
  34. package/dist/src/adapters/frontend/fallback/index.d.ts +0 -1
  35. package/dist/src/adapters/frontend/fallback/index.js +0 -1
  36. package/dist/src/adapters/frontend/fallback/vite/index.d.ts +0 -1
  37. package/dist/src/adapters/frontend/fallback/vite/index.js +0 -1
  38. package/dist/src/adapters/frontend/fallback/vite/react.fallback.d.ts +0 -1
  39. package/dist/src/adapters/frontend/fallback/vite/react.fallback.js +0 -1
  40. package/dist/src/adapters/frontend/fallback/vite/svelte.fallback.d.ts +0 -1
  41. package/dist/src/adapters/frontend/fallback/vite/svelte.fallback.js +0 -1
  42. package/dist/src/adapters/frontend/fallback/vite/vanilla.fallback.d.ts +0 -1
  43. package/dist/src/adapters/frontend/fallback/vite/vanilla.fallback.js +0 -1
  44. package/dist/src/adapters/frontend/fallback/vite/vue.fallback.d.ts +0 -1
  45. package/dist/src/adapters/frontend/fallback/vite/vue.fallback.js +0 -1
  46. package/dist/src/adapters/frontend/flutter.adapter.d.ts +0 -1
  47. package/dist/src/adapters/frontend/flutter.adapter.js +0 -1
  48. package/dist/src/adapters/frontend/frontendAdapter.type.d.ts +0 -1
  49. package/dist/src/adapters/frontend/frontendAdapter.type.js +0 -1
  50. package/dist/src/adapters/frontend/index.d.ts +0 -1
  51. package/dist/src/adapters/frontend/index.js +0 -1
  52. package/dist/src/adapters/frontend/next.adapter.d.ts +0 -1
  53. package/dist/src/adapters/frontend/next.adapter.js +0 -1
  54. package/dist/src/adapters/frontend/nuxt.adapter.d.ts +0 -1
  55. package/dist/src/adapters/frontend/nuxt.adapter.js +0 -1
  56. package/dist/src/adapters/frontend/react-native.adapter.d.ts +0 -1
  57. package/dist/src/adapters/frontend/react-native.adapter.js +0 -1
  58. package/dist/src/adapters/frontend/react.adapter.d.ts +0 -1
  59. package/dist/src/adapters/frontend/react.adapter.js +0 -1
  60. package/dist/src/adapters/frontend/svelte.adapter.d.ts +0 -1
  61. package/dist/src/adapters/frontend/svelte.adapter.js +0 -1
  62. package/dist/src/adapters/frontend/sveltekit.adapter.d.ts +0 -1
  63. package/dist/src/adapters/frontend/sveltekit.adapter.js +0 -1
  64. package/dist/src/adapters/frontend/vanilla.adapter.d.ts +0 -1
  65. package/dist/src/adapters/frontend/vanilla.adapter.js +0 -1
  66. package/dist/src/adapters/frontend/vue.adapter.d.ts +0 -1
  67. package/dist/src/adapters/frontend/vue.adapter.js +0 -1
  68. package/dist/src/adapters/package-managers/bun.adapter.d.ts +0 -1
  69. package/dist/src/adapters/package-managers/bun.adapter.js +0 -1
  70. package/dist/src/adapters/package-managers/index.d.ts +0 -1
  71. package/dist/src/adapters/package-managers/index.js +0 -1
  72. package/dist/src/adapters/package-managers/npm.adapter.d.ts +0 -1
  73. package/dist/src/adapters/package-managers/npm.adapter.js +0 -1
  74. package/dist/src/adapters/package-managers/packageManager.type.d.ts +0 -1
  75. package/dist/src/adapters/package-managers/packageManager.type.js +0 -1
  76. package/dist/src/adapters/package-managers/pnpm.adapter.d.ts +0 -1
  77. package/dist/src/adapters/package-managers/pnpm.adapter.js +0 -1
  78. package/dist/src/adapters/package-managers/yarn.adapter.d.ts +0 -1
  79. package/dist/src/adapters/package-managers/yarn.adapter.js +0 -1
  80. package/dist/src/bin/bin.menu.d.ts +0 -1
  81. package/dist/src/bin/bin.menu.js +0 -1
  82. package/dist/src/bin/bin.runner.d.ts +0 -1
  83. package/dist/src/bin/bin.runner.js +0 -1
  84. package/dist/src/bin/index.d.ts +0 -1
  85. package/dist/src/bin/index.js +0 -1
  86. package/dist/src/bin/zudojs.d.ts +0 -1
  87. package/dist/src/bin/zudojs.js +1 -2
  88. package/dist/src/cliApplication/cliApplication.builtins.d.ts +0 -1
  89. package/dist/src/cliApplication/cliApplication.builtins.js +0 -1
  90. package/dist/src/cliApplication/cliApplication.core.d.ts +0 -1
  91. package/dist/src/cliApplication/cliApplication.core.js +0 -1
  92. package/dist/src/cliApplication/cliApplication.help.d.ts +0 -1
  93. package/dist/src/cliApplication/cliApplication.help.js +0 -1
  94. package/dist/src/cliApplication/cliApplication.logger.d.ts +0 -1
  95. package/dist/src/cliApplication/cliApplication.logger.js +0 -1
  96. package/dist/src/cliApplication/cliApplication.writer.d.ts +0 -1
  97. package/dist/src/cliApplication/cliApplication.writer.js +0 -1
  98. package/dist/src/cliApplication/index.d.ts +0 -1
  99. package/dist/src/cliApplication/index.js +0 -1
  100. package/dist/src/cliApplication/invocation/index.d.ts +0 -1
  101. package/dist/src/cliApplication/invocation/index.js +0 -1
  102. package/dist/src/cliApplication/invocation/invocation.hint.d.ts +0 -7
  103. package/dist/src/cliApplication/invocation/invocation.hint.js +14 -1
  104. package/dist/src/cliApplication/invocation/invocation.locate.d.ts +0 -1
  105. package/dist/src/cliApplication/invocation/invocation.locate.js +0 -1
  106. package/dist/src/cliApplication/invocation/invocation.name.d.ts +0 -1
  107. package/dist/src/cliApplication/invocation/invocation.name.js +0 -1
  108. package/dist/src/cliApplication/invocation/invocation.sanitize.d.ts +0 -1
  109. package/dist/src/cliApplication/invocation/invocation.sanitize.js +0 -1
  110. package/dist/src/cliCommand/cliCommand.builder.d.ts +0 -1
  111. package/dist/src/cliCommand/cliCommand.builder.js +0 -1
  112. package/dist/src/cliCommand/cliCommand.factory.d.ts +0 -1
  113. package/dist/src/cliCommand/cliCommand.factory.js +0 -1
  114. package/dist/src/cliCommand/cliCommand.registry.d.ts +0 -1
  115. package/dist/src/cliCommand/cliCommand.registry.js +0 -1
  116. package/dist/src/cliCommand/cliCommand.validator.d.ts +0 -1
  117. package/dist/src/cliCommand/cliCommand.validator.js +0 -1
  118. package/dist/src/cliCommand/index.d.ts +0 -1
  119. package/dist/src/cliCommand/index.js +0 -1
  120. package/dist/src/cliConstant/cliConstant.value.d.ts +0 -1
  121. package/dist/src/cliConstant/cliConstant.value.js +0 -1
  122. package/dist/src/cliConstant/cliVersion.d.ts +0 -1
  123. package/dist/src/cliConstant/cliVersion.js +0 -1
  124. package/dist/src/cliConstant/index.d.ts +0 -1
  125. package/dist/src/cliConstant/index.js +0 -1
  126. package/dist/src/cliError/cliError.argument.d.ts +0 -1
  127. package/dist/src/cliError/cliError.argument.js +0 -1
  128. package/dist/src/cliError/cliError.base.d.ts +0 -1
  129. package/dist/src/cliError/cliError.base.js +0 -1
  130. package/dist/src/cliError/cliError.command.d.ts +0 -1
  131. package/dist/src/cliError/cliError.command.js +0 -1
  132. package/dist/src/cliError/cliError.execution.d.ts +0 -1
  133. package/dist/src/cliError/cliError.execution.js +0 -1
  134. package/dist/src/cliError/cliError.option.d.ts +0 -1
  135. package/dist/src/cliError/cliError.option.js +0 -1
  136. package/dist/src/cliError/index.d.ts +0 -1
  137. package/dist/src/cliError/index.js +0 -1
  138. package/dist/src/cliParser/cliParser.core.d.ts +0 -1
  139. package/dist/src/cliParser/cliParser.core.js +0 -1
  140. package/dist/src/cliParser/cliParser.helper.d.ts +0 -1
  141. package/dist/src/cliParser/cliParser.helper.js +0 -1
  142. package/dist/src/cliParser/cliParser.longOption.d.ts +0 -1
  143. package/dist/src/cliParser/cliParser.longOption.js +0 -1
  144. package/dist/src/cliParser/cliParser.shortOption.d.ts +0 -1
  145. package/dist/src/cliParser/cliParser.shortOption.js +0 -1
  146. package/dist/src/cliParser/index.d.ts +0 -1
  147. package/dist/src/cliParser/index.js +0 -1
  148. package/dist/src/cliType/cliType.type.d.ts +0 -1
  149. package/dist/src/cliType/cliType.type.js +0 -1
  150. package/dist/src/cliType/index.d.ts +0 -1
  151. package/dist/src/cliType/index.js +0 -1
  152. package/dist/src/cliVersion/cliVersion.core.d.ts +0 -1
  153. package/dist/src/cliVersion/cliVersion.core.js +0 -1
  154. package/dist/src/cliVersion/cliVersion.update.d.ts +0 -1
  155. package/dist/src/cliVersion/cliVersion.update.js +0 -1
  156. package/dist/src/cliVersion/index.d.ts +0 -1
  157. package/dist/src/cliVersion/index.js +0 -1
  158. package/dist/src/commands/add.command.d.ts +0 -1
  159. package/dist/src/commands/add.command.js +1 -2
  160. package/dist/src/commands/build.command.d.ts +0 -1
  161. package/dist/src/commands/build.command.js +0 -1
  162. package/dist/src/commands/commandError.helper.d.ts +0 -1
  163. package/dist/src/commands/commandError.helper.js +0 -1
  164. package/dist/src/commands/create.command.d.ts +0 -1
  165. package/dist/src/commands/create.command.js +0 -1
  166. package/dist/src/commands/dev/dev.plan.d.ts +39 -0
  167. package/dist/src/commands/dev/dev.plan.js +83 -0
  168. package/dist/src/commands/dev/index.d.ts +4 -0
  169. package/dist/src/commands/dev/index.js +4 -0
  170. package/dist/src/commands/dev.command.d.ts +4 -30
  171. package/dist/src/commands/dev.command.js +10 -80
  172. package/dist/src/commands/doctor.command.d.ts +0 -1
  173. package/dist/src/commands/doctor.command.js +0 -1
  174. package/dist/src/commands/generate.command.d.ts +0 -1
  175. package/dist/src/commands/generate.command.js +30 -10
  176. package/dist/src/commands/index.d.ts +0 -1
  177. package/dist/src/commands/index.js +0 -1
  178. package/dist/src/commands/info.command.d.ts +0 -1
  179. package/dist/src/commands/info.command.js +0 -1
  180. package/dist/src/constants/index.d.ts +0 -1
  181. package/dist/src/constants/index.js +0 -1
  182. package/dist/src/constants/zudojsVersions.generated.d.ts +0 -1
  183. package/dist/src/constants/zudojsVersions.generated.js +38 -39
  184. package/dist/src/constants/zudojsVersions.helper.d.ts +0 -1
  185. package/dist/src/constants/zudojsVersions.helper.js +0 -1
  186. package/dist/src/errors/index.d.ts +0 -1
  187. package/dist/src/errors/index.js +0 -1
  188. package/dist/src/generators/backend/backend.generator.d.ts +0 -1
  189. package/dist/src/generators/backend/backend.generator.js +0 -1
  190. package/dist/src/generators/backend/index.d.ts +0 -1
  191. package/dist/src/generators/backend/index.js +0 -1
  192. package/dist/src/generators/command/command.generator.d.ts +0 -1
  193. package/dist/src/generators/command/command.generator.js +0 -1
  194. package/dist/src/generators/command/command.template.d.ts +0 -1
  195. package/dist/src/generators/command/command.template.js +0 -1
  196. package/dist/src/generators/command/index.d.ts +0 -1
  197. package/dist/src/generators/command/index.js +0 -1
  198. package/dist/src/generators/event/event.generator.d.ts +0 -1
  199. package/dist/src/generators/event/event.generator.js +0 -1
  200. package/dist/src/generators/event/index.d.ts +0 -1
  201. package/dist/src/generators/event/index.js +0 -1
  202. package/dist/src/generators/frontend/frontendGenerator.core.d.ts +0 -1
  203. package/dist/src/generators/frontend/frontendGenerator.core.js +0 -1
  204. package/dist/src/generators/frontend/frontendPipeline.d.ts +0 -1
  205. package/dist/src/generators/frontend/frontendPipeline.js +0 -1
  206. package/dist/src/generators/frontend/index.d.ts +0 -1
  207. package/dist/src/generators/frontend/index.js +0 -1
  208. package/dist/src/generators/fullstack/fullstackBackend.layout.d.ts +0 -1
  209. package/dist/src/generators/fullstack/fullstackBackend.layout.js +0 -1
  210. package/dist/src/generators/fullstack/fullstackComposer.core.d.ts +0 -1
  211. package/dist/src/generators/fullstack/fullstackComposer.core.js +0 -1
  212. package/dist/src/generators/fullstack/index.d.ts +0 -1
  213. package/dist/src/generators/fullstack/index.js +0 -1
  214. package/dist/src/generators/index.d.ts +0 -1
  215. package/dist/src/generators/index.js +0 -1
  216. package/dist/src/generators/infrastructure/index.d.ts +0 -1
  217. package/dist/src/generators/infrastructure/index.js +0 -1
  218. package/dist/src/generators/infrastructure/infrastructure.generator.d.ts +0 -1
  219. package/dist/src/generators/infrastructure/infrastructure.generator.js +0 -1
  220. package/dist/src/generators/integration/index.d.ts +0 -1
  221. package/dist/src/generators/integration/index.js +0 -1
  222. package/dist/src/generators/integration/integrationGenerator.core.d.ts +0 -1
  223. package/dist/src/generators/integration/integrationGenerator.core.js +0 -1
  224. package/dist/src/generators/job/index.d.ts +0 -1
  225. package/dist/src/generators/job/index.js +0 -1
  226. package/dist/src/generators/job/job.generator.d.ts +0 -1
  227. package/dist/src/generators/job/job.generator.js +0 -1
  228. package/dist/src/generators/middleware/index.d.ts +2 -2
  229. package/dist/src/generators/middleware/index.js +2 -2
  230. package/dist/src/generators/middleware/middleware.generator.d.ts +28 -2
  231. package/dist/src/generators/middleware/middleware.generator.js +60 -16
  232. package/dist/src/generators/middleware/middleware.template.d.ts +20 -0
  233. package/dist/src/generators/middleware/middleware.template.js +34 -0
  234. package/dist/src/generators/model/index.d.ts +0 -1
  235. package/dist/src/generators/model/index.js +0 -1
  236. package/dist/src/generators/model/model.generator.d.ts +0 -1
  237. package/dist/src/generators/model/model.generator.js +0 -1
  238. package/dist/src/generators/module/index.d.ts +0 -1
  239. package/dist/src/generators/module/index.js +0 -1
  240. package/dist/src/generators/module/module.generator.d.ts +0 -1
  241. package/dist/src/generators/module/module.generator.js +27 -11
  242. package/dist/src/generators/module/module.registration.d.ts +4 -3
  243. package/dist/src/generators/module/module.registration.js +5 -4
  244. package/dist/src/generators/project/project.generator.d.ts +0 -1
  245. package/dist/src/generators/project/project.generator.js +0 -1
  246. package/dist/src/generators/query/index.d.ts +0 -1
  247. package/dist/src/generators/query/index.js +0 -1
  248. package/dist/src/generators/query/query.generator.d.ts +0 -1
  249. package/dist/src/generators/query/query.generator.js +0 -1
  250. package/dist/src/generators/query/query.template.d.ts +0 -1
  251. package/dist/src/generators/query/query.template.js +0 -1
  252. package/dist/src/generators/resource/index.d.ts +0 -1
  253. package/dist/src/generators/resource/index.js +0 -1
  254. package/dist/src/generators/resource/resource.checks.d.ts +31 -0
  255. package/dist/src/generators/resource/resource.checks.js +52 -0
  256. package/dist/src/generators/resource/resource.generator.d.ts +5 -3
  257. package/dist/src/generators/resource/resource.generator.js +23 -36
  258. package/dist/src/generators/resource/resource.layout.d.ts +0 -1
  259. package/dist/src/generators/resource/resource.layout.js +0 -1
  260. package/dist/src/generators/resource/resource.plan.d.ts +0 -1
  261. package/dist/src/generators/resource/resource.plan.js +0 -1
  262. package/dist/src/generators/resource/resource.run.d.ts +12 -2
  263. package/dist/src/generators/resource/resource.run.js +33 -9
  264. package/dist/src/generators/validator/index.d.ts +0 -1
  265. package/dist/src/generators/validator/index.js +0 -1
  266. package/dist/src/generators/validator/validator.generator.d.ts +6 -2
  267. package/dist/src/generators/validator/validator.generator.js +31 -10
  268. package/dist/src/index.d.ts +0 -1
  269. package/dist/src/index.js +0 -1
  270. package/dist/src/installers/dependency.installer.d.ts +0 -1
  271. package/dist/src/installers/dependency.installer.js +0 -1
  272. package/dist/src/installers/index.d.ts +0 -1
  273. package/dist/src/installers/index.js +0 -1
  274. package/dist/src/manifest/index.d.ts +0 -1
  275. package/dist/src/manifest/index.js +0 -1
  276. package/dist/src/manifest/manifestFile.helper.d.ts +0 -1
  277. package/dist/src/manifest/manifestFile.helper.js +0 -1
  278. package/dist/src/manifest/manifestManager.core.d.ts +0 -1
  279. package/dist/src/manifest/manifestManager.core.js +0 -1
  280. package/dist/src/prompts/backend/api-style.prompt.d.ts +0 -1
  281. package/dist/src/prompts/backend/api-style.prompt.js +0 -1
  282. package/dist/src/prompts/backend/backend-architecture.prompt.d.ts +0 -1
  283. package/dist/src/prompts/backend/backend-architecture.prompt.js +0 -1
  284. package/dist/src/prompts/backend/database.prompt.d.ts +0 -1
  285. package/dist/src/prompts/backend/database.prompt.js +0 -1
  286. package/dist/src/prompts/backend/index.d.ts +0 -1
  287. package/dist/src/prompts/backend/index.js +0 -1
  288. package/dist/src/prompts/backend/services.prompt.d.ts +0 -1
  289. package/dist/src/prompts/backend/services.prompt.js +0 -1
  290. package/dist/src/prompts/cancel.prompt.d.ts +0 -1
  291. package/dist/src/prompts/cancel.prompt.js +0 -1
  292. package/dist/src/prompts/capabilities/capabilities.prompt.d.ts +0 -1
  293. package/dist/src/prompts/capabilities/capabilities.prompt.js +0 -1
  294. package/dist/src/prompts/capabilities/index.d.ts +0 -1
  295. package/dist/src/prompts/capabilities/index.js +0 -1
  296. package/dist/src/prompts/frontend/framework.prompt.d.ts +0 -1
  297. package/dist/src/prompts/frontend/framework.prompt.js +0 -1
  298. package/dist/src/prompts/frontend/frontend-architecture.prompt.d.ts +0 -1
  299. package/dist/src/prompts/frontend/frontend-architecture.prompt.js +0 -1
  300. package/dist/src/prompts/frontend/index.d.ts +0 -1
  301. package/dist/src/prompts/frontend/index.js +0 -1
  302. package/dist/src/prompts/index.d.ts +0 -1
  303. package/dist/src/prompts/index.js +0 -1
  304. package/dist/src/prompts/menu/index.d.ts +0 -1
  305. package/dist/src/prompts/menu/index.js +0 -1
  306. package/dist/src/prompts/menu/menu.adapter.d.ts +0 -1
  307. package/dist/src/prompts/menu/menu.adapter.js +0 -1
  308. package/dist/src/prompts/menu/menu.constant.d.ts +0 -1
  309. package/dist/src/prompts/menu/menu.constant.js +0 -1
  310. package/dist/src/prompts/menu/menu.flow.d.ts +0 -1
  311. package/dist/src/prompts/menu/menu.flow.js +0 -1
  312. package/dist/src/prompts/menu/menu.select.d.ts +0 -1
  313. package/dist/src/prompts/menu/menu.select.js +0 -1
  314. package/dist/src/prompts/menu/menu.type.d.ts +0 -1
  315. package/dist/src/prompts/menu/menu.type.js +0 -1
  316. package/dist/src/prompts/project/confirmation.prompt.d.ts +0 -1
  317. package/dist/src/prompts/project/confirmation.prompt.js +0 -1
  318. package/dist/src/prompts/project/index.d.ts +0 -1
  319. package/dist/src/prompts/project/index.js +0 -1
  320. package/dist/src/prompts/project/project-name.prompt.d.ts +0 -1
  321. package/dist/src/prompts/project/project-name.prompt.js +0 -1
  322. package/dist/src/prompts/project/project-type.prompt.d.ts +0 -1
  323. package/dist/src/prompts/project/project-type.prompt.js +0 -1
  324. package/dist/src/prompts/workspace/index.d.ts +0 -1
  325. package/dist/src/prompts/workspace/index.js +0 -1
  326. package/dist/src/prompts/workspace/package-manager.prompt.d.ts +0 -1
  327. package/dist/src/prompts/workspace/package-manager.prompt.js +0 -1
  328. package/dist/src/recipes/apply/index.d.ts +0 -1
  329. package/dist/src/recipes/apply/index.js +0 -1
  330. package/dist/src/recipes/apply/recipeApply.app.d.ts +0 -1
  331. package/dist/src/recipes/apply/recipeApply.app.js +0 -1
  332. package/dist/src/recipes/apply/recipeApply.context.d.ts +0 -1
  333. package/dist/src/recipes/apply/recipeApply.context.js +0 -1
  334. package/dist/src/recipes/apply/recipeApply.files.d.ts +0 -1
  335. package/dist/src/recipes/apply/recipeApply.files.js +0 -1
  336. package/dist/src/recipes/apply/recipeApply.project.d.ts +13 -3
  337. package/dist/src/recipes/apply/recipeApply.project.js +56 -3
  338. package/dist/src/recipes/apply/recipeApply.report.d.ts +0 -1
  339. package/dist/src/recipes/apply/recipeApply.report.js +0 -1
  340. package/dist/src/recipes/catalog/database/database.files.d.ts +0 -1
  341. package/dist/src/recipes/catalog/database/database.files.js +0 -1
  342. package/dist/src/recipes/catalog/database/database.recipe.d.ts +0 -1
  343. package/dist/src/recipes/catalog/database/database.recipe.js +11 -2
  344. package/dist/src/recipes/catalog/database/index.d.ts +0 -1
  345. package/dist/src/recipes/catalog/database/index.js +0 -1
  346. package/dist/src/recipes/catalog/email.recipe.d.ts +0 -1
  347. package/dist/src/recipes/catalog/email.recipe.js +0 -1
  348. package/dist/src/recipes/catalog/index.d.ts +0 -1
  349. package/dist/src/recipes/catalog/index.js +0 -1
  350. package/dist/src/recipes/catalog/openapi.recipe.d.ts +0 -1
  351. package/dist/src/recipes/catalog/openapi.recipe.js +0 -1
  352. package/dist/src/recipes/catalog/platform/cache.recipe.d.ts +0 -1
  353. package/dist/src/recipes/catalog/platform/cache.recipe.js +0 -1
  354. package/dist/src/recipes/catalog/platform/index.d.ts +0 -1
  355. package/dist/src/recipes/catalog/platform/index.js +0 -1
  356. package/dist/src/recipes/catalog/platform/messaging.recipe.d.ts +0 -1
  357. package/dist/src/recipes/catalog/platform/messaging.recipe.js +0 -1
  358. package/dist/src/recipes/catalog/platform/observability.recipe.d.ts +0 -1
  359. package/dist/src/recipes/catalog/platform/observability.recipe.js +0 -1
  360. package/dist/src/recipes/catalog/platform/queue.recipe.d.ts +0 -1
  361. package/dist/src/recipes/catalog/platform/queue.recipe.js +0 -1
  362. package/dist/src/recipes/catalog/platform/scheduler.recipe.d.ts +0 -1
  363. package/dist/src/recipes/catalog/platform/scheduler.recipe.js +0 -1
  364. package/dist/src/recipes/catalog/redis.recipe.d.ts +0 -1
  365. package/dist/src/recipes/catalog/redis.recipe.js +0 -1
  366. package/dist/src/recipes/catalog/storage.recipe.d.ts +0 -1
  367. package/dist/src/recipes/catalog/storage.recipe.js +0 -1
  368. package/dist/src/recipes/catalog/websockets.recipe.d.ts +0 -1
  369. package/dist/src/recipes/catalog/websockets.recipe.js +0 -1
  370. package/dist/src/recipes/docker/docker.compose.d.ts +0 -1
  371. package/dist/src/recipes/docker/docker.compose.js +0 -1
  372. package/dist/src/recipes/docker/docker.recipe.d.ts +0 -1
  373. package/dist/src/recipes/docker/docker.recipe.js +0 -1
  374. package/dist/src/recipes/docker/docker.refresh.d.ts +0 -1
  375. package/dist/src/recipes/docker/docker.refresh.js +0 -1
  376. package/dist/src/recipes/docker/index.d.ts +0 -1
  377. package/dist/src/recipes/docker/index.js +0 -1
  378. package/dist/src/recipes/index.d.ts +0 -1
  379. package/dist/src/recipes/index.js +0 -1
  380. package/dist/src/recipes/recipe.registry.d.ts +0 -1
  381. package/dist/src/recipes/recipe.registry.js +0 -1
  382. package/dist/src/recipes/recipe.type.d.ts +6 -1
  383. package/dist/src/recipes/recipe.type.js +0 -1
  384. package/dist/src/registries/adapter/frontendAdapterRegistry.core.d.ts +0 -1
  385. package/dist/src/registries/adapter/frontendAdapterRegistry.core.js +0 -1
  386. package/dist/src/registries/adapter/packageManagerRegistry.core.d.ts +0 -1
  387. package/dist/src/registries/adapter/packageManagerRegistry.core.js +0 -1
  388. package/dist/src/registries/dependency/dependencyRegistry.core.d.ts +0 -1
  389. package/dist/src/registries/dependency/dependencyRegistry.core.js +0 -1
  390. package/dist/src/registries/dependency/index.d.ts +0 -1
  391. package/dist/src/registries/dependency/index.js +0 -1
  392. package/dist/src/registries/generator/generatorRegistry.core.d.ts +0 -1
  393. package/dist/src/registries/generator/generatorRegistry.core.js +0 -1
  394. package/dist/src/registries/generator/index.d.ts +0 -1
  395. package/dist/src/registries/generator/index.js +0 -1
  396. package/dist/src/registries/index.d.ts +0 -1
  397. package/dist/src/registries/index.js +0 -1
  398. package/dist/src/resolvers/architecture.resolver.d.ts +0 -1
  399. package/dist/src/resolvers/architecture.resolver.js +13 -3
  400. package/dist/src/resolvers/capability/capabilityResolver.core.d.ts +0 -1
  401. package/dist/src/resolvers/capability/capabilityResolver.core.js +0 -1
  402. package/dist/src/resolvers/capability/index.d.ts +0 -1
  403. package/dist/src/resolvers/capability/index.js +0 -1
  404. package/dist/src/resolvers/configuration/configurationResolver.core.d.ts +0 -1
  405. package/dist/src/resolvers/configuration/configurationResolver.core.js +0 -1
  406. package/dist/src/resolvers/configuration/index.d.ts +0 -1
  407. package/dist/src/resolvers/configuration/index.js +0 -1
  408. package/dist/src/resolvers/dependency/dependencyResolver.core.d.ts +0 -1
  409. package/dist/src/resolvers/dependency/dependencyResolver.core.js +0 -1
  410. package/dist/src/resolvers/dependency/dependencyVersions.constant.d.ts +0 -1
  411. package/dist/src/resolvers/dependency/dependencyVersions.constant.js +0 -1
  412. package/dist/src/resolvers/dependency/index.d.ts +0 -1
  413. package/dist/src/resolvers/dependency/index.js +0 -1
  414. package/dist/src/resolvers/index.d.ts +0 -1
  415. package/dist/src/resolvers/index.js +0 -1
  416. package/dist/src/resolvers/layout/index.d.ts +0 -1
  417. package/dist/src/resolvers/layout/index.js +0 -1
  418. package/dist/src/resolvers/layout/projectLayout.core.d.ts +0 -1
  419. package/dist/src/resolvers/layout/projectLayout.core.js +0 -1
  420. package/dist/src/resolvers/project.resolver.d.ts +0 -1
  421. package/dist/src/resolvers/project.resolver.js +0 -1
  422. package/dist/src/rollback/index.d.ts +0 -1
  423. package/dist/src/rollback/index.js +0 -1
  424. package/dist/src/rollback/rollbackManager.core.d.ts +0 -1
  425. package/dist/src/rollback/rollbackManager.core.js +0 -1
  426. package/dist/src/runners/package-manager/index.d.ts +0 -1
  427. package/dist/src/runners/package-manager/index.js +0 -1
  428. package/dist/src/runners/package-manager/packageManagerRunner.core.d.ts +0 -1
  429. package/dist/src/runners/package-manager/packageManagerRunner.core.js +0 -1
  430. package/dist/src/runners/process/index.d.ts +0 -1
  431. package/dist/src/runners/process/index.js +0 -1
  432. package/dist/src/runners/process/processRunner.core.d.ts +0 -1
  433. package/dist/src/runners/process/processRunner.core.js +0 -1
  434. package/dist/src/runners/task/index.d.ts +0 -1
  435. package/dist/src/runners/task/index.js +0 -1
  436. package/dist/src/runners/task/taskRunner.core.d.ts +0 -1
  437. package/dist/src/runners/task/taskRunner.core.js +0 -1
  438. package/dist/src/scaffolders/framework.scaffolder.d.ts +0 -1
  439. package/dist/src/scaffolders/framework.scaffolder.js +0 -1
  440. package/dist/src/scaffolders/index.d.ts +0 -1
  441. package/dist/src/scaffolders/index.js +0 -1
  442. package/dist/src/scaffolders/scaffolder.helper.d.ts +0 -1
  443. package/dist/src/scaffolders/scaffolder.helper.js +0 -1
  444. package/dist/src/templates/backendApp/backendApp.core.d.ts +0 -1
  445. package/dist/src/templates/backendApp/backendApp.core.js +0 -1
  446. package/dist/src/templates/backendApp/backendApp.modules.d.ts +0 -1
  447. package/dist/src/templates/backendApp/backendApp.modules.js +0 -1
  448. package/dist/src/templates/backendApp/backendApp.project.d.ts +19 -3
  449. package/dist/src/templates/backendApp/backendApp.project.js +41 -3
  450. package/dist/src/templates/backendApp/index.d.ts +0 -1
  451. package/dist/src/templates/backendApp/index.js +0 -1
  452. package/dist/src/templates/backendApp/parts/config.template.d.ts +0 -1
  453. package/dist/src/templates/backendApp/parts/config.template.js +13 -6
  454. package/dist/src/templates/backendApp/parts/httpUtils.template.d.ts +2 -2
  455. package/dist/src/templates/backendApp/parts/httpUtils.template.js +20 -6
  456. package/dist/src/templates/backendApp/parts/index.d.ts +0 -1
  457. package/dist/src/templates/backendApp/parts/index.js +0 -1
  458. package/dist/src/templates/backendApp/parts/integrations.template.d.ts +0 -1
  459. package/dist/src/templates/backendApp/parts/integrations.template.js +0 -1
  460. package/dist/src/templates/backendApp/parts/wiring.template.d.ts +3 -2
  461. package/dist/src/templates/backendApp/parts/wiring.template.js +13 -3
  462. package/dist/src/templates/microservice/index.d.ts +0 -1
  463. package/dist/src/templates/microservice/index.js +0 -1
  464. package/dist/src/templates/microservice/microservice.template.d.ts +0 -1
  465. package/dist/src/templates/microservice/microservice.template.js +6 -27
  466. package/dist/src/templates/modular-monolith/index.d.ts +0 -1
  467. package/dist/src/templates/modular-monolith/index.js +0 -1
  468. package/dist/src/templates/modular-monolith/modularMonolith.template.d.ts +0 -1
  469. package/dist/src/templates/modular-monolith/modularMonolith.template.js +3 -10
  470. package/dist/src/templates/monolith/index.d.ts +0 -1
  471. package/dist/src/templates/monolith/index.js +0 -1
  472. package/dist/src/templates/monolith/monolith.template.d.ts +0 -1
  473. package/dist/src/templates/monolith/monolith.template.js +3 -11
  474. package/dist/src/templates/resource/index.d.ts +0 -1
  475. package/dist/src/templates/resource/index.js +0 -1
  476. package/dist/src/templates/resource/layers/index.d.ts +4 -4
  477. package/dist/src/templates/resource/layers/index.js +4 -4
  478. package/dist/src/templates/resource/layers/resourceData.template.d.ts +8 -4
  479. package/dist/src/templates/resource/layers/resourceData.template.js +30 -72
  480. package/dist/src/templates/resource/layers/resourceHttp/index.d.ts +6 -0
  481. package/dist/src/templates/resource/layers/resourceHttp/index.js +6 -0
  482. package/dist/src/templates/resource/layers/resourceHttp/resourceController.template.d.ts +10 -0
  483. package/dist/src/templates/resource/layers/resourceHttp/resourceController.template.js +55 -0
  484. package/dist/src/templates/resource/layers/resourceHttp/resourceRoutes.template.d.ts +6 -0
  485. package/dist/src/templates/resource/layers/resourceHttp/resourceRoutes.template.js +77 -0
  486. package/dist/src/templates/resource/layers/resourceHttp/resourceTest.template.d.ts +11 -0
  487. package/dist/src/templates/resource/layers/resourceHttp/resourceTest.template.js +84 -0
  488. package/dist/src/templates/resource/layers/resourceMemory.template.d.ts +6 -0
  489. package/dist/src/templates/resource/layers/resourceMemory.template.js +87 -0
  490. package/dist/src/templates/resource/layers/resourcePrisma.template.d.ts +0 -1
  491. package/dist/src/templates/resource/layers/resourcePrisma.template.js +10 -9
  492. package/dist/src/templates/resource/layers/resourceService.template.d.ts +1 -8
  493. package/dist/src/templates/resource/layers/resourceService.template.js +9 -54
  494. package/dist/src/templates/resource/resource.files.d.ts +0 -1
  495. package/dist/src/templates/resource/resource.files.js +7 -6
  496. package/dist/src/templates/resource/resource.names.d.ts +0 -1
  497. package/dist/src/templates/resource/resource.names.js +0 -1
  498. package/dist/src/templates/resource/resource.type.d.ts +0 -1
  499. package/dist/src/templates/resource/resource.type.js +0 -1
  500. package/dist/src/templates/shared/appRuntime.template.d.ts +0 -1
  501. package/dist/src/templates/shared/appRuntime.template.js +6 -5
  502. package/dist/src/templates/shared/capability.template.d.ts +0 -1
  503. package/dist/src/templates/shared/capability.template.js +0 -1
  504. package/dist/src/templates/shared/dockerfile/dockerfile.install.d.ts +0 -1
  505. package/dist/src/templates/shared/dockerfile/dockerfile.install.js +0 -1
  506. package/dist/src/templates/shared/dockerfile/dockerfile.template.d.ts +0 -1
  507. package/dist/src/templates/shared/dockerfile/dockerfile.template.js +15 -5
  508. package/dist/src/templates/shared/dockerfile/index.d.ts +0 -1
  509. package/dist/src/templates/shared/dockerfile/index.js +0 -1
  510. package/dist/src/templates/shared/index.d.ts +1 -1
  511. package/dist/src/templates/shared/index.js +1 -1
  512. package/dist/src/templates/shared/pnpm.template.d.ts +0 -1
  513. package/dist/src/templates/shared/pnpm.template.js +0 -1
  514. package/dist/src/templates/shared/server.parts.d.ts +28 -0
  515. package/dist/src/templates/shared/server.parts.js +59 -0
  516. package/dist/src/templates/shared/server.template.d.ts +17 -16
  517. package/dist/src/templates/shared/server.template.js +42 -57
  518. package/dist/src/types/index.d.ts +0 -1
  519. package/dist/src/types/index.js +0 -1
  520. package/dist/src/types/projectConfiguration.type.d.ts +0 -1
  521. package/dist/src/types/projectConfiguration.type.js +0 -1
  522. package/dist/src/types/scaffold.type.d.ts +0 -1
  523. package/dist/src/types/scaffold.type.js +0 -1
  524. package/dist/src/utils/index.d.ts +0 -1
  525. package/dist/src/utils/index.js +0 -1
  526. package/dist/src/utils/utils.detect.d.ts +0 -1
  527. package/dist/src/utils/utils.detect.js +0 -1
  528. package/dist/src/utils/utils.exec.d.ts +0 -1
  529. package/dist/src/utils/utils.exec.js +0 -1
  530. package/dist/src/utils/utils.fileSystem.d.ts +0 -1
  531. package/dist/src/utils/utils.fileSystem.js +0 -1
  532. package/dist/src/utils/utils.name.d.ts +0 -1
  533. package/dist/src/utils/utils.name.js +0 -1
  534. package/dist/src/utils/utils.writeGuard.d.ts +0 -1
  535. package/dist/src/utils/utils.writeGuard.js +0 -1
  536. package/dist/src/validators/compatibility/compatibilityValidator.core.d.ts +0 -1
  537. package/dist/src/validators/compatibility/compatibilityValidator.core.js +0 -1
  538. package/dist/src/validators/compatibility/index.d.ts +0 -1
  539. package/dist/src/validators/compatibility/index.js +0 -1
  540. package/dist/src/validators/environment/environmentValidator.core.d.ts +0 -1
  541. package/dist/src/validators/environment/environmentValidator.core.js +0 -1
  542. package/dist/src/validators/environment/index.d.ts +0 -1
  543. package/dist/src/validators/environment/index.js +0 -1
  544. package/dist/src/validators/index.d.ts +0 -1
  545. package/dist/src/validators/index.js +0 -1
  546. package/dist/src/validators/project/index.d.ts +0 -1
  547. package/dist/src/validators/project/index.js +0 -1
  548. package/dist/src/validators/project/projectValidator.core.d.ts +0 -1
  549. package/dist/src/validators/project/projectValidator.core.js +0 -1
  550. package/dist/src/wiring/index.d.ts +0 -1
  551. package/dist/src/wiring/index.js +0 -1
  552. package/dist/src/wiring/wiring.dependencies.d.ts +0 -1
  553. package/dist/src/wiring/wiring.dependencies.js +0 -1
  554. package/dist/src/wiring/wiring.edits.d.ts +0 -1
  555. package/dist/src/wiring/wiring.edits.js +0 -1
  556. package/dist/src/wiring/wiring.markers.d.ts +7 -5
  557. package/dist/src/wiring/wiring.markers.js +8 -7
  558. package/package.json +6 -6
  559. package/dist/src/generators/controller/controller.generator.d.ts +0 -11
  560. package/dist/src/generators/controller/controller.generator.js +0 -47
  561. package/dist/src/generators/dto/dto.generator.d.ts +0 -12
  562. package/dist/src/generators/dto/dto.generator.js +0 -27
  563. package/dist/src/generators/dto/index.d.ts +0 -5
  564. package/dist/src/generators/dto/index.js +0 -5
  565. package/dist/src/generators/repository/repository.generator.d.ts +0 -10
  566. package/dist/src/generators/repository/repository.generator.js +0 -80
  567. package/dist/src/generators/route/index.d.ts +0 -5
  568. package/dist/src/generators/route/index.js +0 -5
  569. package/dist/src/generators/route/route.generator.d.ts +0 -12
  570. package/dist/src/generators/route/route.generator.js +0 -31
  571. package/dist/src/templates/resource/layers/resourceRoutes.template.d.ts +0 -13
  572. package/dist/src/templates/resource/layers/resourceRoutes.template.js +0 -129
@@ -0,0 +1,83 @@
1
+ /**
2
+ * zudojs-cli — Which development servers `zudojs dev` starts.
3
+ *
4
+ * Servers are started through the project's package manager (`pnpm run
5
+ * dev`, `npm run dev`, …) rather than by spawning `tsx` or `ng` directly:
6
+ * those binaries are devDependencies of the generated project and are not
7
+ * on the user's PATH, so the direct spawn failed with ENOENT for everyone
8
+ * who had not installed them globally. Running the script also means the
9
+ * project's own `dev` script is what runs — `tsx watch src` used to be
10
+ * hard-coded here, which watched `src/index.ts`, a file that only exports
11
+ * `createApp` and never starts the server.
12
+ */
13
+ import { existsSync } from "node:fs";
14
+ import { basename, join, relative } from "node:path";
15
+ import { getRunScriptCommand } from "../../installers/dependency.installer.js";
16
+ /**
17
+ * Computes the servers `zudojs dev` starts for a project layout.
18
+ *
19
+ * Exported so the selection can be tested without spawning anything.
20
+ */
21
+ export function planDevServers(layout, options = {}) {
22
+ const servers = [];
23
+ const env = options.port !== undefined
24
+ ? { ...process.env, PORT: String(options.port) }
25
+ : undefined;
26
+ if (!options.frontendOnly) {
27
+ for (const dir of layout.backendDirs) {
28
+ if (!existsSync(join(dir, "package.json")))
29
+ continue;
30
+ const [file, ...args] = getRunScriptCommand(layout.packageManager, "dev");
31
+ servers.push({
32
+ label: labelFor(layout.root, dir, "backend"),
33
+ cwd: dir,
34
+ file,
35
+ args,
36
+ ...(env ? { env } : {}),
37
+ });
38
+ }
39
+ }
40
+ if (!options.backendOnly && layout.frontendDir !== undefined) {
41
+ const spec = frontendServer(layout, layout.frontendDir);
42
+ if (spec)
43
+ servers.push(spec);
44
+ }
45
+ return servers;
46
+ }
47
+ /**
48
+ * Why {@link planDevServers} found nothing to start. `--frontend-only` in a
49
+ * backend project used to warn and exit 0, which a script or CI step read
50
+ * as "the dev server is up".
51
+ */
52
+ export function describeNothingToStart(layout, options) {
53
+ if (options.frontendOnly && layout.frontendDir === undefined) {
54
+ return `This ${layout.projectType} project has no frontend app, so --frontend-only has nothing to start. Run "zudojs dev" for the backend.`;
55
+ }
56
+ if (options.backendOnly && layout.backendDirs.length === 0) {
57
+ return `This ${layout.projectType} project has no backend app, so --backend-only has nothing to start. Run "zudojs dev" for the frontend.`;
58
+ }
59
+ if (options.frontendOnly) {
60
+ return "The frontend app has no package.json (or its framework has no dev server), so there is nothing to start.";
61
+ }
62
+ return "No development servers to start: no app in this project has a package.json with a dev script.";
63
+ }
64
+ function labelFor(root, dir, fallback) {
65
+ const rel = relative(root, dir);
66
+ return rel === "" ? fallback : basename(dir);
67
+ }
68
+ function frontendServer(layout, dir) {
69
+ const framework = layout.frontendFramework ?? "react";
70
+ if (framework === "none")
71
+ return null;
72
+ if (framework === "flutter") {
73
+ if (!existsSync(join(dir, "pubspec.yaml")))
74
+ return null;
75
+ return { label: "web", cwd: dir, file: "flutter", args: ["run", "--debug"] };
76
+ }
77
+ if (!existsSync(join(dir, "package.json")))
78
+ return null;
79
+ // Angular's package.json has `start: ng serve`; React Native's has `start`.
80
+ const script = framework === "angular" || framework === "react-native" ? "start" : "dev";
81
+ const [file, ...args] = getRunScriptCommand(layout.packageManager, script);
82
+ return { label: labelFor(layout.root, dir, "frontend"), cwd: dir, file, args };
83
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * zudojs-cli — `zudojs dev` planning: which servers to start, and why none.
3
+ */
4
+ export { describeNothingToStart, planDevServers, type DevSelection, type DevServerSpec, } from "./dev.plan.js";
@@ -0,0 +1,4 @@
1
+ /**
2
+ * zudojs-cli — `zudojs dev` planning: which servers to start, and why none.
3
+ */
4
+ export { describeNothingToStart, planDevServers, } from "./dev.plan.js";
@@ -2,36 +2,10 @@
2
2
  * zudojs-cli — Dev Command
3
3
  *
4
4
  * The `zudojs dev` command. Starts the development servers of the project
5
- * in the current directory.
6
- *
7
- * Servers are started through the project's package manager (`pnpm run
8
- * dev`, `npm run dev`, …) rather than by spawning `tsx` or `ng` directly:
9
- * those binaries are devDependencies of the generated project and are not
10
- * on the user's PATH, so the direct spawn failed with ENOENT for everyone
11
- * who had not installed them globally. Running the script also means the
12
- * project's own `dev` script is what runs — `tsx watch src` used to be
13
- * hard-coded here, which watched `src/index.ts`, a file that only exports
14
- * `createApp` and never starts the server.
5
+ * in the current directory (see `dev/dev.plan.ts` for how they are chosen).
6
+ * A selection that leaves nothing to start (`--frontend-only` in a backend
7
+ * project, for instance) is an error, not a warning followed by exit 0.
15
8
  */
16
9
  import type { CLIContext } from "../cliType/cliType.type.js";
17
- import { type ProjectLayout } from "../resolvers/layout/projectLayout.core.js";
18
- /** One development server to start. */
19
- export interface DevServerSpec {
20
- readonly label: string;
21
- readonly cwd: string;
22
- readonly file: string;
23
- readonly args: readonly string[];
24
- readonly env?: NodeJS.ProcessEnv;
25
- }
26
- /**
27
- * Computes the servers `zudojs dev` starts for a project layout.
28
- *
29
- * Exported so the selection can be tested without spawning anything.
30
- */
31
- export declare function planDevServers(layout: ProjectLayout, options?: {
32
- readonly frontendOnly?: boolean;
33
- readonly backendOnly?: boolean;
34
- readonly port?: number;
35
- }): DevServerSpec[];
10
+ export { planDevServers, type DevServerSpec } from "./dev/index.js";
36
11
  export declare function runDevCommand(context: CLIContext): Promise<void>;
37
- //# sourceMappingURL=dev.command.d.ts.map
@@ -2,84 +2,15 @@
2
2
  * zudojs-cli — Dev Command
3
3
  *
4
4
  * The `zudojs dev` command. Starts the development servers of the project
5
- * in the current directory.
6
- *
7
- * Servers are started through the project's package manager (`pnpm run
8
- * dev`, `npm run dev`, …) rather than by spawning `tsx` or `ng` directly:
9
- * those binaries are devDependencies of the generated project and are not
10
- * on the user's PATH, so the direct spawn failed with ENOENT for everyone
11
- * who had not installed them globally. Running the script also means the
12
- * project's own `dev` script is what runs — `tsx watch src` used to be
13
- * hard-coded here, which watched `src/index.ts`, a file that only exports
14
- * `createApp` and never starts the server.
5
+ * in the current directory (see `dev/dev.plan.ts` for how they are chosen).
6
+ * A selection that leaves nothing to start (`--frontend-only` in a backend
7
+ * project, for instance) is an error, not a warning followed by exit 0.
15
8
  */
16
- import { existsSync } from "node:fs";
17
- import { basename, join, relative } from "node:path";
18
9
  import { runStreaming } from "../utils/utils.exec.js";
19
10
  import { CLIValidationError, CLIGenerationError } from "../errors/index.js";
20
- import { getRunScriptCommand } from "../installers/dependency.installer.js";
21
- import { resolveProjectLayout, } from "../resolvers/layout/projectLayout.core.js";
22
- /**
23
- * Computes the servers `zudojs dev` starts for a project layout.
24
- *
25
- * Exported so the selection can be tested without spawning anything.
26
- */
27
- export function planDevServers(layout, options = {}) {
28
- const servers = [];
29
- const env = options.port !== undefined
30
- ? { ...process.env, PORT: String(options.port) }
31
- : undefined;
32
- if (!options.frontendOnly) {
33
- for (const dir of layout.backendDirs) {
34
- if (!existsSync(join(dir, "package.json")))
35
- continue;
36
- const [file, ...args] = getRunScriptCommand(layout.packageManager, "dev");
37
- servers.push({
38
- label: labelFor(layout.root, dir, "backend"),
39
- cwd: dir,
40
- file,
41
- args,
42
- ...(env ? { env } : {}),
43
- });
44
- }
45
- }
46
- if (!options.backendOnly && layout.frontendDir !== undefined) {
47
- const spec = frontendServer(layout, layout.frontendDir);
48
- if (spec)
49
- servers.push(spec);
50
- }
51
- return servers;
52
- }
53
- function labelFor(root, dir, fallback) {
54
- const rel = relative(root, dir);
55
- return rel === "" ? fallback : basename(dir);
56
- }
57
- function frontendServer(layout, dir) {
58
- const framework = layout.frontendFramework ?? "react";
59
- if (framework === "none")
60
- return null;
61
- if (framework === "flutter") {
62
- if (!existsSync(join(dir, "pubspec.yaml")))
63
- return null;
64
- return {
65
- label: "web",
66
- cwd: dir,
67
- file: "flutter",
68
- args: ["run", "--debug"],
69
- };
70
- }
71
- if (!existsSync(join(dir, "package.json")))
72
- return null;
73
- // Angular's package.json has `start: ng serve`; React Native's has `start`.
74
- const script = framework === "angular" || framework === "react-native" ? "start" : "dev";
75
- const [file, ...args] = getRunScriptCommand(layout.packageManager, script);
76
- return {
77
- label: labelFor(layout.root, dir, "frontend"),
78
- cwd: dir,
79
- file,
80
- args,
81
- };
82
- }
11
+ import { resolveProjectLayout } from "../resolvers/layout/projectLayout.core.js";
12
+ import { describeNothingToStart, planDevServers } from "./dev/index.js";
13
+ export { planDevServers } from "./dev/index.js";
83
14
  export async function runDevCommand(context) {
84
15
  const frontendOnly = context.values["frontend-only"] === true;
85
16
  const backendOnly = context.values["backend-only"] === true;
@@ -98,14 +29,14 @@ export async function runDevCommand(context) {
98
29
  if (layout.frontendFramework) {
99
30
  context.logger.info(`Frontend: ${layout.frontendFramework}`);
100
31
  }
101
- const servers = planDevServers(layout, {
32
+ const selection = {
102
33
  frontendOnly,
103
34
  backendOnly,
104
35
  ...(port !== undefined ? { port } : {}),
105
- });
36
+ };
37
+ const servers = planDevServers(layout, selection);
106
38
  if (servers.length === 0) {
107
- context.logger.warn("No development servers to start.");
108
- return;
39
+ throw new CLIValidationError(describeNothingToStart(layout, selection));
109
40
  }
110
41
  for (const server of servers) {
111
42
  context.logger.info(`Starting ${server.label}: ${server.file} ${server.args.join(" ")}`);
@@ -128,4 +59,3 @@ export async function runDevCommand(context) {
128
59
  throw new CLIGenerationError("Development server failed to start.", error);
129
60
  }
130
61
  }
131
- //# sourceMappingURL=dev.command.js.map
@@ -32,4 +32,3 @@ export declare function runDoctorChecks(cwd: string): DoctorCheck[];
32
32
  */
33
33
  export declare function runEnvironmentChecks(cwd: string): Promise<DoctorCheck[]>;
34
34
  export declare function runDoctorCommand(context: CLIContext): Promise<void>;
35
- //# sourceMappingURL=doctor.command.d.ts.map
@@ -319,4 +319,3 @@ function checkCapabilities(layout) {
319
319
  : problems.join("; "),
320
320
  };
321
321
  }
322
- //# sourceMappingURL=doctor.command.js.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  import type { CLIContext } from "../cliType/cliType.type.js";
9
9
  export declare function runGenerateCommand(context: CLIContext): Promise<void>;
10
- //# sourceMappingURL=generate.command.d.ts.map
@@ -9,7 +9,7 @@ import { join } from "node:path";
9
9
  import { generateModule } from "../generators/module/module.generator.js";
10
10
  import { generateCommand } from "../generators/command/command.generator.js";
11
11
  import { generateQuery } from "../generators/query/query.generator.js";
12
- import { generateMiddleware } from "../generators/middleware/middleware.generator.js";
12
+ import { generateMiddleware, } from "../generators/middleware/middleware.generator.js";
13
13
  import { generateEvent } from "../generators/event/event.generator.js";
14
14
  import { generateJob } from "../generators/job/job.generator.js";
15
15
  import { generateModel } from "../generators/model/model.generator.js";
@@ -18,7 +18,7 @@ import { generateValidator } from "../generators/validator/validator.generator.j
18
18
  import { CLIGenerationError, CLINotInProjectError, CLIValidationError, } from "../errors/index.js";
19
19
  import { assertGeneratableName, assertSafePathSegment, } from "../utils/utils.name.js";
20
20
  import { SCHEMATIC_NAMES } from "../constants/index.js";
21
- import { resolveProjectLayout } from "../resolvers/layout/projectLayout.core.js";
21
+ import { detectPackageManager, resolveProjectLayout, } from "../resolvers/layout/projectLayout.core.js";
22
22
  import { findProjectRoot } from "../resolvers/project.resolver.js";
23
23
  import { describeError } from "./commandError.helper.js";
24
24
  import { captureWrites, findWriteConflicts } from "../utils/utils.writeGuard.js";
@@ -96,10 +96,15 @@ export async function runGenerateCommand(context) {
96
96
  const moduleName = context.values.module;
97
97
  const dryRun = context.values["dry-run"] === true;
98
98
  const force = context.values.force === true;
99
- if (!schematic ||
100
- !SCHEMATIC_NAMES.includes(schematic)) {
99
+ if (!schematic) {
101
100
  throw new CLIValidationError(`Schematic name is required. Available: ${SCHEMATIC_NAMES.join(", ")}`);
102
101
  }
102
+ // An unknown schematic used to be reported as a missing one ("Schematic
103
+ // name is required."), which sent the user looking for a typo in the
104
+ // wrong place.
105
+ if (!SCHEMATIC_NAMES.includes(schematic)) {
106
+ throw new CLIValidationError(`Unknown schematic "${schematic}". Available: ${SCHEMATIC_NAMES.join(", ")}`);
107
+ }
103
108
  if (!name) {
104
109
  throw new CLIValidationError("Resource name is required.");
105
110
  }
@@ -156,20 +161,26 @@ export async function runGenerateCommand(context) {
156
161
  ` - Or add a module to an existing app: zudojs generate module ${name} --service <existing-service>`);
157
162
  }
158
163
  /**
159
- * A modular monolith has modules, not services, so `generate service` means
160
- * `generate module` there.
164
+ * A modular monolith has modules, not top-level services, so a bare
165
+ * `generate service <name>` means `generate module <name>` there.
161
166
  *
162
167
  * This used to log the mapping and then run the service schematic anyway,
163
168
  * which wrote four inert files into a new top-level directory that the
164
169
  * runtime never loads. Rewriting the schematic here — rather than at the
165
170
  * dispatch switch — keeps the base-path resolution, the overwrite guard and
166
171
  * the result message all describing the same thing.
172
+ *
173
+ * With `--module <existing>` the user is asking for a service layer inside
174
+ * that module, so the service schematic runs there; the mapping used to
175
+ * apply regardless and created a new module named after the service.
167
176
  */
168
- const effectiveSchematic = architecture === "modular-monolith" && schematic === "service"
177
+ const effectiveSchematic = architecture === "modular-monolith" &&
178
+ schematic === "service" &&
179
+ moduleName === undefined
169
180
  ? "module"
170
181
  : schematic;
171
182
  if (effectiveSchematic !== schematic) {
172
- context.logger.info('Mapping "service" → "module" for modular-monolith architecture.');
183
+ context.logger.info('Mapping "service" → "module" for modular-monolith architecture (pass --module <name> to add a service inside a module).');
173
184
  }
174
185
  if (isResourceSchematic(effectiveSchematic)) {
175
186
  await runResourceSchematic(context, {
@@ -178,6 +189,7 @@ export async function runGenerateCommand(context) {
178
189
  cwd,
179
190
  backendRoot: backendPrefix(cwd).replace(/\/$/, ""),
180
191
  architecture: architecture ?? undefined,
192
+ packageManager: layout?.packageManager ?? detectPackageManager(cwd),
181
193
  service,
182
194
  moduleName,
183
195
  dryRun,
@@ -209,6 +221,15 @@ export async function runGenerateCommand(context) {
209
221
  .map((step) => ` ${step}`)
210
222
  .join("\n")}`);
211
223
  },
224
+ onMiddlewareRegistered: (registration) => {
225
+ if (registration.registered) {
226
+ context.logger.info(`Registered in the middleware pipeline of ${registration.serverFile}.`);
227
+ return;
228
+ }
229
+ context.logger.warn(`Could not register the middleware automatically (the zudojs:server-imports or zudojs:server-middleware markers are missing). Add:\n${registration.manualSteps
230
+ .map((step) => ` ${step}`)
231
+ .join("\n")}`);
232
+ },
212
233
  }, cwd);
213
234
  if (dryRun) {
214
235
  context.logger.info(`Dry run: ${fileCount(result.length)} would be generated (nothing written):`);
@@ -249,7 +270,7 @@ async function runSchematic(schematic, name, options, cwd) {
249
270
  case "query":
250
271
  return await generateQuery({ name, ...(cqrsService ? { service: cqrsService } : {}), basePath, dryRun }, cwd);
251
272
  case "middleware":
252
- return await generateMiddleware({ name, basePath, dryRun }, cwd);
273
+ return await generateMiddleware({ name, basePath, dryRun, onRegistered: options.onMiddlewareRegistered }, cwd);
253
274
  case "event":
254
275
  return await generateEvent({ name, basePath, dryRun }, cwd);
255
276
  case "job":
@@ -269,4 +290,3 @@ async function runSchematic(schematic, name, options, cwd) {
269
290
  throw new CLIGenerationError(`Failed to generate ${schematic} "${name}": ${describeError(error)}`, error);
270
291
  }
271
292
  }
272
- //# sourceMappingURL=generate.command.js.map
@@ -9,4 +9,3 @@ export { runGenerateCommand } from "./generate.command.js";
9
9
  export { runAddCommand } from "./add.command.js";
10
10
  export { runDoctorCommand } from "./doctor.command.js";
11
11
  export { runInfoCommand } from "./info.command.js";
12
- //# sourceMappingURL=index.d.ts.map
@@ -9,4 +9,3 @@ export { runGenerateCommand } from "./generate.command.js";
9
9
  export { runAddCommand } from "./add.command.js";
10
10
  export { runDoctorCommand } from "./doctor.command.js";
11
11
  export { runInfoCommand } from "./info.command.js";
12
- //# sourceMappingURL=index.js.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  import type { CLIContext } from "../cliType/cliType.type.js";
7
7
  export declare function runInfoCommand(context: CLIContext): Promise<void>;
8
- //# sourceMappingURL=info.command.d.ts.map
@@ -82,4 +82,3 @@ export async function runInfoCommand(context) {
82
82
  context.logger.info(` ${name}: ${version}`);
83
83
  }
84
84
  }
85
- //# sourceMappingURL=info.command.js.map
@@ -83,4 +83,3 @@ export declare const FEATURE_NAMES: readonly string[];
83
83
  export declare const DEFAULT_ARCHITECTURE: "monolith";
84
84
  export declare const DEFAULT_PACKAGE_MANAGER: "pnpm";
85
85
  export declare const DEFAULT_DATABASE: "postgresql";
86
- //# sourceMappingURL=index.d.ts.map
@@ -158,4 +158,3 @@ export const FEATURE_NAMES = Object.freeze(FEATURE_CHOICES.map((choice) => choic
158
158
  export const DEFAULT_ARCHITECTURE = "monolith";
159
159
  export const DEFAULT_PACKAGE_MANAGER = "pnpm";
160
160
  export const DEFAULT_DATABASE = "postgresql";
161
- //# sourceMappingURL=index.js.map
@@ -6,4 +6,3 @@
6
6
  * Do not edit by hand; run `node scripts/generateZudojsVersions.mjs`.
7
7
  */
8
8
  export declare const ZUDOJS_PACKAGE_VERSIONS: Readonly<Record<string, string>>;
9
- //# sourceMappingURL=zudojsVersions.generated.d.ts.map
@@ -6,43 +6,42 @@
6
6
  * Do not edit by hand; run `node scripts/generateZudojsVersions.mjs`.
7
7
  */
8
8
  export const ZUDOJS_PACKAGE_VERSIONS = Object.freeze({
9
- "@zudojs/adapters": "1.2.2",
10
- "@zudojs/api": "1.2.2",
11
- "@zudojs/auth": "1.3.2",
12
- "@zudojs/auth-oauth": "1.2.4",
13
- "@zudojs/cache": "1.2.2",
14
- "@zudojs/config": "1.3.2",
15
- "@zudojs/constants": "1.1.3",
16
- "@zudojs/container": "1.2.2",
17
- "@zudojs/core": "1.2.3",
18
- "@zudojs/cqrs": "1.2.2",
19
- "@zudojs/crypto": "1.3.2",
20
- "@zudojs/database": "1.3.2",
21
- "@zudojs/docs": "1.0.5",
22
- "@zudojs/errors": "1.3.1",
23
- "@zudojs/events": "1.3.2",
24
- "@zudojs/feature-flags": "1.4.1",
25
- "@zudojs/http": "1.4.3",
26
- "@zudojs/lifecycle": "1.2.2",
27
- "@zudojs/logger": "1.4.2",
28
- "@zudojs/messaging": "1.2.2",
29
- "@zudojs/middleware": "1.1.1",
30
- "@zudojs/observability": "1.2.2",
31
- "@zudojs/openapi": "1.5.1",
32
- "@zudojs/permissions": "1.4.2",
33
- "@zudojs/plugins": "1.3.2",
34
- "@zudojs/queue": "1.5.0",
35
- "@zudojs/rpc": "1.4.2",
36
- "@zudojs/runtime": "1.3.2",
37
- "@zudojs/scheduler": "1.2.1",
38
- "@zudojs/schema": "1.2.2",
39
- "@zudojs/security": "1.3.2",
40
- "@zudojs/serialization": "1.2.2",
41
- "@zudojs/storage": "1.2.2",
42
- "@zudojs/tenancy": "1.3.2",
43
- "@zudojs/testing": "1.2.3",
44
- "@zudojs/transactions": "1.2.1",
45
- "@zudojs/types": "1.2.0",
46
- "@zudojs/validation": "1.1.1",
9
+ "@zudojs/adapters": "1.3.0",
10
+ "@zudojs/api": "1.2.4",
11
+ "@zudojs/auth": "1.4.0",
12
+ "@zudojs/auth-oauth": "1.2.6",
13
+ "@zudojs/cache": "1.2.4",
14
+ "@zudojs/config": "1.3.4",
15
+ "@zudojs/constants": "1.2.0",
16
+ "@zudojs/container": "1.3.0",
17
+ "@zudojs/core": "1.3.0",
18
+ "@zudojs/cqrs": "1.3.0",
19
+ "@zudojs/crypto": "1.4.0",
20
+ "@zudojs/database": "1.5.0",
21
+ "@zudojs/docs": "1.1.0",
22
+ "@zudojs/errors": "1.4.0",
23
+ "@zudojs/events": "1.4.0",
24
+ "@zudojs/feature-flags": "1.5.0",
25
+ "@zudojs/http": "1.5.0",
26
+ "@zudojs/lifecycle": "1.3.0",
27
+ "@zudojs/logger": "1.5.0",
28
+ "@zudojs/messaging": "1.2.4",
29
+ "@zudojs/middleware": "1.1.3",
30
+ "@zudojs/observability": "1.3.0",
31
+ "@zudojs/openapi": "1.6.0",
32
+ "@zudojs/permissions": "1.5.0",
33
+ "@zudojs/plugins": "1.4.0",
34
+ "@zudojs/queue": "1.6.0",
35
+ "@zudojs/rpc": "1.5.0",
36
+ "@zudojs/runtime": "1.4.0",
37
+ "@zudojs/scheduler": "1.3.0",
38
+ "@zudojs/schema": "1.3.0",
39
+ "@zudojs/security": "1.3.4",
40
+ "@zudojs/serialization": "1.3.0",
41
+ "@zudojs/storage": "1.3.0",
42
+ "@zudojs/tenancy": "1.4.0",
43
+ "@zudojs/testing": "1.3.0",
44
+ "@zudojs/transactions": "1.3.0",
45
+ "@zudojs/types": "1.3.0",
46
+ "@zudojs/validation": "1.2.0",
47
47
  });
48
- //# sourceMappingURL=zudojsVersions.generated.js.map
@@ -18,4 +18,3 @@ export declare const ZUDOJS_FALLBACK_VERSION_RANGE: "^1.0.0";
18
18
  export declare function zudojsVersionRange(name: string): string;
19
19
  /** `{ name: range }` for a list of `@zudojs/*` packages, deduplicated. */
20
20
  export declare function zudojsDependencies(names: readonly string[]): Record<string, string>;
21
- //# sourceMappingURL=zudojsVersions.helper.d.ts.map
@@ -26,4 +26,3 @@ export function zudojsVersionRange(name) {
26
26
  export function zudojsDependencies(names) {
27
27
  return Object.fromEntries([...new Set(names)].map((name) => [name, zudojsVersionRange(name)]));
28
28
  }
29
- //# sourceMappingURL=zudojsVersions.helper.js.map
@@ -5,4 +5,3 @@
5
5
  * `@zudojs/errors` and are re-exported here for existing imports.
6
6
  */
7
7
  export { CLIValidationError, CLIGenerationError, CLINotInProjectError, CLITemplateError, } from "@zudojs/errors";
8
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@
5
5
  * `@zudojs/errors` and are re-exported here for existing imports.
6
6
  */
7
7
  export { CLIValidationError, CLIGenerationError, CLINotInProjectError, CLITemplateError, } from "@zudojs/errors";
8
- //# sourceMappingURL=index.js.map
@@ -8,4 +8,3 @@ export declare class BackendGenerator {
8
8
  generate(options: ScaffoldOptions, basePath: string): Promise<Record<string, string>>;
9
9
  getSupportedArchitectures(): readonly string[];
10
10
  }
11
- //# sourceMappingURL=backend.generator.d.ts.map
@@ -21,4 +21,3 @@ export class BackendGenerator {
21
21
  return ["monolith", "modular-monolith", "microservice"];
22
22
  }
23
23
  }
24
- //# sourceMappingURL=backend.generator.js.map
@@ -4,4 +4,3 @@
4
4
  * Backend-specific generators for monolith, modular monolith, and microservice architectures.
5
5
  */
6
6
  export { BackendGenerator } from "./backend.generator.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Backend-specific generators for monolith, modular monolith, and microservice architectures.
5
5
  */
6
6
  export { BackendGenerator } from "./backend.generator.js";
7
- //# sourceMappingURL=index.js.map
@@ -16,4 +16,3 @@ export interface GenerateCommandOptions {
16
16
  * returns their paths (only the paths on a dry run).
17
17
  */
18
18
  export declare function generateCommand(options: GenerateCommandOptions, cwd: string): Promise<string[]>;
19
- //# sourceMappingURL=command.generator.d.ts.map
@@ -36,4 +36,3 @@ export async function generateCommand(options, cwd) {
36
36
  throw new CLIGenerationError(`Failed to generate command: ${names.slug} in ${servicePath}`, error);
37
37
  }
38
38
  }
39
- //# sourceMappingURL=command.generator.js.map
@@ -21,4 +21,3 @@ export declare function renderCommandFile(n: CqrsSchematicNames): string;
21
21
  export declare function renderCommandHandlerFile(n: CqrsSchematicNames): string;
22
22
  /** `index.ts`: the command folder's barrel. */
23
23
  export declare function renderCommandBarrel(n: CqrsSchematicNames): string;
24
- //# sourceMappingURL=command.template.d.ts.map
@@ -75,4 +75,3 @@ export function renderCommandBarrel(n) {
75
75
  export * from "./${n.slug}.handler.js";
76
76
  `;
77
77
  }
78
- //# sourceMappingURL=command.template.js.map
@@ -3,4 +3,3 @@
3
3
  * and a `CommandHandler` subclass for @zudojs/cqrs.
4
4
  */
5
5
  export * from "./command.generator.js";
6
- //# sourceMappingURL=index.d.ts.map
@@ -3,4 +3,3 @@
3
3
  * and a `CommandHandler` subclass for @zudojs/cqrs.
4
4
  */
5
5
  export * from "./command.generator.js";
6
- //# sourceMappingURL=index.js.map
@@ -9,4 +9,3 @@ export interface GenerateEventOptions {
9
9
  readonly dryRun?: boolean;
10
10
  }
11
11
  export declare function generateEvent(options: GenerateEventOptions, cwd: string): Promise<string[]>;
12
- //# sourceMappingURL=event.generator.d.ts.map
@@ -25,4 +25,3 @@ export interface ${namePascal}Event {
25
25
  await writeFileTree(cwd, files);
26
26
  return Object.keys(files);
27
27
  }
28
- //# sourceMappingURL=event.generator.js.map
@@ -2,4 +2,3 @@
2
2
  * zudojs-cli — Event Generator
3
3
  */
4
4
  export { generateEvent, type GenerateEventOptions } from "./event.generator.js";
5
- //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,3 @@
2
2
  * zudojs-cli — Event Generator
3
3
  */
4
4
  export { generateEvent } from "./event.generator.js";
5
- //# sourceMappingURL=index.js.map
@@ -43,4 +43,3 @@ export declare class FrontendGenerator {
43
43
  */
44
44
  getAvailableFrameworks(): readonly string[];
45
45
  }
46
- //# sourceMappingURL=frontendGenerator.core.d.ts.map
@@ -75,4 +75,3 @@ export class FrontendGenerator {
75
75
  return this.adapterRegistry.getNames();
76
76
  }
77
77
  }
78
- //# sourceMappingURL=frontendGenerator.core.js.map
@@ -28,4 +28,3 @@ export interface FrontendPipelineResult {
28
28
  * a pre-written file left the project with no Vite app at all.
29
29
  */
30
30
  export declare function runFrontendPipeline(adapter: FrontendAdapter, context: FrontendGenerationContext, packageManagerRegistry: PackageManagerRegistry, dependencyResolver: DependencyResolver, postScaffoldFiles?: Readonly<Record<string, string>>): Promise<FrontendPipelineResult>;
31
- //# sourceMappingURL=frontendPipeline.d.ts.map