create-bunspace 0.3.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/bin.js +335 -34
  2. package/dist/templates/fumadocs/MUST-FOLLOW-GUIDELINES.md +1616 -40
  3. package/dist/templates/monorepo/MUST-FOLLOW-GUIDELINES.md +1616 -40
  4. package/dist/templates/react-starter/MUST-FOLLOW-GUIDELINES.md +1845 -0
  5. package/dist/templates/react-starter/README.md +100 -0
  6. package/dist/templates/react-starter/bun.lock +1298 -0
  7. package/dist/templates/react-starter/components.json +27 -0
  8. package/dist/templates/react-starter/eslint.config.js +23 -0
  9. package/dist/templates/react-starter/index.html +36 -0
  10. package/dist/templates/react-starter/package.json +57 -0
  11. package/dist/templates/react-starter/public/registry.json +115 -0
  12. package/dist/templates/react-starter/public/themes/darkmatteviolet-dark.css +34 -0
  13. package/dist/templates/react-starter/public/themes/darkmatteviolet-light.css +34 -0
  14. package/dist/templates/react-starter/public/themes/default-dark.css +33 -0
  15. package/dist/templates/react-starter/public/themes/default-light.css +34 -0
  16. package/dist/templates/react-starter/public/themes/graphite-dark.css +34 -0
  17. package/dist/templates/react-starter/public/themes/graphite-light.css +34 -0
  18. package/dist/templates/react-starter/public/themes/synthwave84-dark.css +34 -0
  19. package/dist/templates/react-starter/public/themes/synthwave84-light.css +34 -0
  20. package/dist/templates/react-starter/public/vite.svg +1 -0
  21. package/dist/templates/react-starter/src/App.tsx +245 -0
  22. package/dist/templates/react-starter/src/assets/react.svg +1 -0
  23. package/dist/templates/react-starter/src/components/ThemeSelector.tsx +106 -0
  24. package/dist/templates/react-starter/src/components/animate-ui/components/buttons/icon.tsx +86 -0
  25. package/dist/templates/react-starter/src/components/animate-ui/components/buttons/theme-toggler.tsx +92 -0
  26. package/dist/templates/react-starter/src/components/animate-ui/primitives/animate/slot.tsx +96 -0
  27. package/dist/templates/react-starter/src/components/animate-ui/primitives/buttons/button.tsx +31 -0
  28. package/dist/templates/react-starter/src/components/animate-ui/primitives/effects/particles.tsx +155 -0
  29. package/dist/templates/react-starter/src/components/animate-ui/primitives/effects/theme-toggler.tsx +148 -0
  30. package/dist/templates/react-starter/src/components/component-example.tsx +444 -0
  31. package/dist/templates/react-starter/src/components/example.tsx +56 -0
  32. package/dist/templates/react-starter/src/index.css +131 -0
  33. package/dist/templates/react-starter/src/main.tsx +13 -0
  34. package/dist/templates/react-starter/src/providers/ThemeProvider.tsx +27 -0
  35. package/dist/templates/react-starter/tsconfig.app.json +36 -0
  36. package/dist/templates/react-starter/tsconfig.json +13 -0
  37. package/dist/templates/react-starter/tsconfig.node.json +26 -0
  38. package/dist/templates/react-starter/vite.config.ts +17 -0
  39. package/dist/templates/telegram-bot/MUST-FOLLOW-GUIDELINES.md +1845 -0
  40. package/package.json +6 -3
  41. package/templates/fumadocs/MUST-FOLLOW-GUIDELINES.md +1616 -40
  42. package/templates/monorepo/MUST-FOLLOW-GUIDELINES.md +1616 -40
  43. package/templates/react-starter/MUST-FOLLOW-GUIDELINES.md +1845 -0
  44. package/templates/react-starter/README.md +100 -0
  45. package/templates/react-starter/bun.lock +1298 -0
  46. package/templates/react-starter/components.json +27 -0
  47. package/templates/react-starter/eslint.config.js +23 -0
  48. package/templates/react-starter/index.html +36 -0
  49. package/templates/react-starter/package.json +57 -0
  50. package/templates/react-starter/public/registry.json +115 -0
  51. package/templates/react-starter/public/themes/darkmatteviolet-dark.css +34 -0
  52. package/templates/react-starter/public/themes/darkmatteviolet-light.css +34 -0
  53. package/templates/react-starter/public/themes/default-dark.css +33 -0
  54. package/templates/react-starter/public/themes/default-light.css +34 -0
  55. package/templates/react-starter/public/themes/graphite-dark.css +34 -0
  56. package/templates/react-starter/public/themes/graphite-light.css +34 -0
  57. package/templates/react-starter/public/themes/synthwave84-dark.css +34 -0
  58. package/templates/react-starter/public/themes/synthwave84-light.css +34 -0
  59. package/templates/react-starter/public/vite.svg +1 -0
  60. package/templates/react-starter/src/App.tsx +245 -0
  61. package/templates/react-starter/src/assets/react.svg +1 -0
  62. package/templates/react-starter/src/components/ThemeSelector.tsx +106 -0
  63. package/templates/react-starter/src/components/animate-ui/components/buttons/icon.tsx +86 -0
  64. package/templates/react-starter/src/components/animate-ui/components/buttons/theme-toggler.tsx +92 -0
  65. package/templates/react-starter/src/components/animate-ui/primitives/animate/slot.tsx +96 -0
  66. package/templates/react-starter/src/components/animate-ui/primitives/buttons/button.tsx +31 -0
  67. package/templates/react-starter/src/components/animate-ui/primitives/effects/particles.tsx +155 -0
  68. package/templates/react-starter/src/components/animate-ui/primitives/effects/theme-toggler.tsx +148 -0
  69. package/templates/react-starter/src/components/component-example.tsx +444 -0
  70. package/templates/react-starter/src/components/example.tsx +56 -0
  71. package/templates/react-starter/src/index.css +131 -0
  72. package/templates/react-starter/src/main.tsx +13 -0
  73. package/templates/react-starter/src/providers/ThemeProvider.tsx +27 -0
  74. package/templates/react-starter/tsconfig.app.json +36 -0
  75. package/templates/react-starter/tsconfig.json +13 -0
  76. package/templates/react-starter/tsconfig.node.json +26 -0
  77. package/templates/react-starter/vite.config.ts +17 -0
  78. package/templates/telegram-bot/MUST-FOLLOW-GUIDELINES.md +1845 -0
