create-bluecopa-react-app 1.0.4 → 1.0.6
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 +47 -10
- package/bin/create-bluecopa-react-app.js +257 -51
- package/package.json +6 -5
- package/templates/latest/Agent.md +254 -0
- package/templates/latest/Dockerfile +22 -0
- package/templates/latest/README.md +157 -221
- package/templates/latest/app/app.css +134 -0
- package/templates/latest/app/app.tsx +46 -0
- package/templates/latest/app/components/app-sidebar.tsx +174 -0
- package/templates/latest/app/components/chart-area-interactive.tsx +290 -0
- package/templates/latest/app/components/data-table.tsx +807 -0
- package/templates/latest/app/components/nav-documents.tsx +92 -0
- package/templates/latest/app/components/nav-main.tsx +56 -0
- package/templates/latest/app/components/nav-secondary.tsx +42 -0
- package/templates/latest/app/components/nav-user.tsx +112 -0
- package/templates/latest/app/components/section-cards.tsx +102 -0
- package/templates/latest/app/components/site-header.tsx +19 -0
- package/templates/latest/app/components/ui/avatar.tsx +53 -0
- package/templates/latest/app/components/ui/badge.tsx +46 -0
- package/templates/latest/app/components/ui/breadcrumb.tsx +109 -0
- package/templates/latest/app/components/ui/button.tsx +58 -0
- package/templates/latest/app/components/ui/card.tsx +92 -0
- package/templates/latest/app/components/ui/chart.tsx +352 -0
- package/templates/latest/app/components/ui/checkbox.tsx +30 -0
- package/templates/latest/app/components/ui/drawer.tsx +139 -0
- package/templates/latest/app/components/ui/dropdown-menu.tsx +258 -0
- package/templates/latest/app/components/ui/input.tsx +21 -0
- package/templates/latest/app/components/ui/label.tsx +24 -0
- package/templates/latest/app/components/ui/select.tsx +183 -0
- package/templates/latest/app/components/ui/separator.tsx +26 -0
- package/templates/latest/app/components/ui/sheet.tsx +139 -0
- package/templates/latest/app/components/ui/sidebar.tsx +731 -0
- package/templates/latest/app/components/ui/skeleton.tsx +13 -0
- package/templates/latest/app/components/ui/sonner.tsx +23 -0
- package/templates/latest/app/components/ui/table.tsx +117 -0
- package/templates/latest/app/components/ui/tabs.tsx +66 -0
- package/templates/latest/app/components/ui/toggle-group.tsx +73 -0
- package/templates/latest/app/components/ui/toggle.tsx +47 -0
- package/templates/latest/app/components/ui/tooltip.tsx +59 -0
- package/templates/latest/app/dashboard/data.json +614 -0
- package/templates/latest/app/hooks/use-bluecopa-user.ts +37 -0
- package/templates/latest/app/hooks/use-mobile.ts +19 -0
- package/templates/latest/{src → app}/lib/utils.ts +1 -1
- package/templates/latest/app/main.tsx +12 -0
- package/templates/latest/app/routes/home.tsx +40 -0
- package/templates/latest/app/routes.tsx +15 -0
- package/templates/latest/{src → app}/single-spa.tsx +38 -28
- package/templates/latest/components.json +22 -0
- package/templates/latest/dist/assets/__federation_expose_App-DRwKKpS2.js +91 -0
- package/templates/latest/dist/assets/__federation_fn_import-CzfA7kmP.js +438 -0
- package/templates/latest/dist/assets/__federation_shared_react-Bp6HVBS4.js +16 -0
- package/templates/latest/dist/assets/__federation_shared_react-dom-BCcRGiYp.js +17 -0
- package/templates/latest/dist/assets/client-DgSav55y.js +12658 -0
- package/templates/latest/dist/assets/home-DOL6GrYV.js +54951 -0
- package/templates/latest/dist/assets/index-BzNimew1.js +69 -0
- package/templates/latest/dist/assets/index-DMFtQdNS.js +412 -0
- package/templates/latest/dist/assets/index-DdYpcDMk.js +60 -0
- package/templates/latest/dist/assets/remoteEntry.js +88 -0
- package/templates/latest/dist/assets/style-36A39bNN.css +3683 -0
- package/templates/latest/dist/avatars/shadcn.svg +6 -0
- package/templates/latest/dist/favicon.ico +0 -0
- package/templates/latest/dist/index.html +19 -0
- package/templates/latest/index.html +1 -1
- package/templates/latest/package-lock.json +1227 -3353
- package/templates/latest/package.json +47 -43
- package/templates/latest/pnpm-lock.yaml +4767 -0
- package/templates/latest/preview/index.html +32 -2
- package/templates/latest/public/avatars/shadcn.svg +6 -0
- package/templates/latest/public/favicon.ico +0 -0
- package/templates/latest/tsconfig.json +18 -11
- package/templates/latest/vite.config.ts +41 -41
- package/templates/latest/.env.example +0 -14
- package/templates/latest/.eslintrc.cjs +0 -42
- package/templates/latest/AGENT.md +0 -284
- package/templates/latest/clean.sh +0 -39
- package/templates/latest/postcss.config.cjs +0 -6
- package/templates/latest/public/bluecopa-logo.svg +0 -30
- package/templates/latest/public/favicon-32x32.png +0 -0
- package/templates/latest/public/favicon-96x96.png +0 -0
- package/templates/latest/setup.sh +0 -55
- package/templates/latest/src/App.tsx +0 -15
- package/templates/latest/src/components/layout/dashboard-header.tsx +0 -139
- package/templates/latest/src/components/layout/dashboard-layout.tsx +0 -29
- package/templates/latest/src/components/layout/sidebar.tsx +0 -54
- package/templates/latest/src/components/page/dashboard.tsx +0 -1506
- package/templates/latest/src/components/page/navbar.tsx +0 -104
- package/templates/latest/src/components/tables/data-grid.tsx +0 -439
- package/templates/latest/src/components/ui/alert.tsx +0 -59
- package/templates/latest/src/components/ui/avatar.tsx +0 -50
- package/templates/latest/src/components/ui/badge.tsx +0 -36
- package/templates/latest/src/components/ui/bluecopa-logo.tsx +0 -54
- package/templates/latest/src/components/ui/button.tsx +0 -58
- package/templates/latest/src/components/ui/card.tsx +0 -79
- package/templates/latest/src/components/ui/dropdown-menu.tsx +0 -200
- package/templates/latest/src/components/ui/input.tsx +0 -24
- package/templates/latest/src/components/ui/label.tsx +0 -23
- package/templates/latest/src/components/ui/select.tsx +0 -29
- package/templates/latest/src/hooks/use-api.ts +0 -55
- package/templates/latest/src/index.css +0 -59
- package/templates/latest/src/main.tsx +0 -13
- package/templates/latest/src/pages/Dashboard.tsx +0 -13
- package/templates/latest/src/pages/Home.tsx +0 -622
- package/templates/latest/src/providers/query-provider.tsx +0 -48
- package/templates/latest/src/types/api.ts +0 -78
- package/templates/latest/src/vite-env.d.ts +0 -11
- package/templates/latest/tailwind.config.js +0 -88
- package/templates/latest/tsconfig.app.json +0 -26
- package/templates/latest/tsconfig.node.json +0 -10
|
@@ -1,57 +1,61 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "React template with React Router for Bluecopa applications with TanStack Query, Radix UI, and Recharts",
|
|
5
|
-
"type": "module",
|
|
2
|
+
"name": "boilerplate-copa",
|
|
6
3
|
"private": true,
|
|
4
|
+
"type": "module",
|
|
7
5
|
"scripts": {
|
|
8
6
|
"dev": "vite",
|
|
9
7
|
"build": "tsc && vite build",
|
|
10
|
-
"start": "npx serve dist -l
|
|
11
|
-
"preview": "npx serve ./preview -l
|
|
12
|
-
"
|
|
13
|
-
"lint:fix": "eslint src --ext ts,tsx --fix",
|
|
14
|
-
"type-check": "tsc --noEmit",
|
|
15
|
-
"clean": "rm -rf dist node_modules package-lock.json",
|
|
16
|
-
"start:railway": "ls -la && echo \"BUILD_TYPE: $BUILD_TYPE\" && echo \"Serving: dist${BUILD_TYPE:+-$BUILD_TYPE}\" && npx serve -s dist${BUILD_TYPE:+-$BUILD_TYPE} -l $PORT --cors"
|
|
8
|
+
"start": "npx serve dist -l 3001 --cors",
|
|
9
|
+
"preview": "npx serve ./preview -l 8080 --cors",
|
|
10
|
+
"typecheck": "tsc"
|
|
17
11
|
},
|
|
18
12
|
"dependencies": {
|
|
19
|
-
"@bluecopa/react": "
|
|
20
|
-
"@
|
|
21
|
-
"@
|
|
22
|
-
"@
|
|
23
|
-
"@
|
|
24
|
-
"@radix-ui/react-
|
|
25
|
-
"@radix-ui/react-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"react": "^
|
|
30
|
-
"react-
|
|
31
|
-
"react-
|
|
32
|
-
"
|
|
13
|
+
"@bluecopa/react": "0.1.5",
|
|
14
|
+
"@dnd-kit/core": "^6.3.1",
|
|
15
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
16
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
17
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
18
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
19
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
20
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
21
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
22
|
+
"@radix-ui/react-label": "^2.1.7",
|
|
23
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
24
|
+
"@radix-ui/react-separator": "^1.1.7",
|
|
25
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
26
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
27
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
28
|
+
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
29
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
30
|
+
"@tabler/icons-react": "^3.34.1",
|
|
31
|
+
"@tanstack/react-table": "^8.21.3",
|
|
32
|
+
"@vitejs/plugin-react-swc": "^4.0.1",
|
|
33
|
+
"class-variance-authority": "^0.7.1",
|
|
34
|
+
"clsx": "^2.1.1",
|
|
35
|
+
"isbot": "^5.1.27",
|
|
36
|
+
"lucide-react": "^0.544.0",
|
|
37
|
+
"next-themes": "^0.4.6",
|
|
38
|
+
"react": "^18.3.1",
|
|
39
|
+
"react-dom": "^18.3.1",
|
|
40
|
+
"react-router-dom": "^7.8.2",
|
|
41
|
+
"recharts": "2.15.4",
|
|
33
42
|
"single-spa": "^6.0.3",
|
|
34
43
|
"single-spa-react": "^6.0.2",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
44
|
+
"sonner": "^2.0.7",
|
|
45
|
+
"tailwind-merge": "^3.3.1",
|
|
46
|
+
"vaul": "^1.1.2",
|
|
47
|
+
"zod": "^4.1.8"
|
|
37
48
|
},
|
|
38
49
|
"devDependencies": {
|
|
39
50
|
"@originjs/vite-plugin-federation": "^1.4.1",
|
|
40
|
-
"@
|
|
41
|
-
"@types/
|
|
42
|
-
"@types/react
|
|
43
|
-
"@types/
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"eslint": "^8.57.0",
|
|
50
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
51
|
-
"eslint-plugin-react-refresh": "^0.4.9",
|
|
52
|
-
"postcss": "^8.4.47",
|
|
53
|
-
"tailwindcss": "^3.4.17",
|
|
54
|
-
"typescript": "^5.6.0",
|
|
55
|
-
"vite": "^7.1.5"
|
|
51
|
+
"@tailwindcss/vite": "^4.1.13",
|
|
52
|
+
"@types/node": "^20",
|
|
53
|
+
"@types/react": "^18.3.12",
|
|
54
|
+
"@types/react-dom": "^18.3.1",
|
|
55
|
+
"tailwindcss": "^4.1.13",
|
|
56
|
+
"tw-animate-css": "^1.3.8",
|
|
57
|
+
"typescript": "^5.8.3",
|
|
58
|
+
"vite": "^6.3.3",
|
|
59
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
56
60
|
}
|
|
57
61
|
}
|