@nathapp/na-cli 1.0.1-rc.1 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/README.md +7 -5
  2. package/dist/templates/k8s-cert-manager/README.md +60 -0
  3. package/dist/templates/k8s-cert-manager/cloudflare-cert-manager-issuer.yaml +26 -0
  4. package/dist/templates/k8s-deployment/templates/_deployment.tpl +1 -1
  5. package/dist/templates/k8s-deployment/templates/_endpointslice.tpl +42 -0
  6. package/dist/templates/k8s-deployment/templates/_gateway.tpl +94 -0
  7. package/dist/templates/k8s-deployment/templates/_grpcroute.tpl +186 -0
  8. package/dist/templates/k8s-deployment/templates/_httproute.tpl +209 -0
  9. package/dist/templates/k8s-deployment/templates/_ingressroute.tpl +178 -0
  10. package/dist/templates/k8s-deployment/templates/_middleware.tpl +553 -0
  11. package/dist/templates/k8s-deployment/templates/_serverstransport.tpl +73 -0
  12. package/dist/templates/k8s-deployment/templates/_service.tpl +4 -1
  13. package/dist/templates/k8s-helm-chart/templates/endpointslice.yaml +1 -0
  14. package/dist/templates/k8s-helm-chart/templates/gateway.yaml +1 -0
  15. package/dist/templates/k8s-helm-chart/templates/grpcroute.yaml +1 -0
  16. package/dist/templates/k8s-helm-chart/templates/httproute.yaml +1 -0
  17. package/dist/templates/k8s-helm-chart/templates/ingressroute.yaml +1 -0
  18. package/dist/templates/k8s-helm-chart/templates/middleware.yaml +1 -0
  19. package/dist/templates/k8s-helm-chart/templates/serverstransport.yaml +1 -0
  20. package/dist/templates/k8s-helm-chart/values.yaml +3 -5
  21. package/dist/templates/nestjs-api/{.env → .env.local} +5 -0
  22. package/dist/templates/nestjs-api/.gitignore-rename +2 -1
  23. package/dist/templates/nestjs-api/Dockerfile +33 -13
  24. package/dist/templates/nestjs-api/package.json +31 -17
  25. package/dist/templates/nestjs-api/src/i18n/en_US/date.json +7 -0
  26. package/dist/templates/nestjs-api/src/i18n/en_US/exception.json +1 -1
  27. package/dist/templates/nestjs-api/src/i18n/en_US/validation.json +16 -0
  28. package/dist/templates/nestjs-api/src/i18n/zh_CN/date.json +7 -0
  29. package/dist/templates/nestjs-api/src/i18n/zh_CN/validation.json +16 -0
  30. package/dist/templates/nestjs-api/src/i18n/zh_TW/date.json +7 -0
  31. package/dist/templates/nestjs-api/src/i18n/zh_TW/validation.json +16 -0
  32. package/dist/templates/nestjs-api/test/jest-e2e.json +4 -1
  33. package/dist/templates/nestjs-library/.npmignore-rename +4 -0
  34. package/dist/templates/nestjs-library/package.json +3 -3
  35. package/dist/templates/ts-library/.npmignore-rename +4 -0
  36. package/dist/templates/ts-library/package.json +1 -1
  37. package/dist/templates/turbo-nestjs-vuexy/README.md +3 -0
  38. package/dist/templates/turbo-nestjs-vuexy/package.json +49 -0
  39. package/dist/templates/turbo-nestjs-vuexy/packages/eslint-config/README.md +3 -0
  40. package/dist/templates/turbo-nestjs-vuexy/packages/eslint-config/library.js +43 -0
  41. package/dist/templates/turbo-nestjs-vuexy/packages/eslint-config/package.json +18 -0
  42. package/dist/templates/turbo-nestjs-vuexy/packages/eslint-config/vue.js +236 -0
  43. package/dist/templates/{ts-library/tsconfig.json → turbo-nestjs-vuexy/packages/typescript-config/base.json} +4 -6
  44. package/dist/templates/turbo-nestjs-vuexy/packages/typescript-config/nestjs.json +12 -0
  45. package/dist/templates/turbo-nestjs-vuexy/packages/typescript-config/package.json +9 -0
  46. package/dist/templates/turbo-nestjs-vuexy/packages/typescript-config/vue.json +82 -0
  47. package/dist/templates/turbo-nestjs-vuexy/turbo.json +24 -0
  48. package/dist/templates/vuexy-portal/.editorconfig +1 -0
  49. package/dist/templates/vuexy-portal/.eslintrc.cjs +237 -0
  50. package/dist/templates/vuexy-portal/.gitignore-rename +42 -0
  51. package/dist/templates/vuexy-portal/.stylelintrc.json +46 -0
  52. package/dist/templates/vuexy-portal/Dockerfile +43 -0
  53. package/dist/templates/vuexy-portal/README.md +35 -0
  54. package/dist/templates/vuexy-portal/auto-imports.d.ts +1131 -0
  55. package/dist/templates/vuexy-portal/components.d.ts +68 -0
  56. package/dist/templates/vuexy-portal/dev.Dockerfile +25 -0
  57. package/dist/templates/vuexy-portal/docker-compose.dev.yml +14 -0
  58. package/dist/templates/vuexy-portal/docker-compose.prod.yml +13 -0
  59. package/dist/templates/vuexy-portal/entrypoint.sh +6 -0
  60. package/dist/templates/vuexy-portal/env.d.ts +12 -0
  61. package/dist/templates/vuexy-portal/index.html +57 -0
  62. package/dist/templates/vuexy-portal/nginx.conf +14 -0
  63. package/dist/templates/vuexy-portal/package.json +140 -0
  64. package/dist/templates/vuexy-portal/pnpm-lock.yaml +7963 -0
  65. package/dist/templates/vuexy-portal/prod.Dockerfile +41 -0
  66. package/dist/templates/vuexy-portal/public/favicon.ico +0 -0
  67. package/dist/templates/vuexy-portal/public/images/avatars/avatar-1.png +0 -0
  68. package/dist/templates/vuexy-portal/public/images/avatars/avatar-2.png +0 -0
  69. package/dist/templates/vuexy-portal/public/images/svg/discord.svg +10 -0
  70. package/dist/templates/vuexy-portal/public/images/svg/gift.svg +8 -0
  71. package/dist/templates/vuexy-portal/public/images/svg/keyboard.svg +8 -0
  72. package/dist/templates/vuexy-portal/public/images/svg/laptop.svg +8 -0
  73. package/dist/templates/vuexy-portal/public/images/svg/lightbulb.svg +8 -0
  74. package/dist/templates/vuexy-portal/public/images/svg/rocket.svg +8 -0
  75. package/dist/templates/vuexy-portal/public/loader.css +79 -0
  76. package/dist/templates/vuexy-portal/public/mockServiceWorker.js +287 -0
  77. package/dist/templates/vuexy-portal/shims.d.ts +15 -0
  78. package/dist/templates/vuexy-portal/src/@core/components/AppBarSearch.vue +278 -0
  79. package/dist/templates/vuexy-portal/src/@core/components/AppDrawerHeaderSection.vue +30 -0
  80. package/dist/templates/vuexy-portal/src/@core/components/AppStepper.vue +371 -0
  81. package/dist/templates/vuexy-portal/src/@core/components/BuyNow.vue +92 -0
  82. package/dist/templates/vuexy-portal/src/@core/components/CardStatisticsVerticalSimple.vue +35 -0
  83. package/dist/templates/vuexy-portal/src/@core/components/CustomizerSection.vue +27 -0
  84. package/dist/templates/vuexy-portal/src/@core/components/DialogCloseBtn.vue +25 -0
  85. package/dist/templates/vuexy-portal/src/@core/components/DropZone.vue +135 -0
  86. package/dist/templates/vuexy-portal/src/@core/components/I18n.vue +48 -0
  87. package/dist/templates/vuexy-portal/src/@core/components/MoreBtn.vue +24 -0
  88. package/dist/templates/vuexy-portal/src/@core/components/Notifications.vue +245 -0
  89. package/dist/templates/vuexy-portal/src/@core/components/ProductDescriptionEditor.vue +198 -0
  90. package/dist/templates/vuexy-portal/src/@core/components/ScrollToTop.vue +41 -0
  91. package/dist/templates/vuexy-portal/src/@core/components/Shortcuts.vue +99 -0
  92. package/dist/templates/vuexy-portal/src/@core/components/TablePagination.vue +39 -0
  93. package/dist/templates/vuexy-portal/src/@core/components/TheCustomizer.vue +618 -0
  94. package/dist/templates/vuexy-portal/src/@core/components/ThemeSwitcher.vue +61 -0
  95. package/dist/templates/vuexy-portal/src/@core/components/TiptapEditor.vue +166 -0
  96. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppAutocomplete.vue +57 -0
  97. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppCombobox.vue +57 -0
  98. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppDateTimePicker.vue +543 -0
  99. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppSelect.vue +50 -0
  100. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppTextField.vue +78 -0
  101. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/AppTextarea.vue +50 -0
  102. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomCheckboxes.vue +81 -0
  103. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomCheckboxesWithIcon.vue +95 -0
  104. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomCheckboxesWithImage.vue +93 -0
  105. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomRadios.vue +81 -0
  106. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomRadiosWithIcon.vue +88 -0
  107. package/dist/templates/vuexy-portal/src/@core/components/app-form-elements/CustomRadiosWithImage.vue +99 -0
  108. package/dist/templates/vuexy-portal/src/@core/components/cards/AppCardActions.vue +167 -0
  109. package/dist/templates/vuexy-portal/src/@core/components/cards/AppCardCode.vue +152 -0
  110. package/dist/templates/vuexy-portal/src/@core/components/cards/CardStatisticsHorizontal.vue +41 -0
  111. package/dist/templates/vuexy-portal/src/@core/components/cards/CardStatisticsVertical.vue +48 -0
  112. package/dist/templates/vuexy-portal/src/@core/scss/base/_components.scss +185 -0
  113. package/dist/templates/vuexy-portal/src/@core/scss/base/_dark.scss +16 -0
  114. package/dist/templates/vuexy-portal/src/@core/scss/base/_default-layout-w-horizontal-nav.scss +45 -0
  115. package/dist/templates/vuexy-portal/src/@core/scss/base/_default-layout-w-vertical-nav.scss +103 -0
  116. package/dist/templates/vuexy-portal/src/@core/scss/base/_default-layout.scss +16 -0
  117. package/dist/templates/vuexy-portal/src/@core/scss/base/_horizontal-nav.scss +194 -0
  118. package/dist/templates/vuexy-portal/src/@core/scss/base/_index.scss +48 -0
  119. package/dist/templates/vuexy-portal/src/@core/scss/base/_layouts.scss +63 -0
  120. package/dist/templates/vuexy-portal/src/@core/scss/base/_misc.scss +20 -0
  121. package/dist/templates/vuexy-portal/src/@core/scss/base/_mixins.scss +63 -0
  122. package/dist/templates/vuexy-portal/src/@core/scss/base/_route-transitions.scss +70 -0
  123. package/dist/templates/vuexy-portal/src/@core/scss/base/_utilities.scss +181 -0
  124. package/dist/templates/vuexy-portal/src/@core/scss/base/_utils.scss +90 -0
  125. package/dist/templates/vuexy-portal/src/@core/scss/base/_variables.scss +198 -0
  126. package/dist/templates/vuexy-portal/src/@core/scss/base/_vertical-nav.scss +255 -0
  127. package/dist/templates/vuexy-portal/src/@core/scss/base/libs/_perfect-scrollbar.scss +35 -0
  128. package/dist/templates/vuexy-portal/src/@core/scss/base/libs/vuetify/_index.scss +1 -0
  129. package/dist/templates/vuexy-portal/src/@core/scss/base/libs/vuetify/_overrides.scss +264 -0
  130. package/dist/templates/vuexy-portal/src/@core/scss/base/libs/vuetify/_variables.scss +62 -0
  131. package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_default-layout-horizontal-nav.scss +27 -0
  132. package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_default-layout-vertical-nav.scss +45 -0
  133. package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_default-layout.scss +3 -0
  134. package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_horizontal-nav.scss +98 -0
  135. package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_index.scss +7 -0
  136. package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_misc.scss +7 -0
  137. package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_nav.scss +33 -0
  138. package/dist/templates/vuexy-portal/src/@core/scss/base/placeholders/_vertical-nav.scss +80 -0
  139. package/dist/templates/vuexy-portal/src/@core/scss/base/skins/_bordered.scss +72 -0
  140. package/dist/templates/vuexy-portal/src/@core/scss/base/skins/_index.scss +1 -0
  141. package/dist/templates/vuexy-portal/src/@core/scss/template/_default-layout-w-horizontal-nav.scss +9 -0
  142. package/dist/templates/vuexy-portal/src/@core/scss/template/_default-layout-w-vertical-nav.scss +20 -0
  143. package/dist/templates/vuexy-portal/src/@core/scss/template/_horizontal-nav.scss +40 -0
  144. package/dist/templates/vuexy-portal/src/@core/scss/template/_mixins.scss +6 -0
  145. package/dist/templates/vuexy-portal/src/@core/scss/template/_utilities.scss +49 -0
  146. package/dist/templates/vuexy-portal/src/@core/scss/template/_variables.scss +102 -0
  147. package/dist/templates/vuexy-portal/src/@core/scss/template/_vertical-nav.scss +47 -0
  148. package/dist/templates/vuexy-portal/src/@core/scss/template/index.scss +17 -0
  149. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/apex-chart.scss +108 -0
  150. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/full-calendar.scss +351 -0
  151. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/shepherd.scss +94 -0
  152. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/swiper.scss +5 -0
  153. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/_variables.scss +351 -0
  154. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_alert.scss +114 -0
  155. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_avatar.scss +27 -0
  156. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_badge.scss +25 -0
  157. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_button.scss +280 -0
  158. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_cards.scss +3 -0
  159. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_checkbox.scss +57 -0
  160. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_chip.scss +102 -0
  161. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_dialog.scss +27 -0
  162. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_expansion-panels.scss +106 -0
  163. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_field.scss +308 -0
  164. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_list.scss +30 -0
  165. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_menu.scss +35 -0
  166. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_otp-input.scss +17 -0
  167. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_pagination.scss +140 -0
  168. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_progress.scss +13 -0
  169. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_radio.scss +46 -0
  170. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_rating.scss +20 -0
  171. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_slider.scss +27 -0
  172. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_snackbar.scss +10 -0
  173. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_switch.scss +58 -0
  174. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_table.scss +48 -0
  175. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_tabs.scss +91 -0
  176. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_textarea.scss +9 -0
  177. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_timeline.scss +99 -0
  178. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/_tooltip.scss +6 -0
  179. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/components/index.scss +25 -0
  180. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/index.scss +3 -0
  181. package/dist/templates/vuexy-portal/src/@core/scss/template/libs/vuetify/overrides.scss +18 -0
  182. package/dist/templates/vuexy-portal/src/@core/scss/template/pages/misc.scss +20 -0
  183. package/dist/templates/vuexy-portal/src/@core/scss/template/pages/page-auth.scss +63 -0
  184. package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_default-layout-horizontal-nav.scss +7 -0
  185. package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_default-layout-vertical-nav.scss +8 -0
  186. package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_horizontal-nav.scss +47 -0
  187. package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_index.scss +6 -0
  188. package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_misc.scss +3 -0
  189. package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_nav.scss +27 -0
  190. package/dist/templates/vuexy-portal/src/@core/scss/template/placeholders/_vertical-nav.scss +35 -0
  191. package/dist/templates/vuexy-portal/src/@core/scss/template/skins/_bordered.scss +82 -0
  192. package/dist/templates/vuexy-portal/src/@core/scss/template/skins/_index.scss +1 -0
  193. package/dist/templates/vuexy-portal/src/@custom/assets/images/user-profile-header.png +0 -0
  194. package/dist/templates/vuexy-portal/src/@custom/components/ConfirmationDialog.vue +155 -0
  195. package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNav.vue +35 -0
  196. package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNavGroup.vue +110 -0
  197. package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNavLayout.vue +150 -0
  198. package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNavLink.vue +56 -0
  199. package/dist/templates/vuexy-portal/src/@layouts/components/HorizontalNavPopper.vue +175 -0
  200. package/dist/templates/vuexy-portal/src/@layouts/components/TransitionExpand.vue +92 -0
  201. package/dist/templates/vuexy-portal/src/@layouts/components/VNodeRenderer.tsx +17 -0
  202. package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNav.vue +236 -0
  203. package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNavGroup.vue +267 -0
  204. package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNavLayout.vue +232 -0
  205. package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNavLink.vue +68 -0
  206. package/dist/templates/vuexy-portal/src/@layouts/components/VerticalNavSectionTitle.vue +37 -0
  207. package/dist/templates/vuexy-portal/src/@layouts/styles/_classes.scss +3 -0
  208. package/dist/templates/vuexy-portal/src/@layouts/styles/_default-layout.scss +35 -0
  209. package/dist/templates/vuexy-portal/src/@layouts/styles/_global.scss +10 -0
  210. package/dist/templates/vuexy-portal/src/@layouts/styles/_mixins.scss +30 -0
  211. package/dist/templates/vuexy-portal/src/@layouts/styles/_placeholders.scss +53 -0
  212. package/dist/templates/vuexy-portal/src/@layouts/styles/_rtl.scss +7 -0
  213. package/dist/templates/vuexy-portal/src/@layouts/styles/_variables.scss +29 -0
  214. package/dist/templates/vuexy-portal/src/@layouts/styles/index.scss +3 -0
  215. package/dist/templates/vuexy-portal/src/App.vue +26 -0
  216. package/dist/templates/vuexy-portal/src/assets/images/avatars/avatar-1.png +0 -0
  217. package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/border-light.svg +16 -0
  218. package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/collapsed-light.svg +17 -0
  219. package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/compact-light.svg +11 -0
  220. package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/default-light.svg +17 -0
  221. package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/horizontal-light.svg +12 -0
  222. package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/ltr-light.svg +15 -0
  223. package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/rtl-light.svg +15 -0
  224. package/dist/templates/vuexy-portal/src/assets/images/customizer-icons/wide-light.svg +11 -0
  225. package/dist/templates/vuexy-portal/src/assets/images/logo.svg +6 -0
  226. package/dist/templates/vuexy-portal/src/assets/images/misc/3d-safe-box-with-golden-dollar-coins.png +0 -0
  227. package/dist/templates/vuexy-portal/src/assets/images/misc/3d-space-rocket-with-smoke.png +0 -0
  228. package/dist/templates/vuexy-portal/src/assets/images/misc/dollar-coins-flying-pink-piggy-bank.png +0 -0
  229. package/dist/templates/vuexy-portal/src/assets/images/misc/fleet-car.png +0 -0
  230. package/dist/templates/vuexy-portal/src/assets/images/pages/misc-mask-dark.png +0 -0
  231. package/dist/templates/vuexy-portal/src/assets/images/pages/misc-mask-light.png +0 -0
  232. package/dist/templates/vuexy-portal/src/assets/images/svg/Card.svg +8 -0
  233. package/dist/templates/vuexy-portal/src/assets/images/svg/Check.svg +4 -0
  234. package/dist/templates/vuexy-portal/src/assets/images/svg/Diamond.svg +12 -0
  235. package/dist/templates/vuexy-portal/src/assets/images/svg/Suitcase.svg +4 -0
  236. package/dist/templates/vuexy-portal/src/assets/images/svg/Wallet.svg +10 -0
  237. package/dist/templates/vuexy-portal/src/assets/images/svg/address.svg +25 -0
  238. package/dist/templates/vuexy-portal/src/assets/images/svg/auth-v1-bottom-shape.svg +4 -0
  239. package/dist/templates/vuexy-portal/src/assets/images/svg/auth-v1-top-shape.svg +4 -0
  240. package/dist/templates/vuexy-portal/src/assets/images/svg/cart.svg +5 -0
  241. package/dist/templates/vuexy-portal/src/assets/images/svg/checkbox-checked.svg +4 -0
  242. package/dist/templates/vuexy-portal/src/assets/images/svg/checkbox-indeterminate.svg +4 -0
  243. package/dist/templates/vuexy-portal/src/assets/images/svg/checkbox-unchecked.svg +10 -0
  244. package/dist/templates/vuexy-portal/src/assets/images/svg/discord.svg +10 -0
  245. package/dist/templates/vuexy-portal/src/assets/images/svg/gift.svg +8 -0
  246. package/dist/templates/vuexy-portal/src/assets/images/svg/home.svg +5 -0
  247. package/dist/templates/vuexy-portal/src/assets/images/svg/keyboard.svg +4 -0
  248. package/dist/templates/vuexy-portal/src/assets/images/svg/laptop.svg +4 -0
  249. package/dist/templates/vuexy-portal/src/assets/images/svg/lightbulb.svg +8 -0
  250. package/dist/templates/vuexy-portal/src/assets/images/svg/office.svg +4 -0
  251. package/dist/templates/vuexy-portal/src/assets/images/svg/paper-send.svg +4 -0
  252. package/dist/templates/vuexy-portal/src/assets/images/svg/payment.svg +21 -0
  253. package/dist/templates/vuexy-portal/src/assets/images/svg/radio-checked.svg +3 -0
  254. package/dist/templates/vuexy-portal/src/assets/images/svg/radio-unchecked.svg +3 -0
  255. package/dist/templates/vuexy-portal/src/assets/images/svg/rocket.svg +4 -0
  256. package/dist/templates/vuexy-portal/src/assets/images/svg/trending.svg +14 -0
  257. package/dist/templates/vuexy-portal/src/assets/images/svg/user-info.svg +4 -0
  258. package/dist/templates/vuexy-portal/src/assets/images/svg/user.svg +6 -0
  259. package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-account.svg +6 -0
  260. package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-address.svg +18 -0
  261. package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-personal.svg +6 -0
  262. package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-social-link.svg +6 -0
  263. package/dist/templates/vuexy-portal/src/assets/images/svg/wizard-submit.svg +6 -0
  264. package/dist/templates/vuexy-portal/src/assets/styles/styles.scss +1 -0
  265. package/dist/templates/vuexy-portal/src/assets/styles/variables/_template.scss +6 -0
  266. package/dist/templates/vuexy-portal/src/assets/styles/variables/_vuetify.scss +7 -0
  267. package/dist/templates/vuexy-portal/src/components/AppLoadingIndicator.vue +63 -0
  268. package/dist/templates/vuexy-portal/src/components/AppPricing.vue +247 -0
  269. package/dist/templates/vuexy-portal/src/components/AppSearchHeader.vue +77 -0
  270. package/dist/templates/vuexy-portal/src/components/ErrorHeader.vue +40 -0
  271. package/dist/templates/vuexy-portal/src/components/dialogs/AddAuthenticatorAppDialog.vue +101 -0
  272. package/dist/templates/vuexy-portal/src/components/dialogs/AddEditAddressDialog.vue +238 -0
  273. package/dist/templates/vuexy-portal/src/components/dialogs/AddEditPermissionDialog.vue +93 -0
  274. package/dist/templates/vuexy-portal/src/components/dialogs/AddEditRoleDialog.vue +302 -0
  275. package/dist/templates/vuexy-portal/src/components/dialogs/AddPaymentMethodDialog.vue +120 -0
  276. package/dist/templates/vuexy-portal/src/components/dialogs/CardAddEditDialog.vue +153 -0
  277. package/dist/templates/vuexy-portal/src/components/dialogs/ConfirmDialog.vue +151 -0
  278. package/dist/templates/vuexy-portal/src/components/dialogs/CreateAppDialog.vue +459 -0
  279. package/dist/templates/vuexy-portal/src/components/dialogs/EnableOneTimePasswordDialog.vue +85 -0
  280. package/dist/templates/vuexy-portal/src/components/dialogs/PaymentProvidersDialog.vue +123 -0
  281. package/dist/templates/vuexy-portal/src/components/dialogs/PricingPlanDialog.vue +34 -0
  282. package/dist/templates/vuexy-portal/src/components/dialogs/ReferAndEarnDialog.vue +181 -0
  283. package/dist/templates/vuexy-portal/src/components/dialogs/ShareProjectDialog.vue +198 -0
  284. package/dist/templates/vuexy-portal/src/components/dialogs/TwoFactorAuthDialog.vue +120 -0
  285. package/dist/templates/vuexy-portal/src/components/dialogs/UserInfoEditDialog.vue +246 -0
  286. package/dist/templates/vuexy-portal/src/components/dialogs/UserUpgradePlanDialog.vue +101 -0
  287. package/dist/templates/vuexy-portal/src/layouts/blank.vue +42 -0
  288. package/dist/templates/vuexy-portal/src/layouts/components/DefaultLayoutWithHorizontalNav.vue +75 -0
  289. package/dist/templates/vuexy-portal/src/layouts/components/DefaultLayoutWithVerticalNav.vue +79 -0
  290. package/dist/templates/vuexy-portal/src/layouts/components/Footer.vue +17 -0
  291. package/dist/templates/vuexy-portal/src/layouts/components/NavSearchBar.vue +266 -0
  292. package/dist/templates/vuexy-portal/src/layouts/components/NavbarShortcuts.vue +45 -0
  293. package/dist/templates/vuexy-portal/src/layouts/components/NavbarThemeSwitcher.vue +22 -0
  294. package/dist/templates/vuexy-portal/src/layouts/components/UserProfile.vue +114 -0
  295. package/dist/templates/vuexy-portal/src/layouts/default.vue +30 -0
  296. package/dist/templates/vuexy-portal/src/pages/[...error].vue +46 -0
  297. package/dist/templates/vuexy-portal/src/pages/account-settings/[tab].vue +57 -0
  298. package/dist/templates/vuexy-portal/src/pages/index.vue +32 -0
  299. package/dist/templates/vuexy-portal/src/pages/login.vue +178 -0
  300. package/dist/templates/vuexy-portal/src/pages/not-authorized.vue +47 -0
  301. package/dist/templates/vuexy-portal/src/pages/second-page.vue +13 -0
  302. package/dist/templates/vuexy-portal/src/plugins/casl/shims-ability.d.ts +8 -0
  303. package/dist/templates/vuexy-portal/src/plugins/i18n/locales/en_US.json +88 -0
  304. package/dist/templates/vuexy-portal/src/plugins/i18n/locales/zh_CN.json +88 -0
  305. package/dist/templates/vuexy-portal/src/plugins/i18n/vue-i18n.d.ts +17 -0
  306. package/dist/templates/vuexy-portal/src/plugins/iconify/icons.css +21039 -0
  307. package/dist/templates/vuexy-portal/src/plugins/iconify/package.json +3 -0
  308. package/dist/templates/vuexy-portal/src/views/account-settings/AccountSettingsSecurity.vue +179 -0
  309. package/dist/templates/vuexy-portal/typed-router.d.ts +146 -0
  310. package/dist/utils/template.js +1 -0
  311. package/dist/utils/template.js.map +1 -1
  312. package/package.json +1 -1
  313. package/.gitlab-ci.yml +0 -145
  314. package/Makefile +0 -62
  315. package/dist/templates/db-schema/.gitlab-ci.yml +0 -139
  316. package/dist/templates/db-schema/Makefile +0 -885
  317. package/dist/templates/k8s-deployment/.gitlab-ci.yml +0 -128
  318. package/dist/templates/k8s-deployment/Makefile +0 -196
  319. package/dist/templates/k8s-deployment/resources/charts/mysql/charts/mysql-install/script/Makefile +0 -12
  320. package/dist/templates/k8s-deployment/resources/charts/redis/charts/redis-install/script/Makefile +0 -8
  321. package/dist/templates/k8s-deployment/services/charts/hooks/charts/pre-delete-rsc/script/Makefile +0 -49
  322. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-cypress/Makefile +0 -9
  323. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/script/Makefile +0 -14
  324. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/_t-0100-readiness-liveness.ts +0 -84
  325. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/hub.ts +0 -372
  326. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-contact.ts +0 -158
  327. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-contract.ts +0 -328
  328. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-kyc.ts +0 -304
  329. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-onboard-app.ts +0 -823
  330. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-onboard-web.ts +0 -493
  331. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-profile.ts +0 -277
  332. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/individual-whitelist.ts +0 -133
  333. package/dist/templates/k8s-deployment/services/charts/tests/charts/e2e-test-js/tests/t-0200-start.ts +0 -172
  334. package/dist/templates/mxw-base-api-express/.dockerignore +0 -2
  335. package/dist/templates/mxw-base-api-express/.env +0 -10
  336. package/dist/templates/mxw-base-api-express/.gitlab-ci.yml +0 -174
  337. package/dist/templates/mxw-base-api-express/.nvmrc +0 -1
  338. package/dist/templates/mxw-base-api-express/Makefile +0 -84
  339. package/dist/templates/mxw-base-api-express/src/app-service.test.ts +0 -94
  340. package/dist/templates/mxw-base-api-express/src/app-service.ts +0 -498
  341. package/dist/templates/mxw-base-api-express/src/auth/auth-user.test.ts +0 -215
  342. package/dist/templates/mxw-base-api-express/src/auth/auth-user.ts +0 -86
  343. package/dist/templates/mxw-base-api-express/src/auth/auth.ts +0 -81
  344. package/dist/templates/mxw-base-api-express/src/core-service.ts +0 -72
  345. package/dist/templates/mxw-base-api-express/src/crud.ts +0 -84
  346. package/dist/templates/mxw-base-api-express/src/http-handler.ts +0 -71
  347. package/dist/templates/mxw-base-api-express/src/server.ts +0 -54
  348. package/dist/templates/mxw-base-api-express/src/test.ts +0 -38
  349. package/dist/templates/mxw-base-api-express/src/utils/api-utilities.ts +0 -52
  350. package/dist/templates/mxw-base-api-express/src/utils/file-utilities.ts +0 -55
  351. package/dist/templates/mxw-base-api-express/tsconfig.json +0 -32
  352. package/dist/templates/nestjs-api/.dockerignore +0 -6
  353. package/dist/templates/nestjs-api/.gitlab-ci.yml +0 -174
  354. package/dist/templates/nestjs-api/.nvmrc +0 -1
  355. package/dist/templates/nestjs-api/.prettierrc +0 -4
  356. package/dist/templates/nestjs-api/Makefile +0 -95
  357. package/dist/templates/nestjs-api/nest-cli.json +0 -11
  358. package/dist/templates/nestjs-api/src/app.controller.spec.ts +0 -22
  359. package/dist/templates/nestjs-api/src/app.controller.ts +0 -27
  360. package/dist/templates/nestjs-api/src/app.module.ts +0 -32
  361. package/dist/templates/nestjs-api/src/app.service.ts +0 -27
  362. package/dist/templates/nestjs-api/src/main.ts +0 -26
  363. package/dist/templates/nestjs-api/test/app.e2e-spec.ts +0 -24
  364. package/dist/templates/nestjs-api/tsconfig.build.json +0 -4
  365. package/dist/templates/nestjs-api/tsconfig.json +0 -21
  366. package/dist/templates/nestjs-library/.eslintrc.js +0 -24
  367. package/dist/templates/nestjs-library/.gitlab-ci.yml +0 -138
  368. package/dist/templates/nestjs-library/.prettierrc +0 -6
  369. package/dist/templates/nestjs-library/Makefile +0 -60
  370. package/dist/templates/nestjs-library/index.ts +0 -1
  371. package/dist/templates/nestjs-library/lib/index.ts +0 -2
  372. package/dist/templates/nestjs-library/test/app/controller/hello.controller.ts +0 -7
  373. package/dist/templates/nestjs-library/tsconfig.build.json +0 -7
  374. package/dist/templates/nestjs-library/tsconfig.json +0 -18
  375. package/dist/templates/ts-library/.dockerignore +0 -2
  376. package/dist/templates/ts-library/.eslintrc.js +0 -24
  377. package/dist/templates/ts-library/.gitlab-ci.yml +0 -136
  378. package/dist/templates/ts-library/.prettierrc +0 -6
  379. package/dist/templates/ts-library/Makefile +0 -58
  380. package/dist/templates/ts-library/index.ts +0 -1
  381. package/dist/templates/ts-library/lib/index.ts +0 -1
  382. package/dist/templates/ts-library/lib/samples/index.ts +0 -5
  383. package/dist/templates/ts-library/lib/samples/samples-function.ts +0 -3
  384. package/dist/templates/ts-library/test/sample.e2e-spec.ts +0 -10
  385. package/dist/templates/ts-library/tsconfig.build.json +0 -4
  386. package/tsconfig.json +0 -24
  387. /package/dist/templates/{nestjs-api/.eslintrc.js → turbo-nestjs-vuexy/packages/eslint-config/nest.js} +0 -0
