generator-jhipster 9.1.0 → 9.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 (469) hide show
  1. package/README.md +6 -0
  2. package/dist/.blueprint/github-build-matrix/support/integration-test-constants.d.ts +18 -0
  3. package/dist/.blueprint/github-build-matrix/support/integration-test-constants.js +18 -0
  4. package/dist/cli/cli-command.d.ts +16 -0
  5. package/dist/cli/jhipster-command.d.ts +2 -2
  6. package/dist/cli/jhipster-command.js +2 -2
  7. package/dist/cli/types.d.ts +36 -0
  8. package/dist/generators/angular/files-angular.js +2 -2
  9. package/dist/generators/angular/generator.js +3 -3
  10. package/dist/generators/angular/resources/package.json +16 -16
  11. package/dist/generators/angular/templates/.gitignore.jhi.angular.ejs +27 -0
  12. package/dist/generators/angular/templates/angular.json.ejs +2 -1
  13. package/dist/generators/angular/templates/angular.json.esbuild.ejs +2 -11
  14. package/dist/generators/angular/templates/build-plugins/define-esbuild.ts.ejs +13 -11
  15. package/dist/generators/angular/templates/eslint.config.ts.jhi.angular.ejs +1 -1
  16. package/dist/generators/angular/templates/src/main/webapp/app/account/activate/activate.service.spec.ts.ejs +0 -2
  17. package/dist/generators/angular/templates/src/main/webapp/app/account/activate/activate.spec.ts.ejs +6 -8
  18. package/dist/generators/angular/templates/src/main/webapp/app/account/activate/activate.ts.ejs +1 -2
  19. package/dist/generators/angular/templates/src/main/webapp/app/account/password/password-strength-bar/password-strength-bar.spec.ts.ejs +3 -5
  20. package/dist/generators/angular/templates/src/main/webapp/app/account/password/password-strength-bar/password-strength-bar.ts.ejs +1 -2
  21. package/dist/generators/angular/templates/src/main/webapp/app/account/password/password.service.spec.ts.ejs +0 -2
  22. package/dist/generators/angular/templates/src/main/webapp/app/account/password/password.spec.ts.ejs +4 -6
  23. package/dist/generators/angular/templates/src/main/webapp/app/account/password/password.ts.ejs +2 -2
  24. package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/finish/password-reset-finish.service.spec.ts.ejs +0 -2
  25. package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/finish/password-reset-finish.spec.ts.ejs +6 -8
  26. package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/finish/password-reset-finish.ts.ejs +2 -2
  27. package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/init/password-reset-init.service.spec.ts.ejs +0 -2
  28. package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/init/password-reset-init.spec.ts.ejs +7 -9
  29. package/dist/generators/angular/templates/src/main/webapp/app/account/password-reset/init/password-reset-init.ts.ejs +2 -2
  30. package/dist/generators/angular/templates/src/main/webapp/app/account/register/register.service.spec.ts.ejs +0 -2
  31. package/dist/generators/angular/templates/src/main/webapp/app/account/register/register.spec.ts.ejs +8 -10
  32. package/dist/generators/angular/templates/src/main/webapp/app/account/register/register.ts.ejs +3 -3
  33. package/dist/generators/angular/templates/src/main/webapp/app/account/sessions/sessions.spec.ts.ejs +11 -13
  34. package/dist/generators/angular/templates/src/main/webapp/app/account/sessions/sessions.ts.ejs +1 -2
  35. package/dist/generators/angular/templates/src/main/webapp/app/account/settings/settings.spec.ts.ejs +8 -10
  36. package/dist/generators/angular/templates/src/main/webapp/app/account/settings/settings.ts.ejs +2 -2
  37. package/dist/generators/angular/templates/src/main/webapp/app/admin/configuration/configuration.html.ejs +2 -2
  38. package/dist/generators/angular/templates/src/main/webapp/app/admin/configuration/configuration.service.spec.ts.ejs +0 -2
  39. package/dist/generators/angular/templates/src/main/webapp/app/admin/configuration/configuration.spec.ts.ejs +2 -4
  40. package/dist/generators/angular/templates/src/main/webapp/app/admin/configuration/configuration.ts.ejs +1 -2
  41. package/dist/generators/angular/templates/src/main/webapp/app/admin/gateway/gateway.ts.ejs +1 -2
  42. package/dist/generators/angular/templates/src/main/webapp/app/admin/health/health.service.spec.ts.ejs +0 -2
  43. package/dist/generators/angular/templates/src/main/webapp/app/admin/health/health.spec.ts.ejs +6 -8
  44. package/dist/generators/angular/templates/src/main/webapp/app/admin/health/health.ts.ejs +0 -2
  45. package/dist/generators/angular/templates/src/main/webapp/app/admin/health/modal/health-modal.spec.ts.ejs +2 -4
  46. package/dist/generators/angular/templates/src/main/webapp/app/admin/health/modal/health-modal.ts.ejs +0 -2
  47. package/dist/generators/angular/templates/src/main/webapp/app/admin/logs/logs.html.ejs +2 -2
  48. package/dist/generators/angular/templates/src/main/webapp/app/admin/logs/logs.service.spec.ts.ejs +0 -2
  49. package/dist/generators/angular/templates/src/main/webapp/app/admin/logs/logs.spec.ts.ejs +3 -5
  50. package/dist/generators/angular/templates/src/main/webapp/app/admin/logs/logs.ts.ejs +0 -2
  51. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/jvm-memory/jvm-memory.ts.ejs +1 -2
  52. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/jvm-threads/jvm-threads.ts.ejs +1 -2
  53. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-cache/metrics-cache.ts.ejs +1 -2
  54. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-datasource/metrics-datasource.ts.ejs +1 -2
  55. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-garbagecollector/metrics-garbagecollector.ts.ejs +1 -2
  56. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-modal-threads/metrics-modal-threads.spec.ts.ejs +6 -6
  57. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-modal-threads/metrics-modal-threads.ts.ejs +1 -2
  58. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/blocks/metrics-request/metrics-request.ts.ejs +1 -2
  59. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/metrics.service.spec.ts.ejs +0 -2
  60. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/metrics.spec.ts.ejs +6 -8
  61. package/dist/generators/angular/templates/src/main/webapp/app/admin/metrics/metrics.ts.ejs +0 -2
  62. package/dist/generators/angular/templates/src/main/webapp/app/admin/tracker/tracker.ts.ejs +0 -2
  63. package/dist/generators/angular/templates/src/main/webapp/app/app.config.ts.ejs +5 -5
  64. package/dist/generators/angular/templates/src/main/webapp/app/app.ts.ejs +0 -4
  65. package/dist/generators/angular/templates/src/main/webapp/app/core/auth/account.service.spec.ts.ejs +10 -14
  66. package/dist/generators/angular/templates/src/main/webapp/app/core/auth/auth-jwt.service.spec.ts.ejs +3 -5
  67. package/dist/generators/angular/templates/src/main/webapp/app/core/config/application-config.service.spec.ts.ejs +0 -2
  68. package/dist/generators/angular/templates/src/main/webapp/app/core/microfrontend/index.ts.ejs +1 -8
  69. package/dist/generators/angular/templates/src/main/webapp/app/core/util/alert.service.spec.ts.ejs +19 -21
  70. package/dist/generators/angular/templates/src/main/webapp/app/core/util/data-util.service.spec.ts.ejs +2 -4
  71. package/dist/generators/angular/templates/src/main/webapp/app/core/util/event-manager.service.spec.ts.ejs +0 -2
  72. package/dist/generators/angular/templates/src/main/webapp/app/core/util/operators.spec.ts.ejs +0 -2
  73. package/dist/generators/angular/templates/src/main/webapp/app/core/util/parse-links.service.spec.ts.ejs +0 -2
  74. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/delete/_entityFile_-delete-dialog.spec.ts.ejs +5 -7
  75. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/delete/_entityFile_-delete-dialog.ts.ejs +0 -2
  76. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/detail/_entityFile_-detail.html.ejs +1 -1
  77. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/detail/_entityFile_-detail.spec.ts.ejs +9 -15
  78. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/detail/_entityFile_-detail.ts.ejs +2 -4
  79. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/list/_entityFile_.spec.ts.ejs +11 -15
  80. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/list/_entityFile_.ts.ejs +2 -2
  81. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/route/_entityFile_-routing-resolve.service.spec.ts.ejs +6 -8
  82. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/service/_entityFile_.service.spec.ts.ejs +1 -3
  83. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/service/_entityFile_.service.ts.ejs +9 -7
  84. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/update/_entityFile_-form.service.spec.ts.ejs +0 -2
  85. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/update/_entityFile_-update.html.ejs +18 -16
  86. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/update/_entityFile_-update.spec.ts.ejs +41 -18
  87. package/dist/generators/angular/templates/src/main/webapp/app/entities/_entityFolder_/update/_entityFile_-update.ts.ejs +11 -5
  88. package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/detail/user-management-detail.spec.ts.ejs +3 -5
  89. package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/detail/user-management-detail.ts.ejs +1 -2
  90. package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/list/user-management.spec.ts.ejs +11 -10
  91. package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/list/user-management.ts.ejs +0 -2
  92. package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/service/user-management.service.spec.ts.ejs +0 -2
  93. package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/update/user-management-update.spec.ts.ejs +5 -7
  94. package/dist/generators/angular/templates/src/main/webapp/app/entities/admin/user-management/update/user-management-update.ts.ejs +0 -2
  95. package/dist/generators/angular/templates/src/main/webapp/app/home/home.spec.ts.ejs +7 -9
  96. package/dist/generators/angular/templates/src/main/webapp/app/home/home.ts.ejs +0 -2
  97. package/dist/generators/angular/templates/src/main/webapp/app/layouts/error/error.ts.ejs +2 -4
  98. package/dist/generators/angular/templates/src/main/webapp/app/layouts/main/main.spec.ts.ejs +9 -11
  99. package/dist/generators/angular/templates/src/main/webapp/app/layouts/main/main.ts.ejs +5 -3
  100. package/dist/generators/angular/templates/src/main/webapp/app/layouts/navbar/active-menu.directive.ts.ejs +1 -1
  101. package/dist/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.spec.ts.ejs +5 -7
  102. package/dist/generators/angular/templates/src/main/webapp/app/layouts/navbar/navbar.ts.ejs +5 -17
  103. package/dist/generators/angular/templates/src/main/webapp/app/layouts/profiles/page-ribbon.spec.ts.ejs +1 -3
  104. package/dist/generators/angular/templates/src/main/webapp/app/layouts/profiles/page-ribbon.ts.ejs +1 -2
  105. package/dist/generators/angular/templates/src/main/webapp/app/login/login.spec.ts.ejs +12 -14
  106. package/dist/generators/angular/templates/src/main/webapp/app/login/login.ts.ejs +2 -2
  107. package/dist/generators/angular/templates/src/main/webapp/app/shared/alert/alert-error.spec.ts.ejs +18 -21
  108. package/dist/generators/angular/templates/src/main/webapp/app/shared/alert/alert.spec.ts.ejs +2 -4
  109. package/dist/generators/angular/templates/src/main/webapp/app/shared/auth/has-any-authority.directive.spec.ts.ejs +4 -6
  110. package/dist/generators/angular/templates/src/main/webapp/app/shared/date/format-medium-date.pipe.spec.ts.ejs +0 -2
  111. package/dist/generators/angular/templates/src/main/webapp/app/shared/date/format-medium-datetime.pipe.spec.ts.ejs +0 -2
  112. package/dist/generators/angular/templates/src/main/webapp/app/shared/filter/filter.model.spec.ts.ejs +12 -14
  113. package/dist/generators/angular/templates/src/main/webapp/app/shared/filter/filter.ts.ejs +2 -2
  114. package/dist/generators/angular/templates/src/main/webapp/app/shared/language/translate.directive.spec.ts.ejs +3 -5
  115. package/dist/generators/angular/templates/src/main/webapp/app/shared/language/translation.provider.ts.ejs +72 -0
  116. package/dist/generators/angular/templates/src/main/webapp/app/shared/pagination/item-count.spec.ts.ejs +4 -8
  117. package/dist/generators/angular/templates/src/main/webapp/app/shared/sort/sort-by.directive.spec.ts.ejs +2 -4
  118. package/dist/generators/angular/templates/src/main/webapp/app/shared/sort/sort.directive.spec.ts.ejs +1 -3
  119. package/dist/generators/angular/templates/src/main/webapp/app/shared/sort/sort.service.spec.ts.ejs +0 -2
  120. package/dist/generators/angular/templates/webpack/webpack.microfrontend.js.ejs +1 -1
  121. package/dist/generators/app/command.d.ts +0 -7
  122. package/dist/generators/app/command.js +0 -7
  123. package/dist/generators/app/generator.js +2 -6
  124. package/dist/generators/base/command.d.ts +7 -0
  125. package/dist/generators/base/command.js +7 -0
  126. package/dist/generators/base/generator.d.ts +11 -0
  127. package/dist/generators/base/generator.js +15 -0
  128. package/dist/generators/base/support/constants.d.ts +18 -0
  129. package/dist/generators/base/support/constants.js +18 -0
  130. package/dist/generators/base/tasks.d.ts +1 -0
  131. package/dist/generators/base-application/entity.d.ts +18 -0
  132. package/dist/generators/base-application/entity.js +18 -0
  133. package/dist/generators/base-application/generator.js +2 -1
  134. package/dist/generators/base-application/internal/types/field-types.d.ts +18 -0
  135. package/dist/generators/base-application/internal/types/field-types.js +18 -0
  136. package/dist/generators/base-application/priorities.d.ts +2 -0
  137. package/dist/generators/base-application/priorities.js +1 -0
  138. package/dist/generators/base-application/support/update-application-entities-transform.d.ts +18 -0
  139. package/dist/generators/base-application/support/update-application-entities-transform.js +18 -0
  140. package/dist/generators/base-core/generator.d.ts +1 -0
  141. package/dist/generators/base-core/generator.js +4 -3
  142. package/dist/generators/base-core/internal/config-def.d.ts +18 -0
  143. package/dist/generators/base-core/internal/config-def.js +18 -0
  144. package/dist/generators/base-core/internal/jhipster7-context.d.ts +18 -0
  145. package/dist/generators/base-core/internal/jhipster7-context.js +18 -0
  146. package/dist/generators/base-core/priorities.d.ts +2 -0
  147. package/dist/generators/base-core/priorities.js +12 -1
  148. package/dist/generators/base-simple-application/application.d.ts +0 -2
  149. package/dist/generators/base-simple-application/generator.js +2 -1
  150. package/dist/generators/base-simple-application/generators/bootstrap/generator.js +0 -1
  151. package/dist/generators/base-simple-application/tasks.d.ts +1 -0
  152. package/dist/generators/base-workspaces/command.d.ts +18 -0
  153. package/dist/generators/base-workspaces/command.js +18 -0
  154. package/dist/generators/base-workspaces/internal/docker-base.js +2 -2
  155. package/dist/generators/base-workspaces/priorities.d.ts +2 -0
  156. package/dist/generators/base-workspaces/prompts.d.ts +18 -0
  157. package/dist/generators/base-workspaces/prompts.js +18 -0
  158. package/dist/generators/bootstrap/internal/transform-utils.d.ts +18 -0
  159. package/dist/generators/bootstrap/internal/transform-utils.js +18 -0
  160. package/dist/generators/bootstrap/support/eslint-worker.d.ts +18 -0
  161. package/dist/generators/bootstrap/support/eslint-worker.js +18 -0
  162. package/dist/generators/bootstrap/support/multi-step-transform/template-data.d.ts +18 -0
  163. package/dist/generators/bootstrap/support/multi-step-transform/template-data.js +18 -0
  164. package/dist/generators/bootstrap/support/multi-step-transform/template-file.d.ts +18 -0
  165. package/dist/generators/bootstrap/support/multi-step-transform/template-file.js +18 -0
  166. package/dist/generators/bootstrap/support/prettier-worker.d.ts +18 -0
  167. package/dist/generators/bootstrap/support/prettier-worker.js +18 -0
  168. package/dist/generators/ci-cd/generators/azure/templates/azure-pipelines.yml.ejs +0 -2
  169. package/dist/generators/ci-cd/generators/bootstrap/resources/dependabot/action.yml +1 -1
  170. package/dist/generators/ci-cd/generators/circle/templates/.circleci/config.yml.ejs +1 -6
  171. package/dist/generators/ci-cd/generators/github/templates/.github/workflows/main.yml.ejs +0 -2
  172. package/dist/generators/client/command.d.ts +2 -2
  173. package/dist/generators/client/command.js +2 -2
  174. package/dist/generators/client/generators/bootstrap/generator.d.ts +798 -66
  175. package/dist/generators/client/generators/bootstrap/generator.js +6 -6
  176. package/dist/generators/client/resources/package.json +1 -1
  177. package/dist/generators/client/support/files.d.ts +18 -0
  178. package/dist/generators/client/support/files.js +18 -0
  179. package/dist/generators/client/templates/README.md.jhi.client.ejs +1 -2
  180. package/dist/generators/common/command.d.ts +18 -0
  181. package/dist/generators/common/command.js +13 -0
  182. package/dist/generators/common/resources/package.json +2 -2
  183. package/dist/generators/cypress/resources/package.json +3 -3
  184. package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/account/password-page.cy.ts.ejs +1 -1
  185. package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/account/register-page.cy.ts.ejs +1 -1
  186. package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/account/reset-password-page.cy.ts.ejs +1 -1
  187. package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/account/settings-page.cy.ts.ejs +1 -1
  188. package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/administration/administration.cy.ts.ejs +0 -2
  189. package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/entity/_entity_.cy.ts.ejs +20 -20
  190. package/dist/generators/cypress/templates/src/test/javascript/cypress/e2e/lighthouse.audits.ts.ejs +3 -1
  191. package/dist/generators/docker/files.d.ts +18 -0
  192. package/dist/generators/docker/files.js +18 -0
  193. package/dist/generators/docker-compose/command.d.ts +18 -0
  194. package/dist/generators/docker-compose/command.js +18 -0
  195. package/dist/generators/entity/support/asserts.js +2 -2
  196. package/dist/generators/generate-blueprint/generators/standalone/generator.js +2 -2
  197. package/dist/generators/generate-blueprint/generators/standalone/templates/.blueprint/generate-sample/command.ts.ejs +4 -4
  198. package/dist/generators/generate-blueprint/generators/standalone/templates/.blueprint/github-build-matrix/command.ts.ejs +4 -4
  199. package/dist/generators/generate-blueprint/generators/standalone/templates/.github/workflows/build-cache.yml.ejs +2 -0
  200. package/dist/generators/generate-blueprint/generators/standalone/templates/.github/workflows/samples.yml.ejs +4 -0
  201. package/dist/generators/generate-blueprint/generators/standalone/templates/tsconfig.json.ejs +7 -2
  202. package/dist/generators/generate-blueprint/internal/lookup-namespaces.d.ts +18 -0
  203. package/dist/generators/generate-blueprint/internal/lookup-namespaces.js +18 -0
  204. package/dist/generators/generate-blueprint/resources/package.json +3 -3
  205. package/dist/generators/generate-blueprint/templates/generators/generator/command.ts.ejs +3 -1
  206. package/dist/generators/heroku/templates.d.ts +18 -0
  207. package/dist/generators/heroku/templates.js +18 -0
  208. package/dist/generators/index.d.ts +18 -0
  209. package/dist/generators/index.js +18 -0
  210. package/dist/generators/info/command.d.ts +5 -0
  211. package/dist/generators/info/command.js +5 -0
  212. package/dist/generators/info/index.d.ts +1 -0
  213. package/dist/generators/info/index.js +1 -0
  214. package/dist/generators/info/support/extract-info.d.ts +18 -0
  215. package/dist/generators/info/support/extract-info.js +19 -1
  216. package/dist/generators/info/support/markdown-content.d.ts +18 -0
  217. package/dist/generators/info/support/markdown-content.js +18 -0
  218. package/dist/generators/init/generator.js +3 -3
  219. package/dist/generators/init/resources/.node-version +1 -1
  220. package/dist/generators/java/generators/bootstrap/generator.js +0 -2
  221. package/dist/generators/java/generators/domain/templates/src/main/java/_package_/_entityPackage_/domain/_persistClass_.java.jhi.ejs +13 -7
  222. package/dist/generators/java/generators/domain/templates/src/test/java/_package_/_entityPackage_/domain/_persistClass_Test.java.ejs +8 -16
  223. package/dist/generators/java/generators/server/generator.js +1 -1
  224. package/dist/generators/java/support/artifacts.d.ts +18 -0
  225. package/dist/generators/java/support/artifacts.js +18 -0
  226. package/dist/generators/java/support/checks/index.d.ts +18 -0
  227. package/dist/generators/java/support/checks/index.js +18 -0
  228. package/dist/generators/java/support/java-enum.d.ts +18 -0
  229. package/dist/generators/java/support/java-enum.js +18 -0
  230. package/dist/generators/java/support/key-store.d.ts +18 -0
  231. package/dist/generators/java/support/key-store.js +18 -0
  232. package/dist/generators/java/support/prepare-entity.d.ts +18 -0
  233. package/dist/generators/java/support/prepare-entity.js +18 -0
  234. package/dist/generators/java/support/util.d.ts +18 -0
  235. package/dist/generators/java/support/util.js +18 -0
  236. package/dist/generators/java-simple-application/application.d.ts +1 -1
  237. package/dist/generators/java-simple-application/generator.d.ts +1 -1
  238. package/dist/generators/java-simple-application/generator.js +2 -1
  239. package/dist/generators/java-simple-application/generators/code-quality/templates/buildSrc/src/main/groovy/jhipster.code-quality-conventions.gradle.ejs +1 -1
  240. package/dist/generators/java-simple-application/generators/code-quality/templates/checkstyle.xml.ejs +1 -11
  241. package/dist/generators/java-simple-application/generators/graalvm/internal/constants.d.ts +19 -1
  242. package/dist/generators/java-simple-application/generators/graalvm/internal/constants.js +19 -1
  243. package/dist/generators/java-simple-application/generators/graalvm/internal/maven-definition.d.ts +18 -0
  244. package/dist/generators/java-simple-application/generators/graalvm/internal/maven-definition.js +18 -0
  245. package/dist/generators/java-simple-application/generators/graalvm/resources/gradle/libs.versions.toml +1 -1
  246. package/dist/generators/java-simple-application/generators/gradle/templates/gradle/wrapper/gradle-wrapper.properties +1 -1
  247. package/dist/generators/java-simple-application/generators/gradle/types.d.ts +2 -4
  248. package/dist/generators/javascript-simple-application/command.d.ts +5 -0
  249. package/dist/generators/javascript-simple-application/command.js +5 -0
  250. package/dist/generators/javascript-simple-application/generator.js +2 -3
  251. package/dist/generators/javascript-simple-application/index.d.ts +1 -0
  252. package/dist/generators/javascript-simple-application/index.js +1 -0
  253. package/dist/generators/javascript-simple-application/resources/package.json +2 -2
  254. package/dist/generators/jdl/command.d.ts +18 -0
  255. package/dist/generators/jdl/command.js +18 -0
  256. package/dist/generators/jdl/support/export-jdl-transform.d.ts +18 -0
  257. package/dist/generators/jdl/support/export-jdl-transform.js +18 -0
  258. package/dist/generators/jdl/support/import-jdl-transform.d.ts +18 -0
  259. package/dist/generators/jdl/support/import-jdl-transform.js +18 -0
  260. package/dist/generators/jdl/support/index.d.ts +18 -0
  261. package/dist/generators/jdl/support/index.js +18 -0
  262. package/dist/generators/kubernetes/generator.js +1 -1
  263. package/dist/generators/kubernetes/generators/knative/generator.js +1 -1
  264. package/dist/generators/kubernetes/generators/knative/templates/kubectl-apply.sh.ejs +0 -2
  265. package/dist/generators/liquibase/generator.js +1 -1
  266. package/dist/generators/liquibase/support/maven-plugin.d.ts +18 -0
  267. package/dist/generators/liquibase/support/maven-plugin.js +18 -0
  268. package/dist/generators/liquibase/templates/src/main/resources/config/liquibase/changelog/add_relationship_constraints.ejs +6 -8
  269. package/dist/generators/liquibase/templates/src/main/resources/config/liquibase/changelog/updated_entity.xml.ejs +47 -59
  270. package/dist/generators/liquibase/templates/src/main/resources/config/liquibase/fake-data/table_entity.csv.ejs +0 -1
  271. package/dist/generators/project-name/application.d.ts +18 -0
  272. package/dist/generators/project-name/application.js +18 -0
  273. package/dist/generators/project-name/generator.d.ts +3 -19
  274. package/dist/generators/project-name/generator.js +30 -5
  275. package/dist/generators/project-name/generators/bootstrap/generator.d.ts +0 -18
  276. package/dist/generators/project-name/generators/bootstrap/generator.js +5 -0
  277. package/dist/generators/react/command.d.ts +5 -0
  278. package/dist/generators/react/command.js +5 -0
  279. package/dist/generators/react/generator.js +0 -6
  280. package/dist/generators/react/index.d.ts +1 -0
  281. package/dist/generators/react/index.js +1 -0
  282. package/dist/generators/react/resources/package.json +26 -27
  283. package/dist/generators/react/templates/package.json.ejs +5 -0
  284. package/dist/generators/react/templates/src/main/webapp/app/app.scss.ejs +0 -34
  285. package/dist/generators/react/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_.tsx.ejs +0 -2
  286. package/dist/generators/react/templates/src/main/webapp/app/entities/reducers.ts.ejs +1 -1
  287. package/dist/generators/react/templates/src/main/webapp/app/entities/routes.tsx.ejs +0 -2
  288. package/dist/generators/react/templates/src/main/webapp/app/index.tsx.ejs +15 -0
  289. package/dist/generators/react/templates/src/main/webapp/app/modules/account/activate/activate.reducer.ts.ejs +1 -1
  290. package/dist/generators/react/templates/src/main/webapp/app/modules/account/password/password.reducer.ts.ejs +1 -1
  291. package/dist/generators/react/templates/src/main/webapp/app/modules/account/password-reset/password-reset.reducer.ts.ejs +1 -1
  292. package/dist/generators/react/templates/src/main/webapp/app/modules/account/register/register.reducer.ts.ejs +1 -1
  293. package/dist/generators/react/templates/src/main/webapp/app/modules/account/sessions/sessions.reducer.ts.ejs +1 -1
  294. package/dist/generators/react/templates/src/main/webapp/app/modules/account/settings/settings.reducer.ts.ejs +1 -1
  295. package/dist/generators/react/templates/src/main/webapp/app/modules/administration/administration.reducer.ts.ejs +1 -1
  296. package/dist/generators/react/templates/src/main/webapp/app/modules/administration/user-management/user-management.reducer.ts.ejs +1 -1
  297. package/dist/generators/react/templates/src/main/webapp/app/modules/home/home.tsx.ejs +1 -4
  298. package/dist/generators/react/templates/src/main/webapp/app/routes.tsx.ejs +4 -8
  299. package/dist/generators/react/templates/src/main/webapp/app/shared/layout/header/header-components.tsx.ejs +2 -2
  300. package/dist/generators/react/templates/src/main/webapp/app/shared/layout/header/header.spec.tsx.ejs +3 -2
  301. package/dist/generators/react/templates/src/main/webapp/app/shared/layout/menus/entities.tsx.ejs +3 -6
  302. package/dist/generators/react/templates/src/main/webapp/app/shared/layout/menus/menu-item.tsx.ejs +1 -1
  303. package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/application-profile.ts.ejs +1 -1
  304. package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/authentication.spec.ts.ejs +5 -5
  305. package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/authentication.ts.ejs +1 -1
  306. package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/index.ts.ejs +2 -4
  307. package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/locale.ts.ejs +1 -1
  308. package/dist/generators/react/templates/src/main/webapp/app/shared/reducers/user-management.ts.ejs +1 -1
  309. package/dist/generators/react/templates/webpack/webpack.common.js.ejs +1 -1
  310. package/dist/generators/server/generators/bootstrap/generator.d.ts +6 -2
  311. package/dist/generators/server/generators/bootstrap/generator.js +7 -6
  312. package/dist/generators/server/resources/Dockerfile +14 -14
  313. package/dist/generators/server/resources/gradle/libs.versions.toml +11 -11
  314. package/dist/generators/server/resources/pom.xml +8 -8
  315. package/dist/generators/server/support/build-specification-mapper.d.ts +18 -0
  316. package/dist/generators/server/support/build-specification-mapper.js +18 -0
  317. package/dist/generators/server/support/database.d.ts +1 -1
  318. package/dist/generators/server/support/database.js +1 -1
  319. package/dist/generators/server/support/prepare-relationship.d.ts +18 -0
  320. package/dist/generators/server/support/prepare-relationship.js +18 -0
  321. package/dist/generators/spring-boot/generators/cache/generator.js +3 -4
  322. package/dist/generators/spring-boot/generators/cache/resources/gradle/libs.versions.toml +3 -3
  323. package/dist/generators/spring-boot/generators/cache/templates/src/main/java/_package_/config/CacheConfiguration_redis.java.ejs +0 -2
  324. package/dist/generators/spring-boot/generators/data-couchbase/templates/src/main/java/_package_/_entityPackage_/domain/_persistClass_.java.jhi.spring_data_couchbase.ejs +1 -5
  325. package/dist/generators/spring-boot/generators/data-couchbase/templates/src/main/java/_package_/_entityPackage_/repository/_entityClass_Repository.java.ejs +5 -25
  326. package/dist/generators/spring-boot/generators/data-mongodb/templates/src/main/java/_package_/_entityPackage_/domain/_persistClass_.java.jhi.spring_data_mongodb.ejs +2 -4
  327. package/dist/generators/spring-boot/generators/data-neo4j/generator.d.ts +2 -2
  328. package/dist/generators/spring-boot/generators/data-neo4j/generator.js +6 -0
  329. package/dist/generators/spring-boot/generators/data-relational/templates/src/main/java/_package_/_entityPackage_/domain/_persistClass_.java.jhi.spring_data_reactive.ejs +1 -1
  330. package/dist/generators/spring-boot/generators/data-relational/templates/src/main/java/_package_/_entityPackage_/repository/_entityClass_Repository.java.ejs +3 -13
  331. package/dist/generators/spring-boot/generators/data-relational/templates/src/main/java/_package_/_entityPackage_/repository/_entityClass_RepositoryInternalImpl_reactive.java.ejs +10 -5
  332. package/dist/generators/spring-boot/generators/data-relational/templates/src/main/java/_package_/_entityPackage_/repository/rowmapper/_entityClass_RowMapper_reactive.java.ejs +12 -6
  333. package/dist/generators/spring-boot/resources/spring-boot-dependencies-4.json +85 -85
  334. package/dist/generators/spring-boot/resources/spring-boot-dependencies-4.pom +343 -343
  335. package/dist/generators/spring-boot/resources/spring-boot-dependencies.json +83 -83
  336. package/dist/generators/spring-boot/resources/spring-boot-dependencies.pom +116 -116
  337. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/get_all_stream_template.ejs +2 -3
  338. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/inject_template.ejs +0 -1
  339. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/save_user_snapshot_template.ejs +31 -0
  340. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/search_template.ejs +1 -2
  341. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/_partials_entity_/validate_id_template.ejs +24 -0
  342. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/repository/UserRepository.java.ejs +3 -13
  343. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/service/UserService.java.ejs +1 -2
  344. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/service/impl/_entityClass_ServiceImpl.java.ejs +4 -8
  345. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/service/mapper/_entityClass_Mapper.java.ejs +2 -4
  346. package/dist/generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/web/rest/_entityClass_Resource.java.ejs +15 -66
  347. package/dist/generators/spring-boot/templates/src/main/java/_package_/config/SecurityConfiguration_imperative.java.ejs +1 -3
  348. package/dist/generators/spring-boot/templates/src/main/java/_package_/config/SecurityConfiguration_reactive.java.ejs +2 -2
  349. package/dist/generators/spring-boot/templates/src/main/java/_package_/config/WebConfigurer.java.ejs +1 -2
  350. package/dist/generators/spring-boot/templates/src/main/java/_package_/domain/AbstractAuditingEntity.java.ejs +10 -20
  351. package/dist/generators/spring-boot/templates/src/main/java/_package_/domain/PersistentToken.java.ejs +2 -4
  352. package/dist/generators/spring-boot/templates/src/main/java/_package_/domain/User.java.ejs +10 -20
  353. package/dist/generators/spring-boot/templates/src/main/java/_package_/repository/PersistentTokenRepository.java.ejs +0 -2
  354. package/dist/generators/spring-boot/templates/src/main/java/_package_/security/DomainUserDetailsService.java.ejs +0 -3
  355. package/dist/generators/spring-boot/templates/src/main/java/_package_/security/SecurityUtils.java.ejs +2 -9
  356. package/dist/generators/spring-boot/templates/src/main/java/_package_/web/rest/AccountResource.java.ejs +41 -5
  357. package/dist/generators/spring-boot/templates/src/main/java/_package_/web/rest/AccountResource_skipUserManagement.java.ejs +0 -1
  358. package/dist/generators/spring-boot/templates/src/main/java/_package_/web/rest/errors/ExceptionTranslator.java.ejs +6 -5
  359. package/dist/generators/spring-boot/templates/src/main/resources/config/application-dev.yml.ejs +1 -1
  360. package/dist/generators/spring-boot/templates/src/main/resources/config/application.yml.ejs +1 -1
  361. package/dist/generators/spring-boot/templates/src/test/java/_package_/_entityPackage_/service/UserServiceIT.java.ejs +3 -5
  362. package/dist/generators/spring-boot/templates/src/test/java/_package_/_entityPackage_/web/rest/PublicUserResourceIT.java.ejs +3 -9
  363. package/dist/generators/spring-boot/templates/src/test/java/_package_/_entityPackage_/web/rest/UserResourceIT.java.ejs +6 -12
  364. package/dist/generators/spring-boot/templates/src/test/java/_package_/_entityPackage_/web/rest/_entityClass_ResourceIT.java.ejs +217 -255
  365. package/dist/generators/spring-boot/templates/src/test/java/_package_/security/SecurityUtilsUnitTest_imperative.java.ejs +1 -1
  366. package/dist/generators/spring-boot/templates/src/test/java/_package_/service/MailServiceIT.java.ejs +2 -5
  367. package/dist/generators/spring-boot/templates/src/test/java/_package_/service/mapper/UserMapperTest.java.ejs +3 -2
  368. package/dist/generators/spring-boot/templates/src/test/java/_package_/web/rest/AccountResourceIT.java.ejs +41 -7
  369. package/dist/generators/spring-boot/types.d.ts +1 -2
  370. package/dist/generators/spring-cloud/generators/feign-client/files.d.ts +18 -0
  371. package/dist/generators/spring-cloud/generators/feign-client/files.js +18 -0
  372. package/dist/generators/spring-cloud/resources/gradle/libs.versions.toml +2 -2
  373. package/dist/generators/upgrade/support/constants.d.ts +18 -0
  374. package/dist/generators/upgrade/support/constants.js +18 -0
  375. package/dist/generators/upgrade/support/index.d.ts +18 -0
  376. package/dist/generators/upgrade/support/index.js +18 -0
  377. package/dist/generators/vue/command.d.ts +5 -0
  378. package/dist/generators/vue/command.js +5 -0
  379. package/dist/generators/vue/index.d.ts +1 -0
  380. package/dist/generators/vue/index.js +1 -0
  381. package/dist/generators/vue/resources/package.json +32 -32
  382. package/dist/generators/vue/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_-update.vue.ejs +7 -2
  383. package/dist/generators/vue/templates/src/main/webapp/app/entities/_entityFolder_/_entityFile_.service.spec.ts.ejs +2 -1
  384. package/dist/generators/vue/templates/src/main/webapp/app/router/account.ts.ejs +1 -1
  385. package/dist/generators/vue/templates/src/main/webapp/app/shared/alert/alert.service.ts.ejs +0 -2
  386. package/dist/generators/workspaces/command.d.ts +18 -0
  387. package/dist/generators/workspaces/command.js +18 -0
  388. package/dist/generators/workspaces/generator.js +25 -21
  389. package/dist/lib/ci/apply-patch-to-template.d.ts +18 -0
  390. package/dist/lib/ci/apply-patch-to-template.js +18 -0
  391. package/dist/lib/ci/github-group.d.ts +18 -0
  392. package/dist/lib/ci/github-group.js +18 -0
  393. package/dist/lib/ci/github-matrix.d.ts +18 -0
  394. package/dist/lib/ci/github-matrix.js +18 -0
  395. package/dist/lib/ci/github.d.ts +18 -0
  396. package/dist/lib/ci/github.js +18 -0
  397. package/dist/lib/ci/index.d.ts +18 -0
  398. package/dist/lib/ci/index.js +18 -0
  399. package/dist/lib/ci/sample-config.d.ts +18 -0
  400. package/dist/lib/ci/sample-config.js +18 -0
  401. package/dist/lib/ci/support/application-samples.d.ts +18 -0
  402. package/dist/lib/ci/support/application-samples.js +18 -0
  403. package/dist/lib/ci/support/client-samples.d.ts +18 -0
  404. package/dist/lib/ci/support/client-samples.js +18 -0
  405. package/dist/lib/ci/support/deployment-samples.d.ts +18 -0
  406. package/dist/lib/ci/support/deployment-samples.js +18 -0
  407. package/dist/lib/ci/support/matrix-utils.d.ts +18 -0
  408. package/dist/lib/ci/support/matrix-utils.js +18 -0
  409. package/dist/lib/ci/support/server-samples.d.ts +18 -0
  410. package/dist/lib/ci/support/server-samples.js +18 -0
  411. package/dist/lib/command/converter.d.ts +18 -0
  412. package/dist/lib/command/converter.js +18 -0
  413. package/dist/lib/command/index.d.ts +18 -0
  414. package/dist/lib/command/index.js +18 -0
  415. package/dist/lib/command/lookup-commands-configs.d.ts +18 -0
  416. package/dist/lib/command/lookup-commands-configs.js +18 -0
  417. package/dist/lib/command/mutations.d.ts +18 -0
  418. package/dist/lib/command/mutations.js +18 -0
  419. package/dist/lib/command/types.d.ts +1 -5
  420. package/dist/lib/eslint/base.d.ts +18 -0
  421. package/dist/lib/eslint/base.js +18 -0
  422. package/dist/lib/eslint/index.d.ts +18 -0
  423. package/dist/lib/eslint/index.js +18 -0
  424. package/dist/lib/eslint/recommended.d.ts +18 -0
  425. package/dist/lib/eslint/recommended.js +18 -0
  426. package/dist/lib/index.d.ts +18 -0
  427. package/dist/lib/index.js +18 -0
  428. package/dist/lib/jdl/converters/jdl-to-json/jdl-to-json-relationship-converter.js +2 -2
  429. package/dist/lib/jdl/core/basic-types/index.d.ts +18 -0
  430. package/dist/lib/jdl/core/basic-types/index.js +18 -0
  431. package/dist/lib/jdl/core/basic-types/relationships.d.ts +18 -0
  432. package/dist/lib/jdl/core/basic-types/relationships.js +18 -0
  433. package/dist/lib/jdl/core/built-in-options/index.d.ts +18 -0
  434. package/dist/lib/jdl/core/built-in-options/index.js +18 -0
  435. package/dist/lib/jdl/core/built-in-options/jdl-application-definition.d.ts +18 -0
  436. package/dist/lib/jdl/core/built-in-options/jdl-application-definition.js +18 -0
  437. package/dist/lib/jdl/core/models/jdl-enum-value.d.ts +18 -0
  438. package/dist/lib/jdl/core/models/jdl-enum-value.js +18 -0
  439. package/dist/lib/jdl/core/parsing/validator.js +1 -1
  440. package/dist/lib/jdl/core/runtime.d.ts +18 -0
  441. package/dist/lib/jdl/core/runtime.js +18 -0
  442. package/dist/lib/jdl/index.d.ts +18 -0
  443. package/dist/lib/jdl/index.js +18 -0
  444. package/dist/lib/jhipster/index.d.ts +18 -0
  445. package/dist/lib/jhipster/index.js +18 -0
  446. package/dist/lib/jhipster/openapi-options.d.ts +18 -0
  447. package/dist/lib/jhipster/openapi-options.js +18 -0
  448. package/dist/lib/testing/helpers.d.ts +18 -0
  449. package/dist/lib/testing/helpers.js +21 -2
  450. package/dist/lib/testing/index.d.ts +18 -0
  451. package/dist/lib/testing/index.js +18 -0
  452. package/dist/lib/testing/mutate-data.d.ts +5 -5
  453. package/dist/lib/testing/mutate-data.js +5 -5
  454. package/dist/lib/testing/support/entity-samples.d.ts +18 -0
  455. package/dist/lib/testing/support/entity-samples.js +18 -0
  456. package/dist/lib/testing/support/matcher.d.ts +18 -0
  457. package/dist/lib/testing/support/matcher.js +18 -0
  458. package/dist/lib/utils/basename.d.ts +18 -0
  459. package/dist/lib/utils/basename.js +18 -0
  460. package/dist/lib/utils/derived-property.d.ts +18 -0
  461. package/dist/lib/utils/derived-property.js +18 -0
  462. package/dist/lib/utils/get-generator.d.ts +18 -0
  463. package/dist/lib/utils/get-generator.js +18 -0
  464. package/dist/lib/utils/lookup.js +6 -4
  465. package/dist/lib/utils/yo-rc.d.ts +18 -0
  466. package/dist/lib/utils/yo-rc.js +18 -0
  467. package/dist/package.json +29 -31
  468. package/package.json +29 -31
  469. package/dist/generators/angular/templates/src/main/webapp/app/shared/language/translation.module.ts.ejs +0 -80
