@vef-framework/dev 1.0.135 → 2.0.2

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 (197) hide show
  1. package/README +15 -0
  2. package/dist/cjs/index.cjs +23 -0
  3. package/dist/cjs/lint/commitlint.cjs +14 -0
  4. package/dist/cjs/lint/eslint.cjs +981 -0
  5. package/dist/cjs/lint/index.cjs +14 -0
  6. package/dist/cjs/lint/stylelint.cjs +92 -0
  7. package/dist/cjs/vite/chunks.cjs +42 -0
  8. package/dist/cjs/vite/config.cjs +83 -0
  9. package/dist/cjs/vite/constants.cjs +30 -0
  10. package/dist/cjs/vite/define.cjs +26 -0
  11. package/dist/cjs/vite/index.cjs +11 -0
  12. package/dist/cjs/vite/plugin-app-config.cjs +38 -0
  13. package/dist/cjs/vite/plugin-auto-enhance/core.cjs +147 -0
  14. package/dist/cjs/vite/plugin-auto-enhance/index.cjs +40 -0
  15. package/dist/cjs/vite/plugin-auto-enhance/plugins/index.cjs +10 -0
  16. package/dist/cjs/vite/plugin-auto-enhance/plugins/operation-column-width.cjs +229 -0
  17. package/dist/cjs/vite/plugin-conventional-config.cjs +91 -0
  18. package/dist/cjs/vite/plugin-eslint.cjs +24 -0
  19. package/dist/cjs/vite/plugin-html.cjs +216 -0
  20. package/dist/cjs/vite/plugin-icons.cjs +22 -0
  21. package/dist/cjs/vite/plugin-injection.cjs +20 -0
  22. package/dist/cjs/vite/plugin-inspect.cjs +15 -0
  23. package/dist/cjs/vite/plugin-react.cjs +80 -0
  24. package/dist/cjs/vite/plugin-router.cjs +49 -0
  25. package/dist/cjs/vite/plugin-stylelint.cjs +24 -0
  26. package/dist/cjs/vite/plugin-svgr.cjs +59 -0
  27. package/dist/cjs/vite/plugin-tsconfig-paths.cjs +14 -0
  28. package/dist/cjs/vite/postcss.cjs +13 -0
  29. package/dist/es/index.js +8 -0
  30. package/dist/es/lint/commitlint.js +10 -0
  31. package/dist/es/lint/eslint.js +958 -0
  32. package/dist/es/lint/index.js +4 -0
  33. package/dist/es/lint/stylelint.js +88 -0
  34. package/dist/es/vite/chunks.js +38 -0
  35. package/dist/es/vite/config.js +79 -0
  36. package/dist/es/vite/constants.js +15 -0
  37. package/dist/es/vite/define.js +22 -0
  38. package/dist/es/vite/index.js +3 -0
  39. package/dist/es/vite/plugin-app-config.js +34 -0
  40. package/dist/es/vite/plugin-auto-enhance/core.js +143 -0
  41. package/dist/es/vite/plugin-auto-enhance/index.js +32 -0
  42. package/dist/es/vite/plugin-auto-enhance/plugins/index.js +2 -0
  43. package/dist/es/vite/plugin-auto-enhance/plugins/operation-column-width.js +225 -0
  44. package/dist/es/vite/plugin-conventional-config.js +87 -0
  45. package/dist/es/vite/plugin-eslint.js +20 -0
  46. package/dist/es/vite/plugin-html.js +212 -0
  47. package/dist/es/vite/plugin-icons.js +17 -0
  48. package/dist/es/vite/plugin-injection.js +16 -0
  49. package/dist/es/vite/plugin-inspect.js +11 -0
  50. package/dist/es/vite/plugin-react.js +76 -0
  51. package/dist/es/vite/plugin-router.js +45 -0
  52. package/dist/es/vite/plugin-stylelint.js +20 -0
  53. package/dist/es/vite/plugin-svgr.js +55 -0
  54. package/dist/es/vite/plugin-tsconfig-paths.js +10 -0
  55. package/dist/es/vite/postcss.js +9 -0
  56. package/dist/types/index.d.ts +2 -0
  57. package/dist/types/lint/commitlint.d.ts +8 -0
  58. package/dist/types/lint/eslint.d.ts +2 -0
  59. package/dist/types/lint/index.d.ts +3 -0
  60. package/dist/types/lint/stylelint.d.ts +7 -0
  61. package/dist/types/vite/chunks.d.ts +10 -0
  62. package/dist/types/vite/config.d.ts +39 -0
  63. package/{types → dist/types/vite}/constants.d.ts +4 -0
  64. package/dist/types/vite/define.d.ts +12 -0
  65. package/dist/types/vite/index.d.ts +3 -0
  66. package/{types → dist/types/vite}/plugin-app-config.d.ts +2 -1
  67. package/dist/types/vite/plugin-auto-enhance/core.d.ts +35 -0
  68. package/dist/types/vite/plugin-auto-enhance/index.d.ts +30 -0
  69. package/dist/types/vite/plugin-auto-enhance/plugins/index.d.ts +1 -0
  70. package/dist/types/vite/plugin-auto-enhance/plugins/operation-column-width.d.ts +14 -0
  71. package/dist/types/vite/plugin-auto-enhance/types.d.ts +83 -0
  72. package/{types → dist/types/vite}/plugin-conventional-config.d.ts +2 -2
  73. package/dist/types/vite/plugin-eslint.d.ts +7 -0
  74. package/{types → dist/types/vite}/plugin-html.d.ts +1 -1
  75. package/dist/types/vite/plugin-icons.d.ts +8 -0
  76. package/{types → dist/types/vite}/plugin-injection.d.ts +1 -1
  77. package/{types → dist/types/vite}/plugin-inspect.d.ts +2 -1
  78. package/dist/types/vite/plugin-react.d.ts +25 -0
  79. package/{types → dist/types/vite}/plugin-router.d.ts +2 -2
  80. package/dist/types/vite/plugin-stylelint.d.ts +7 -0
  81. package/dist/types/vite/plugin-svgr.d.ts +7 -0
  82. package/{types → dist/types/vite}/plugin-tsconfig-paths.d.ts +2 -1
  83. package/dist/types/vite/postcss.d.ts +9 -0
  84. package/package.json +97 -74
  85. package/{tsconfig.app.json → tsconfig.base.json} +13 -9
  86. package/{client.d.ts → types.d.ts} +0 -6
  87. package/README.md +0 -25
  88. package/bin/hoist-patterns.js +0 -1
  89. package/bin/vef.js +0 -18
  90. package/cjs/cli.cjs +0 -5
  91. package/cjs/commitlint-config.cjs +0 -2
  92. package/cjs/config.cjs +0 -2
  93. package/cjs/constants.cjs +0 -2
  94. package/cjs/eslint-config.cjs +0 -2
  95. package/cjs/index.cjs +0 -2
  96. package/cjs/json/monaco.nls.json.cjs +0 -15920
  97. package/cjs/json/monaco.theme.github-light.json.cjs +0 -349
  98. package/cjs/modules.d.cjs +0 -2
  99. package/cjs/plugin-app-config.cjs +0 -2
  100. package/cjs/plugin-conventional-config.cjs +0 -12
  101. package/cjs/plugin-eslint.cjs +0 -2
  102. package/cjs/plugin-html.cjs +0 -17
  103. package/cjs/plugin-icons.cjs +0 -2
  104. package/cjs/plugin-initialization.cjs +0 -135
  105. package/cjs/plugin-injection.cjs +0 -3
  106. package/cjs/plugin-inspect.cjs +0 -2
  107. package/cjs/plugin-monaco-nls.cjs +0 -80
  108. package/cjs/plugin-react-swc.cjs +0 -2
  109. package/cjs/plugin-router.cjs +0 -11
  110. package/cjs/plugin-stylelint.cjs +0 -2
  111. package/cjs/plugin-svgr.cjs +0 -2
  112. package/cjs/plugin-tailwind.cjs +0 -2
  113. package/cjs/plugin-tailwindcss.cjs +0 -3
  114. package/cjs/plugin-tsconfig-paths.cjs +0 -2
  115. package/cjs/plugin-visualizer.cjs +0 -2
  116. package/cjs/plugin-webfont.cjs +0 -2
  117. package/cjs/stylelint-config.cjs +0 -2
  118. package/cjs/tailwind-config.cjs +0 -2
  119. package/cjs/types.cjs +0 -2
  120. package/esm/cli.js +0 -5
  121. package/esm/commitlint-config.js +0 -2
  122. package/esm/config.js +0 -2
  123. package/esm/constants.js +0 -2
  124. package/esm/eslint-config.js +0 -2
  125. package/esm/index.js +0 -2
  126. package/esm/json/monaco.nls.json.js +0 -15920
  127. package/esm/json/monaco.theme.github-light.json.js +0 -349
  128. package/esm/modules.d.js +0 -2
  129. package/esm/plugin-app-config.js +0 -2
  130. package/esm/plugin-conventional-config.js +0 -12
  131. package/esm/plugin-eslint.js +0 -2
  132. package/esm/plugin-html.js +0 -17
  133. package/esm/plugin-icons.js +0 -2
  134. package/esm/plugin-initialization.js +0 -135
  135. package/esm/plugin-injection.js +0 -3
  136. package/esm/plugin-inspect.js +0 -2
  137. package/esm/plugin-monaco-nls.js +0 -80
  138. package/esm/plugin-react-swc.js +0 -2
  139. package/esm/plugin-router.js +0 -11
  140. package/esm/plugin-stylelint.js +0 -2
  141. package/esm/plugin-svgr.js +0 -2
  142. package/esm/plugin-tailwind.js +0 -2
  143. package/esm/plugin-tailwindcss.js +0 -3
  144. package/esm/plugin-tsconfig-paths.js +0 -2
  145. package/esm/plugin-visualizer.js +0 -2
  146. package/esm/plugin-webfont.js +0 -2
  147. package/esm/stylelint-config.js +0 -2
  148. package/esm/tailwind-config.js +0 -2
  149. package/esm/types.js +0 -2
  150. package/template/.vscode/settings.json +0 -6
  151. package/template/_gitignore +0 -35
  152. package/template/_package.json +0 -43
  153. package/template/_tsconfig.json +0 -7
  154. package/template/commitlint.config.js +0 -3
  155. package/template/env/.env +0 -7
  156. package/template/env/.env.development +0 -0
  157. package/template/env/.env.production +0 -0
  158. package/template/env.d.ts +0 -1
  159. package/template/eslint.config.js +0 -3
  160. package/template/index.html +0 -0
  161. package/template/public/favicon.svg +0 -1
  162. package/template/src/main.ts +0 -145
  163. package/template/src/pages/__root.ts +0 -3
  164. package/template/src/pages/_common/access-denied.ts +0 -6
  165. package/template/src/pages/_common/login.ts +0 -8
  166. package/template/src/pages/_layout/index.tsx +0 -35
  167. package/template/src/pages/_layout/route.ts +0 -9
  168. package/template/src/pages/_layout/system/data-dictionary.tsx +0 -14
  169. package/template/src/pages/_layout/system/index.ts +0 -7
  170. package/template/src/pages/_layout/system/tenant.tsx +0 -14
  171. package/template/src/router/index.ts +0 -1
  172. package/template/style.css +0 -2
  173. package/template/stylelint.config.js +0 -3
  174. package/template/tailwind.config.js +0 -3
  175. package/template/tsconfig.app.json +0 -4
  176. package/template/tsconfig.build.json +0 -4
  177. package/template/vef.config.ts +0 -7
  178. package/tsconfig.build.json +0 -26
  179. package/types/cli.d.ts +0 -1
  180. package/types/commitlint-config.d.ts +0 -7
  181. package/types/config.d.ts +0 -38
  182. package/types/eslint-config.d.ts +0 -7
  183. package/types/index.d.ts +0 -5
  184. package/types/plugin-eslint.d.ts +0 -6
  185. package/types/plugin-icons.d.ts +0 -7
  186. package/types/plugin-initialization.d.ts +0 -7
  187. package/types/plugin-monaco-nls.d.ts +0 -15
  188. package/types/plugin-react-swc.d.ts +0 -6
  189. package/types/plugin-stylelint.d.ts +0 -6
  190. package/types/plugin-svgr.d.ts +0 -6
  191. package/types/plugin-tailwind.d.ts +0 -7
  192. package/types/plugin-tailwindcss.d.ts +0 -7
  193. package/types/plugin-visualizer.d.ts +0 -7
  194. package/types/plugin-webfont.d.ts +0 -6
  195. package/types/stylelint-config.d.ts +0 -7
  196. package/types/tailwind-config.d.ts +0 -7
  197. package/types/types.d.ts +0 -15