@@ -0,0 +1,553 @@
1
+ {{- define "root.middleware" -}}
2
+ {{- if and .Values.enabled .Values.middleware -}}
3
+ {{- $fullName := include (print $.Chart.Name ".fullname") . -}}
4
+ apiVersion: traefik.io/v1alpha1
5
+ kind: Middleware
6
+ metadata:
7
+ name: {{ .Values.middleware.name | default $fullName }}
8
+ {{- if .Values.middleware.annotations }}
9
+ annotations:
10
+ {{- with .Values.middleware.annotations }}
11
+ {{- toYaml . | nindent 4 }}
12
+ {{- end }}
13
+ {{- end }}
14
+ labels:
15
+ {{- include (print $.Chart.Name ".labels") . | nindent 4 }}
16
+ spec:
17
+ {{- if .Values.middleware.addPrefix }}
18
+ addPrefix:
19
+ prefix: {{ include "root.global" (list . .Values.middleware.addPrefix.prefix) }}
20
+ {{- end }}
21
+ {{- if .Values.middleware.stripPrefix }}
22
+ stripPrefix:
23
+ prefixes:
24
+ {{- range .Values.middleware.stripPrefix.prefixes }}
25
+ - {{ include "root.global" (list $ .) }}
26
+ {{- end }}
27
+ {{- if .Values.middleware.stripPrefix.forceSlash }}
28
+ forceSlash: {{ .Values.middleware.stripPrefix.forceSlash }}
29
+ {{- end }}
30
+ {{- end }}
31
+ {{- if .Values.middleware.stripPrefixRegex }}
32
+ stripPrefixRegex:
33
+ regex:
34
+ {{- range .Values.middleware.stripPrefixRegex.regex }}
35
+ - {{ include "root.global" (list $ .) }}
36
+ {{- end }}
37
+ {{- end }}
38
+ {{- if .Values.middleware.replacePath }}
39
+ replacePath:
40
+ path: {{ include "root.global" (list . .Values.middleware.replacePath.path) }}
41
+ {{- end }}
42
+ {{- if .Values.middleware.replacePathRegex }}
43
+ replacePathRegex:
44
+ regex: {{ include "root.global" (list . .Values.middleware.replacePathRegex.regex) }}
45
+ replacement: {{ include "root.global" (list . .Values.middleware.replacePathRegex.replacement) }}
46
+ {{- end }}
47
+ {{- if .Values.middleware.chain }}
48
+ chain:
49
+ middlewares:
50
+ {{- range .Values.middleware.chain.middlewares }}
51
+ - name: {{ include "root.global" (list $ .name) }}
52
+ {{- if .namespace }}
53
+ namespace: {{ include "root.global" (list $ .namespace) }}
54
+ {{- end }}
55
+ {{- end }}
56
+ {{- end }}
57
+ {{- if .Values.middleware.ipWhiteList }}
58
+ ipWhiteList:
59
+ sourceRange:
60
+ {{- range .Values.middleware.ipWhiteList.sourceRange }}
61
+ - {{ include "root.global" (list $ .) }}
62
+ {{- end }}
63
+ {{- if .Values.middleware.ipWhiteList.ipStrategy }}
64
+ ipStrategy:
65
+ {{- with .Values.middleware.ipWhiteList.ipStrategy }}
66
+ {{- if .depth }}
67
+ depth: {{ .depth }}
68
+ {{- end }}
69
+ {{- if .excludedIPs }}
70
+ excludedIPs:
71
+ {{- range .excludedIPs }}
72
+ - {{ include "root.global" (list $ .) }}
73
+ {{- end }}
74
+ {{- end }}
75
+ {{- end }}
76
+ {{- end }}
77
+ {{- end }}
78
+ {{- if .Values.middleware.headers }}
79
+ headers:
80
+ {{- with .Values.middleware.headers }}
81
+ {{- if .customRequestHeaders }}
82
+ customRequestHeaders:
83
+ {{- range $key, $value := .customRequestHeaders }}
84
+ {{ $key }}: {{ include "root.global" (list $ $value) }}
85
+ {{- end }}
86
+ {{- end }}
87
+ {{- if .customResponseHeaders }}
88
+ customResponseHeaders:
89
+ {{- range $key, $value := .customResponseHeaders }}
90
+ {{ $key }}: {{ include "root.global" (list $ $value) }}
91
+ {{- end }}
92
+ {{- end }}
93
+ {{- if .accessControlAllowCredentials }}
94
+ accessControlAllowCredentials: {{ .accessControlAllowCredentials }}
95
+ {{- end }}
96
+ {{- if .accessControlAllowHeaders }}
97
+ accessControlAllowHeaders:
98
+ {{- range .accessControlAllowHeaders }}
99
+ - {{ include "root.global" (list $ .) }}
100
+ {{- end }}
101
+ {{- end }}
102
+ {{- if .accessControlAllowMethods }}
103
+ accessControlAllowMethods:
104
+ {{- range .accessControlAllowMethods }}
105
+ - {{ include "root.global" (list $ .) }}
106
+ {{- end }}
107
+ {{- end }}
108
+ {{- if .accessControlAllowOriginList }}
109
+ accessControlAllowOriginList:
110
+ {{- range .accessControlAllowOriginList }}
111
+ - {{ include "root.global" (list $ .) }}
112
+ {{- end }}
113
+ {{- end }}
114
+ {{- if .accessControlAllowOriginListRegex }}
115
+ accessControlAllowOriginListRegex:
116
+ {{- range .accessControlAllowOriginListRegex }}
117
+ - {{ include "root.global" (list $ .) }}
118
+ {{- end }}
119
+ {{- end }}
120
+ {{- if .accessControlExposeHeaders }}
121
+ accessControlExposeHeaders:
122
+ {{- range .accessControlExposeHeaders }}
123
+ - {{ include "root.global" (list $ .) }}
124
+ {{- end }}
125
+ {{- end }}
126
+ {{- if .accessControlMaxAge }}
127
+ accessControlMaxAge: {{ .accessControlMaxAge }}
128
+ {{- end }}
129
+ {{- if .addVaryHeader }}
130
+ addVaryHeader: {{ .addVaryHeader }}
131
+ {{- end }}
132
+ {{- if .allowedHosts }}
133
+ allowedHosts:
134
+ {{- range .allowedHosts }}
135
+ - {{ include "root.global" (list $ .) }}
136
+ {{- end }}
137
+ {{- end }}
138
+ {{- if .hostsProxyHeaders }}
139
+ hostsProxyHeaders:
140
+ {{- range .hostsProxyHeaders }}
141
+ - {{ include "root.global" (list $ .) }}
142
+ {{- end }}
143
+ {{- end }}
144
+ {{- if .isDevelopment }}
145
+ isDevelopment: {{ .isDevelopment }}
146
+ {{- end }}
147
+ {{- if .publicKey }}
148
+ publicKey: {{ include "root.global" (list $ .publicKey) }}
149
+ {{- end }}
150
+ {{- if .referrerPolicy }}
151
+ referrerPolicy: {{ include "root.global" (list $ .referrerPolicy) }}
152
+ {{- end }}
153
+ {{- if .sslRedirect }}
154
+ sslRedirect: {{ .sslRedirect }}
155
+ {{- end }}
156
+ {{- if .sslTemporaryRedirect }}
157
+ sslTemporaryRedirect: {{ .sslTemporaryRedirect }}
158
+ {{- end }}
159
+ {{- if .sslHost }}
160
+ sslHost: {{ include "root.global" (list $ .sslHost) }}
161
+ {{- end }}
162
+ {{- if .sslProxyHeaders }}
163
+ sslProxyHeaders:
164
+ {{- range $key, $value := .sslProxyHeaders }}
165
+ {{ $key }}: {{ include "root.global" (list $ $value) }}
166
+ {{- end }}
167
+ {{- end }}
168
+ {{- if .sslForceHost }}
169
+ sslForceHost: {{ .sslForceHost }}
170
+ {{- end }}
171
+ {{- if .stsSeconds }}
172
+ stsSeconds: {{ .stsSeconds }}
173
+ {{- end }}
174
+ {{- if .stsIncludeSubdomains }}
175
+ stsIncludeSubdomains: {{ .stsIncludeSubdomains }}
176
+ {{- end }}
177
+ {{- if .stsPreload }}
178
+ stsPreload: {{ .stsPreload }}
179
+ {{- end }}
180
+ {{- if .forceSTSHeader }}
181
+ forceSTSHeader: {{ .forceSTSHeader }}
182
+ {{- end }}
183
+ {{- if .frameDeny }}
184
+ frameDeny: {{ .frameDeny }}
185
+ {{- end }}
186
+ {{- if .customFrameOptionsValue }}
187
+ customFrameOptionsValue: {{ include "root.global" (list $ .customFrameOptionsValue) }}
188
+ {{- end }}
189
+ {{- if .contentTypeNosniff }}
190
+ contentTypeNosniff: {{ .contentTypeNosniff }}
191
+ {{- end }}
192
+ {{- if .browserXssFilter }}
193
+ browserXssFilter: {{ .browserXssFilter }}
194
+ {{- end }}
195
+ {{- if .customBrowserXSSValue }}
196
+ customBrowserXSSValue: {{ include "root.global" (list $ .customBrowserXSSValue) }}
197
+ {{- end }}
198
+ {{- if .contentSecurityPolicy }}
199
+ contentSecurityPolicy: {{ include "root.global" (list $ .contentSecurityPolicy) }}
200
+ {{- end }}
201
+ {{- if .featurePolicy }}
202
+ featurePolicy: {{ include "root.global" (list $ .featurePolicy) }}
203
+ {{- end }}
204
+ {{- if .permissionsPolicy }}
205
+ permissionsPolicy: {{ include "root.global" (list $ .permissionsPolicy) }}
206
+ {{- end }}
207
+ {{- end }}
208
+ {{- end }}
209
+ {{- if .Values.middleware.basicAuth }}
210
+ basicAuth:
211
+ {{- with .Values.middleware.basicAuth }}
212
+ {{- if .users }}
213
+ users:
214
+ {{- range .users }}
215
+ - {{ include "root.global" (list $ .) }}
216
+ {{- end }}
217
+ {{- end }}
218
+ {{- if .usersFile }}
219
+ usersFile: {{ include "root.global" (list $ .usersFile) }}
220
+ {{- end }}
221
+ {{- if .realm }}
222
+ realm: {{ include "root.global" (list $ .realm) }}
223
+ {{- end }}
224
+ {{- if .removeHeader }}
225
+ removeHeader: {{ .removeHeader }}
226
+ {{- end }}
227
+ {{- if .headerField }}
228
+ headerField: {{ include "root.global" (list $ .headerField) }}
229
+ {{- end }}
230
+ {{- end }}
231
+ {{- end }}
232
+ {{- if .Values.middleware.digestAuth }}
233
+ digestAuth:
234
+ {{- with .Values.middleware.digestAuth }}
235
+ {{- if .users }}
236
+ users:
237
+ {{- range .users }}
238
+ - {{ include "root.global" (list $ .) }}
239
+ {{- end }}
240
+ {{- end }}
241
+ {{- if .usersFile }}
242
+ usersFile: {{ include "root.global" (list $ .usersFile) }}
243
+ {{- end }}
244
+ {{- if .realm }}
245
+ realm: {{ include "root.global" (list $ .realm) }}
246
+ {{- end }}
247
+ {{- if .removeHeader }}
248
+ removeHeader: {{ .removeHeader }}
249
+ {{- end }}
250
+ {{- if .headerField }}
251
+ headerField: {{ include "root.global" (list $ .headerField) }}
252
+ {{- end }}
253
+ {{- end }}
254
+ {{- end }}
255
+ {{- if .Values.middleware.forwardAuth }}
256
+ forwardAuth:
257
+ {{- with .Values.middleware.forwardAuth }}
258
+ address: {{ include "root.global" (list $ .address) }}
259
+ {{- if .trustForwardHeader }}
260
+ trustForwardHeader: {{ .trustForwardHeader }}
261
+ {{- end }}
262
+ {{- if .authResponseHeaders }}
263
+ authResponseHeaders:
264
+ {{- range .authResponseHeaders }}
265
+ - {{ include "root.global" (list $ .) }}
266
+ {{- end }}
267
+ {{- end }}
268
+ {{- if .authResponseHeadersRegex }}
269
+ authResponseHeadersRegex: {{ include "root.global" (list $ .authResponseHeadersRegex) }}
270
+ {{- end }}
271
+ {{- if .authRequestHeaders }}
272
+ authRequestHeaders:
273
+ {{- range .authRequestHeaders }}
274
+ - {{ include "root.global" (list $ .) }}
275
+ {{- end }}
276
+ {{- end }}
277
+ {{- if .tls }}
278
+ tls:
279
+ {{- with .tls }}
280
+ {{- if .ca }}
281
+ ca: {{ include "root.global" (list $ .ca) }}
282
+ {{- end }}
283
+ {{- if .caOptional }}
284
+ caOptional: {{ .caOptional }}
285
+ {{- end }}
286
+ {{- if .cert }}
287
+ cert: {{ include "root.global" (list $ .cert) }}
288
+ {{- end }}
289
+ {{- if .key }}
290
+ key: {{ include "root.global" (list $ .key) }}
291
+ {{- end }}
292
+ {{- if .insecureSkipVerify }}
293
+ insecureSkipVerify: {{ .insecureSkipVerify }}
294
+ {{- end }}
295
+ {{- end }}
296
+ {{- end }}
297
+ {{- end }}
298
+ {{- end }}
299
+ {{- if .Values.middleware.redirectRegex }}
300
+ redirectRegex:
301
+ regex: {{ include "root.global" (list . .Values.middleware.redirectRegex.regex) }}
302
+ replacement: {{ include "root.global" (list . .Values.middleware.redirectRegex.replacement) }}
303
+ {{- if .Values.middleware.redirectRegex.permanent }}
304
+ permanent: {{ .Values.middleware.redirectRegex.permanent }}
305
+ {{- end }}
306
+ {{- end }}
307
+ {{- if .Values.middleware.redirectScheme }}
308
+ redirectScheme:
309
+ scheme: {{ include "root.global" (list . .Values.middleware.redirectScheme.scheme) }}
310
+ {{- if .Values.middleware.redirectScheme.port }}
311
+ port: {{ include "root.global" (list . .Values.middleware.redirectScheme.port) }}
312
+ {{- end }}
313
+ {{- if .Values.middleware.redirectScheme.permanent }}
314
+ permanent: {{ .Values.middleware.redirectScheme.permanent }}
315
+ {{- end }}
316
+ {{- end }}
317
+ {{- if .Values.middleware.rateLimit }}
318
+ rateLimit:
319
+ {{- with .Values.middleware.rateLimit }}
320
+ {{- if .average }}
321
+ average: {{ .average }}
322
+ {{- end }}
323
+ {{- if .period }}
324
+ period: {{ include "root.global" (list $ .period) }}
325
+ {{- end }}
326
+ {{- if .burst }}
327
+ burst: {{ .burst }}
328
+ {{- end }}
329
+ {{- if .sourceCriterion }}
330
+ sourceCriterion:
331
+ {{- with .sourceCriterion }}
332
+ {{- if .ipStrategy }}
333
+ ipStrategy:
334
+ {{- with .ipStrategy }}
335
+ {{- if .depth }}
336
+ depth: {{ .depth }}
337
+ {{- end }}
338
+ {{- if .excludedIPs }}
339
+ excludedIPs:
340
+ {{- range .excludedIPs }}
341
+ - {{ include "root.global" (list $ .) }}
342
+ {{- end }}
343
+ {{- end }}
344
+ {{- end }}
345
+ {{- end }}
346
+ {{- if .requestHeaderName }}
347
+ requestHeaderName: {{ include "root.global" (list $ .requestHeaderName) }}
348
+ {{- end }}
349
+ {{- if .requestHost }}
350
+ requestHost: {{ .requestHost }}
351
+ {{- end }}
352
+ {{- end }}
353
+ {{- end }}
354
+ {{- end }}
355
+ {{- end }}
356
+ {{- if .Values.middleware.retry }}
357
+ retry:
358
+ {{- with .Values.middleware.retry }}
359
+ {{- if .attempts }}
360
+ attempts: {{ .attempts }}
361
+ {{- end }}
362
+ {{- if .initialInterval }}
363
+ initialInterval: {{ include "root.global" (list $ .initialInterval) }}
364
+ {{- end }}
365
+ {{- end }}
366
+ {{- end }}
367
+ {{- if .Values.middleware.buffering }}
368
+ buffering:
369
+ {{- with .Values.middleware.buffering }}
370
+ {{- if .maxRequestBodyBytes }}
371
+ maxRequestBodyBytes: {{ .maxRequestBodyBytes }}
372
+ {{- end }}
373
+ {{- if .memRequestBodyBytes }}
374
+ memRequestBodyBytes: {{ .memRequestBodyBytes }}
375
+ {{- end }}
376
+ {{- if .maxResponseBodyBytes }}
377
+ maxResponseBodyBytes: {{ .maxResponseBodyBytes }}
378
+ {{- end }}
379
+ {{- if .memResponseBodyBytes }}
380
+ memResponseBodyBytes: {{ .memResponseBodyBytes }}
381
+ {{- end }}
382
+ {{- if .retryExpression }}
383
+ retryExpression: {{ include "root.global" (list $ .retryExpression) }}
384
+ {{- end }}
385
+ {{- end }}
386
+ {{- end }}
387
+ {{- if .Values.middleware.circuitBreaker }}
388
+ circuitBreaker:
389
+ {{- with .Values.middleware.circuitBreaker }}
390
+ {{- if .expression }}
391
+ expression: {{ include "root.global" (list $ .expression) }}
392
+ {{- end }}
393
+ {{- if .checkPeriod }}
394
+ checkPeriod: {{ include "root.global" (list $ .checkPeriod) }}
395
+ {{- end }}
396
+ {{- if .fallbackDuration }}
397
+ fallbackDuration: {{ include "root.global" (list $ .fallbackDuration) }}
398
+ {{- end }}
399
+ {{- if .recoveryDuration }}
400
+ recoveryDuration: {{ include "root.global" (list $ .recoveryDuration) }}
401
+ {{- end }}
402
+ {{- end }}
403
+ {{- end }}
404
+ {{- if .Values.middleware.compress }}
405
+ compress:
406
+ {{- with .Values.middleware.compress }}
407
+ {{- if .excludedContentTypes }}
408
+ excludedContentTypes:
409
+ {{- range .excludedContentTypes }}
410
+ - {{ include "root.global" (list $ .) }}
411
+ {{- end }}
412
+ {{- end }}
413
+ {{- if .minResponseBodyBytes }}
414
+ minResponseBodyBytes: {{ .minResponseBodyBytes }}
415
+ {{- end }}
416
+ {{- end }}
417
+ {{- end }}
418
+ {{- if .Values.middleware.contentType }}
419
+ contentType:
420
+ autoDetect: {{ .Values.middleware.contentType.autoDetect | default true }}
421
+ {{- end }}
422
+ {{- if .Values.middleware.errorPages }}
423
+ errorPages:
424
+ {{- with .Values.middleware.errorPages }}
425
+ {{- range .errorPages }}
426
+ {{- $status := .status }}
427
+ {{- range $status }}
428
+ {{ . }}:
429
+ {{- end }}
430
+ service: {{ include "root.global" (list $ .service) }}
431
+ query: {{ include "root.global" (list $ .query) }}
432
+ {{- end }}
433
+ {{- end }}
434
+ {{- end }}
435
+ {{- if .Values.middleware.grpcWeb }}
436
+ grpcWeb: {}
437
+ {{- end }}
438
+ {{- if .Values.middleware.inFlightReq }}
439
+ inFlightReq:
440
+ {{- with .Values.middleware.inFlightReq }}
441
+ amount: {{ .amount }}
442
+ {{- if .sourceCriterion }}
443
+ sourceCriterion:
444
+ {{- with .sourceCriterion }}
445
+ {{- if .ipStrategy }}
446
+ ipStrategy:
447
+ {{- with .ipStrategy }}
448
+ {{- if .depth }}
449
+ depth: {{ .depth }}
450
+ {{- end }}
451
+ {{- if .excludedIPs }}
452
+ excludedIPs:
453
+ {{- range .excludedIPs }}
454
+ - {{ include "root.global" (list $ .) }}
455
+ {{- end }}
456
+ {{- end }}
457
+ {{- end }}
458
+ {{- end }}
459
+ {{- if .requestHeaderName }}
460
+ requestHeaderName: {{ include "root.global" (list $ .requestHeaderName) }}
461
+ {{- end }}
462
+ {{- if .requestHost }}
463
+ requestHost: {{ .requestHost }}
464
+ {{- end }}
465
+ {{- end }}
466
+ {{- end }}
467
+ {{- end }}
468
+ {{- end }}
469
+ {{- if .Values.middleware.passTLSClientCert }}
470
+ passTLSClientCert:
471
+ {{- with .Values.middleware.passTLSClientCert }}
472
+ {{- if .pem }}
473
+ pem: {{ .pem }}
474
+ {{- end }}
475
+ {{- if .info }}
476
+ info:
477
+ {{- with .info }}
478
+ {{- if .notAfter }}
479
+ notAfter: {{ .notAfter }}
480
+ {{- end }}
481
+ {{- if .notBefore }}
482
+ notBefore: {{ .notBefore }}
483
+ {{- end }}
484
+ {{- if .sans }}
485
+ sans: {{ .sans }}
486
+ {{- end }}
487
+ {{- if .subject }}
488
+ subject:
489
+ {{- with .subject }}
490
+ {{- if .country }}
491
+ country: {{ .country }}
492
+ {{- end }}
493
+ {{- if .province }}
494
+ province: {{ .province }}
495
+ {{- end }}
496
+ {{- if .locality }}
497
+ locality: {{ .locality }}
498
+ {{- end }}
499
+ {{- if .organization }}
500
+ organization: {{ .organization }}
501
+ {{- end }}
502
+ {{- if .organizationalUnit }}
503
+ organizationalUnit: {{ .organizationalUnit }}
504
+ {{- end }}
505
+ {{- if .commonName }}
506
+ commonName: {{ .commonName }}
507
+ {{- end }}
508
+ {{- if .serialNumber }}
509
+ serialNumber: {{ .serialNumber }}
510
+ {{- end }}
511
+ {{- if .domainComponent }}
512
+ domainComponent: {{ .domainComponent }}
513
+ {{- end }}
514
+ {{- end }}
515
+ {{- end }}
516
+ {{- if .issuer }}
517
+ issuer:
518
+ {{- with .issuer }}
519
+ {{- if .country }}
520
+ country: {{ .country }}
521
+ {{- end }}
522
+ {{- if .province }}
523
+ province: {{ .province }}
524
+ {{- end }}
525
+ {{- if .locality }}
526
+ locality: {{ .locality }}
527
+ {{- end }}
528
+ {{- if .organization }}
529
+ organization: {{ .organization }}
530
+ {{- end }}
531
+ {{- if .organizationalUnit }}
532
+ organizationalUnit: {{ .organizationalUnit }}
533
+ {{- end }}
534
+ {{- if .commonName }}
535
+ commonName: {{ .commonName }}
536
+ {{- end }}
537
+ {{- if .serialNumber }}
538
+ serialNumber: {{ .serialNumber }}
539
+ {{- end }}
540
+ {{- if .domainComponent }}
541
+ domainComponent: {{ .domainComponent }}
542
+ {{- end }}
543
+ {{- end }}
544
+ {{- end }}
545
+ {{- if .serialNumber }}
546
+ serialNumber: {{ .serialNumber }}
547
+ {{- end }}
548
+ {{- end }}
549
+ {{- end }}
550
+ {{- end }}
551
+ {{- end }}
552
+ {{- end }}
553
+ {{- end }}
@@ -0,0 +1,73 @@
1
+ {{- define "root.serverstransport" -}}
2
+ {{- if and .Values.enabled .Values.serversTransport -}}
3
+ {{- $fullName := include (print $.Chart.Name ".fullname") . -}}
4
+ apiVersion: traefik.io/v1alpha1
5
+ kind: ServersTransport
6
+ metadata:
7
+ name: {{ .Values.serversTransport.name | default (printf "%s-transport" $fullName) }}
8
+ {{- if .Values.serversTransport.annotations }}
9
+ annotations:
10
+ {{- with .Values.serversTransport.annotations }}
11
+ {{- toYaml . | nindent 4 }}
12
+ {{- end }}
13
+ {{- end }}
14
+ labels:
15
+ {{- include (print $.Chart.Name ".labels") . | nindent 4 }}
16
+ spec:
17
+ {{- if .Values.serversTransport.serverName }}
18
+ serverName: {{ include "root.global" (list . .Values.serversTransport.serverName) }}
19
+ {{- end }}
20
+ {{- if .Values.serversTransport.insecureSkipVerify }}
21
+ insecureSkipVerify: {{ .Values.serversTransport.insecureSkipVerify }}
22
+ {{- end }}
23
+ {{- if .Values.serversTransport.rootCAsSecrets }}
24
+ rootCAsSecrets:
25
+ {{- range .Values.serversTransport.rootCAsSecrets }}
26
+ - {{ include "root.global" (list $ .) }}
27
+ {{- end }}
28
+ {{- end }}
29
+ {{- if .Values.serversTransport.certificatesSecrets }}
30
+ certificatesSecrets:
31
+ {{- range .Values.serversTransport.certificatesSecrets }}
32
+ - {{ include "root.global" (list $ .) }}
33
+ {{- end }}
34
+ {{- end }}
35
+ {{- if .Values.serversTransport.maxIdleConnsPerHost }}
36
+ maxIdleConnsPerHost: {{ .Values.serversTransport.maxIdleConnsPerHost }}
37
+ {{- end }}
38
+ {{- if .Values.serversTransport.forwardingTimeouts }}
39
+ forwardingTimeouts:
40
+ {{- with .Values.serversTransport.forwardingTimeouts }}
41
+ {{- if .dialTimeout }}
42
+ dialTimeout: {{ include "root.global" (list $ .dialTimeout) }}
43
+ {{- end }}
44
+ {{- if .responseHeaderTimeout }}
45
+ responseHeaderTimeout: {{ include "root.global" (list $ .responseHeaderTimeout) }}
46
+ {{- end }}
47
+ {{- if .idleConnTimeout }}
48
+ idleConnTimeout: {{ include "root.global" (list $ .idleConnTimeout) }}
49
+ {{- end }}
50
+ {{- end }}
51
+ {{- end }}
52
+ {{- if .Values.serversTransport.disableHTTP2 }}
53
+ disableHTTP2: {{ .Values.serversTransport.disableHTTP2 }}
54
+ {{- end }}
55
+ {{- if .Values.serversTransport.peerCertURI }}
56
+ peerCertURI: {{ include "root.global" (list . .Values.serversTransport.peerCertURI) }}
57
+ {{- end }}
58
+ {{- if .Values.serversTransport.spiffe }}
59
+ spiffe:
60
+ {{- with .Values.serversTransport.spiffe }}
61
+ {{- if .ids }}
62
+ ids:
63
+ {{- range .ids }}
64
+ - {{ include "root.global" (list $ .) }}
65
+ {{- end }}
66
+ {{- end }}
67
+ {{- if .trustDomain }}
68
+ trustDomain: {{ include "root.global" (list $ .trustDomain) }}
69
+ {{- end }}
70
+ {{- end }}
71
+ {{- end }}
72
+ {{- end }}
73
+ {{- end }}
@@ -18,7 +18,10 @@ spec:
18
18
  ## set clusterIP to none to create headless services
