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.
Files changed (108) hide show
  1. package/README.md +47 -10
  2. package/bin/create-bluecopa-react-app.js +257 -51
  3. package/package.json +6 -5
  4. package/templates/latest/Agent.md +254 -0
  5. package/templates/latest/Dockerfile +22 -0
  6. package/templates/latest/README.md +157 -221
  7. package/templates/latest/app/app.css +134 -0
  8. package/templates/latest/app/app.tsx +46 -0
  9. package/templates/latest/app/components/app-sidebar.tsx +174 -0
  10. package/templates/latest/app/components/chart-area-interactive.tsx +290 -0
  11. package/templates/latest/app/components/data-table.tsx +807 -0
  12. package/templates/latest/app/components/nav-documents.tsx +92 -0
  13. package/templates/latest/app/components/nav-main.tsx +56 -0
  14. package/templates/latest/app/components/nav-secondary.tsx +42 -0
  15. package/templates/latest/app/components/nav-user.tsx +112 -0
  16. package/templates/latest/app/components/section-cards.tsx +102 -0
  17. package/templates/latest/app/components/site-header.tsx +19 -0
  18. package/templates/latest/app/components/ui/avatar.tsx +53 -0
  19. package/templates/latest/app/components/ui/badge.tsx +46 -0
  20. package/templates/latest/app/components/ui/breadcrumb.tsx +109 -0
  21. package/templates/latest/app/components/ui/button.tsx +58 -0
  22. package/templates/latest/app/components/ui/card.tsx +92 -0
  23. package/templates/latest/app/components/ui/chart.tsx +352 -0
  24. package/templates/latest/app/components/ui/checkbox.tsx +30 -0
  25. package/templates/latest/app/components/ui/drawer.tsx +139 -0
  26. package/templates/latest/app/components/ui/dropdown-menu.tsx +258 -0
  27. package/templates/latest/app/components/ui/input.tsx +21 -0
  28. package/templates/latest/app/components/ui/label.tsx +24 -0
  29. package/templates/latest/app/components/ui/select.tsx +183 -0
  30. package/templates/latest/app/components/ui/separator.tsx +26 -0
  31. package/templates/latest/app/components/ui/sheet.tsx +139 -0
  32. package/templates/latest/app/components/ui/sidebar.tsx +731 -0
  33. package/templates/latest/app/components/ui/skeleton.tsx +13 -0
  34. package/templates/latest/app/components/ui/sonner.tsx +23 -0
  35. package/templates/latest/app/components/ui/table.tsx +117 -0
  36. package/templates/latest/app/components/ui/tabs.tsx +66 -0
  37. package/templates/latest/app/components/ui/toggle-group.tsx +73 -0
  38. package/templates/latest/app/components/ui/toggle.tsx +47 -0
  39. package/templates/latest/app/components/ui/tooltip.tsx +59 -0
  40. package/templates/latest/app/dashboard/data.json +614 -0
  41. package/templates/latest/app/hooks/use-bluecopa-user.ts +37 -0
  42. package/templates/latest/app/hooks/use-mobile.ts +19 -0
  43. package/templates/latest/{src → app}/lib/utils.ts +1 -1
  44. package/templates/latest/app/main.tsx +12 -0
  45. package/templates/latest/app/routes/home.tsx +40 -0
  46. package/templates/latest/app/routes.tsx +15 -0
  47. package/templates/latest/{src → app}/single-spa.tsx +38 -28
  48. package/templates/latest/components.json +22 -0
  49. package/templates/latest/dist/assets/__federation_expose_App-DRwKKpS2.js +91 -0
  50. package/templates/latest/dist/assets/__federation_fn_import-CzfA7kmP.js +438 -0
  51. package/templates/latest/dist/assets/__federation_shared_react-Bp6HVBS4.js +16 -0
  52. package/templates/latest/dist/assets/__federation_shared_react-dom-BCcRGiYp.js +17 -0
  53. package/templates/latest/dist/assets/client-DgSav55y.js +12658 -0
  54. package/templates/latest/dist/assets/home-DOL6GrYV.js +54951 -0
  55. package/templates/latest/dist/assets/index-BzNimew1.js +69 -0
  56. package/templates/latest/dist/assets/index-DMFtQdNS.js +412 -0
  57. package/templates/latest/dist/assets/index-DdYpcDMk.js +60 -0
  58. package/templates/latest/dist/assets/remoteEntry.js +88 -0
  59. package/templates/latest/dist/assets/style-36A39bNN.css +3683 -0
  60. package/templates/latest/dist/avatars/shadcn.svg +6 -0
  61. package/templates/latest/dist/favicon.ico +0 -0
  62. package/templates/latest/dist/index.html +19 -0
  63. package/templates/latest/index.html +1 -1
  64. package/templates/latest/package-lock.json +1227 -3353
  65. package/templates/latest/package.json +47 -43
  66. package/templates/latest/pnpm-lock.yaml +4767 -0
  67. package/templates/latest/preview/index.html +32 -2
  68. package/templates/latest/public/avatars/shadcn.svg +6 -0
  69. package/templates/latest/public/favicon.ico +0 -0
  70. package/templates/latest/tsconfig.json +18 -11
  71. package/templates/latest/vite.config.ts +41 -41
  72. package/templates/latest/.env.example +0 -14
  73. package/templates/latest/.eslintrc.cjs +0 -42
  74. package/templates/latest/AGENT.md +0 -284
  75. package/templates/latest/clean.sh +0 -39
  76. package/templates/latest/postcss.config.cjs +0 -6
  77. package/templates/latest/public/bluecopa-logo.svg +0 -30
  78. package/templates/latest/public/favicon-32x32.png +0 -0
  79. package/templates/latest/public/favicon-96x96.png +0 -0
  80. package/templates/latest/setup.sh +0 -55
  81. package/templates/latest/src/App.tsx +0 -15
  82. package/templates/latest/src/components/layout/dashboard-header.tsx +0 -139
  83. package/templates/latest/src/components/layout/dashboard-layout.tsx +0 -29
  84. package/templates/latest/src/components/layout/sidebar.tsx +0 -54
  85. package/templates/latest/src/components/page/dashboard.tsx +0 -1506
  86. package/templates/latest/src/components/page/navbar.tsx +0 -104
  87. package/templates/latest/src/components/tables/data-grid.tsx +0 -439
  88. package/templates/latest/src/components/ui/alert.tsx +0 -59
  89. package/templates/latest/src/components/ui/avatar.tsx +0 -50
  90. package/templates/latest/src/components/ui/badge.tsx +0 -36
  91. package/templates/latest/src/components/ui/bluecopa-logo.tsx +0 -54
  92. package/templates/latest/src/components/ui/button.tsx +0 -58
  93. package/templates/latest/src/components/ui/card.tsx +0 -79
  94. package/templates/latest/src/components/ui/dropdown-menu.tsx +0 -200
  95. package/templates/latest/src/components/ui/input.tsx +0 -24
  96. package/templates/latest/src/components/ui/label.tsx +0 -23
  97. package/templates/latest/src/components/ui/select.tsx +0 -29
  98. package/templates/latest/src/hooks/use-api.ts +0 -55
  99. package/templates/latest/src/index.css +0 -59
  100. package/templates/latest/src/main.tsx +0 -13
  101. package/templates/latest/src/pages/Dashboard.tsx +0 -13
  102. package/templates/latest/src/pages/Home.tsx +0 -622
  103. package/templates/latest/src/providers/query-provider.tsx +0 -48
  104. package/templates/latest/src/types/api.ts +0 -78
  105. package/templates/latest/src/vite-env.d.ts +0 -11
  106. package/templates/latest/tailwind.config.js +0 -88
  107. package/templates/latest/tsconfig.app.json +0 -26
  108. package/templates/latest/tsconfig.node.json +0 -10
