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.
- package/README.md +119 -98
- package/index.js +33 -1
- package/package.json +4 -3
- package/template/README.md +73 -73
- package/template/_gitignore +24 -0
- package/template/components.json +22 -22
- package/template/eslint.config.js +30 -23
- package/template/index.html +13 -13
- package/template/package.json +53 -53
- package/template/pnpm-lock.yaml +1281 -1856
- package/template/src/App.tsx +27 -27
- package/template/src/components/home-page-components/header.tsx +2 -2
- package/template/src/components/ui/accordion.tsx +64 -64
- package/template/src/components/ui/alert.tsx +66 -66
- package/template/src/components/ui/avatar.tsx +51 -51
- package/template/src/components/ui/badge.tsx +46 -46
- package/template/src/components/ui/button-group.tsx +83 -83
- package/template/src/components/ui/button.tsx +60 -60
- package/template/src/components/ui/calendar.tsx +210 -211
- package/template/src/components/ui/card.tsx +92 -92
- package/template/src/components/ui/checkbox.tsx +30 -30
- package/template/src/components/ui/collapsible.tsx +31 -31
- package/template/src/components/ui/dialog.tsx +141 -141
- package/template/src/components/ui/input.tsx +21 -21
- package/template/src/components/ui/select.tsx +185 -185
- package/template/src/components/ui/separator.tsx +26 -26
- package/template/src/components/ui/sonner.tsx +38 -38
- package/template/src/components/ui/spinner.tsx +16 -16
- package/template/src/components/ui/table.tsx +114 -114
- package/template/src/components/ui/toggle.tsx +45 -45
- package/template/src/components/ui/tooltip.tsx +59 -59
- package/template/src/lib/utils.ts +6 -6
- package/template/src/main.tsx +10 -10
- package/template/tsconfig.app.json +31 -28
- package/template/tsconfig.json +2 -4
- package/template/tsconfig.node.json +26 -26
- package/template2/.env.example +8 -0
- package/template2/.husky/pre-commit +4 -0
- package/template2/.prettierrc +5 -0
- package/template2/README.md +73 -0
- package/template2/__tests__/example.test.ts +20 -0
- package/template2/_gitignore +37 -0
- package/template2/app/[locale]/(private)/dashboard/page.tsx +52 -0
- package/template2/app/[locale]/(public)/login/page.tsx +83 -0
- package/template2/app/[locale]/layout.tsx +56 -0
- package/template2/app/[locale]/locales.ts +10 -0
- package/template2/app/[locale]/page.tsx +38 -0
- package/template2/app/api/clear-session/route.ts +10 -0
- package/template2/app/globals.css +127 -0
- package/template2/app/layout.tsx +7 -0
- package/template2/app/page.tsx +6 -0
- package/template2/components/AuthEventListener.tsx +22 -0
- package/template2/components/theme-provider.tsx +78 -0
- package/template2/components/ui/button.tsx +60 -0
- package/template2/components/ui/card.tsx +92 -0
- package/template2/components/ui/input.tsx +21 -0
- package/template2/components/ui/label.tsx +24 -0
- package/template2/components/ui/sonner.tsx +40 -0
- package/template2/components.json +22 -0
- package/template2/config/constants.ts +7 -0
- package/template2/config/env.ts +5 -0
- package/template2/contexts/translation-context.tsx +70 -0
- package/template2/eslint.config.mjs +18 -0
- package/template2/hoc/provider.tsx +27 -0
- package/template2/lib/paramsSerializer.ts +40 -0
- package/template2/lib/utils.ts +6 -0
- package/template2/locales/az.json +20 -0
- package/template2/locales/en.json +20 -0
- package/template2/next-env.d.ts +6 -0
- package/template2/next.config.ts +17 -0
- package/template2/orval.config.ts +66 -0
- package/template2/package.json +62 -0
- package/template2/pnpm-lock.yaml +6804 -0
- package/template2/postcss.config.mjs +7 -0
- package/template2/public/.gitkeep +0 -0
- package/template2/scripts/fix-generated-types.mjs +13 -0
- package/template2/services/generated/.gitkeep +2 -0
- package/template2/services/httpClient/httpClient.ts +70 -0
- package/template2/services/httpClient/orvalMutator.ts +10 -0
- package/template2/store/example-store.tsx +16 -0
- package/template2/store/user-store.tsx +29 -0
- package/template2/testing/msw/handlers/index.ts +6 -0
- package/template2/testing/msw/server.ts +4 -0
- package/template2/tsconfig.json +34 -0
- package/template2/tsconfig.tsbuildinfo +1 -0
- package/template2/vitest.config.ts +17 -0
- package/template2/vitest.setup.ts +7 -0
package/template/package.json
CHANGED
|
@@ -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.
|
|
14
|
-
"@radix-ui/react-avatar": "^1.1.
|
|
15
|
-
"@radix-ui/react-checkbox": "^1.3.
|
|
16
|
-
"@radix-ui/react-collapsible": "^1.1.
|
|
17
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
18
|
-
"@radix-ui/react-select": "^2.
|
|
19
|
-
"@radix-ui/react-separator": "^1.1.
|
|
20
|
-
"@radix-ui/react-slot": "^1.2.
|
|
21
|
-
"@radix-ui/react-toggle": "^1.1.
|
|
22
|
-
"@radix-ui/react-tooltip": "^1.2.
|
|
23
|
-
"@tailwindcss/vite": "^4.
|
|
24
|
-
"class-variance-authority": "^0.7.1",
|
|
25
|
-
"clsx": "^2.1.1",
|
|
26
|
-
"date-fns": "^4.
|
|
27
|
-
"lucide-react": "^
|
|
28
|
-
"next-themes": "^0.4.6",
|
|
29
|
-
"react": "^19.
|
|
30
|
-
"react-day-picker": "^
|
|
31
|
-
"react-dom": "^19.
|
|
32
|
-
"react-router": "^7.
|
|
33
|
-
"recharts": "^3.
|
|
34
|
-
"sonner": "^2.0.7",
|
|
35
|
-
"tailwind-merge": "^3.
|
|
36
|
-
"tailwindcss": "^4.
|
|
37
|
-
},
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"@eslint/js": "^
|
|
40
|
-
"@types/node": "^
|
|
41
|
-
"@types/react": "^19.
|
|
42
|
-
"@types/react-dom": "^19.
|
|
43
|
-
"@vitejs/plugin-react": "^
|
|
44
|
-
"eslint": "^
|
|
45
|
-
"eslint-plugin-react-hooks": "^
|
|
46
|
-
"eslint-plugin-react-refresh": "^0.
|
|
47
|
-
"globals": "^
|
|
48
|
-
"tw-animate-css": "^1.4.0",
|
|
49
|
-
"typescript": "~
|
|
50
|
-
"typescript-eslint": "^8.
|
|
51
|
-
"vite": "^
|
|
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
|
+
}
|