@@ -16,13 +16,11 @@
16
16
  See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  -%>
19
- <%_ if (clientTestFrameworkVitest) { _%>
20
19
  import { afterEach, beforeEach, describe, expect, it, vitest } from 'vitest';
21
- <%_ } _%>
22
20
  import { ComponentRef } from '@angular/core';
23
21
  import { ComponentFixture, TestBed } from '@angular/core/testing';
24
22
  <%_ if (enableTranslation) { _%>
25
- import { TranslateModule } from '@ngx-translate/core';
23
+ import { provideTranslateService } from '@ngx-translate/core';
26
24
  <%_ } _%>
27
25
 
28
26
  import ItemCount from './item-count';
@@ -33,18 +31,16 @@ describe('ItemCount test', () => {
33
31
  let fixture: ComponentFixture<ItemCount>;
34
32
  const inputParams = 'params';
35
33
 
34
+ <%_ if (enableTranslation) { _%>
36
35
  beforeEach(
37
36
  () => {
38
37
  TestBed.configureTestingModule({
39
- <%_ if (enableTranslation) { _%>
40
- imports: [
41
- TranslateModule.forRoot(),
42
- ],
43
- <%_ } _%>
38
+ providers: [provideTranslateService()],
44
39
  });
45
40
  }
46
41
  );
47
42
 
43
+ <%_ } _%>
48
44
  beforeEach(() => {
49
45
  fixture = TestBed.createComponent(ItemCount);
50
46
  comp = fixture.componentInstance;
@@ -16,9 +16,7 @@
16
16
  See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  -%>
19
- <%_ if (clientTestFrameworkVitest) { _%>
20
19
  import { afterEach, beforeEach, describe, expect, it, vitest } from 'vitest';
21
- <%_ } _%>
22
20
  import { Component, ChangeDetectionStrategy, DebugElement, Type, inject } from '@angular/core';
23
21
  import { ComponentFixture, TestBed } from '@angular/core/testing';
24
22
  import { By } from '@angular/platform-browser';
@@ -47,7 +45,7 @@ import { SortState, sortStateSignal } from './sort-state';
47
45
  })
48
46
  class TestSortByDirective {
49
47
  sortState = sortStateSignal({ predicate: 'name' });
50
- transition = <%- clientTestFramework %>.fn();
48
+ transition = vitest.fn();
51
49
 
52
50
  private readonly library = inject(FaIconLibrary);
53
51
 
@@ -123,7 +121,7 @@ describe('Directive: SortByDirective', () => {
123
121
  it('multiple clicks at same component, should call SortDirective sort', () => {
124
122
  // GIVEN
125
123
  const sortDirective = tableHead.injector.get(SortDirective as Type<SortDirective>);
126
- sortDirective.sort = <%- clientTestFramework %>.fn();
124
+ sortDirective.sort = vitest.fn();
127
125
 
128
126
  // WHEN
129
127
  fixture.detectChanges();
@@ -16,9 +16,7 @@
16
16
  See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  -%>
19
- <%_ if (clientTestFrameworkVitest) { _%>
20
19
  import { afterEach, beforeEach, describe, expect, it, vitest } from 'vitest';
21
- <%_ } _%>
22
20
  import { Component, ChangeDetectionStrategy, DebugElement, Type } from '@angular/core';
23
21
  import { ComponentFixture, TestBed } from '@angular/core/testing';
24
22
  import { By } from '@angular/platform-browser';
@@ -39,7 +37,7 @@ import { SortState, sortStateSignal } from './sort-state';
39
37
  })
40
38
  class TestSortDirective {
41
39
  sortState = sortStateSignal({ predicate: 'ID' });
42
- transition = <%- clientTestFramework %>.fn().mockImplementation((sortState: SortState) => {
40
+ transition = vitest.fn().mockImplementation((sortState: SortState) => {
43
41
  this.sortState.set(sortState);
44
42
  });
45
43
  }
@@ -16,9 +16,7 @@
16
16
  See the License for the specific language governing permissions and
17
17
  limitations under the License.
18
18
  -%>
19
- <%_ if (clientTestFrameworkVitest) { _%>
20
19
  import { afterEach, beforeEach, describe, expect, it, vitest } from 'vitest';
21
- <%_ } _%>
22
20
  import { SortService } from './sort.service';
23
21
 
24
22
  describe('sort state', () => {
@@ -45,7 +45,7 @@ module.exports = (config, options, targetOptions) => {
45
45
  <%_ if (applicationTypeMicroservice) { _%>
46
46
  exposes: {
47
47
  <%_ if (enableTranslation) { _%>
48
- './translation-module': 'app/shared/language/translation.module.ts',
48
+ './translation-provider': 'app/shared/language/translation.provider.ts',
49
49
  <%_ } _%>
50
50
  './entity-navbar-items': 'app/entities/entity-navbar-items.ts',
51
51
  './entity-routes': 'app/entities/entity.routes.ts',
@@ -1,12 +1,5 @@
1
1
  declare const command: {
2
2
  readonly configs: {
3
- readonly defaults: {
4
- readonly cli: {
5
- readonly description: "Execute jhipster with default config";
6
- readonly type: BooleanConstructor;
7
- };
8
- readonly scope: "none";
9
- };
10
3
  readonly jhiPrefix: {
11
4
  readonly cli: {
12
5
  readonly description: "Add prefix before services, controllers and states name";
@@ -1,12 +1,5 @@
1
1
  const command = {
2
2
  configs: {
3
- defaults: {
4
- cli: {
5
- description: 'Execute jhipster with default config',
6
- type: Boolean,
7
- },
8
- scope: 'none',
9
- },
10
3
  jhiPrefix: {
11
4
  cli: {
12
5
  description: 'Add prefix before services, controllers and states name',
@@ -19,7 +19,6 @@
19
19
  import chalk from 'chalk';
20
20
  import { camelCase } from 'lodash-es';
21
21
  import BaseApplicationGenerator from "../base-application/index.js";
22
- import { getDefaultAppName } from "../project-name/support/index.js";
23
22
  import cleanupOldFilesTask from "./cleanup.js";
24
23
  import { checkNode } from "./support/index.js";
25
24
  export default class AppGenerator extends BaseApplicationGenerator {
@@ -27,9 +26,8 @@ export default class AppGenerator extends BaseApplicationGenerator {
27
26
  if (!this.fromBlueprint) {
28
27
  await this.composeWithBlueprints();
29
28
  }
30
- if (!this.delegateToBlueprint) {
31
- await this.dependsOnBootstrap('app');
32
- }
29
+ await this.dependsOnJHipster('javascript-simple-application');
30
+ await this.dependsOnBootstrap('app');
33
31
  }
34
32
  get initializing() {
35
33
  return this.asInitializingTaskGroup({
@@ -64,8 +62,6 @@ export default class AppGenerator extends BaseApplicationGenerator {
64
62
  defaults() {
65
63
  if (!this.options.reproducible) {
66
64
  this.config.defaults({
67
- baseName: getDefaultAppName({ cwd: this.destinationPath() }),
68
- creationTimestamp: Date.now(),
69
65
  defaultCommand: 'app',
70
66
  });
71
67
  }
@@ -46,6 +46,13 @@ declare const command: {
46
46
  };
47
47
  readonly scope: "generator";
48
48
  };
49
+ readonly defaults: {
50
+ readonly cli: {
51
+ readonly description: "Execute jhipster with default config";
52
+ readonly type: BooleanConstructor;
53
+ };
54
+ readonly scope: "none";
55
+ };
49
56
  readonly reproducible: {
50
57
  readonly description: "Try to reproduce changelog";
51
58
  readonly cli: {
@@ -47,6 +47,13 @@ const command = {
47
47
  },
48
48
  scope: 'generator',
49
49
  },
50
+ defaults: {
51
+ cli: {
52
+ description: 'Execute jhipster with default config',
53
+ type: Boolean,
54
+ },
55
+ scope: 'none',
56
+ },
50
57
  reproducible: {
51
58
  description: 'Try to reproduce changelog',
52
59
  cli: {
@@ -104,6 +104,17 @@ export default class BaseGenerator<Config extends BaseConfig = BaseConfig, Optio
104
104
  * Utility method to get typed objects for autocomplete.
105
105
  */
106
106
  asLoadingTaskGroup<const T extends Record<string, GenericTask<this, Tasks['LoadingTaskParam']>>>(taskGroup: T): Record<keyof T, GenericTask<any, Tasks['LoadingTaskParam']>>;
107
+ /**
108
+ * Priority API stub for blueprints.
109
+ *
110
+ * Loading should be used to load application configuration from jhipster configuration.
111
+ * Before this priority the configuration should be considered dirty, while each generator configures itself at configuring priority, another generator composed at composing priority can still change it.
112
+ */
113
+ get composingBootstrap(): {};
114
+ /**
115
+ * Utility method to get typed objects for autocomplete.
116
+ */
117
+ asComposingBootstrapTaskGroup<const T extends Record<string, GenericTask<this, Tasks['ComposingBootstrapTaskParam']>>>(taskGroup: T): Record<keyof T, GenericTask<any, Tasks['ComposingBootstrapTaskParam']>>;
107
118
  /**
108
119
  * Priority API stub for blueprints.
109
120
  *
@@ -385,6 +385,21 @@ export default class BaseGenerator extends CoreGenerator {
385
385
  asLoadingTaskGroup(taskGroup) {
386
386
  return taskGroup;
387
387
  }
388
+ /**
389
+ * Priority API stub for blueprints.
390
+ *
391
+ * Loading should be used to load application configuration from jhipster configuration.
392
+ * Before this priority the configuration should be considered dirty, while each generator configures itself at configuring priority, another generator composed at composing priority can still change it.
393
+ */
394
+ get composingBootstrap() {
395
+ return {};
396
+ }
397
+ /**
398
+ * Utility method to get typed objects for autocomplete.
399
+ */
400
+ asComposingBootstrapTaskGroup(taskGroup) {
401
+ return taskGroup;
402
+ }
388
403
  /**
389
404
  * Priority API stub for blueprints.
390
405
  *
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  export declare const LOCAL_BLUEPRINT_PACKAGE_NAMESPACE = "@jhipster/generator-jhipster-local";
2
20
  export declare const CONTEXT_DATA_BLUEPRINTS_TO_COMPOSE = "jhipster:blueprintsToCompose";
3
21
  export declare const CONTEXT_DATA_REPRODUCIBLE_TIMESTAMP = "jhipster:reproducibleTimestamp";
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  export const LOCAL_BLUEPRINT_PACKAGE_NAMESPACE = '@jhipster/generator-jhipster-local';
2
20
  export const CONTEXT_DATA_BLUEPRINTS_TO_COMPOSE = 'jhipster:blueprintsToCompose';
3
21
  export const CONTEXT_DATA_REPRODUCIBLE_TIMESTAMP = 'jhipster:reproducibleTimestamp';
@@ -16,6 +16,7 @@ export type TaskTypes<S extends BaseSource = BaseSource> = {
16
16
  ConfiguringTaskParam: TaskParamWithControl;
17
17
  ComposingTaskParam: TaskParamWithControl;
18
18
  LoadingTaskParam: TaskParamWithControl;
19
+ ComposingBootstrapTaskParam: TaskParamWithControl;
19
20
  PreparingTaskParam: TaskParamWithSource<S>;
20
21
  PostPreparingTaskParam: TaskParamWithSource<S>;
21
22
  DefaultTaskParam: TaskParamWithControl;
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  import type { DerivedBooleanPropertiesOf } from '../../lib/command/types.ts';
2
20
  import { type FieldType } from '../../lib/jhipster/field-types.ts';
3
21
  import { type ValidationType } from '../../lib/jhipster/index.ts';
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  import { kebabCase, lowerFirst, snakeCase, startCase, upperFirst } from 'lodash-es';
2
20
  import { BlobTypes, fieldTypesValues } from "../../lib/jhipster/field-types.js";
3
21
  import { validationTypes } from "../../lib/jhipster/index.js";
@@ -21,7 +21,7 @@ import BaseGenerator from "../base-simple-application/index.js";
21
21
  import { JHIPSTER_CONFIG_DIR } from "../generator-constants.js";
22
22
  import { CUSTOM_PRIORITIES, PRIORITY_NAMES, QUEUES } from "./priorities.js";
23
23
  import { CONTEXT_DATA_APPLICATION_ENTITIES_KEY, getEntitiesFromDir } from "./support/index.js";
24
- const { LOADING, PREPARING, POST_PREPARING, CONFIGURING_EACH_ENTITY, LOADING_ENTITIES, PREPARING_EACH_ENTITY, PREPARING_EACH_ENTITY_FIELD, PREPARING_EACH_ENTITY_RELATIONSHIP, POST_PREPARING_EACH_ENTITY, DEFAULT, WRITING, POST_WRITING, WRITING_ENTITIES, POST_WRITING_ENTITIES, PRE_CONFLICTS, INSTALL, END, } = PRIORITY_NAMES;
24
+ const { LOADING, COMPOSING_BOOTSTRAP, PREPARING, POST_PREPARING, CONFIGURING_EACH_ENTITY, LOADING_ENTITIES, PREPARING_EACH_ENTITY, PREPARING_EACH_ENTITY_FIELD, PREPARING_EACH_ENTITY_RELATIONSHIP, POST_PREPARING_EACH_ENTITY, DEFAULT, WRITING, POST_WRITING, WRITING_ENTITIES, POST_WRITING_ENTITIES, PRE_CONFLICTS, INSTALL, END, } = PRIORITY_NAMES;
25
25
  const { CONFIGURING_EACH_ENTITY_QUEUE, LOADING_ENTITIES_QUEUE, PREPARING_EACH_ENTITY_QUEUE, PREPARING_EACH_ENTITY_FIELD_QUEUE, PREPARING_EACH_ENTITY_RELATIONSHIP_QUEUE, POST_PREPARING_EACH_ENTITY_QUEUE, WRITING_ENTITIES_QUEUE, POST_WRITING_ENTITIES_QUEUE, } = QUEUES;
26
26
  const { asPriority } = BaseGenerator;
27
27
  const PRIORITY_WITH_ENTITIES_TO_LOAD = new Set([LOADING_ENTITIES]);
@@ -31,6 +31,7 @@ const PRIORITY_WITH_SOURCE = new Set([PREPARING, POST_PREPARING, POST_WRITING, P
31
31
  const PRIORITY_WITH_APPLICATION_DEFAULTS = new Set([PREPARING, LOADING]);
32
32
  const PRIORITY_WITH_APPLICATION = new Set([
33
33
  LOADING,
34
+ COMPOSING_BOOTSTRAP,
34
35
  PREPARING,
35
36
  POST_PREPARING,
36
37
  DEFAULT,
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  import type { SetFieldType, SetRequired } from 'type-fest';
2
20
  import { type FieldBinaryType, type FieldBlobType, type FieldType } from '../../../../lib/jhipster/field-types.ts';
3
21
  import type { Field as BaseApplicationField } from '../../types.ts';
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  import { blobFieldTypesValues } from "../../../../lib/jhipster/field-types.js";
2
20
  export const isBlobType = (fieldType) => Object.values(blobFieldTypesValues).includes(fieldType);
3
21
  export const getBlobContentType = (fieldType) => {
@@ -47,6 +47,7 @@ export declare const PRIORITY_NAMES: {
47
47
  readonly COMPOSING: "composing";
48
48
  readonly COMPOSING_COMPONENT: "composingComponent";
49
49
  readonly LOADING: "loading";
50
+ readonly COMPOSING_BOOTSTRAP: "composingBootstrap";
50
51
  readonly PREPARING: "preparing";
51
52
  readonly POST_PREPARING: "postPreparing";
52
53
  readonly DEFAULT: "default";
@@ -75,6 +76,7 @@ export declare const QUEUES: {
75
76
  COMPOSING_QUEUE: string;
76
77
  COMPOSING_COMPONENT_QUEUE: string;
77
78
  LOADING_QUEUE: string;
79
+ COMPOSING_BOOTSTRAP_QUEUE: string;
78
80
  PREPARING_QUEUE: string;
79
81
  POST_PREPARING_QUEUE: string;
80
82
  DEFAULT_QUEUE: string;
@@ -128,6 +128,7 @@ export const PRIORITY_NAMES_LIST = [
128
128
  PRIORITY_NAMES.COMPOSING,
129
129
  PRIORITY_NAMES.COMPOSING_COMPONENT,
130
130
  PRIORITY_NAMES.LOADING,
131
+ PRIORITY_NAMES.COMPOSING_BOOTSTRAP,
131
132
  PRIORITY_NAMES.PREPARING,
132
133
  CONFIGURING_EACH_ENTITY,
133
134
  LOADING_ENTITIES,
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  export declare const updateApplicationEntitiesTransform: ({ destinationPath, throwOnMissingConfig, }: {
2
20
  destinationPath: string;
3
21
  throwOnMissingConfig?: boolean;
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  import { readdir } from 'node:fs/promises';
2
20
  import { basename, join } from 'node:path';
3
21
  import { loadFile } from 'mem-fs';
@@ -22,6 +22,7 @@ export default class CoreGenerator<Config extends CoreConfig = CoreConfig, Optio
22
22
  static readonly COMPOSING: string;
23
23
  static readonly COMPOSING_COMPONENT: string;
24
24
  static readonly LOADING: string;
25
+ static readonly COMPOSING_BOOTSTRAP: string;
25
26
  static readonly PREPARING: string;
26
27
  static readonly POST_PREPARING: string;
27
28
  static readonly DEFAULT: string;
@@ -40,7 +40,7 @@ import { convertWriteFileSectionsToBlocks, loadConfig } from "./internal/index.j
40
40
  import { createJHipster7Context } from "./internal/jhipster7-context.js";
41
41
  import { CUSTOM_PRIORITIES, PRIORITY_NAMES, PRIORITY_PREFIX, QUEUES } from "./priorities.js";
42
42
  import { createNeedleCallback, joinCallbacks } from "./support/index.js";
43
- const { INITIALIZING, PROMPTING, CONFIGURING, COMPOSING, COMPOSING_COMPONENT, LOADING, PREPARING, POST_PREPARING, DEFAULT, WRITING, POST_WRITING, INSTALL, POST_INSTALL, END, } = PRIORITY_NAMES;
43
+ const { INITIALIZING, PROMPTING, CONFIGURING, COMPOSING, COMPOSING_COMPONENT, LOADING, COMPOSING_BOOTSTRAP, PREPARING, POST_PREPARING, DEFAULT, WRITING, POST_WRITING, INSTALL, POST_INSTALL, END, } = PRIORITY_NAMES;
44
44
  const asPriority = (priorityName) => `${PRIORITY_PREFIX}${priorityName}`;
45
45
  const relativeDir = (from, to) => {
46
46
  const rel = posixRelative(from, to);
@@ -58,6 +58,7 @@ export default class CoreGenerator extends YeomanGenerator {
58
58
  static COMPOSING = asPriority(COMPOSING);
59
59
  static COMPOSING_COMPONENT = asPriority(COMPOSING_COMPONENT);
60
60
  static LOADING = asPriority(LOADING);
61
+ static COMPOSING_BOOTSTRAP = asPriority(COMPOSING_BOOTSTRAP);
61
62
  static PREPARING = asPriority(PREPARING);
62
63
  static POST_PREPARING = asPriority(POST_PREPARING);
63
64
  static DEFAULT = asPriority(DEFAULT);
@@ -1062,9 +1063,9 @@ templates: ${JSON.stringify(existingTemplates, null, 2)}`;
1062
1063
  }
1063
1064
  catch (error) {
1064
1065
  if (error instanceof Error) {
1065
- throw new Error(`Error editing file ${filePath}: ${error.message} at ${error.stack}`);
1066
+ throw new Error(`Error editing file ${filePath}: ${error.message} at ${error.stack}`, { cause: error });
1066
1067
  }
1067
- throw new Error(`Unknown Error ${error}`);
1068
+ throw new Error(`Unknown Error ${error}`, { cause: error });
1068
1069
  }
1069
1070
  return writeCallback;
1070
1071
  };
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  import type { JHipsterConfigs } from '../../../lib/command/index.ts';
2
20
  import type { Application as BaseApplicationApplication, Entity as BaseApplicationEntity } from '../../base-application/types.d.ts';
3
21
  import type CoreGenerator from '../index.ts';
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  export function loadConfig(configsDef, { application, config }) {
2
20
  if (configsDef) {
3
21
  for (const [name, def] of Object.entries(configsDef)) {
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  import type { ApplicationAll } from '../../../lib/types/application-all.ts';
2
20
  import type CoreGenerator from '../generator.ts';
3
21
  type HandledContext = {
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Copyright 2013-2026 the original author or authors from the JHipster project.
3
+ *
4
+ * This file is part of the JHipster project, see https://www.jhipster.tech/
5
+ * for more information.
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * https://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
1
19
  /* eslint-disable no-console */
2
20
  import chalk from 'chalk';
3
21
  import { camelCase } from 'lodash-es';
@@ -74,6 +74,7 @@ export declare const PRIORITY_NAMES: {
74
74
  readonly COMPOSING: "composing";
75
75
  readonly COMPOSING_COMPONENT: "composingComponent";
76
76
  readonly LOADING: "loading";
77
+ readonly COMPOSING_BOOTSTRAP: "composingBootstrap";
77
78
  readonly PREPARING: "preparing";
78
79
  readonly POST_PREPARING: "postPreparing";
79
80
  readonly DEFAULT: "default";
@@ -94,6 +95,7 @@ export declare const QUEUES: {
94
95
  COMPOSING_QUEUE: string;
95
96
  COMPOSING_COMPONENT_QUEUE: string;
96
97
  LOADING_QUEUE: string;
98
+ COMPOSING_BOOTSTRAP_QUEUE: string;
97
99
  PREPARING_QUEUE: string;
98
100
  POST_PREPARING_QUEUE: string;
99
101
  DEFAULT_QUEUE: string;