create-bluecopa-react-app 1.0.43 → 1.0.45
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 +132 -110
- package/bin/create-bluecopa-react-app.js +23 -21
- package/package.json +1 -1
- package/templates/latest/.env.example +12 -2
- package/templates/latest/Agent.md +9 -756
- package/templates/latest/CLAUDE.md +67 -4
- package/templates/latest/app/app.tsx +67 -28
- package/templates/latest/app/components/error-boundary.tsx +178 -0
- package/templates/latest/app/constants/index.ts +7 -0
- package/templates/latest/app/contexts/app-context.tsx +28 -2
- package/templates/latest/app/hooks/use-permissions.ts +41 -0
- package/templates/latest/app/single-spa.tsx +7 -0
- package/templates/latest/app/types/index.ts +36 -0
- package/templates/latest/app/utils/ag-grid-license.ts +8 -2
- package/templates/latest/package-lock.json +564 -995
- package/templates/latest/package.json +8 -8
- package/templates/latest/pnpm-workspace.yaml +6 -0
- package/templates/latest/vite.config.ts +2 -2
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"typecheck": "tsc"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@bluecopa/react": "0.1.
|
|
13
|
+
"@bluecopa/react": "0.1.117",
|
|
14
14
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
15
15
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
16
16
|
"@radix-ui/react-label": "^2.1.7",
|
|
@@ -19,38 +19,38 @@
|
|
|
19
19
|
"@radix-ui/react-tabs": "^1.1.1",
|
|
20
20
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
21
21
|
"@tabler/icons-react": "^3.34.1",
|
|
22
|
-
"@vitejs/plugin-react-swc": "^4.
|
|
22
|
+
"@vitejs/plugin-react-swc": "^4.3.1",
|
|
23
23
|
"ag-charts-enterprise": "^13.0.1",
|
|
24
24
|
"ag-grid-community": "^34.0.1",
|
|
25
25
|
"ag-grid-enterprise": "^34.0.1",
|
|
26
26
|
"ag-grid-react": "^34.0.1",
|
|
27
27
|
"class-variance-authority": "^0.7.1",
|
|
28
28
|
"clsx": "^2.1.1",
|
|
29
|
-
"echarts": "^6.
|
|
29
|
+
"echarts": "^6.1.0",
|
|
30
30
|
"echarts-for-react": "^3.0.6",
|
|
31
31
|
"lucide-react": "^0.544.0",
|
|
32
32
|
"react": "^18.3.1",
|
|
33
33
|
"react-dom": "^18.3.1",
|
|
34
|
-
"react-router-dom": "^7.
|
|
34
|
+
"react-router-dom": "^7.16.0",
|
|
35
35
|
"single-spa": "6.0.3",
|
|
36
36
|
"sonner": "^2.0.7",
|
|
37
37
|
"tailwind-merge": "^3.3.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@originjs/vite-plugin-federation": "^1.4.1",
|
|
41
|
-
"@tailwindcss/vite": "^4.1
|
|
41
|
+
"@tailwindcss/vite": "^4.3.1",
|
|
42
42
|
"@types/node": "^20",
|
|
43
43
|
"@types/react": "^18.3.12",
|
|
44
44
|
"@types/react-dom": "^18.3.1",
|
|
45
45
|
"tailwindcss": "^4.1.13",
|
|
46
|
-
"tar": "^7.5.
|
|
46
|
+
"tar": "^7.5.16",
|
|
47
47
|
"tw-animate-css": "^1.3.8",
|
|
48
48
|
"typescript": "^5.8.3",
|
|
49
|
-
"vite": "
|
|
49
|
+
"vite": "8.0.16",
|
|
50
50
|
"vite-tsconfig-paths": "^5.1.4"
|
|
51
51
|
},
|
|
52
52
|
"overrides": {
|
|
53
|
-
"axios": "1.
|
|
53
|
+
"axios": "1.16.0",
|
|
54
54
|
"rollup": "4.59.0",
|
|
55
55
|
"ajv": "8.18.0",
|
|
56
56
|
"protobufjs": ">=7.5.8 <8",
|
|
@@ -11,9 +11,9 @@ export default defineConfig({
|
|
|
11
11
|
cors: true,
|
|
12
12
|
headers: {
|
|
13
13
|
"Access-Control-Allow-Origin": "*",
|
|
14
|
-
"Access-Control-Allow-Methods": "GET,
|
|
14
|
+
"Access-Control-Allow-Methods": "GET,POST,PUT,DELETE,OPTIONS,PATCH",
|
|
15
15
|
"Access-Control-Allow-Headers":
|
|
16
|
-
"Origin,
|
|
16
|
+
"Origin,Content-Type,Accept,Authorization,Cache-Control,X-COPA-TOKEN,X-COPA-WORKSPACE-ID,X-COMP-ID,x-bluecopa-solution-id,x-bluecopa-solution-branch,x-bluecopa-solution-branch-type,prefer",
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
19
|
plugins: [
|