create-reactivite 1.0.4 → 1.2.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 (87) hide show
  1. package/README.md +119 -98
  2. package/index.js +33 -1
  3. package/package.json +4 -3
  4. package/template/README.md +73 -73
  5. package/template/_gitignore +24 -0
  6. package/template/components.json +22 -22
  7. package/template/eslint.config.js +30 -23
  8. package/template/index.html +13 -13
  9. package/template/package.json +53 -53
  10. package/template/pnpm-lock.yaml +1281 -1856
  11. package/template/src/App.tsx +27 -27
  12. package/template/src/components/home-page-components/header.tsx +2 -2
  13. package/template/src/components/ui/accordion.tsx +64 -64
  14. package/template/src/components/ui/alert.tsx +66 -66
  15. package/template/src/components/ui/avatar.tsx +51 -51
  16. package/template/src/components/ui/badge.tsx +46 -46
  17. package/template/src/components/ui/button-group.tsx +83 -83
  18. package/template/src/components/ui/button.tsx +60 -60
  19. package/template/src/components/ui/calendar.tsx +210 -211
  20. package/template/src/components/ui/card.tsx +92 -92
  21. package/template/src/components/ui/checkbox.tsx +30 -30
  22. package/template/src/components/ui/collapsible.tsx +31 -31
  23. package/template/src/components/ui/dialog.tsx +141 -141
  24. package/template/src/components/ui/input.tsx +21 -21
  25. package/template/src/components/ui/select.tsx +185 -185
  26. package/template/src/components/ui/separator.tsx +26 -26
  27. package/template/src/components/ui/sonner.tsx +38 -38
  28. package/template/src/components/ui/spinner.tsx +16 -16
  29. package/template/src/components/ui/table.tsx +114 -114
  30. package/template/src/components/ui/toggle.tsx +45 -45
  31. package/template/src/components/ui/tooltip.tsx +59 -59
  32. package/template/src/lib/utils.ts +6 -6
  33. package/template/src/main.tsx +10 -10
  34. package/template/tsconfig.app.json +31 -28
  35. package/template/tsconfig.json +2 -4
  36. package/template/tsconfig.node.json +26 -26
  37. package/template2/.env.example +8 -0
  38. package/template2/.husky/pre-commit +4 -0
  39. package/template2/.prettierrc +5 -0
  40. package/template2/README.md +73 -0
  41. package/template2/__tests__/example.test.ts +20 -0
  42. package/template2/_gitignore +37 -0
  43. package/template2/app/[locale]/(private)/dashboard/page.tsx +52 -0
  44. package/template2/app/[locale]/(public)/login/page.tsx +83 -0
  45. package/template2/app/[locale]/layout.tsx +56 -0
  46. package/template2/app/[locale]/locales.ts +10 -0
  47. package/template2/app/[locale]/page.tsx +38 -0
  48. package/template2/app/api/clear-session/route.ts +10 -0
  49. package/template2/app/globals.css +127 -0
  50. package/template2/app/layout.tsx +7 -0
  51. package/template2/app/page.tsx +6 -0
  52. package/template2/components/AuthEventListener.tsx +22 -0
  53. package/template2/components/theme-provider.tsx +78 -0
  54. package/template2/components/ui/button.tsx +60 -0
  55. package/template2/components/ui/card.tsx +92 -0
  56. package/template2/components/ui/input.tsx +21 -0
  57. package/template2/components/ui/label.tsx +24 -0
  58. package/template2/components/ui/sonner.tsx +40 -0
  59. package/template2/components.json +22 -0
  60. package/template2/config/constants.ts +7 -0
  61. package/template2/config/env.ts +5 -0
  62. package/template2/contexts/translation-context.tsx +70 -0
  63. package/template2/eslint.config.mjs +18 -0
  64. package/template2/hoc/provider.tsx +27 -0
  65. package/template2/lib/paramsSerializer.ts +40 -0
  66. package/template2/lib/utils.ts +6 -0
  67. package/template2/locales/az.json +20 -0
  68. package/template2/locales/en.json +20 -0
  69. package/template2/next-env.d.ts +6 -0
  70. package/template2/next.config.ts +17 -0
  71. package/template2/orval.config.ts +66 -0
  72. package/template2/package.json +62 -0
  73. package/template2/pnpm-lock.yaml +6804 -0
  74. package/template2/postcss.config.mjs +7 -0
  75. package/template2/public/.gitkeep +0 -0
  76. package/template2/scripts/fix-generated-types.mjs +13 -0
  77. package/template2/services/generated/.gitkeep +2 -0
  78. package/template2/services/httpClient/httpClient.ts +70 -0
  79. package/template2/services/httpClient/orvalMutator.ts +10 -0
  80. package/template2/store/example-store.tsx +16 -0
  81. package/template2/store/user-store.tsx +29 -0
  82. package/template2/testing/msw/handlers/index.ts +6 -0
  83. package/template2/testing/msw/server.ts +4 -0
  84. package/template2/tsconfig.json +34 -0
  85. package/template2/tsconfig.tsbuildinfo +1 -0
  86. package/template2/vitest.config.ts +17 -0
  87. package/template2/vitest.setup.ts +7 -0