@@ -1,2 +0,0 @@
1
- "use strict";
2
- import n from"stylelint-config-recess-order/groups";function r(){return{extends:["stylelint-config-standard-scss","stylelint-config-recommended"],plugins:["stylelint-order"],rules:{"order/order":["dollar-variables","at-variables","custom-properties","less-mixins","declarations","at-rules","rules"],"order/properties-order":n.map(e=>({...e,emptyLineBefore:"always",noEmptyLineBetween:!0})),"declaration-empty-line-before":null,"at-rule-no-unknown":null,"function-no-unknown":null,"number-max-precision":null,"color-hex-length":"long","color-hex-alpha":"never","color-named":"never","unit-allowed-list":["px","em","rem","%","vw","vh","fr","deg","rad","grad","turn","ms","s"],"scss/function-no-unknown":[!0,{ignoreFunctions:[]}],"scss/at-rule-no-unknown":[!0,{ignoreAtRules:["config"]}]}}}export{r as defineStylelintConfig};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- import r from"@tailwindcss/container-queries";import e from"tailwindcss/colors";function v(){return{content:["./src/**/*.{ts,tsx}"],plugins:[r],theme:{colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000000",white:"var(--vef-color-white)",primary:"var(--vef-color-primary)","primary-hover":"var(--vef-color-primary-hover)","primary-active":"var(--vef-color-primary-active)",success:"var(--vef-color-success)","success-hover":"var(--vef-color-success-hover)","success-active":"var(--vef-color-success-active)",warning:"var(--vef-color-warning)","warning-hover":"var(--vef-color-warning-hover)","warning-active":"var(--vef-color-warning-active)",error:"var(--vef-color-error)","error-hover":"var(--vef-color-error-hover)","error-active":"var(--vef-color-error-active)",info:"var(--vef-color-info)","info-hover":"var(--vef-color-info-hover)","info-active":"var(--vef-color-info-active)",link:"var(--vef-color-link)","link-hover":"var(--vef-color-link-hover)","link-active":"var(--vef-color-link-active)",blue:{DEFAULT:"var(--vef-blue-6)",1:"var(--vef-blue-1)",2:"var(--vef-blue-2)",3:"var(--vef-blue-3)",4:"var(--vef-blue-4)",5:"var(--vef-blue-5)",6:"var(--vef-blue-6)",7:"var(--vef-blue-7)",8:"var(--vef-blue-8)",9:"var(--vef-blue-9)",10:"var(--vef-blue-10)"},purple:{DEFAULT:"var(--vef-purple-6)",1:"var(--vef-purple-1)",2:"var(--vef-purple-2)",3:"var(--vef-purple-3)",4:"var(--vef-purple-4)",5:"var(--vef-purple-5)",6:"var(--vef-purple-6)",7:"var(--vef-purple-7)",8:"var(--vef-purple-8)",9:"var(--vef-purple-9)",10:"var(--vef-purple-10)"},cyan:{DEFAULT:"var(--vef-cyan-6)",1:"var(--vef-cyan-1)",2:"var(--vef-cyan-2)",3:"var(--vef-cyan-3)",4:"var(--vef-cyan-4)",5:"var(--vef-cyan-5)",6:"var(--vef-cyan-6)",7:"var(--vef-cyan-7)",8:"var(--vef-cyan-8)",9:"var(--vef-cyan-9)",10:"var(--vef-cyan-10)"},green:{DEFAULT:"var(--vef-green-6)",1:"var(--vef-green-1)",2:"var(--vef-green-2)",3:"var(--vef-green-3)",4:"var(--vef-green-4)",5:"var(--vef-green-5)",6:"var(--vef-green-6)",7:"var(--vef-green-7)",8:"var(--vef-green-8)",9:"var(--vef-green-9)",10:"var(--vef-green-10)"},magenta:{DEFAULT:"var(--vef-magenta-6)",1:"var(--vef-magenta-1)",2:"var(--vef-magenta-2)",3:"var(--vef-magenta-3)",4:"var(--vef-magenta-4)",5:"var(--vef-magenta-5)",6:"var(--vef-magenta-6)",7:"var(--vef-magenta-7)",8:"var(--vef-magenta-8)",9:"var(--vef-magenta-9)",10:"var(--vef-magenta-10)"},pink:{DEFAULT:"var(--vef-pink-6)",1:"var(--vef-pink-1)",2:"var(--vef-pink-2)",3:"var(--vef-pink-3)",4:"var(--vef-pink-4)",5:"var(--vef-pink-5)",6:"var(--vef-pink-6)",7:"var(--vef-pink-7)",8:"var(--vef-pink-8)",9:"var(--vef-pink-9)",10:"var(--vef-pink-10)"},red:{DEFAULT:"var(--vef-red-6)",1:"var(--vef-red-1)",2:"var(--vef-red-2)",3:"var(--vef-red-3)",4:"var(--vef-red-4)",5:"var(--vef-red-5)",6:"var(--vef-red-6)",7:"var(--vef-red-7)",8:"var(--vef-red-8)",9:"var(--vef-red-9)",10:"var(--vef-red-10)"},orange:{DEFAULT:"var(--vef-orange-6)",1:"var(--vef-orange-1)",2:"var(--vef-orange-2)",3:"var(--vef-orange-3)",4:"var(--vef-orange-4)",5:"var(--vef-orange-5)",6:"var(--vef-orange-6)",7:"var(--vef-orange-7)",8:"var(--vef-orange-8)",9:"var(--vef-orange-9)",10:"var(--vef-orange-10)"},yellow:{DEFAULT:"var(--vef-yellow-6)",1:"var(--vef-yellow-1)",2:"var(--vef-yellow-2)",3:"var(--vef-yellow-3)",4:"var(--vef-yellow-4)",5:"var(--vef-yellow-5)",6:"var(--vef-yellow-6)",7:"var(--vef-yellow-7)",8:"var(--vef-yellow-8)",9:"var(--vef-yellow-9)",10:"var(--vef-yellow-10)"},volcano:{DEFAULT:"var(--vef-volcano-6)",1:"var(--vef-volcano-1)",2:"var(--vef-volcano-2)",3:"var(--vef-volcano-3)",4:"var(--vef-volcano-4)",5:"var(--vef-volcano-5)",6:"var(--vef-volcano-6)",7:"var(--vef-volcano-7)",8:"var(--vef-volcano-8)",9:"var(--vef-volcano-9)",10:"var(--vef-volcano-10)"},geekblue:{DEFAULT:"var(--vef-geekblue-6)",1:"var(--vef-geekblue-1)",2:"var(--vef-geekblue-2)",3:"var(--vef-geekblue-3)",4:"var(--vef-geekblue-4)",5:"var(--vef-geekblue-5)",6:"var(--vef-geekblue-6)",7:"var(--vef-geekblue-7)",8:"var(--vef-geekblue-8)",9:"var(--vef-geekblue-9)",10:"var(--vef-geekblue-10)"},gold:{DEFAULT:"var(--vef-gold-6)",1:"var(--vef-gold-1)",2:"var(--vef-gold-2)",3:"var(--vef-gold-3)",4:"var(--vef-gold-4)",5:"var(--vef-gold-5)",6:"var(--vef-gold-6)",7:"var(--vef-gold-7)",8:"var(--vef-gold-8)",9:"var(--vef-gold-9)",10:"var(--vef-gold-10)"},lime:{DEFAULT:"var(--vef-lime-6)",1:"var(--vef-lime-1)",2:"var(--vef-lime-2)",3:"var(--vef-lime-3)",4:"var(--vef-lime-4)",5:"var(--vef-lime-5)",6:"var(--vef-lime-6)",7:"var(--vef-lime-7)",8:"var(--vef-lime-8)",9:"var(--vef-lime-9)",10:"var(--vef-lime-10)"},slate:{DEFAULT:e.slate[500],1:e.slate[50],2:e.slate[100],3:e.slate[200],4:e.slate[300],5:e.slate[400],6:e.slate[500],7:e.slate[600],8:e.slate[700],9:e.slate[800],10:e.slate[900]}},extend:{textColor:{"primary-alt":"var(--vef-color-primary-text)","primary-alt-hover":"var(--vef-color-primary-text-hover)","primary-alt-active":"var(--vef-color-primary-text-active)","success-alt":"var(--vef-color-success-text)","success-alt-hover":"var(--vef-color-success-text-hover)","success-alt-active":"var(--vef-color-success-text-active)","warning-alt":"var(--vef-color-warning-text)","warning-alt-hover":"var(--vef-color-warning-text-hover)","warning-alt-active":"var(--vef-color-warning-text-active)","error-alt":"var(--vef-color-error-text)","error-alt-hover":"var(--vef-color-error-text-hover)","error-alt-active":"var(--vef-color-error-text-active)","info-alt":"var(--vef-color-info-text)","info-alt-hover":"var(--vef-color-info-text-hover)","info-alt-active":"var(--vef-color-info-text-active)",base:"var(--vef-color-text-base)",default:"var(--vef-color-text)",secondary:"var(--vef-color-text-secondary)",tertiary:"var(--vef-color-text-tertiary)",quaternary:"var(--vef-color-text-quaternary)",placeholder:"var(--vef-color-text-placeholder)",disabled:"var(--vef-color-text-disabled)",heading:"var(--vef-color-text-heading)",label:"var(--vef-color-text-label)",description:"var(--vef-color-text-description)","light-solid":"var(--vef-color-text-light-solid)",highlight:"var(--vef-color-highlight)",icon:"var(--vef-color-icon)","icon-hover":"var(--vef-color-icon-hover)"},outlineColor:{error:"var(--vef-color-error-outline)",warning:"var(--vef-color-warning-outline)"},backgroundColor:{"primary-alt":"var(--vef-color-primary-bg)","primary-alt-hover":"var(--vef-color-primary-bg-hover)","success-alt":"var(--vef-color-success-bg)","success-alt-hover":"var(--vef-color-success-bg-hover)","warning-alt":"var(--vef-color-warning-bg)","warning-alt-hover":"var(--vef-color-warning-bg-hover)","error-alt":"var(--vef-color-error-bg)","error-alt-hover":"var(--vef-color-error-bg-hover)","info-alt":"var(--vef-color-info-bg)","info-alt-hover":"var(--vef-color-info-bg-hover)",base:"var(--vef-color-bg-base)",layout:"var(--vef-color-bg-layout)",spotlight:"var(--vef-color-bg-spotlight)",solid:"var(--vef-color-bg-solid)","solid-hover":"var(--vef-color-bg-solid-hover)","solid-active":"var(--vef-color-bg-solid-active)",container:"var(--vef-color-bg-container)","container-disabled":"var(--vef-color-bg-container-disabled)",elevated:"var(--vef-color-bg-elevated)",blur:"var(--vef-color-bg-blur)",fill:"var(--vef-color-fill)","fill-secondary":"var(--vef-color-fill-secondary)","fill-tertiary":"var(--vef-color-fill-tertiary)","fill-quaternary":"var(--vef-color-fill-quaternary)","fill-content":"var(--vef-color-fill-content)","fill-content-hover":"var(--vef-color-fill-content-hover)","fill-alt":"var(--vef-color-fill-alter)",mask:"var(--vef-color-bg-mask)","text-hover":"var(--vef-color-bg-text-hover)","text-active":"var(--vef-color-bg-text-active)","control-item-hover":"var(--vef-control-item-bg-hover)","control-item-active":"var(--vef-control-item-bg-active)","control-item-active-hover":"var(--vef-control-item-bg-active-hover)","control-item-active-disabled":"var(--vef-control-item-bg-active-disabled)"},borderColor:{"primary-alt":"var(--vef-color-primary-border)","primary-alt-hover":"var(--vef-color-primary-border-hover)","success-alt":"var(--vef-color-success-border)","success-alt-hover":"var(--vef-color-success-border-hover)","warning-alt":"var(--vef-color-warning-border)","warning-alt-hover":"var(--vef-color-warning-border-hover)","error-alt":"var(--vef-color-error-border)","error-alt-hover":"var(--vef-color-error-border-hover)","info-alt":"var(--vef-color-info-border)","info-alt-hover":"var(--vef-color-info-border-hover)",base:"var(--vef-color-border)",secondary:"var(--vef-color-border-secondary)"},fontFamily:{base:"var(--vef-font-family)",code:"var(--vef-font-family-code)"},fontSize:{base:"var(--vef-font-size)",sm:"var(--vef-font-size-sm)",lg:"var(--vef-font-size-lg)",xl:"var(--vef-font-size-xl)",heading1:"var(--vef-font-size-heading-1)",heading2:"var(--vef-font-size-heading-2)",heading3:"var(--vef-font-size-heading-3)",heading4:"var(--vef-font-size-heading-4)",heading5:"var(--vef-font-size-heading-5)"},fontWeight:{strong:"var(--vef-font-weight-strong)"},borderWidth:{base:"var(--vef-line-width)",bold:"var(--vef-line-width-bold)"},borderRadius:{DEFAULT:"var(--vef-border-radius)",xs:"var(--vef-border-radius-xs)",sm:"var(--vef-border-radius-sm)",lg:"var(--vef-border-radius-lg)",outer:"var(--vef-border-radius-outer)"},height:{control:"var(--vef-control-height)","control-sm":"var(--vef-control-height-sm)","control-xs":"var(--vef-control-height-xs)","control-lg":"var(--vef-control-height-lg)",font:"var(--vef-font-height)","font-sm":"var(--vef-font-height-sm)","font-lg":"var(--vef-font-height-lg)"},lineHeight:{base:"var(--vef-line-height)",sm:"var(--vef-line-height-sm)",lg:"var(--vef-line-height-lg)","heading-1":"var(--vef-line-height-heading-1)","heading-2":"var(--vef-line-height-heading-2)","heading-3":"var(--vef-line-height-heading-3)","heading-4":"var(--vef-line-height-heading-4)","heading-5":"var(--vef-line-height-heading-5)"},spacing:{base:"var(--vef-margin)",xxs:"var(--vef-margin-xxs)",xs:"var(--vef-margin-xs)",sm:"var(--vef-margin-sm)",md:"var(--vef-margin-md)",lg:"var(--vef-margin-lg)",xl:"var(--vef-margin-xl)",xxl:"var(--vef-margin-xxl)"},boxShadow:{base:"var(--vef-box-shadow)",secondary:"var(--vef-box-shadow-secondary)",tertiary:"var(--vef-box-shadow-tertiary)",card:"var(--vef-box-shadow-card)",elevated:"0 0 1px rgb(0 0 0 / 30%), 0 4px 14px rgb(0 0 0 / 10%)"},transitionDuration:{fast:"var(--vef-motion-duration-fast)",mid:"var(--vef-motion-duration-mid)",slow:"var(--vef-motion-duration-slow)"},transitionTimingFunction:{"ease-out-circ":"var(--vef-motion-ease-out-circ)","ease-in-out-circ":"var(--vef-motion-ease-in-out-circ)","ease-out":"var(--vef-motion-ease-out)","ease-in-out":"var(--vef-motion-ease-in-out)","ease-out-back":"var(--vef-motion-ease-out-back)","ease-in-back":"var(--vef-motion-ease-in-back)","ease-in-quint":"var(--vef-motion-ease-in-quint)","ease-out-quint":"var(--vef-motion-ease-out-quint)"},zIndex:{base:"var(--vef-z-index-base)",popup:"var(--vef-z-index-popup)"}}}}}export{v as defineTailwindConfig};
package/esm/types.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- "use strict";
@@ -1,6 +0,0 @@
1
- {
2
- "typescript.tsdk": "node_modules/typescript/lib",
3
- "files.watcherExclude": {
4
- "**/routes.gen.ts": true
5
- }
6
- }
@@ -1,35 +0,0 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
- pnpm-debug.log*
8
- lerna-debug.log*
9
-
10
- node_modules
11
- .DS_Store
12
- /dist/
13
- /dist-ssr/
14
- coverage
15
- *.local
16
-
17
- /cypress/videos/
18
- /cypress/screenshots/
19
-
20
- # Editor directories and files
21
- .vscode/*
22
- !.vscode/extensions.json
23
- !.vscode/settings.json
24
- .idea
25
- *.suo
26
- *.ntvs*
27
- *.njsproj
28
- *.sln
29
- *.sw?
30
-
31
- *.tsbuildinfo
32
-
33
- # Project files
34
- env/*.local
35
- src/**/*.gen.ts
@@ -1,43 +0,0 @@
1
- {
2
- "name": "vef-app",
3
- "type": "module",
4
- "version": "1.0.0",
5
- "private": true,
6
- "description": "An app powered by vef framework",
7
- "author": "Venus",
8
- "engines": {
9
- "node": ">=20"
10
- },
11
- "scripts": {
12
- "prepare": "vef prepare",
13
- "dev": "vef dev",
14
- "build": "vef build",
15
- "preview": "vef preview"
16
- },
17
- "dependencies": {
18
- "@tanstack/react-router": "^1.0.0",
19
- "@vef-framework/components": "1.0.135",
20
- "@vef-framework/core": "1.0.135",
21
- "@vef-framework/hooks": "1.0.135",
22
- "@vef-framework/shared": "1.0.135",
23
- "@vef-framework/starter": "1.0.135",
24
- "react": "18.3.1",
25
- "react-dom": "18.3.1"
26
- },
27
- "devDependencies": {
28
- "@types/react": "18.3.17",
29
- "@types/react-dom": "18.3.5",
30
- "@vef-framework/dev": "^1.0.0",
31
- "typescript": "^5.0.0"
32
- },
33
- "lint-staged": {
34
- "*.{js,ts,tsx,json,jsonc,yaml,yml,md}": [
35
- "eslint --fix",
36
- "git add"
37
- ],
38
- "*.{css,scss}": [
39
- "stylelint --fix",
40
- "git add"
41
- ]
42
- }
43
- }
@@ -1,7 +0,0 @@
1
- {
2
- "references": [
3
- { "path": "./tsconfig.app.json" },
4
- { "path": "./tsconfig.build.json" }
5
- ],
6
- "files": []
7
- }
@@ -1,3 +0,0 @@
1
- import { defineCommitlintConfig } from "@vef-framework/dev";
2
-
3
- export default defineCommitlintConfig();
package/template/env/.env DELETED
@@ -1,7 +0,0 @@
1
- VEF_APP_NAME=vef-app
2
- VEF_APP_TITLE=VefAdmin
3
- VEF_APP_FAVICON=/favicon.svg
4
-
5
- VEF_BUILD_BASE_PUBLIC_PATH=/
6
- VEF_BUILD_OUTPUT_DIR=dist
7
- VEF_BUILD_SERVER_PORT=3833
File without changes
File without changes
package/template/env.d.ts DELETED
@@ -1 +0,0 @@
1
- /// <reference types="@vef-framework/dev/client" />
@@ -1,3 +0,0 @@
1
- import { defineEslintConfig } from "@vef-framework/dev";
2
-
3
- export default defineEslintConfig();
File without changes
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" preserveAspectRatio="xMidYMid meet" viewBox="96 53 150 145.63955181855252"><g transform="translate(95,52.18022155761719)"><g fill="#34435C" hollow-target="text"><g mask="url(#ab0ea033-fda4-47dc-88f0-22900a4a23a9)"><g><svg x="0" y="0" width="150" height="145.63955181855252" filtersec="colorsb9343370191" class="image-svg-svg primary" style="overflow: visible;"><svg viewBox="0 0 334.1409912109375 324.4289855957031" xmlns="http://www.w3.org/2000/svg"><path fill="none" pointer-events="none" d="M0 0h334.141v324.429H0z"></path><path class="st4" d="M168.019 13.483c-83.2 0-150.7 67.5-150.7 150.7 0 83.2 67.5 150.7 150.7 150.7 83.2 0 150.7-67.5 150.7-150.7 0-83.3-67.5-150.7-150.7-150.7zm0 241c-49.9 0-90.4-40.5-90.4-90.4 0-49.9 40.5-90.4 90.4-90.4 49.9 0 90.4 40.5 90.4 90.4 0 50-40.5 90.4-90.4 90.4z" fill="#fcc29a"></path><path class="st5" d="M258.419 164.083c0 49.9-40.5 90.4-90.4 90.4-49.9 0-90.4-40.5-90.4-90.4 0 66.6 54 120.5 120.5 120.5s120.5-54 120.5-120.5c0-83.2-67.5-150.7-150.7-150.7-83.2 0-150.7 67.5-150.7 150.7 0-66.6 54-120.5 120.5-120.5 66.7 0 120.7 54 120.7 120.5" fill="#3498db"></path></svg></svg></g></g><g transform="translate(43.244998931884766,52.94477844238281)"><g data-gra="path-name"><g transform="scale(1)"><g><path d="M31.8-21.32L31.8-21.32Q31.8-17.56 30.83-14.54 29.86-11.52 28.13-9.17 26.4-6.82 24.01-5.13 21.62-3.44 18.77-2.35 15.93-1.26 12.72-0.74 9.51-0.21 6.12-0.21L6.12-0.21Q4.86-0.21 3.65-0.28 2.44-0.35 1.18-0.48L1.18-0.48 1.93-36.52Q4.89-37.46 8.02-37.85 11.15-38.24 14.23-38.24L14.23-38.24Q18.07-38.24 21.3-37.09 24.52-35.93 26.86-33.76 29.19-31.58 30.49-28.44 31.8-25.3 31.8-21.32ZM20.79-19.23L20.79-19.6Q20.81-21.05 20.48-22.4 20.14-23.74 19.38-24.77 18.61-25.81 17.43-26.44 16.25-27.07 14.61-27.12L14.61-27.12 13.54-10.47Q15.15-10.72 16.46-11.53 17.78-12.35 18.73-13.55 19.69-14.74 20.21-16.21 20.73-17.67 20.79-19.23L20.79-19.23ZM64.69-25.83L64.69-25.83Q64.69-23.23 63.92-21.22 63.14-19.2 61.78-17.7 60.42-16.19 58.6-15.15 56.77-14.1 54.69-13.44 52.61-12.78 50.38-12.47 48.15-12.17 46-12.14L46-12.14 46 0.38 33.49 0.38Q33.49-5.77 33.52-11.87 33.54-17.97 33.6-24.17L33.6-24.17Q33.65-27.45 33.62-30.72 33.6-34 33.76-37.33L33.76-37.33Q37.19-38.35 40.63-38.86 44.07-39.37 47.72-39.37L47.72-39.37Q49.79-39.37 51.86-39.03 53.93-38.7 55.82-37.97 57.71-37.25 59.34-36.16 60.96-35.07 62.14-33.57 63.33-32.07 64.01-30.15 64.69-28.23 64.69-25.83ZM52.77-24.92L52.77-24.92Q52.77-26.67 51.71-27.65 50.65-28.63 48.96-28.63L48.96-28.63Q48.39-28.63 47.79-28.53 47.19-28.44 46.65-28.31L46.65-28.31 46.33-20.46Q46.7-20.41 47.05-20.41 47.4-20.41 47.78-20.41L47.78-20.41Q48.74-20.41 49.64-20.73 50.54-21.05 51.24-21.66 51.94-22.26 52.35-23.08 52.77-23.9 52.77-24.92Z" transform="translate(-1.1800000667572021, 39.369998931884766)"></path></g></g></g></g></g></g></svg>
@@ -1,145 +0,0 @@
1
- import type { AuthenticatedUser, LoginResult, LoginValues } from "@vef-framework/shared";
2
-
3
- import { VefDynamicIcon } from "@vef-framework/components";
4
- import { createApiClient } from "@vef-framework/core";
5
- import { createApp } from "@vef-framework/starter";
6
- import { createElement } from "react";
7
-
8
- import router from "./router";
9
-
10
- const apiClient = createApiClient({
11
- baseUrl: "replace-with-your-api-base-url",
12
- });
13
- const fetchAuthenticatedUserApi = apiClient.createQueryApi<void, AuthenticatedUser>("fetchAuthenticatedUser", () => async () => await new Promise(resolve => {
14
- setTimeout(() => {
15
- resolve({
16
- code: 0,
17
- message: "ok",
18
- data: {
19
- id: "1",
20
- name: "超管",
21
- permissions: [],
22
- menus: [
23
- {
24
- type: "item",
25
- key: "/",
26
- icon: createElement(
27
- VefDynamicIcon,
28
- { name: "layout-dashboard" },
29
- ),
30
- label: "控制台",
31
- },
32
- {
33
- type: "submenu",
34
- key: "/system",
35
- icon: createElement(
36
- VefDynamicIcon,
37
- { name: "monitor-cog" },
38
- ),
39
- label: "系统管理",
40
- children: [
41
- {
42
- type: "item",
43
- key: "/system/tenant",
44
- label: "租户管理",
45
- },
46
- {
47
- type: "item",
48
- key: "/system/data-dictionary",
49
- label: "数据字典",
50
- },
51
- ],
52
- },
53
- {
54
- type: "submenu",
55
- key: "/auth",
56
- label: "授权管理",
57
- icon: createElement(
58
- VefDynamicIcon,
59
- { name: "key-square" },
60
- ),
61
- children: [
62
- {
63
- type: "item",
64
- key: "/auth/menu",
65
- label: "菜单管理",
66
- },
67
- {
68
- type: "item",
69
- key: "/auth/user",
70
- label: "用户管理",
71
- },
72
- {
73
- type: "item",
74
- key: "/auth/role",
75
- label: "角色管理",
76
- },
77
- ],
78
- },
79
- {
80
- key: "/biz",
81
- type: "submenu",
82
- label: "业务管理",
83
- icon: createElement(
84
- VefDynamicIcon,
85
- { name: "ambulance" },
86
- ),
87
- children: [
88
- {
89
- type: "item",
90
- key: "/biz/organization",
91
- label: "机构管理",
92
- },
93
- {
94
- type: "item",
95
- key: "/biz/department",
96
- label: "部门管理",
97
- },
98
- {
99
- type: "item",
100
- key: "/biz/position",
101
- label: "岗位管理",
102
- },
103
- {
104
- type: "item",
105
- key: "/biz/employee",
106
- label: "员工管理",
107
- },
108
- ],
109
- },
110
- ],
111
- },
112
- });
113
- }, 1000);
114
- }));
115
- const loginApi = apiClient.createMutationApi<LoginValues, LoginResult>("login", () => async () => await new Promise(resolve => {
116
- setTimeout(() => {
117
- resolve({
118
- code: 0,
119
- message: "登录成功",
120
- data: {
121
- accessToken: "at_1234567890",
122
- refreshToken: "rt_1234567890",
123
- },
124
- });
125
- }, 1000);
126
- }));
127
- const logoutApi = apiClient.createMutationApi<void, unknown>("logout", () => async () => await new Promise(resolve => {
128
- setTimeout(() => {
129
- resolve({
130
- code: 0,
131
- message: "退出成功",
132
- data: null,
133
- });
134
- }, 1000);
135
- }));
136
-
137
- const app = createApp();
138
-
139
- app.render({
140
- router,
141
- apiClient,
142
- loginApi,
143
- logoutApi,
144
- fetchAuthenticatedUserApi,
145
- });
@@ -1,3 +0,0 @@
1
- import { createRootRoute } from "@vef-framework/starter";
2
-
3
- export const Route = createRootRoute();
@@ -1,6 +0,0 @@
1
- import { createFileRoute } from "@tanstack/react-router";
2
- import { ACCESS_DENIED_PAGE_ROUTE, createAccessDeniedRouteOptions } from "@vef-framework/starter";
3
-
4
- export const Route = createFileRoute(ACCESS_DENIED_PAGE_ROUTE)(
5
- createAccessDeniedRouteOptions(),
6
- );
@@ -1,8 +0,0 @@
1
- import { createFileRoute } from "@tanstack/react-router";
2
- import { createLoginRouteOptions, LOGIN_PAGE_ROUTE } from "@vef-framework/starter";
3
-
4
- export const Route = createFileRoute(LOGIN_PAGE_ROUTE)(
5
- createLoginRouteOptions({
6
- title: "VEF极速开发系统",
7
- }),
8
- );
@@ -1,35 +0,0 @@
1
- import { createFileRoute } from "@tanstack/react-router";
2
- import { VefCard, VefPage } from "@vef-framework/components";
3
-
4
- export const Route = createFileRoute("/_layout/")({
5
- component: IndexPage,
6
- });
7
-
8
- const cardCount = 20;
9
-
10
- function IndexPage() {
11
- const cards = Array.from({ length: cardCount }).map((_, index) => (
12
- // eslint-disable-next-line react/no-array-index-key
13
- <VefCard key={index} title={`模块${index + 1}`}>
14
- <h3>
15
- Card
16
- {index}
17
- 的内容
18
- </h3>
19
- </VefCard>
20
- ));
21
-
22
- return (
23
- <VefPage scrollable header={false}>
24
- <div
25
- style={{
26
- display: "grid",
27
- gridTemplateColumns: "repeat(auto-fill, minmax(420px, 1fr))",
28
- gap: "16px",
29
- }}
30
- >
31
- {cards}
32
- </div>
33
- </VefPage>
34
- );
35
- }
@@ -1,9 +0,0 @@
1
- import { createFileRoute } from "@tanstack/react-router";
2
- import { createLayoutRouteOptions, INDEX_PAGE_ROUTE } from "@vef-framework/starter";
3
-
4
- export const Route = createFileRoute(INDEX_PAGE_ROUTE)(
5
- createLayoutRouteOptions({
6
- title: "Demo 演示系统",
7
- getUserDescription: () => "信息科",
8
- }),
9
- );
@@ -1,14 +0,0 @@
1
- import { createFileRoute } from "@tanstack/react-router";
2
- import { VefPage } from "@vef-framework/components";
3
-
4
- export const Route = createFileRoute("/_layout/system/data-dictionary")({
5
- component: RouteComponent,
6
- });
7
-
8
- function RouteComponent() {
9
- return (
10
- <VefPage title="数据字典">
11
- <h1>页面内容</h1>
12
- </VefPage>
13
- );
14
- }
@@ -1,7 +0,0 @@
1
- import { createFileRoute, redirect } from "@tanstack/react-router";
2
-
3
- export const Route = createFileRoute("/_layout/system/")({
4
- beforeLoad: () => {
5
- throw redirect({ to: "/system/tenant" });
6
- },
7
- });
@@ -1,14 +0,0 @@
1
- import { createFileRoute } from "@tanstack/react-router";
2
- import { VefPage } from "@vef-framework/components";
3
-
4
- export const Route = createFileRoute("/_layout/system/tenant")({
5
- component: RouteComponent,
6
- });
7
-
8
- function RouteComponent() {
9
- return (
10
- <VefPage title="租户管理">
11
- <h1>页面内容</h1>
12
- </VefPage>
13
- );
14
- }
@@ -1 +0,0 @@
1
- export { default } from "./router.gen";
@@ -1,2 +0,0 @@
1
- @import "tailwindcss";
2
- @config "./tailwind.config.js";
@@ -1,3 +0,0 @@
1
- import { defineStylelintConfig } from "@vef-framework/dev";
2
-
3
- export default defineStylelintConfig();
@@ -1,3 +0,0 @@
1
- import { defineTailwindConfig } from "@vef-framework/dev";
2
-
3
- export default defineTailwindConfig();
@@ -1,4 +0,0 @@
1
- {
2
- "extends": "@vef-framework/dev/tsconfig.app.json",
3
- "include": ["env.d.ts", "src"]
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "extends": "@vef-framework/dev/tsconfig.build.json",
3
- "include": ["vef.config.ts"]
4
- }
@@ -1,7 +0,0 @@
1
- import { defineConfig } from "@vef-framework/dev";
2
-
3
- type Config = ReturnType<typeof defineConfig>;
4
-
5
- export default defineConfig({
6
- projectDir: import.meta.dirname,
7
- }) as Config;
@@ -1,26 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true,
4
- "target": "ES2020",
5
- "lib": ["ESNext"],
6
-
7
- /* Bundler mode */
8
- "moduleDetection": "force",
9
- "module": "ESNext",
10
- "moduleResolution": "bundler",
11
- "allowImportingTsExtensions": false,
12
- "strict": true,
13
-
14
- /* Linting */
15
- "noFallthroughCasesInSwitch": true,
16
- "noImplicitAny": true,
17
- "noImplicitOverride": true,
18
- "noUnusedLocals": true,
19
- "noUnusedParameters": true,
20
- "importHelpers": true,
21
- "noEmit": true,
22
- "allowSyntheticDefaultImports": true,
23
- "esModuleInterop": true,
24
- "skipLibCheck": true
25
- }
26
- }
package/types/cli.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import type { UserConfig } from "@commitlint/types";
2
- /**
3
- * Define the commitlint configuration
4
- *
5
- * @returns The commitlint configuration
6
- */
7
- export declare function defineCommitlintConfig(): UserConfig;
package/types/config.d.ts DELETED
@@ -1,38 +0,0 @@
1
- import type { ProxyOptions, UserConfigExport } from "vite";
2
- /**
3
- * The options to define the vef config
4
- */
5
- export interface DefineConfigOptions {
6
- /**
7
- * The directory of the project
8
- */
9
- projectDir: string;
10
- /**
11
- * The proxies of the dev server
12
- */
13
- proxies?: Record<string, string | ProxyOptions>;
14
- /**
15
- * Whether to enable the visualizer plugin
16
- */
17
- visualizer?: boolean;
18
- /**
19
- * The history mode to use for the router
20
- */
21
- routerHistory?: "hash" | "browser";
22
- /**
23
- * Whether to enable auto code splitting for the router
24
- */
25
- autoCodeSplitting?: boolean;
26
- }
27
- /**
28
- * Define the vite config
29
- *
30
- * @param options - The options to define the vite config
31
- * @param options.projectDir - The directory of the project
32
- * @param options.proxies - The proxies of the dev server
33
- * @param options.visualizer - Whether to enable the visualizer plugin
34
- * @param options.routerHistory - The history mode to use for the router
35
- * @param options.autoCodeSplitting - Whether to enable auto code splitting for the router
36
- * @returns The vite config
37
- */
38
- export declare function defineConfig({ projectDir, proxies, visualizer, routerHistory, autoCodeSplitting, }: DefineConfigOptions): UserConfigExport;
@@ -1,7 +0,0 @@
1
- import { antfu as defineConfig } from "@antfu/eslint-config";
2
- /**
3
- * Define the ESLint configuration
4
- *
5
- * @returns The ESLint configuration
6
- */
7
- export declare function defineEslintConfig(): ReturnType<typeof defineConfig>;
package/types/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from "./commitlint-config";
2
- export * from "./config";
3
- export * from "./eslint-config";
4
- export * from "./stylelint-config";
5
- export * from "./tailwind-config";
@@ -1,6 +0,0 @@
1
- /**
2
- * Create the eslint plugin
3
- *
4
- * @returns The eslint plugin
5
- */
6
- export declare function createEslintPlugin(): import("vite").Plugin<any>;
@@ -1,7 +0,0 @@
1
- /**
2
- * Create the icons plugin
3
- *
4
- * @param projectDir - The project directory
5
- * @returns The icons plugin
6
- */
7
- export declare function createIconsPlugin(projectDir: string): import("vite").Plugin<any> | import("vite").Plugin<any>[];
@@ -1,7 +0,0 @@
1
- import type { Plugin } from "vite";
2
- /**
3
- * The plugin to inject the initialization code into the main.ts file
4
- *
5
- * @returns The plugin
6
- */
7
- export declare function createInitializationPlugin(): Plugin;
@@ -1,15 +0,0 @@
1
- import type { DepOptimizationOptions, Plugin } from "vite";
2
- type EsBuildPlugin = NonNullable<NonNullable<DepOptimizationOptions["esbuildOptions"]>["plugins"]>[number];
3
- /**
4
- * Create an esbuild plugin for the Monaco editor NLS.
5
- *
6
- * @returns The esbuild plugin.
7
- */
8
- export declare function createMonacoNlsEsbuildPlugin(): EsBuildPlugin;
9
- /**
10
- * Create a rollup plugin for the Monaco editor NLS.
11
- *
12
- * @returns The rollup plugin.
13
- */
14
- export declare function createMonacoNlsRollupPlugin(): Plugin;
15
- export {};
@@ -1,6 +0,0 @@
1
- /**
2
- * The plugin to use react with swc
3
- *
4
- * @returns The react swc plugin
5
- */
6
- export declare function createReactSwcPlugin(): import("vite").PluginOption[];
@@ -1,6 +0,0 @@
1
- /**
2
- * Create the stylelint plugin
3
- *
4
- * @returns The stylelint plugin
5
- */
6
- export declare function createStylelintPlugin(): import("vite").Plugin<any>;
@@ -1,6 +0,0 @@
1
- /**
2
- * Create the svgr plugin
3
- *
4
- * @returns The svgr plugin
5
- */
6
- export declare function createSvgrPlugin(): import("vite").Plugin<any>;
@@ -1,7 +0,0 @@
1
- import type { Plugin } from "vite";
2
- /**
3
- * The plugin to use the tailwindcss
4
- *
5
- * @returns The plugin
6
- */
7
- export declare function createTailwindPlugin(): Plugin[];
@@ -1,7 +0,0 @@
1
- import type { Plugin } from "vite";
2
- /**
3
- * The plugin to inject the tailwindcss into the main.ts file
4
- *
5
- * @returns The plugin
6
- */
7
- export declare function createTailwindcssPlugin(): Plugin;