kubit-forge 0.0.1-canary.85d379a

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 (201) hide show
  1. package/CHANGELOG.md +229 -0
  2. package/LICENSE +201 -0
  3. package/README.md +841 -0
  4. package/dist/cli.d.ts +2 -0
  5. package/dist/cli.js +14294 -0
  6. package/dist/cli.js.map +1 -0
  7. package/dist/index.d.ts +772 -0
  8. package/dist/index.js +1979 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/templates/README.md +243 -0
  11. package/dist/templates/config/README.md +94 -0
  12. package/dist/templates/config/config-templates.ts +138 -0
  13. package/dist/templates/config/defaults.ts +105 -0
  14. package/dist/templates/config/index.ts +6 -0
  15. package/dist/templates/features/.prettierignore.template +28 -0
  16. package/dist/templates/features/.prettierrc.template +10 -0
  17. package/dist/templates/features/README.md +111 -0
  18. package/dist/templates/features/bernova-foundations.ts.template +50 -0
  19. package/dist/templates/features/bernova-globalStyles.ts.template +33 -0
  20. package/dist/templates/features/bernova-mediaQueries.ts.template +6 -0
  21. package/dist/templates/features/bernova-theme.ts.template +1 -0
  22. package/dist/templates/features/bernova.config.json.template +58 -0
  23. package/dist/templates/features/changesets-config.json.template +11 -0
  24. package/dist/templates/features/changesets-readme.md.template +31 -0
  25. package/dist/templates/features/commitlint.config.js.template +23 -0
  26. package/dist/templates/features/cypress-support-commands.ts.template +22 -0
  27. package/dist/templates/features/cypress-support-e2e.ts.template +20 -0
  28. package/dist/templates/features/cypress.config.ts.template +23 -0
  29. package/dist/templates/features/eslint.config.js.template +13 -0
  30. package/dist/templates/features/husky-commit-msg.template +4 -0
  31. package/dist/templates/features/husky-pre-commit.template +4 -0
  32. package/dist/templates/features/index.ts +5 -0
  33. package/dist/templates/features/jest-setup.ts.template +1 -0
  34. package/dist/templates/features/jest.config.ts.template +23 -0
  35. package/dist/templates/features/lint-staged.config.js.template +5 -0
  36. package/dist/templates/features/playwright-example.spec.ts.template +14 -0
  37. package/dist/templates/features/playwright.config.ts.template +42 -0
  38. package/dist/templates/features/template-loader.ts +31 -0
  39. package/dist/templates/features/vitest-setup.ts.template +1 -0
  40. package/dist/templates/features/vitest.config.ts.template +11 -0
  41. package/dist/templates/generators/README.md +181 -0
  42. package/dist/templates/generators/index.ts +9 -0
  43. package/dist/templates/generators/plugin.ts +245 -0
  44. package/dist/templates/generators/react-app-bernova.ts +356 -0
  45. package/dist/templates/generators/react-component.ts +103 -0
  46. package/dist/templates/generators/react-hook.ts +56 -0
  47. package/dist/templates/generators/react-kubit-ui.ts +794 -0
  48. package/dist/templates/generators/react-page.ts +65 -0
  49. package/dist/templates-physical/kubit-full/.prettierrc +0 -0
  50. package/dist/templates-physical/kubit-full/README.md +223 -0
  51. package/dist/templates-physical/kubit-full/bernova.config.json +0 -0
  52. package/dist/templates-physical/kubit-full/eslint.config.js +0 -0
  53. package/dist/templates-physical/kubit-full/index.html +17 -0
  54. package/dist/templates-physical/kubit-full/package.json +53 -0
  55. package/dist/templates-physical/kubit-full/src/App.css +118 -0
  56. package/dist/templates-physical/kubit-full/src/App.tsx +75 -0
  57. package/dist/templates-physical/kubit-full/src/charts/ChartsShowcase.css +0 -0
  58. package/dist/templates-physical/kubit-full/src/charts/ChartsShowcase.tsx +0 -0
  59. package/dist/templates-physical/kubit-full/src/components/ComponentsShowcase.css +147 -0
  60. package/dist/templates-physical/kubit-full/src/components/ComponentsShowcase.tsx +0 -0
  61. package/dist/templates-physical/kubit-full/src/main.tsx +0 -0
  62. package/dist/templates-physical/kubit-full/src/styles/index.css +6 -0
  63. package/dist/templates-physical/kubit-full/src/styles/theme/components/button.ts +0 -0
  64. package/dist/templates-physical/kubit-full/src/styles/theme/components/card.ts +0 -0
  65. package/dist/templates-physical/kubit-full/src/styles/theme/components/input.ts +0 -0
  66. package/dist/templates-physical/kubit-full/src/styles/theme/foundations.ts +0 -0
  67. package/dist/templates-physical/kubit-full/src/styles/theme/globalStyles.ts +0 -0
  68. package/dist/templates-physical/kubit-full/src/styles/theme/mediaQueries.ts +0 -0
  69. package/dist/templates-physical/kubit-full/src/styles/theme/theme.ts +0 -0
  70. package/dist/templates-physical/kubit-full/src/test/setup.ts +0 -0
  71. package/dist/templates-physical/kubit-full/tsconfig.json +29 -0
  72. package/dist/templates-physical/kubit-full/tsconfig.node.json +11 -0
  73. package/dist/templates-physical/kubit-full/vite.config.ts +24 -0
  74. package/dist/templates-physical/kubit-full/vitest.config.ts +26 -0
  75. package/dist/templates-physical/react/.env.example +6 -0
  76. package/dist/templates-physical/react/.prettierrc +8 -0
  77. package/dist/templates-physical/react/README.md +81 -0
  78. package/dist/templates-physical/react/eslint.config.js +7 -0
  79. package/dist/templates-physical/react/index.html +13 -0
  80. package/dist/templates-physical/react/package.json +39 -0
  81. package/dist/templates-physical/react/src/app/App.module.css +39 -0
  82. package/dist/templates-physical/react/src/app/App.test.tsx +14 -0
  83. package/dist/templates-physical/react/src/app/App.tsx +17 -0
  84. package/dist/templates-physical/react/src/main.tsx +10 -0
  85. package/dist/templates-physical/react/src/styles/index.css +39 -0
  86. package/dist/templates-physical/react/src/test/setup.ts +57 -0
  87. package/dist/templates-physical/react/tsconfig.json +25 -0
  88. package/dist/templates-physical/react/tsconfig.node.json +10 -0
  89. package/dist/templates-physical/react/vite.config.ts +16 -0
  90. package/dist/templates-physical/react/vitest.config.ts +22 -0
  91. package/dist/templates-physical/react-bernova/.eslintrc.cjs +15 -0
  92. package/dist/templates-physical/react-bernova/.prettierrc +10 -0
  93. package/dist/templates-physical/react-bernova/README.md +150 -0
  94. package/dist/templates-physical/react-bernova/bernova.config.json +58 -0
  95. package/dist/templates-physical/react-bernova/eslint.config.js +7 -0
  96. package/dist/templates-physical/react-bernova/index.html +21 -0
  97. package/dist/templates-physical/react-bernova/package.json +43 -0
  98. package/dist/templates-physical/react-bernova/src/App.css +89 -0
  99. package/dist/templates-physical/react-bernova/src/App.tsx +51 -0
  100. package/dist/templates-physical/react-bernova/src/index.css +54 -0
  101. package/dist/templates-physical/react-bernova/src/main.tsx +10 -0
  102. package/dist/templates-physical/react-bernova/src/styles/foundations.ts +91 -0
  103. package/dist/templates-physical/react-bernova/src/styles/globalStyles.ts +118 -0
  104. package/dist/templates-physical/react-bernova/src/styles/mediaQueries.ts +18 -0
  105. package/dist/templates-physical/react-bernova/src/styles/theme.ts +94 -0
  106. package/dist/templates-physical/react-bernova/src/test/setup.ts +9 -0
  107. package/dist/templates-physical/react-bernova/tsconfig.json +31 -0
  108. package/dist/templates-physical/react-bernova/tsconfig.node.json +10 -0
  109. package/dist/templates-physical/react-bernova/vite.config.ts +20 -0
  110. package/dist/templates-physical/react-bernova/vitest.config.ts +18 -0
  111. package/dist/templates-physical/vanilla/.env.example +6 -0
  112. package/dist/templates-physical/vanilla/.prettierrc +8 -0
  113. package/dist/templates-physical/vanilla/README.md +76 -0
  114. package/dist/templates-physical/vanilla/eslint.config.js +7 -0
  115. package/dist/templates-physical/vanilla/index.html +13 -0
  116. package/dist/templates-physical/vanilla/package.json +28 -0
  117. package/dist/templates-physical/vanilla/src/app.module.css +39 -0
  118. package/dist/templates-physical/vanilla/src/app.test.ts +20 -0
  119. package/dist/templates-physical/vanilla/src/app.ts +31 -0
  120. package/dist/templates-physical/vanilla/src/main.ts +9 -0
  121. package/dist/templates-physical/vanilla/src/styles/main.css +39 -0
  122. package/dist/templates-physical/vanilla/tsconfig.json +23 -0
  123. package/dist/templates-physical/vanilla/vite.config.ts +14 -0
  124. package/dist/templates-physical/vanilla/vitest.config.ts +14 -0
  125. package/package.json +131 -0
  126. package/templates/kubit-full/.prettierrc +0 -0
  127. package/templates/kubit-full/README.md +223 -0
  128. package/templates/kubit-full/bernova.config.json +0 -0
  129. package/templates/kubit-full/eslint.config.js +0 -0
  130. package/templates/kubit-full/index.html +17 -0
  131. package/templates/kubit-full/package.json +53 -0
  132. package/templates/kubit-full/src/App.css +118 -0
  133. package/templates/kubit-full/src/App.tsx +75 -0
  134. package/templates/kubit-full/src/charts/ChartsShowcase.css +0 -0
  135. package/templates/kubit-full/src/charts/ChartsShowcase.tsx +0 -0
  136. package/templates/kubit-full/src/components/ComponentsShowcase.css +147 -0
  137. package/templates/kubit-full/src/components/ComponentsShowcase.tsx +0 -0
  138. package/templates/kubit-full/src/main.tsx +0 -0
  139. package/templates/kubit-full/src/styles/index.css +6 -0
  140. package/templates/kubit-full/src/styles/theme/components/button.ts +0 -0
  141. package/templates/kubit-full/src/styles/theme/components/card.ts +0 -0
  142. package/templates/kubit-full/src/styles/theme/components/input.ts +0 -0
  143. package/templates/kubit-full/src/styles/theme/foundations.ts +0 -0
  144. package/templates/kubit-full/src/styles/theme/globalStyles.ts +0 -0
  145. package/templates/kubit-full/src/styles/theme/mediaQueries.ts +0 -0
  146. package/templates/kubit-full/src/styles/theme/theme.ts +0 -0
  147. package/templates/kubit-full/src/test/setup.ts +0 -0
  148. package/templates/kubit-full/tsconfig.json +29 -0
  149. package/templates/kubit-full/tsconfig.node.json +11 -0
  150. package/templates/kubit-full/vite.config.ts +24 -0
  151. package/templates/kubit-full/vitest.config.ts +26 -0
  152. package/templates/react/.env.example +6 -0
  153. package/templates/react/.prettierrc +8 -0
  154. package/templates/react/README.md +81 -0
  155. package/templates/react/eslint.config.js +7 -0
  156. package/templates/react/index.html +13 -0
  157. package/templates/react/package.json +39 -0
  158. package/templates/react/src/app/App.module.css +39 -0
  159. package/templates/react/src/app/App.test.tsx +14 -0
  160. package/templates/react/src/app/App.tsx +17 -0
  161. package/templates/react/src/main.tsx +10 -0
  162. package/templates/react/src/styles/index.css +39 -0
  163. package/templates/react/src/test/setup.ts +57 -0
  164. package/templates/react/tsconfig.json +25 -0
  165. package/templates/react/tsconfig.node.json +10 -0
  166. package/templates/react/vite.config.ts +16 -0
  167. package/templates/react/vitest.config.ts +22 -0
  168. package/templates/react-bernova/.eslintrc.cjs +15 -0
  169. package/templates/react-bernova/.prettierrc +10 -0
  170. package/templates/react-bernova/README.md +150 -0
  171. package/templates/react-bernova/bernova.config.json +58 -0
  172. package/templates/react-bernova/eslint.config.js +7 -0
  173. package/templates/react-bernova/index.html +21 -0
  174. package/templates/react-bernova/package.json +43 -0
  175. package/templates/react-bernova/src/App.css +89 -0
  176. package/templates/react-bernova/src/App.tsx +51 -0
  177. package/templates/react-bernova/src/index.css +54 -0
  178. package/templates/react-bernova/src/main.tsx +10 -0
  179. package/templates/react-bernova/src/styles/foundations.ts +91 -0
  180. package/templates/react-bernova/src/styles/globalStyles.ts +118 -0
  181. package/templates/react-bernova/src/styles/mediaQueries.ts +18 -0
  182. package/templates/react-bernova/src/styles/theme.ts +94 -0
  183. package/templates/react-bernova/src/test/setup.ts +9 -0
  184. package/templates/react-bernova/tsconfig.json +31 -0
  185. package/templates/react-bernova/tsconfig.node.json +10 -0
  186. package/templates/react-bernova/vite.config.ts +20 -0
  187. package/templates/react-bernova/vitest.config.ts +18 -0
  188. package/templates/vanilla/.env.example +6 -0
  189. package/templates/vanilla/.prettierrc +8 -0
  190. package/templates/vanilla/README.md +76 -0
  191. package/templates/vanilla/eslint.config.js +7 -0
  192. package/templates/vanilla/index.html +13 -0
  193. package/templates/vanilla/package.json +28 -0
  194. package/templates/vanilla/src/app.module.css +39 -0
  195. package/templates/vanilla/src/app.test.ts +20 -0
  196. package/templates/vanilla/src/app.ts +31 -0
  197. package/templates/vanilla/src/main.ts +9 -0
  198. package/templates/vanilla/src/styles/main.css +39 -0
  199. package/templates/vanilla/tsconfig.json +23 -0
  200. package/templates/vanilla/vite.config.ts +14 -0
  201. package/templates/vanilla/vitest.config.ts +14 -0
package/dist/cli.d.ts ADDED
@@ -0,0 +1,2 @@
1
+
2
+ export { }