create-reactivite 1.3.0 → 1.6.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 (132) hide show
  1. package/README.md +326 -235
  2. package/index.js +157 -34
  3. package/package.json +5 -3
  4. package/template/package.json +22 -22
  5. package/template/pnpm-lock.yaml +3274 -3274
  6. package/template/src/components/author-credit.tsx +25 -25
  7. package/template2/.env.example +8 -8
  8. package/template2/.husky/pre-commit +4 -4
  9. package/template2/.prettierrc +5 -5
  10. package/template2/README.md +73 -73
  11. package/template2/__tests__/example.test.ts +20 -20
  12. package/template2/_gitignore +37 -37
  13. package/template2/app/[locale]/(private)/dashboard/page.tsx +52 -52
  14. package/template2/app/[locale]/(public)/login/page.tsx +83 -83
  15. package/template2/app/[locale]/layout.tsx +58 -58
  16. package/template2/app/[locale]/locales.ts +10 -10
  17. package/template2/app/[locale]/page.tsx +38 -38
  18. package/template2/app/api/clear-session/route.ts +10 -10
  19. package/template2/app/globals.css +127 -127
  20. package/template2/app/layout.tsx +7 -7
  21. package/template2/app/page.tsx +6 -6
  22. package/template2/components/AuthEventListener.tsx +22 -22
  23. package/template2/components/author-credit.tsx +25 -25
  24. package/template2/components/theme-provider.tsx +78 -78
  25. package/template2/components/ui/button.tsx +60 -60
  26. package/template2/components/ui/card.tsx +92 -92
  27. package/template2/components/ui/input.tsx +21 -21
  28. package/template2/components/ui/label.tsx +24 -24
  29. package/template2/components/ui/sonner.tsx +40 -40
  30. package/template2/components.json +22 -22
  31. package/template2/config/constants.ts +7 -7
  32. package/template2/config/env.ts +5 -5
  33. package/template2/contexts/translation-context.tsx +70 -70
  34. package/template2/eslint.config.mjs +18 -18
  35. package/template2/hoc/provider.tsx +27 -27
  36. package/template2/lib/paramsSerializer.ts +40 -40
  37. package/template2/lib/utils.ts +6 -6
  38. package/template2/locales/az.json +20 -20
  39. package/template2/locales/en.json +20 -20
  40. package/template2/next-env.d.ts +1 -1
  41. package/template2/next.config.ts +17 -17
  42. package/template2/orval.config.ts +66 -66
  43. package/template2/package.json +62 -62
  44. package/template2/postcss.config.mjs +7 -7
  45. package/template2/scripts/fix-generated-types.mjs +13 -13
  46. package/template2/services/generated/.gitkeep +2 -2
  47. package/template2/services/httpClient/httpClient.ts +70 -70
  48. package/template2/services/httpClient/orvalMutator.ts +10 -10
  49. package/template2/store/example-store.tsx +16 -16
  50. package/template2/store/user-store.tsx +29 -29
  51. package/template2/testing/msw/handlers/index.ts +6 -6
  52. package/template2/testing/msw/server.ts +4 -4
  53. package/template2/tsconfig.json +34 -34
  54. package/template2/vitest.config.ts +17 -17
  55. package/template2/vitest.setup.ts +7 -7
  56. package/template3/README.md +34 -34
  57. package/template3/_gitignore +16 -16
  58. package/template3/components.json +21 -0
  59. package/template3/index.html +8 -2
  60. package/template3/package-lock.json +3934 -0
  61. package/template3/package.json +48 -22
  62. package/template3/postcss.config.mjs +5 -0
  63. package/template3/rspack.config.mjs +59 -51
  64. package/template3/src/App.tsx +16 -11
  65. package/template3/src/components/author-credit.tsx +42 -42
  66. package/template3/src/components/layout.tsx +59 -0
  67. package/template3/src/components/matrix-rain.tsx +71 -0
  68. package/template3/src/components/ui/accordion.tsx +64 -0
  69. package/template3/src/components/ui/alert-dialog.tsx +196 -0
  70. package/template3/src/components/ui/alert.tsx +66 -0
  71. package/template3/src/components/ui/aspect-ratio.tsx +11 -0
  72. package/template3/src/components/ui/avatar.tsx +107 -0
  73. package/template3/src/components/ui/badge.tsx +48 -0
  74. package/template3/src/components/ui/breadcrumb.tsx +109 -0
  75. package/template3/src/components/ui/button-group.tsx +83 -0
  76. package/template3/src/components/ui/button.tsx +64 -0
  77. package/template3/src/components/ui/calendar.tsx +218 -0
  78. package/template3/src/components/ui/card.tsx +92 -0
  79. package/template3/src/components/ui/carousel.tsx +241 -0
  80. package/template3/src/components/ui/chart.tsx +372 -0
  81. package/template3/src/components/ui/checkbox.tsx +32 -0
  82. package/template3/src/components/ui/collapsible.tsx +31 -0
  83. package/template3/src/components/ui/combobox.tsx +310 -0
  84. package/template3/src/components/ui/command.tsx +184 -0
  85. package/template3/src/components/ui/context-menu.tsx +252 -0
  86. package/template3/src/components/ui/dialog.tsx +156 -0
  87. package/template3/src/components/ui/direction.tsx +22 -0
  88. package/template3/src/components/ui/drawer.tsx +133 -0
  89. package/template3/src/components/ui/dropdown-menu.tsx +257 -0
  90. package/template3/src/components/ui/empty.tsx +104 -0
  91. package/template3/src/components/ui/field.tsx +248 -0
  92. package/template3/src/components/ui/form.tsx +165 -0
  93. package/template3/src/components/ui/hover-card.tsx +42 -0
  94. package/template3/src/components/ui/input-group.tsx +168 -0
  95. package/template3/src/components/ui/input-otp.tsx +77 -0
  96. package/template3/src/components/ui/input.tsx +21 -0
  97. package/template3/src/components/ui/item.tsx +193 -0
  98. package/template3/src/components/ui/kbd.tsx +28 -0
  99. package/template3/src/components/ui/label.tsx +22 -0
  100. package/template3/src/components/ui/menubar.tsx +276 -0
  101. package/template3/src/components/ui/native-select.tsx +62 -0
  102. package/template3/src/components/ui/navigation-menu.tsx +168 -0
  103. package/template3/src/components/ui/pagination.tsx +127 -0
  104. package/template3/src/components/ui/popover.tsx +87 -0
  105. package/template3/src/components/ui/progress.tsx +31 -0
  106. package/template3/src/components/ui/radio-group.tsx +43 -0
  107. package/template3/src/components/ui/resizable.tsx +53 -0
  108. package/template3/src/components/ui/scroll-area.tsx +56 -0
  109. package/template3/src/components/ui/select.tsx +190 -0
  110. package/template3/src/components/ui/separator.tsx +26 -0
  111. package/template3/src/components/ui/sheet.tsx +143 -0
  112. package/template3/src/components/ui/sidebar.tsx +724 -0
  113. package/template3/src/components/ui/skeleton.tsx +13 -0
  114. package/template3/src/components/ui/slider.tsx +61 -0
  115. package/template3/src/components/ui/sonner.tsx +40 -0
  116. package/template3/src/components/ui/spinner.tsx +16 -0
  117. package/template3/src/components/ui/switch.tsx +33 -0
  118. package/template3/src/components/ui/table.tsx +116 -0
  119. package/template3/src/components/ui/tabs.tsx +89 -0
  120. package/template3/src/components/ui/textarea.tsx +18 -0
  121. package/template3/src/components/ui/toggle-group.tsx +83 -0
  122. package/template3/src/components/ui/toggle.tsx +47 -0
  123. package/template3/src/components/ui/tooltip.tsx +55 -0
  124. package/template3/src/hooks/use-mobile.ts +19 -0
  125. package/template3/src/index.css +175 -32
  126. package/template3/src/lib/utils.ts +6 -0
  127. package/template3/src/main.tsx +10 -10
  128. package/template3/src/pages/about.tsx +113 -0
  129. package/template3/src/pages/contact.tsx +111 -0
  130. package/template3/src/pages/home.tsx +81 -0
  131. package/template3/tsconfig.json +24 -20
  132. package/template2/tsconfig.tsbuildinfo +0 -1