19
19
  {{- if .Values.service.clusterIP }}
20
20
  clusterIP: {{ .Values.service.clusterIP }}
21
- {{- end }}
21
+ {{- end }}
22
+ {{- if .Values.service.externalName }}
23
+ externalName: {{ .Values.service.externalName }}
24
+ {{- end }}
22
25
  ports:
23
26
  {{- if .Values.service.ports }}
24
27
  {{- range $.Values.service.ports }}
@@ -0,0 +1 @@
1
+ {{- include "root.endpointslice" $ }}
@@ -0,0 +1 @@
1
+ {{- include "root.gateway" $ }}
@@ -0,0 +1 @@
1
+ {{- include "root.grpcroute" $ }}
@@ -0,0 +1 @@
1
+ {{- include "root.httproute" $ }}
@@ -0,0 +1 @@
1
+ {{- include "root.ingressroute" $ }}
@@ -0,0 +1 @@
1
+ {{- include "root.middleware" $ }}
@@ -0,0 +1 @@
1
+ {{- include "root.serverstransport" $ }}
@@ -18,16 +18,14 @@ ingress:
18
18
  annotations:
19
19
  nginx.ingress.kubernetes.io/ssl-redirect: "true"
20
20
  nginx.ingress.kubernetes.io/rewrite-target: /$1