@@ -1,57 +1,61 @@
1
1
  {
2
- "name": "@bluecopa/react-router-template",
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 8080 --cors",
11
- "preview": "npx serve ./preview -l 3001 --cors",
12
- "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 100",
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": "^0.1.4",
20
- "@radix-ui/react-avatar": "^1.1.0",
21
- "@radix-ui/react-dropdown-menu": "^2.1.0",
22
- "@radix-ui/react-select": "^2.1.0",
23
- "@radix-ui/react-separator": "^1.1.0",
24
- "@radix-ui/react-slot": "^1.1.0",
25
- "@radix-ui/react-tabs": "^1.1.0",
26
- "class-variance-authority": "^0.7.0",
27
- "clsx": "^2.1.0",
28
- "lucide-react": "^0.445.0",
29
- "react": "^18.3.0",
30
- "react-dom": "^18.3.0",
31
- "react-router-dom": "^6.26.0",
32
- "recharts": "^2.12.0",
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
- "tailwind-merge": "^2.5.0",
36
- "tailwindcss-animate": "^1.0.7"
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
- "@types/node": "^24.3.1",
41
- "@types/react": "^18.3.0",
42
- "@types/react-dom": "^18.3.0",
43
- "@types/systemjs": "^6.15.3",
44
- "@typescript-eslint/eslint-plugin": "^7.18.0",
45
- "@typescript-eslint/parser": "^7.18.0",
46
- "@vitejs/plugin-react": "^4.3.0",
47
- "@vitejs/plugin-react-swc": "^4.0.1",
48
- "autoprefixer": "^10.4.20",
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
  }