@@ -1,16 +1,16 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- pnpm-debug.log*
7
-
8
- node_modules
9
- dist
10
-
11
- # Editor directories and files
12
- .vscode/*
13
- !.vscode/extensions.json
14
- .idea
15
- .DS_Store
16
- *.sw?
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ pnpm-debug.log*
7
+
8
+ node_modules
9
+ dist
10
+
11
+ # Editor directories and files
12
+ .vscode/*
13
+ !.vscode/extensions.json
14
+ .idea
15
+ .DS_Store
16
+ *.sw?
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema.json",
3
+ "style": "new-york",
4
+ "rsc": false,
5
+ "tsx": true,
6
+ "tailwind": {
7
+ "config": "",
8
+ "css": "src/index.css",
9
+ "baseColor": "neutral",
10
+ "cssVariables": true,
11
+ "prefix": ""
12
+ },
13
+ "iconLibrary": "lucide",
14
+ "aliases": {
15
+ "components": "@/components",
16
+ "utils": "@/lib/utils",
17
+ "ui": "@/components/ui",
18
+ "lib": "@/lib",
19
+ "hooks": "@/hooks"
20
+ }
21
+ }
@@ -1,9 +1,15 @@
1
1
  <!doctype html>
2
- <html lang="en">
2
+ <html lang="en" class="dark">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Rspack + React</title>
6
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
7
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
8
+ <link
9
+ href="https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Share+Tech+Mono&display=swap"
10
+ rel="stylesheet"
11
+ />
12
+ <title>Javid Salimov // ENTER THE MATRIX</title>
7
13
  </head>
8
14
  <body>
9
15
  <div id="root"></div>