21
- nginx.ingress.kubernetes.io/configuration-snippet: |
22
- gzip on;
23
- gzip_min_length 20;
24
- gzip_types text/plain application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
21
+ nginx.ingress.kubernetes.io/use-gzip: "true"
22
+ nginx.ingress.kubernetes.io/gzip-min-length: "20"
25
23
 
26
24
  hosts:
27
25
  - host: www.example.com
28
26
  paths:
29
27
  - path: "/?(.*)"
30
- pathType: "Prefix"
28
+ pathType: "ImplementationSpecific"
31
29
  tls:
32
30
  - secretName: SERVICE_BASE_DOMAIN_CERT
33
31
  hosts:
@@ -1,4 +1,9 @@
1
1
  SERVER_PORT=8080
2
+ # SERVER_USE_HELMET=false
3
+ # SERVER_USE_CORS=false
4
+ # SERVER_CORS_ORIGINS=/\.example\.com,http://localhost:5173
5
+ # SERVER_CORS_METHODS=GET,POST,PUT,DELETE,OPTIONS
6
+ # SERVER_CORS_HEADERS=Content-Type,Authorization, Accept, Origin, User-Agent, Cache-Control, Keep-Alive, X-Requested-With, lang
2
7
 
3
8
  GLOBAL_PREFIX=/
4
9
 
@@ -36,4 +36,5 @@ lerna-debug.log*
36
36
 
37
37
  .tomg-config
38
38
  generated
39
- *.pem
39
+ *.pem
40
+ .env.local