@coze-arch/cli 0.0.1-alpha.49a2d9 → 0.0.1-alpha.4c2498
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/lib/__templates__/expo/.coze +1 -1
- package/lib/__templates__/expo/.cozeproj/scripts/dev_build.sh +19 -82
- package/lib/__templates__/expo/.cozeproj/scripts/dev_run.sh +65 -84
- package/lib/__templates__/expo/.cozeproj/scripts/prod_build.sh +2 -2
- package/lib/__templates__/expo/.cozeproj/scripts/prod_run.sh +2 -2
- package/lib/__templates__/expo/.cozeproj/scripts/server_dev_run.sh +45 -0
- package/lib/__templates__/expo/README.md +24 -14
- package/lib/__templates__/expo/client/app/+not-found.tsx +30 -0
- package/lib/__templates__/expo/client/app/_layout.tsx +15 -12
- package/lib/__templates__/expo/client/app/index.tsx +1 -0
- package/lib/__templates__/expo/client/app.config.ts +65 -60
- package/lib/__templates__/expo/client/components/Screen.tsx +1 -17
- package/lib/__templates__/expo/client/components/ThemedView.tsx +1 -2
- package/lib/__templates__/expo/client/constants/theme.ts +25 -698
- package/lib/__templates__/expo/client/declarations.d.ts +5 -0
- package/lib/__templates__/expo/client/eslint.config.mjs +17 -10
- package/lib/__templates__/expo/client/hooks/useColorScheme.tsx +48 -0
- package/lib/__templates__/expo/client/hooks/useTheme.ts +26 -6
- package/lib/__templates__/expo/client/package.json +1 -0
- package/lib/__templates__/expo/client/screens/demo/index.tsx +25 -0
- package/lib/__templates__/expo/client/screens/demo/styles.ts +28 -0
- package/lib/__templates__/expo/client/scripts/install-missing-deps.js +1 -0
- package/lib/__templates__/expo/client/utils/index.ts +22 -0
- package/lib/__templates__/expo/eslint-plugins/fontawesome6/index.js +9 -0
- package/lib/__templates__/expo/eslint-plugins/fontawesome6/names.js +1889 -0
- package/lib/__templates__/expo/eslint-plugins/fontawesome6/rule.js +174 -0
- package/lib/__templates__/expo/eslint-plugins/fontawesome6/v5-only-names.js +388 -0
- package/lib/__templates__/expo/eslint-plugins/reanimated/index.js +9 -0
- package/lib/__templates__/expo/eslint-plugins/reanimated/rule.js +88 -0
- package/lib/__templates__/expo/pnpm-lock.yaml +57 -5
- package/lib/__templates__/expo/server/build.js +21 -0
- package/lib/__templates__/expo/server/package.json +5 -3
- package/lib/__templates__/expo/server/src/index.ts +9 -2
- package/lib/__templates__/expo/template.config.js +1 -0
- package/lib/__templates__/nextjs/.babelrc +15 -0
- package/lib/__templates__/nextjs/.coze +1 -0
- package/lib/__templates__/nextjs/_npmrc +1 -0
- package/lib/__templates__/nextjs/next.config.ts +11 -0
- package/lib/__templates__/nextjs/package.json +11 -2
- package/lib/__templates__/nextjs/pnpm-lock.yaml +2486 -1707
- package/lib/__templates__/nextjs/scripts/prepare.sh +9 -0
- package/lib/__templates__/nextjs/src/app/globals.css +10 -2
- package/lib/__templates__/nextjs/src/app/layout.tsx +5 -14
- package/lib/__templates__/nextjs/src/app/page.tsx +35 -23
- package/lib/__templates__/nextjs/src/components/ui/resizable.tsx +29 -22
- package/lib/__templates__/nextjs/src/components/ui/sidebar.tsx +228 -230
- package/lib/__templates__/nextjs/template.config.js +30 -0
- package/lib/__templates__/templates.json +61 -43
- package/lib/__templates__/vite/.coze +1 -0
- package/lib/__templates__/vite/_npmrc +1 -0
- package/lib/__templates__/vite/eslint.config.mjs +9 -0
- package/lib/__templates__/vite/package.json +10 -1
- package/lib/__templates__/vite/pnpm-lock.yaml +3115 -126
- package/lib/__templates__/vite/scripts/prepare.sh +9 -0
- package/lib/__templates__/vite/src/main.ts +1 -2
- package/lib/__templates__/vite/template.config.js +30 -4
- package/lib/cli.js +565 -117
- package/package.json +1 -1
- package/lib/__templates__/expo/client/app/index.ts +0 -1
- package/lib/__templates__/expo/client/hooks/useColorScheme.ts +0 -1
- package/lib/__templates__/expo/client/screens/home/index.tsx +0 -50
- package/lib/__templates__/expo/client/screens/home/styles.ts +0 -60
- package/lib/__templates__/nextjs/.vscode/settings.json +0 -121
- package/lib/__templates__/vite/.vscode/settings.json +0 -7
|
@@ -70,6 +70,9 @@ importers:
|
|
|
70
70
|
expo-haptics:
|
|
71
71
|
specifier: ~15.0.6
|
|
72
72
|
version: 15.0.8(expo@54.0.30(@babel/core@7.28.5)(@expo/metro-runtime@6.1.2)(expo-router@6.0.21)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))
|
|
73
|
+
expo-image:
|
|
74
|
+
specifier: ^3.0.11
|
|
75
|
+
version: 3.0.11(expo@54.0.30(@babel/core@7.28.5)(@expo/metro-runtime@6.1.2)(expo-router@6.0.21)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native-web@0.21.2(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0)
|
|
73
76
|
expo-image-picker:
|
|
74
77
|
specifier: ~17.0.7
|
|
75
78
|
version: 17.0.10(expo@54.0.30(@babel/core@7.28.5)(@expo/metro-runtime@6.1.2)(expo-router@6.0.21)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))
|
|
@@ -230,9 +233,12 @@ importers:
|
|
|
230
233
|
|
|
231
234
|
server:
|
|
232
235
|
dependencies:
|
|
236
|
+
cors:
|
|
237
|
+
specifier: ^2.8.5
|
|
238
|
+
version: 2.8.5
|
|
233
239
|
coze-coding-dev-sdk:
|
|
234
|
-
specifier: ^0.
|
|
235
|
-
version: 0.
|
|
240
|
+
specifier: ^0.7.2
|
|
241
|
+
version: 0.7.2(@types/pg@8.16.0)(openai@6.15.0(ws@8.18.3)(zod@4.3.2))(ws@8.18.3)
|
|
236
242
|
dayjs:
|
|
237
243
|
specifier: ^1.11.19
|
|
238
244
|
version: 1.11.19
|
|
@@ -255,6 +261,9 @@ importers:
|
|
|
255
261
|
specifier: ^4.2.1
|
|
256
262
|
version: 4.3.2
|
|
257
263
|
devDependencies:
|
|
264
|
+
'@types/cors':
|
|
265
|
+
specifier: ^2.8.19
|
|
266
|
+
version: 2.8.19
|
|
258
267
|
'@types/express':
|
|
259
268
|
specifier: ^5.0.6
|
|
260
269
|
version: 5.0.6
|
|
@@ -2064,6 +2073,9 @@ packages:
|
|
|
2064
2073
|
'@types/connect@3.4.38':
|
|
2065
2074
|
resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==}
|
|
2066
2075
|
|
|
2076
|
+
'@types/cors@2.8.19':
|
|
2077
|
+
resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==}
|
|
2078
|
+
|
|
2067
2079
|
'@types/estree@1.0.8':
|
|
2068
2080
|
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
|
|
2069
2081
|
|
|
@@ -2855,12 +2867,16 @@ packages:
|
|
|
2855
2867
|
core-js-compat@3.47.0:
|
|
2856
2868
|
resolution: {integrity: sha512-IGfuznZ/n7Kp9+nypamBhvwdwLsW6KC8IOaURw2doAK5e98AG3acVLdh0woOnEqCfUtS+Vu882JE4k/DAm3ItQ==}
|
|
2857
2869
|
|
|
2870
|
+
cors@2.8.5:
|
|
2871
|
+
resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==}
|
|
2872
|
+
engines: {node: '>= 0.10'}
|
|
2873
|
+
|
|
2858
2874
|
cosmiconfig@7.1.0:
|
|
2859
2875
|
resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==}
|
|
2860
2876
|
engines: {node: '>=10'}
|
|
2861
2877
|
|
|
2862
|
-
coze-coding-dev-sdk@0.
|
|
2863
|
-
resolution: {integrity: sha512-
|
|
2878
|
+
coze-coding-dev-sdk@0.7.2:
|
|
2879
|
+
resolution: {integrity: sha512-IAAbI8W6MHL95BV/OmiacM2aMzkruyBwUMsvzJk/9jBT9vra2xiUC5ggS5xFi7V7MrL5VqfLv9ZlWSjcOAVRpw==}
|
|
2864
2880
|
engines: {node: '>=18.0.0'}
|
|
2865
2881
|
hasBin: true
|
|
2866
2882
|
|
|
@@ -3528,6 +3544,17 @@ packages:
|
|
|
3528
3544
|
peerDependencies:
|
|
3529
3545
|
expo: '*'
|
|
3530
3546
|
|
|
3547
|
+
expo-image@3.0.11:
|
|
3548
|
+
resolution: {integrity: sha512-4TudfUCLgYgENv+f48omnU8tjS2S0Pd9EaON5/s1ZUBRwZ7K8acEr4NfvLPSaeXvxW24iLAiyQ7sV7BXQH3RoA==}
|
|
3549
|
+
peerDependencies:
|
|
3550
|
+
expo: '*'
|
|
3551
|
+
react: '*'
|
|
3552
|
+
react-native: '*'
|
|
3553
|
+
react-native-web: '*'
|
|
3554
|
+
peerDependenciesMeta:
|
|
3555
|
+
react-native-web:
|
|
3556
|
+
optional: true
|
|
3557
|
+
|
|
3531
3558
|
expo-keep-awake@15.0.8:
|
|
3532
3559
|
resolution: {integrity: sha512-YK9M1VrnoH1vLJiQzChZgzDvVimVoriibiDIFLbQMpjYBnvyfUeHJcin/Gx1a+XgupNXy92EQJLgI/9ZuXajYQ==}
|
|
3533
3560
|
peerDependencies:
|
|
@@ -5947,6 +5974,11 @@ packages:
|
|
|
5947
5974
|
resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==}
|
|
5948
5975
|
engines: {node: '>=12'}
|
|
5949
5976
|
|
|
5977
|
+
transliteration@2.6.0:
|
|
5978
|
+
resolution: {integrity: sha512-T6frfMj7N5xNK0l+duIzIWKxkc9ewG72uv7NeOs4dIoysqTnYpwxeVEE5qYdKKmy7hby55ah0wNUoMaLsB2Zjw==}
|
|
5979
|
+
engines: {node: '>=20.0.0'}
|
|
5980
|
+
hasBin: true
|
|
5981
|
+
|
|
5950
5982
|
ts-api-utils@2.3.0:
|
|
5951
5983
|
resolution: {integrity: sha512-6eg3Y9SF7SsAvGzRHQvvc1skDAhwI4YQ32ui1scxD1Ccr0G5qIIbUBT3pFTKX8kmWIQClHobtUdNuaBgwdfdWg==}
|
|
5952
5984
|
engines: {node: '>=18.12'}
|
|
@@ -8965,6 +8997,10 @@ snapshots:
|
|
|
8965
8997
|
dependencies:
|
|
8966
8998
|
'@types/node': 25.0.3
|
|
8967
8999
|
|
|
9000
|
+
'@types/cors@2.8.19':
|
|
9001
|
+
dependencies:
|
|
9002
|
+
'@types/node': 25.0.3
|
|
9003
|
+
|
|
8968
9004
|
'@types/estree@1.0.8': {}
|
|
8969
9005
|
|
|
8970
9006
|
'@types/express-serve-static-core@5.1.0':
|
|
@@ -9871,6 +9907,11 @@ snapshots:
|
|
|
9871
9907
|
dependencies:
|
|
9872
9908
|
browserslist: 4.28.1
|
|
9873
9909
|
|
|
9910
|
+
cors@2.8.5:
|
|
9911
|
+
dependencies:
|
|
9912
|
+
object-assign: 4.1.1
|
|
9913
|
+
vary: 1.1.2
|
|
9914
|
+
|
|
9874
9915
|
cosmiconfig@7.1.0:
|
|
9875
9916
|
dependencies:
|
|
9876
9917
|
'@types/parse-json': 4.0.2
|
|
@@ -9879,7 +9920,7 @@ snapshots:
|
|
|
9879
9920
|
path-type: 4.0.0
|
|
9880
9921
|
yaml: 1.10.2
|
|
9881
9922
|
|
|
9882
|
-
coze-coding-dev-sdk@0.
|
|
9923
|
+
coze-coding-dev-sdk@0.7.2(@types/pg@8.16.0)(openai@6.15.0(ws@8.18.3)(zod@4.3.2))(ws@8.18.3):
|
|
9883
9924
|
dependencies:
|
|
9884
9925
|
'@aws-sdk/client-s3': 3.965.0
|
|
9885
9926
|
'@aws-sdk/lib-storage': 3.965.0(@aws-sdk/client-s3@3.965.0)
|
|
@@ -9892,6 +9933,7 @@ snapshots:
|
|
|
9892
9933
|
drizzle-orm: 0.45.1(@types/pg@8.16.0)(pg@8.16.3)
|
|
9893
9934
|
ora: 9.0.0
|
|
9894
9935
|
pg: 8.16.3
|
|
9936
|
+
transliteration: 2.6.0
|
|
9895
9937
|
transitivePeerDependencies:
|
|
9896
9938
|
- '@aws-sdk/client-rds-data'
|
|
9897
9939
|
- '@cloudflare/workers-types'
|
|
@@ -10656,6 +10698,14 @@ snapshots:
|
|
|
10656
10698
|
expo: 54.0.30(@babel/core@7.28.5)(@expo/metro-runtime@6.1.2)(expo-router@6.0.21)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0)
|
|
10657
10699
|
expo-image-loader: 6.0.0(expo@54.0.30(@babel/core@7.28.5)(@expo/metro-runtime@6.1.2)(expo-router@6.0.21)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))
|
|
10658
10700
|
|
|
10701
|
+
expo-image@3.0.11(expo@54.0.30(@babel/core@7.28.5)(@expo/metro-runtime@6.1.2)(expo-router@6.0.21)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native-web@0.21.2(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0):
|
|
10702
|
+
dependencies:
|
|
10703
|
+
expo: 54.0.30(@babel/core@7.28.5)(@expo/metro-runtime@6.1.2)(expo-router@6.0.21)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0)
|
|
10704
|
+
react: 19.1.0
|
|
10705
|
+
react-native: 0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0)
|
|
10706
|
+
optionalDependencies:
|
|
10707
|
+
react-native-web: 0.21.2(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
|
|
10708
|
+
|
|
10659
10709
|
expo-keep-awake@15.0.8(expo@54.0.30(@babel/core@7.28.5)(@expo/metro-runtime@6.1.2)(expo-router@6.0.21)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react@19.1.0):
|
|
10660
10710
|
dependencies:
|
|
10661
10711
|
expo: 54.0.30(@babel/core@7.28.5)(@expo/metro-runtime@6.1.2)(expo-router@6.0.21)(react-native-webview@13.15.0(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0))(react-native@0.81.5(@babel/core@7.28.5)(@types/react@19.1.17)(react@19.1.0))(react@19.1.0)
|
|
@@ -13532,6 +13582,8 @@ snapshots:
|
|
|
13532
13582
|
dependencies:
|
|
13533
13583
|
punycode: 2.3.1
|
|
13534
13584
|
|
|
13585
|
+
transliteration@2.6.0: {}
|
|
13586
|
+
|
|
13535
13587
|
ts-api-utils@2.3.0(typescript@5.9.3):
|
|
13536
13588
|
dependencies:
|
|
13537
13589
|
typescript: 5.9.3
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as esbuild from 'esbuild';
|
|
2
|
+
import { createRequire } from 'module';
|
|
3
|
+
|
|
4
|
+
const require = createRequire(import.meta.url);
|
|
5
|
+
const pkg = require('./package.json');
|
|
6
|
+
const dependencies = pkg.dependencies || {};
|
|
7
|
+
const externalList = Object.keys(dependencies).filter(dep => dep !== 'dayjs');
|
|
8
|
+
try {
|
|
9
|
+
await esbuild.build({
|
|
10
|
+
entryPoints: ['src/index.ts'],
|
|
11
|
+
bundle: true,
|
|
12
|
+
platform: 'node',
|
|
13
|
+
format: 'esm',
|
|
14
|
+
outdir: 'dist',
|
|
15
|
+
external: externalList,
|
|
16
|
+
});
|
|
17
|
+
console.log('⚡ Build complete!');
|
|
18
|
+
} catch (e) {
|
|
19
|
+
console.error(e);
|
|
20
|
+
process.exit(1);
|
|
21
|
+
}
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"preinstall": "npx only-allow pnpm",
|
|
7
|
-
"dev": "
|
|
8
|
-
"build": "
|
|
7
|
+
"dev": "bash ../.cozeproj/scripts/server_dev_run.sh",
|
|
8
|
+
"build": "node build.js",
|
|
9
9
|
"start": "NODE_ENV=production PORT=${PORT:-5000} node dist/index.js"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"express": "^4.22.1",
|
|
13
|
-
"
|
|
13
|
+
"cors": "^2.8.5",
|
|
14
|
+
"coze-coding-dev-sdk": "^0.7.2",
|
|
14
15
|
"dayjs": "^1.11.19",
|
|
15
16
|
"drizzle-orm": "^0.45.1",
|
|
16
17
|
"drizzle-zod": "^0.8.3",
|
|
@@ -19,6 +20,7 @@
|
|
|
19
20
|
"zod": "^4.2.1"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|
|
23
|
+
"@types/cors": "^2.8.19",
|
|
22
24
|
"@types/express": "^5.0.6",
|
|
23
25
|
"tsx": "^4.21.0",
|
|
24
26
|
"@types/multer": "^2.0.0",
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import express from "express";
|
|
2
|
+
import cors from "cors";
|
|
2
3
|
|
|
3
4
|
const app = express();
|
|
4
5
|
const port = process.env.PORT || 9091;
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
// Middleware
|
|
8
|
+
app.use(cors());
|
|
9
|
+
app.use(express.json({ limit: '50mb' }));
|
|
10
|
+
app.use(express.urlencoded({ limit: '50mb', extended: true }));
|
|
11
|
+
|
|
12
|
+
app.get('/api/v1/health', (req, res) => {
|
|
13
|
+
res.status(200).json({ status: 'ok' });
|
|
8
14
|
});
|
|
9
15
|
|
|
16
|
+
|
|
10
17
|
app.listen(port, () => {
|
|
11
18
|
console.log(`Server listening at http://localhost:${port}/`);
|
|
12
19
|
});
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import type { NextConfig } from 'next';
|
|
2
|
+
import path from 'path';
|
|
2
3
|
|
|
3
4
|
const nextConfig: NextConfig = {
|
|
5
|
+
// outputFileTracingRoot: path.resolve(__dirname, '../../'),
|
|
4
6
|
/* config options here */
|
|
5
7
|
allowedDevOrigins: ['*.dev.coze.site'],
|
|
8
|
+
images: {
|
|
9
|
+
remotePatterns: [
|
|
10
|
+
{
|
|
11
|
+
protocol: 'https',
|
|
12
|
+
hostname: 'lf-coze-web-cdn.coze.cn',
|
|
13
|
+
pathname: '/**',
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
},
|
|
6
17
|
};
|
|
7
18
|
|
|
8
19
|
export default nextConfig;
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
"dev": "bash ./scripts/dev.sh",
|
|
8
8
|
"preinstall": "npx only-allow pnpm",
|
|
9
9
|
"lint": "eslint",
|
|
10
|
-
"start": "bash ./scripts/start.sh"
|
|
10
|
+
"start": "bash ./scripts/start.sh",
|
|
11
|
+
"ts-check": "tsc -p tsconfig.json"
|
|
11
12
|
},
|
|
12
13
|
"dependencies": {
|
|
13
14
|
"@aws-sdk/client-s3": "^3.958.0",
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"class-variance-authority": "^0.7.1",
|
|
43
44
|
"clsx": "^2.1.1",
|
|
44
45
|
"cmdk": "^1.1.1",
|
|
45
|
-
"coze-coding-dev-sdk": "^0.
|
|
46
|
+
"coze-coding-dev-sdk": "^0.7.3",
|
|
46
47
|
"date-fns": "^4.1.0",
|
|
47
48
|
"drizzle-kit": "^0.31.8",
|
|
48
49
|
"drizzle-orm": "^0.45.1",
|
|
@@ -66,6 +67,8 @@
|
|
|
66
67
|
"zod": "^4.3.5"
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
70
|
+
"@react-dev-inspector/babel-plugin": "^2.0.1",
|
|
71
|
+
"@react-dev-inspector/middleware": "^2.0.1",
|
|
69
72
|
"@tailwindcss/postcss": "^4",
|
|
70
73
|
"@types/node": "^20",
|
|
71
74
|
"@types/pg": "^8.16.0",
|
|
@@ -74,6 +77,7 @@
|
|
|
74
77
|
"eslint": "^9",
|
|
75
78
|
"eslint-config-next": "16.1.1",
|
|
76
79
|
"only-allow": "^1.2.2",
|
|
80
|
+
"react-dev-inspector": "^2.0.1",
|
|
77
81
|
"shadcn": "latest",
|
|
78
82
|
"tailwindcss": "^4",
|
|
79
83
|
"typescript": "^5"
|
|
@@ -81,5 +85,10 @@
|
|
|
81
85
|
"packageManager": "pnpm@9.0.0",
|
|
82
86
|
"engines": {
|
|
83
87
|
"pnpm": ">=9.0.0"
|
|
88
|
+
},
|
|
89
|
+
"pnpm": {
|
|
90
|
+
"overrides": {
|
|
91
|
+
"esbuild": "^0.25.12"
|
|
92
|
+
}
|
|
84
93
|
}
|
|
85
94
|
}
|