@@ -1,53 +1,53 @@
1
- {
2
- "name": "reactivite-plate",
3
- "private": true,
4
- "version": "0.0.0",
5
- "type": "module",
6
- "scripts": {
7
- "dev": "vite",
8
- "build": "tsc -b && vite build",
9
- "lint": "eslint .",
10
- "preview": "vite preview"
11
- },
12
- "dependencies": {
13
- "@radix-ui/react-accordion": "^1.2.12",
14
- "@radix-ui/react-avatar": "^1.1.10",
15
- "@radix-ui/react-checkbox": "^1.3.3",
16
- "@radix-ui/react-collapsible": "^1.1.12",
17
- "@radix-ui/react-dialog": "^1.1.15",
18
- "@radix-ui/react-select": "^2.2.6",
19
- "@radix-ui/react-separator": "^1.1.7",
20
- "@radix-ui/react-slot": "^1.2.3",
21
- "@radix-ui/react-toggle": "^1.1.10",
22
- "@radix-ui/react-tooltip": "^1.2.8",
23
- "@tailwindcss/vite": "^4.1.14",
24
- "class-variance-authority": "^0.7.1",
25
- "clsx": "^2.1.1",
26
- "date-fns": "^4.1.0",
27
- "lucide-react": "^0.545.0",
28
- "next-themes": "^0.4.6",
29
- "react": "^19.1.1",
30
- "react-day-picker": "^9.11.1",
31
- "react-dom": "^19.1.1",
32
- "react-router": "^7.9.4",
33
- "recharts": "^3.2.1",
34
- "sonner": "^2.0.7",
35
- "tailwind-merge": "^3.3.1",
36
- "tailwindcss": "^4.1.14"
37
- },
38
- "devDependencies": {
39
- "@eslint/js": "^9.36.0",
40
- "@types/node": "^24.6.0",
41
- "@types/react": "^19.1.16",
42
- "@types/react-dom": "^19.1.9",
43
- "@vitejs/plugin-react": "^5.0.4",
44
- "eslint": "^9.36.0",
45
- "eslint-plugin-react-hooks": "^5.2.0",
46
- "eslint-plugin-react-refresh": "^0.4.22",
47
- "globals": "^16.4.0",
48
- "tw-animate-css": "^1.4.0",
49
- "typescript": "~5.9.3",
50
- "typescript-eslint": "^8.45.0",
51
- "vite": "^7.1.7"
52
- }
53
- }
1
+ {
2
+ "name": "reactivite-plate",
3
+ "private": true,
4
+ "version": "0.0.0",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "tsc -b && vite build",
9
+ "lint": "eslint .",
10
+ "preview": "vite preview"
11
+ },
12
+ "dependencies": {
13
+ "@radix-ui/react-accordion": "^1.2.13",
14
+ "@radix-ui/react-avatar": "^1.1.12",
15
+ "@radix-ui/react-checkbox": "^1.3.4",
16
+ "@radix-ui/react-collapsible": "^1.1.13",
17
+ "@radix-ui/react-dialog": "^1.1.16",
18
+ "@radix-ui/react-select": "^2.3.0",
19
+ "@radix-ui/react-separator": "^1.1.9",
20
+ "@radix-ui/react-slot": "^1.2.5",
21
+ "@radix-ui/react-toggle": "^1.1.11",
22
+ "@radix-ui/react-tooltip": "^1.2.9",
23
+ "@tailwindcss/vite": "^4.3.0",
24
+ "class-variance-authority": "^0.7.1",
25
+ "clsx": "^2.1.1",
26
+ "date-fns": "^4.4.0",
27
+ "lucide-react": "^1.17.0",
28
+ "next-themes": "^0.4.6",
29
+ "react": "^19.2.7",
30
+ "react-day-picker": "^10.0.1",
31
+ "react-dom": "^19.2.7",
32
+ "react-router": "^7.17.0",
33
+ "recharts": "^3.8.1",
34
+ "sonner": "^2.0.7",
35
+ "tailwind-merge": "^3.6.0",
36
+ "tailwindcss": "^4.3.0"
37
+ },
38
+ "devDependencies": {
39
+ "@eslint/js": "^10.0.1",
40
+ "@types/node": "^25.9.3",
41
+ "@types/react": "^19.2.17",
42
+ "@types/react-dom": "^19.2.3",
43
+ "@vitejs/plugin-react": "^6.0.2",
44
+ "eslint": "^10.4.1",
45
+ "eslint-plugin-react-hooks": "^7.1.1",
46
+ "eslint-plugin-react-refresh": "^0.5.2",
47
+ "globals": "^17.6.0",
48
+ "tw-animate-css": "^1.4.0",
49
+ "typescript": "~6.0.3",
50
+ "typescript-eslint": "^8.61.0",
51
+ "vite": "^8.0.16"
52
+ }
53
+ }