@@ -0,0 +1,100 @@
1
+ # {{PROJECT_NAME}}
2
+
3
+ {{DESCRIPTION}}
4
+
5
+ > Generated with [create-bunspace](https://github.com/mks2508/create-bunspace)
6
+
7
+ ## Features
8
+
9
+ - **React 19.2** with TypeScript 5.9
10
+ - **Vite 8 (experimental)** for blazing fast builds
11
+ - **Tailwind CSS v4** with `@tailwindcss/vite`
12
+ - **BaseUI/MKS-UI** component library (`@mks2508/mks-ui`)
13
+ - **Theme Manager** (`@mks2508/theme-manager-react`)
14
+ - Animated theme transitions with multiple presets
15
+ - Light/dark/system mode support
16
+
17
+ ## Quick Start
18
+
19
+ ```bash
20
+ bun install
21
+ bun run dev
22
+ ```
23
+
24
+ ## Stack
25
+
26
+ | Tool | Version |
27
+ |------|---------|
28
+ | React | 19.2 |
29
+ | Vite | 8.0.0-beta |
30
+ | Tailwind CSS | v4 |
31
+ | @mks2508/mks-ui | latest |
32
+ | TypeScript | 5.9 |
33
+
34
+ ## Components
35
+
36
+ All UI components are imported from `@mks2508/mks-ui/react`:
37
+
38
+ - **AlertDialog** — Animated alert dialog with 3D flip entrance
39
+ - **Badge** — Status/label badges with variants
40
+ - **Button** — Button with multiple variants and sizes
41
+ - **Card** — Container card with header, content, footer, action sections
42
+ - **Combobox** — Searchable select with autocomplete
43
+ - **Dialog** — Animated modal dialog
44
+ - **DropdownMenu** — Menu with groups, checkboxes, radios, sub-menus
45
+ - **Field** — Form field wrapper with label, description, error
46
+ - **Input** — Text input
47
+ - **Select** — Select dropdown with groups
48
+ - **Tabs** — Tab navigation with animated indicators
49
+ - **Progress** — Progress bar
50
+ - **Switch** — Toggle switch
51
+ - **Checkbox** — Checkbox input
52
+ - **Separator** — Visual divider
53
+
54
+ ## Theme Management
55
+
56
+ ### Built-in Themes
57
+
58
+ The starter includes 4 built-in themes:
59
+ - **default** — Clean, neutral theme
60
+ - **synthwave84** — Retro synthwave aesthetic
61
+ - **graphite** — Dark, professional look
62
+ - **darkmatteviolet** — Dark with violet accents
63
+
64
+ ### Animated Transitions
65
+
66
+ Theme switching supports multiple animation presets:
67
+ - `wipe` — Horizontal wipe transition
68
+ - `circle-expand` — Expanding circle
69
+ - `circle-shrink` — Shrinking circle
70
+ - `diamond` — Diamond-shaped reveal
71
+ - `crossfade` — Smooth fade
72
+ - `gif-mask` — Mask-based transition
73
+ - `slide` — Slide transition
74
+ - `none` — Instant switch
75
+
76
+ ### Adding Themes
77
+
78
+ Install themes from TweakCN or custom registries:
79
+
80
+ ```bash
81
+ bun run install-theme https://tweakcn.com/r/themes/your-theme.json
82
+ ```
83
+
84
+ ## CRITICAL: Tailwind v4 Consumer Setup
85
+
86
+ This app uses `@mks2508/mks-ui` which ships compiled JS with Tailwind class strings. Tailwind v4's `@tailwindcss/vite` plugin **does not scan `node_modules` by default**, so the following `@source` directive is required in `src/index.css`:
87
+
88
+ ```css
89
+ @source "../node_modules/@mks2508/mks-ui/dist";
90
+ ```
91
+
92
+ Without this directive, component utility classes will not be generated, and components will render unstyled.
93
+
94
+ ## Template Usage
95
+
96
+ Click "Use this template" to create a new repository from this starter.
97
+
98
+ ## License
99
+
100
+ MIT