@coze-arch/cli 0.0.1-alpha.d85d9d → 0.0.1-alpha.db1c06
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/.cozeproj/scripts/dev_run.sh +13 -12
- package/lib/__templates__/expo/.cozeproj/scripts/server_dev_run.sh +9 -8
- package/lib/__templates__/expo/client/metro.config.js +3 -0
- package/lib/__templates__/expo/client/package.json +35 -35
- package/lib/__templates__/expo/client/screens/demo/index.tsx +3 -3
- package/lib/__templates__/expo/package.json +1 -1
- package/lib/__templates__/expo/patches/{expo@54.0.32.patch → expo@54.0.33.patch} +3 -2
- package/lib/__templates__/expo/pnpm-lock.yaml +340 -1736
- package/lib/__templates__/expo/server/package.json +9 -7
- package/lib/__templates__/expo/server/src/index.ts +1 -0
- package/lib/__templates__/expo/template.config.js +56 -0
- package/lib/__templates__/native-static/.coze +11 -0
- package/lib/__templates__/native-static/index.html +33 -0
- package/lib/__templates__/native-static/styles/main.css +136 -0
- package/lib/__templates__/native-static/template.config.js +22 -0
- package/lib/__templates__/nextjs/package.json +3 -1
- package/lib/__templates__/nextjs/pnpm-lock.yaml +119 -106
- package/lib/__templates__/nextjs/src/app/page.tsx +18 -60
- package/lib/__templates__/nextjs/template.config.js +49 -14
- package/lib/__templates__/taro/.coze +1 -1
- package/lib/__templates__/taro/.cozeproj/scripts/deploy_build.sh +5 -6
- package/lib/__templates__/taro/.cozeproj/scripts/deploy_run.sh +6 -8
- package/lib/__templates__/taro/.cozeproj/scripts/dev_build.sh +0 -15
- package/lib/__templates__/taro/.cozeproj/scripts/dev_run.sh +117 -24
- package/lib/__templates__/taro/.cozeproj/scripts/pack.sh +24 -1
- package/lib/__templates__/taro/README.md +81 -17
- package/lib/__templates__/taro/_gitignore +40 -0
- package/lib/__templates__/taro/_npmrc +18 -0
- package/lib/__templates__/taro/config/index.ts +4 -3
- package/lib/__templates__/taro/eslint.config.mjs +79 -0
- package/lib/__templates__/taro/package.json +32 -33
- package/lib/__templates__/taro/pnpm-lock.yaml +742 -677
- package/lib/__templates__/taro/server/package.json +10 -7
- package/lib/__templates__/taro/server/src/main.ts +14 -2
- package/lib/__templates__/taro/src/app.css +18 -18
- package/lib/__templates__/taro/src/app.tsx +9 -0
- package/lib/__templates__/taro/src/index.html +20 -1
- package/lib/__templates__/taro/src/pages/index/index.tsx +14 -11
- package/lib/__templates__/taro/src/presets/h5-navbar.tsx +171 -0
- package/lib/__templates__/taro/src/{utils → presets}/h5-styles.ts +15 -4
- package/lib/__templates__/taro/src/presets/index.tsx +18 -0
- package/lib/__templates__/taro/src/presets/wx-debug.ts +23 -0
- package/lib/__templates__/templates.json +11 -0
- package/lib/__templates__/vite/package.json +5 -1
- package/lib/__templates__/vite/pnpm-lock.yaml +146 -1659
- package/lib/__templates__/vite/src/main.ts +17 -47
- package/lib/__templates__/vite/template.config.js +49 -14
- package/lib/__templates__/vite/vite.config.ts +1 -0
- package/lib/cli.js +62 -68
- package/package.json +2 -1
- package/lib/__templates__/taro/.eslintrc +0 -40
- package/lib/__templates__/taro/commitlint.config.mjs +0 -1
- package/lib/__templates__/taro/src/app.ts +0 -28
|
@@ -98,6 +98,9 @@ importers:
|
|
|
98
98
|
'@radix-ui/react-tooltip':
|
|
99
99
|
specifier: ^1.2.8
|
|
100
100
|
version: 1.2.8(@types/react-dom@19.2.3(@types/react@19.2.10))(@types/react@19.2.10)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
|
|
101
|
+
'@supabase/supabase-js':
|
|
102
|
+
specifier: 2.95.3
|
|
103
|
+
version: 2.95.3
|
|
101
104
|
class-variance-authority:
|
|
102
105
|
specifier: ^0.7.1
|
|
103
106
|
version: 0.7.1
|
|
@@ -108,11 +111,14 @@ importers:
|
|
|
108
111
|
specifier: ^1.1.1
|
|
109
112
|
version: 1.1.1(@types/react-dom@19.2.3(@types/react@19.2.10))(@types/react@19.2.10)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
|
|
110
113
|
coze-coding-dev-sdk:
|
|
111
|
-
specifier: ^0.7.
|
|
112
|
-
version: 0.7.
|
|
114
|
+
specifier: ^0.7.16
|
|
115
|
+
version: 0.7.16(openai@6.16.0(ws@8.19.0)(zod@4.3.6))(ws@8.19.0)
|
|
113
116
|
date-fns:
|
|
114
117
|
specifier: ^4.1.0
|
|
115
118
|
version: 4.1.0
|
|
119
|
+
dotenv:
|
|
120
|
+
specifier: ^17.2.3
|
|
121
|
+
version: 17.2.3
|
|
116
122
|
drizzle-kit:
|
|
117
123
|
specifier: ^0.31.8
|
|
118
124
|
version: 0.31.8
|
|
@@ -2054,6 +2060,30 @@ packages:
|
|
|
2054
2060
|
'@standard-schema/utils@0.3.0':
|
|
2055
2061
|
resolution: {integrity: sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==}
|
|
2056
2062
|
|
|
2063
|
+
'@supabase/auth-js@2.95.3':
|
|
2064
|
+
resolution: {integrity: sha512-vD2YoS8E2iKIX0F7EwXTmqhUpaNsmbU6X2R0/NdFcs02oEfnHyNP/3M716f3wVJ2E5XHGiTFXki6lRckhJ0Thg==}
|
|
2065
|
+
engines: {node: '>=20.0.0'}
|
|
2066
|
+
|
|
2067
|
+
'@supabase/functions-js@2.95.3':
|
|
2068
|
+
resolution: {integrity: sha512-uTuOAKzs9R/IovW1krO0ZbUHSJnsnyJElTXIRhjJTqymIVGcHzkAYnBCJqd7468Fs/Foz1BQ7Dv6DCl05lr7ig==}
|
|
2069
|
+
engines: {node: '>=20.0.0'}
|
|
2070
|
+
|
|
2071
|
+
'@supabase/postgrest-js@2.95.3':
|
|
2072
|
+
resolution: {integrity: sha512-LTrRBqU1gOovxRm1vRXPItSMPBmEFqrfTqdPTRtzOILV4jPSueFz6pES5hpb4LRlkFwCPRmv3nQJ5N625V2Xrg==}
|
|
2073
|
+
engines: {node: '>=20.0.0'}
|
|
2074
|
+
|
|
2075
|
+
'@supabase/realtime-js@2.95.3':
|
|
2076
|
+
resolution: {integrity: sha512-D7EAtfU3w6BEUxDACjowWNJo/ZRo7sDIuhuOGKHIm9FHieGeoJV5R6GKTLtga/5l/6fDr2u+WcW/m8I9SYmaIw==}
|
|
2077
|
+
engines: {node: '>=20.0.0'}
|
|
2078
|
+
|
|
2079
|
+
'@supabase/storage-js@2.95.3':
|
|
2080
|
+
resolution: {integrity: sha512-4GxkJiXI3HHWjxpC3sDx1BVrV87O0hfX+wvJdqGv67KeCu+g44SPnII8y0LL/Wr677jB7tpjAxKdtVWf+xhc9A==}
|
|
2081
|
+
engines: {node: '>=20.0.0'}
|
|
2082
|
+
|
|
2083
|
+
'@supabase/supabase-js@2.95.3':
|
|
2084
|
+
resolution: {integrity: sha512-Fukw1cUTQ6xdLiHDJhKKPu6svEPaCEDvThqCne3OaQyZvuq2qjhJAd91kJu3PXLG18aooCgYBaB6qQz35hhABg==}
|
|
2085
|
+
engines: {node: '>=20.0.0'}
|
|
2086
|
+
|
|
2057
2087
|
'@swc/helpers@0.5.15':
|
|
2058
2088
|
resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
|
|
2059
2089
|
|
|
@@ -2206,6 +2236,9 @@ packages:
|
|
|
2206
2236
|
'@types/pg@8.16.0':
|
|
2207
2237
|
resolution: {integrity: sha512-RmhMd/wD+CF8Dfo+cVIy3RR5cl8CyfXQ0tGgW6XBL8L4LM/UTEbNXYRbLwU6w+CgrKBNbrQWt4FUtTfaU5jSYQ==}
|
|
2208
2238
|
|
|
2239
|
+
'@types/phoenix@1.6.7':
|
|
2240
|
+
resolution: {integrity: sha512-oN9ive//QSBkf19rfDv45M7eZPi0eEXylht2OLEXicu5b4KoQ1OzXIw+xDSGWxSxe1JmepRR/ZH283vsu518/Q==}
|
|
2241
|
+
|
|
2209
2242
|
'@types/react-dom@19.2.3':
|
|
2210
2243
|
resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
|
|
2211
2244
|
peerDependencies:
|
|
@@ -2228,6 +2261,9 @@ packages:
|
|
|
2228
2261
|
'@types/validate-npm-package-name@4.0.2':
|
|
2229
2262
|
resolution: {integrity: sha512-lrpDziQipxCEeK5kWxvljWYhUvOiB2A9izZd9B2AFarYAkqZshb4lPbRs7zKEic6eGtH8V/2qJW+dPp9OtF6bw==}
|
|
2230
2263
|
|
|
2264
|
+
'@types/ws@8.18.1':
|
|
2265
|
+
resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}
|
|
2266
|
+
|
|
2231
2267
|
'@typescript-eslint/eslint-plugin@8.54.0':
|
|
2232
2268
|
resolution: {integrity: sha512-hAAP5io/7csFStuOmR782YmTthKBJ9ND3WVL60hcOjvtGFb+HJxH4O5huAcmcZ9v9G8P+JETiZ/G1B8MALnWZQ==}
|
|
2233
2269
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
|
@@ -2705,10 +2741,6 @@ packages:
|
|
|
2705
2741
|
resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==}
|
|
2706
2742
|
engines: {node: '>=6'}
|
|
2707
2743
|
|
|
2708
|
-
cli-spinners@3.4.0:
|
|
2709
|
-
resolution: {integrity: sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==}
|
|
2710
|
-
engines: {node: '>=18.20'}
|
|
2711
|
-
|
|
2712
2744
|
cli-width@4.1.0:
|
|
2713
2745
|
resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==}
|
|
2714
2746
|
engines: {node: '>= 12'}
|
|
@@ -2801,8 +2833,8 @@ packages:
|
|
|
2801
2833
|
typescript:
|
|
2802
2834
|
optional: true
|
|
2803
2835
|
|
|
2804
|
-
coze-coding-dev-sdk@0.7.
|
|
2805
|
-
resolution: {integrity: sha512-
|
|
2836
|
+
coze-coding-dev-sdk@0.7.16:
|
|
2837
|
+
resolution: {integrity: sha512-B7gRPBa+sfrZL8ur0+F/92SOgZgFaWD/fOnCN2DjthnHSdmCYhAJWCfqzG2oO2vwTiYCXkKUuTBZ3MJLMj886g==}
|
|
2806
2838
|
engines: {node: '>=18.0.0'}
|
|
2807
2839
|
hasBin: true
|
|
2808
2840
|
|
|
@@ -3692,6 +3724,10 @@ packages:
|
|
|
3692
3724
|
resolution: {integrity: sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==}
|
|
3693
3725
|
engines: {node: '>=18.18.0'}
|
|
3694
3726
|
|
|
3727
|
+
iceberg-js@0.8.1:
|
|
3728
|
+
resolution: {integrity: sha512-1dhVQZXhcHje7798IVM+xoo/1ZdVfzOMIc8/rgVSijRK38EDqOJoGula9N/8ZI5RD8QTxNQtK/Gozpr+qUqRRA==}
|
|
3729
|
+
engines: {node: '>=20.0.0'}
|
|
3730
|
+
|
|
3695
3731
|
iconv-lite@0.7.2:
|
|
3696
3732
|
resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==}
|
|
3697
3733
|
engines: {node: '>=0.10.0'}
|
|
@@ -4149,10 +4185,6 @@ packages:
|
|
|
4149
4185
|
resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==}
|
|
4150
4186
|
engines: {node: '>=18'}
|
|
4151
4187
|
|
|
4152
|
-
log-symbols@7.0.1:
|
|
4153
|
-
resolution: {integrity: sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==}
|
|
4154
|
-
engines: {node: '>=18'}
|
|
4155
|
-
|
|
4156
4188
|
loose-envify@1.4.0:
|
|
4157
4189
|
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
|
|
4158
4190
|
hasBin: true
|
|
@@ -4411,10 +4443,6 @@ packages:
|
|
|
4411
4443
|
resolution: {integrity: sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==}
|
|
4412
4444
|
engines: {node: '>=18'}
|
|
4413
4445
|
|
|
4414
|
-
ora@9.1.0:
|
|
4415
|
-
resolution: {integrity: sha512-53uuLsXHOAJl5zLrUrzY9/kE+uIFEx7iaH4g2BIJQK4LZjY4LpCCYZVKDWIkL+F01wAaCg93duQ1whnK/AmY1A==}
|
|
4416
|
-
engines: {node: '>=20'}
|
|
4417
|
-
|
|
4418
4446
|
outvariant@1.4.3:
|
|
4419
4447
|
resolution: {integrity: sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==}
|
|
4420
4448
|
|
|
@@ -4509,9 +4537,6 @@ packages:
|
|
|
4509
4537
|
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
|
|
4510
4538
|
engines: {node: '>=8'}
|
|
4511
4539
|
|
|
4512
|
-
pg-cloudflare@1.3.0:
|
|
4513
|
-
resolution: {integrity: sha512-6lswVVSztmHiRtD6I8hw4qP/nDm1EJbKMRhf3HCYaqud7frGysPv7FYJ5noZQdhQtN2xJnimfMtvQq21pdbzyQ==}
|
|
4514
|
-
|
|
4515
4540
|
pg-connection-string@2.10.1:
|
|
4516
4541
|
resolution: {integrity: sha512-iNzslsoeSH2/gmDDKiyMqF64DATUCWj3YJ0wP14kqcsf2TUklwimd+66yYojKwZCA7h2yRNLGug71hCBA2a4sw==}
|
|
4517
4542
|
|
|
@@ -4986,10 +5011,6 @@ packages:
|
|
|
4986
5011
|
resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==}
|
|
4987
5012
|
engines: {node: '>=18'}
|
|
4988
5013
|
|
|
4989
|
-
string-width@8.1.0:
|
|
4990
|
-
resolution: {integrity: sha512-Kxl3KJGb/gxkaUMOjRsQ8IrXiGW75O4E3RPjFIINOVH8AMl2SQ/yWdTzWwF3FevIX9LcMAjJW+GRwAlAbTSXdg==}
|
|
4991
|
-
engines: {node: '>=20'}
|
|
4992
|
-
|
|
4993
5014
|
string.prototype.includes@2.0.1:
|
|
4994
5015
|
resolution: {integrity: sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==}
|
|
4995
5016
|
engines: {node: '>= 0.4'}
|
|
@@ -5148,11 +5169,6 @@ packages:
|
|
|
5148
5169
|
resolution: {integrity: sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==}
|
|
5149
5170
|
engines: {node: '>=16'}
|
|
5150
5171
|
|
|
5151
|
-
transliteration@2.6.1:
|
|
5152
|
-
resolution: {integrity: sha512-hJ9BhrQAOnNTbpOr1MxsNjZISkn7ppvF5TKUeFmTE1mG4ZPD/XVxF0L0LUoIUCWmQyxH0gJpVtfYLAWf298U9w==}
|
|
5153
|
-
engines: {node: '>=20.0.0'}
|
|
5154
|
-
hasBin: true
|
|
5155
|
-
|
|
5156
5172
|
ts-api-utils@2.4.0:
|
|
5157
5173
|
resolution: {integrity: sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==}
|
|
5158
5174
|
engines: {node: '>=18.12'}
|
|
@@ -5369,6 +5385,18 @@ packages:
|
|
|
5369
5385
|
wrappy@1.0.2:
|
|
5370
5386
|
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
|
|
5371
5387
|
|
|
5388
|
+
ws@8.19.0:
|
|
5389
|
+
resolution: {integrity: sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==}
|
|
5390
|
+
engines: {node: '>=10.0.0'}
|
|
5391
|
+
peerDependencies:
|
|
5392
|
+
bufferutil: ^4.0.1
|
|
5393
|
+
utf-8-validate: '>=5.0.2'
|
|
5394
|
+
peerDependenciesMeta:
|
|
5395
|
+
bufferutil:
|
|
5396
|
+
optional: true
|
|
5397
|
+
utf-8-validate:
|
|
5398
|
+
optional: true
|
|
5399
|
+
|
|
5372
5400
|
wsl-utils@0.3.1:
|
|
5373
5401
|
resolution: {integrity: sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg==}
|
|
5374
5402
|
engines: {node: '>=20'}
|
|
@@ -6538,14 +6566,14 @@ snapshots:
|
|
|
6538
6566
|
'@jridgewell/resolve-uri': 3.1.2
|
|
6539
6567
|
'@jridgewell/sourcemap-codec': 1.5.5
|
|
6540
6568
|
|
|
6541
|
-
'@langchain/core@1.1.17(openai@6.16.0(zod@4.3.6))':
|
|
6569
|
+
'@langchain/core@1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6))':
|
|
6542
6570
|
dependencies:
|
|
6543
6571
|
'@cfworker/json-schema': 4.1.1
|
|
6544
6572
|
ansi-styles: 5.2.0
|
|
6545
6573
|
camelcase: 6.3.0
|
|
6546
6574
|
decamelize: 1.2.0
|
|
6547
6575
|
js-tiktoken: 1.0.21
|
|
6548
|
-
langsmith: 0.4.9(openai@6.16.0(zod@4.3.6))
|
|
6576
|
+
langsmith: 0.4.9(openai@6.16.0(ws@8.19.0)(zod@4.3.6))
|
|
6549
6577
|
mustache: 4.2.0
|
|
6550
6578
|
p-queue: 6.6.2
|
|
6551
6579
|
uuid: 10.0.0
|
|
@@ -6556,11 +6584,11 @@ snapshots:
|
|
|
6556
6584
|
- '@opentelemetry/sdk-trace-base'
|
|
6557
6585
|
- openai
|
|
6558
6586
|
|
|
6559
|
-
'@langchain/openai@1.2.3(@langchain/core@1.1.17(openai@6.16.0(zod@4.3.6)))':
|
|
6587
|
+
'@langchain/openai@1.2.3(@langchain/core@1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6)))(ws@8.19.0)':
|
|
6560
6588
|
dependencies:
|
|
6561
|
-
'@langchain/core': 1.1.17(openai@6.16.0(zod@4.3.6))
|
|
6589
|
+
'@langchain/core': 1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6))
|
|
6562
6590
|
js-tiktoken: 1.0.21
|
|
6563
|
-
openai: 6.16.0(zod@4.3.6)
|
|
6591
|
+
openai: 6.16.0(ws@8.19.0)(zod@4.3.6)
|
|
6564
6592
|
zod: 4.3.6
|
|
6565
6593
|
transitivePeerDependencies:
|
|
6566
6594
|
- ws
|
|
@@ -7739,6 +7767,44 @@ snapshots:
|
|
|
7739
7767
|
|
|
7740
7768
|
'@standard-schema/utils@0.3.0': {}
|
|
7741
7769
|
|
|
7770
|
+
'@supabase/auth-js@2.95.3':
|
|
7771
|
+
dependencies:
|
|
7772
|
+
tslib: 2.8.1
|
|
7773
|
+
|
|
7774
|
+
'@supabase/functions-js@2.95.3':
|
|
7775
|
+
dependencies:
|
|
7776
|
+
tslib: 2.8.1
|
|
7777
|
+
|
|
7778
|
+
'@supabase/postgrest-js@2.95.3':
|
|
7779
|
+
dependencies:
|
|
7780
|
+
tslib: 2.8.1
|
|
7781
|
+
|
|
7782
|
+
'@supabase/realtime-js@2.95.3':
|
|
7783
|
+
dependencies:
|
|
7784
|
+
'@types/phoenix': 1.6.7
|
|
7785
|
+
'@types/ws': 8.18.1
|
|
7786
|
+
tslib: 2.8.1
|
|
7787
|
+
ws: 8.19.0
|
|
7788
|
+
transitivePeerDependencies:
|
|
7789
|
+
- bufferutil
|
|
7790
|
+
- utf-8-validate
|
|
7791
|
+
|
|
7792
|
+
'@supabase/storage-js@2.95.3':
|
|
7793
|
+
dependencies:
|
|
7794
|
+
iceberg-js: 0.8.1
|
|
7795
|
+
tslib: 2.8.1
|
|
7796
|
+
|
|
7797
|
+
'@supabase/supabase-js@2.95.3':
|
|
7798
|
+
dependencies:
|
|
7799
|
+
'@supabase/auth-js': 2.95.3
|
|
7800
|
+
'@supabase/functions-js': 2.95.3
|
|
7801
|
+
'@supabase/postgrest-js': 2.95.3
|
|
7802
|
+
'@supabase/realtime-js': 2.95.3
|
|
7803
|
+
'@supabase/storage-js': 2.95.3
|
|
7804
|
+
transitivePeerDependencies:
|
|
7805
|
+
- bufferutil
|
|
7806
|
+
- utf-8-validate
|
|
7807
|
+
|
|
7742
7808
|
'@swc/helpers@0.5.15':
|
|
7743
7809
|
dependencies:
|
|
7744
7810
|
tslib: 2.8.1
|
|
@@ -7875,6 +7941,8 @@ snapshots:
|
|
|
7875
7941
|
pg-protocol: 1.11.0
|
|
7876
7942
|
pg-types: 2.2.0
|
|
7877
7943
|
|
|
7944
|
+
'@types/phoenix@1.6.7': {}
|
|
7945
|
+
|
|
7878
7946
|
'@types/react-dom@19.2.3(@types/react@19.2.10)':
|
|
7879
7947
|
dependencies:
|
|
7880
7948
|
'@types/react': 19.2.10
|
|
@@ -7893,6 +7961,10 @@ snapshots:
|
|
|
7893
7961
|
|
|
7894
7962
|
'@types/validate-npm-package-name@4.0.2': {}
|
|
7895
7963
|
|
|
7964
|
+
'@types/ws@8.18.1':
|
|
7965
|
+
dependencies:
|
|
7966
|
+
'@types/node': 20.19.30
|
|
7967
|
+
|
|
7896
7968
|
'@typescript-eslint/eslint-plugin@8.54.0(@typescript-eslint/parser@8.54.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)':
|
|
7897
7969
|
dependencies:
|
|
7898
7970
|
'@eslint-community/regexpp': 4.12.2
|
|
@@ -8407,8 +8479,6 @@ snapshots:
|
|
|
8407
8479
|
|
|
8408
8480
|
cli-spinners@2.9.2: {}
|
|
8409
8481
|
|
|
8410
|
-
cli-spinners@3.4.0: {}
|
|
8411
|
-
|
|
8412
8482
|
cli-width@4.1.0: {}
|
|
8413
8483
|
|
|
8414
8484
|
client-only@0.0.1: {}
|
|
@@ -8491,56 +8561,22 @@ snapshots:
|
|
|
8491
8561
|
optionalDependencies:
|
|
8492
8562
|
typescript: 5.9.3
|
|
8493
8563
|
|
|
8494
|
-
coze-coding-dev-sdk@0.7.
|
|
8564
|
+
coze-coding-dev-sdk@0.7.16(openai@6.16.0(ws@8.19.0)(zod@4.3.6))(ws@8.19.0):
|
|
8495
8565
|
dependencies:
|
|
8496
|
-
'@
|
|
8497
|
-
'@
|
|
8498
|
-
'@
|
|
8499
|
-
'@langchain/openai': 1.2.3(@langchain/core@1.1.17(openai@6.16.0(zod@4.3.6)))
|
|
8566
|
+
'@langchain/core': 1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6))
|
|
8567
|
+
'@langchain/openai': 1.2.3(@langchain/core@1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6)))(ws@8.19.0)
|
|
8568
|
+
'@supabase/supabase-js': 2.95.3
|
|
8500
8569
|
axios: 1.13.4
|
|
8501
|
-
chalk: 5.6.2
|
|
8502
|
-
commander: 14.0.2
|
|
8503
|
-
drizzle-kit: 0.31.8
|
|
8504
|
-
drizzle-orm: 0.45.1(@types/pg@8.16.0)(pg@8.17.2)
|
|
8505
|
-
ora: 9.1.0
|
|
8506
8570
|
pg: 8.17.2
|
|
8507
|
-
transliteration: 2.6.1
|
|
8508
8571
|
transitivePeerDependencies:
|
|
8509
|
-
- '@aws-sdk/client-rds-data'
|
|
8510
|
-
- '@cloudflare/workers-types'
|
|
8511
|
-
- '@electric-sql/pglite'
|
|
8512
|
-
- '@libsql/client'
|
|
8513
|
-
- '@libsql/client-wasm'
|
|
8514
|
-
- '@neondatabase/serverless'
|
|
8515
|
-
- '@op-engineering/op-sqlite'
|
|
8516
8572
|
- '@opentelemetry/api'
|
|
8517
8573
|
- '@opentelemetry/exporter-trace-otlp-proto'
|
|
8518
8574
|
- '@opentelemetry/sdk-trace-base'
|
|
8519
|
-
-
|
|
8520
|
-
- '@prisma/client'
|
|
8521
|
-
- '@tidbcloud/serverless'
|
|
8522
|
-
- '@types/better-sqlite3'
|
|
8523
|
-
- '@types/pg'
|
|
8524
|
-
- '@types/sql.js'
|
|
8525
|
-
- '@upstash/redis'
|
|
8526
|
-
- '@vercel/postgres'
|
|
8527
|
-
- '@xata.io/client'
|
|
8528
|
-
- aws-crt
|
|
8529
|
-
- better-sqlite3
|
|
8530
|
-
- bun-types
|
|
8575
|
+
- bufferutil
|
|
8531
8576
|
- debug
|
|
8532
|
-
- expo-sqlite
|
|
8533
|
-
- gel
|
|
8534
|
-
- knex
|
|
8535
|
-
- kysely
|
|
8536
|
-
- mysql2
|
|
8537
8577
|
- openai
|
|
8538
8578
|
- pg-native
|
|
8539
|
-
-
|
|
8540
|
-
- prisma
|
|
8541
|
-
- sql.js
|
|
8542
|
-
- sqlite3
|
|
8543
|
-
- supports-color
|
|
8579
|
+
- utf-8-validate
|
|
8544
8580
|
- ws
|
|
8545
8581
|
|
|
8546
8582
|
cross-spawn@7.0.6:
|
|
@@ -9516,6 +9552,8 @@ snapshots:
|
|
|
9516
9552
|
|
|
9517
9553
|
human-signals@8.0.1: {}
|
|
9518
9554
|
|
|
9555
|
+
iceberg-js@0.8.1: {}
|
|
9556
|
+
|
|
9519
9557
|
iconv-lite@0.7.2:
|
|
9520
9558
|
dependencies:
|
|
9521
9559
|
safer-buffer: 2.1.2
|
|
@@ -9797,7 +9835,7 @@ snapshots:
|
|
|
9797
9835
|
|
|
9798
9836
|
kleur@4.1.5: {}
|
|
9799
9837
|
|
|
9800
|
-
langsmith@0.4.9(openai@6.16.0(zod@4.3.6)):
|
|
9838
|
+
langsmith@0.4.9(openai@6.16.0(ws@8.19.0)(zod@4.3.6)):
|
|
9801
9839
|
dependencies:
|
|
9802
9840
|
'@types/uuid': 10.0.0
|
|
9803
9841
|
chalk: 4.1.2
|
|
@@ -9806,7 +9844,7 @@ snapshots:
|
|
|
9806
9844
|
semver: 7.7.3
|
|
9807
9845
|
uuid: 10.0.0
|
|
9808
9846
|
optionalDependencies:
|
|
9809
|
-
openai: 6.16.0(zod@4.3.6)
|
|
9847
|
+
openai: 6.16.0(ws@8.19.0)(zod@4.3.6)
|
|
9810
9848
|
|
|
9811
9849
|
language-subtag-registry@0.3.23: {}
|
|
9812
9850
|
|
|
@@ -9892,11 +9930,6 @@ snapshots:
|
|
|
9892
9930
|
chalk: 5.6.2
|
|
9893
9931
|
is-unicode-supported: 1.3.0
|
|
9894
9932
|
|
|
9895
|
-
log-symbols@7.0.1:
|
|
9896
|
-
dependencies:
|
|
9897
|
-
is-unicode-supported: 2.1.0
|
|
9898
|
-
yoctocolors: 2.1.2
|
|
9899
|
-
|
|
9900
9933
|
loose-envify@1.4.0:
|
|
9901
9934
|
dependencies:
|
|
9902
9935
|
js-tokens: 4.0.0
|
|
@@ -10134,8 +10167,9 @@ snapshots:
|
|
|
10134
10167
|
is-docker: 2.2.1
|
|
10135
10168
|
is-wsl: 2.2.0
|
|
10136
10169
|
|
|
10137
|
-
openai@6.16.0(zod@4.3.6):
|
|
10170
|
+
openai@6.16.0(ws@8.19.0)(zod@4.3.6):
|
|
10138
10171
|
optionalDependencies:
|
|
10172
|
+
ws: 8.19.0
|
|
10139
10173
|
zod: 4.3.6
|
|
10140
10174
|
|
|
10141
10175
|
optionator@0.9.4:
|
|
@@ -10159,17 +10193,6 @@ snapshots:
|
|
|
10159
10193
|
string-width: 7.2.0
|
|
10160
10194
|
strip-ansi: 7.1.2
|
|
10161
10195
|
|
|
10162
|
-
ora@9.1.0:
|
|
10163
|
-
dependencies:
|
|
10164
|
-
chalk: 5.6.2
|
|
10165
|
-
cli-cursor: 5.0.0
|
|
10166
|
-
cli-spinners: 3.4.0
|
|
10167
|
-
is-interactive: 2.0.0
|
|
10168
|
-
is-unicode-supported: 2.1.0
|
|
10169
|
-
log-symbols: 7.0.1
|
|
10170
|
-
stdin-discarder: 0.2.2
|
|
10171
|
-
string-width: 8.1.0
|
|
10172
|
-
|
|
10173
10196
|
outvariant@1.4.3: {}
|
|
10174
10197
|
|
|
10175
10198
|
own-keys@1.0.1:
|
|
@@ -10244,9 +10267,6 @@ snapshots:
|
|
|
10244
10267
|
|
|
10245
10268
|
path-type@4.0.0: {}
|
|
10246
10269
|
|
|
10247
|
-
pg-cloudflare@1.3.0:
|
|
10248
|
-
optional: true
|
|
10249
|
-
|
|
10250
10270
|
pg-connection-string@2.10.1: {}
|
|
10251
10271
|
|
|
10252
10272
|
pg-int8@1.0.1: {}
|
|
@@ -10272,8 +10292,6 @@ snapshots:
|
|
|
10272
10292
|
pg-protocol: 1.11.0
|
|
10273
10293
|
pg-types: 2.2.0
|
|
10274
10294
|
pgpass: 1.0.5
|
|
10275
|
-
optionalDependencies:
|
|
10276
|
-
pg-cloudflare: 1.3.0
|
|
10277
10295
|
|
|
10278
10296
|
pgpass@1.0.5:
|
|
10279
10297
|
dependencies:
|
|
@@ -10863,11 +10881,6 @@ snapshots:
|
|
|
10863
10881
|
get-east-asian-width: 1.4.0
|
|
10864
10882
|
strip-ansi: 7.1.2
|
|
10865
10883
|
|
|
10866
|
-
string-width@8.1.0:
|
|
10867
|
-
dependencies:
|
|
10868
|
-
get-east-asian-width: 1.4.0
|
|
10869
|
-
strip-ansi: 7.1.2
|
|
10870
|
-
|
|
10871
10884
|
string.prototype.includes@2.0.1:
|
|
10872
10885
|
dependencies:
|
|
10873
10886
|
call-bind: 1.0.8
|
|
@@ -11020,8 +11033,6 @@ snapshots:
|
|
|
11020
11033
|
dependencies:
|
|
11021
11034
|
tldts: 7.0.19
|
|
11022
11035
|
|
|
11023
|
-
transliteration@2.6.1: {}
|
|
11024
|
-
|
|
11025
11036
|
ts-api-utils@2.4.0(typescript@5.9.3):
|
|
11026
11037
|
dependencies:
|
|
11027
11038
|
typescript: 5.9.3
|
|
@@ -11324,6 +11335,8 @@ snapshots:
|
|
|
11324
11335
|
|
|
11325
11336
|
wrappy@1.0.2: {}
|
|
11326
11337
|
|
|
11338
|
+
ws@8.19.0: {}
|
|
11339
|
+
|
|
11327
11340
|
wsl-utils@0.3.1:
|
|
11328
11341
|
dependencies:
|
|
11329
11342
|
is-wsl: 3.1.0
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { Metadata } from 'next';
|
|
2
2
|
import Image from 'next/image';
|
|
3
|
-
import { Button } from '@/components/ui/button';
|
|
4
3
|
|
|
5
4
|
export const metadata: Metadata = {
|
|
6
5
|
title: '扣子编程 - AI 开发伙伴',
|
|
@@ -9,68 +8,27 @@ export const metadata: Metadata = {
|
|
|
9
8
|
|
|
10
9
|
export default function Home() {
|
|
11
10
|
return (
|
|
12
|
-
<div className="flex
|
|
11
|
+
<div className="flex h-full items-center justify-center bg-background text-foreground transition-colors duration-300 dark:bg-background dark:text-foreground overflow-hidden min-h-screen">
|
|
13
12
|
{/* 主容器 */}
|
|
14
|
-
<main className="flex
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
src="https://lf-coze-web-cdn.coze.cn/obj/eden-cn/lm-lgvj/ljhwZthlaukjlkulzlp/
|
|
13
|
+
<main className="flex w-full h-full max-w-3xl flex-col items-center justify-center px-16 py-32 sm:items-center">
|
|
14
|
+
<div className="flex flex-col items-center justify-between gap-4">
|
|
15
|
+
<Image
|
|
16
|
+
className="dark:invert"
|
|
17
|
+
src="https://lf-coze-web-cdn.coze.cn/obj/eden-cn/lm-lgvj/ljhwZthlaukjlkulzlp/coze-coding/icon/coze-coding.gif"
|
|
19
18
|
alt="扣子编程 Logo"
|
|
20
|
-
width={
|
|
21
|
-
height={
|
|
22
|
-
unoptimized
|
|
19
|
+
width={156}
|
|
20
|
+
height={130}
|
|
23
21
|
/>
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</
|
|
34
|
-
<p className="max-w-2xl text-lg leading-8 text-muted-foreground dark:text-muted-foreground">
|
|
35
|
-
当前是空白入口文件,项目正在开发中,请稍候...
|
|
36
|
-
<br />
|
|
37
|
-
开发完成后界面将自动更新。如未自动更新成功,可以手动点击右上角刷新或重启按钮查看效果。
|
|
38
|
-
</p>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
{/* 底部按钮区 */}
|
|
42
|
-
<div className="flex w-full flex-col gap-4 text-base font-medium sm:w-auto sm:flex-row">
|
|
43
|
-
{/* 按钮 1:前往首页 */}
|
|
44
|
-
<Button
|
|
45
|
-
asChild
|
|
46
|
-
variant="default"
|
|
47
|
-
size="lg"
|
|
48
|
-
className="h-12 min-w-[160px] rounded-full px-8"
|
|
49
|
-
>
|
|
50
|
-
<a
|
|
51
|
-
href="https://code.coze.cn/"
|
|
52
|
-
target="_blank"
|
|
53
|
-
rel="noopener noreferrer"
|
|
54
|
-
>
|
|
55
|
-
前往首页
|
|
56
|
-
</a>
|
|
57
|
-
</Button>
|
|
58
|
-
|
|
59
|
-
{/* 按钮 2:查看文档 */}
|
|
60
|
-
<Button
|
|
61
|
-
asChild
|
|
62
|
-
variant="outline"
|
|
63
|
-
size="lg"
|
|
64
|
-
className="h-12 min-w-[160px] rounded-full px-8"
|
|
65
|
-
>
|
|
66
|
-
<a
|
|
67
|
-
href="https://docs.coze.cn/"
|
|
68
|
-
target="_blank"
|
|
69
|
-
rel="noopener noreferrer"
|
|
70
|
-
>
|
|
71
|
-
查看文档
|
|
72
|
-
</a>
|
|
73
|
-
</Button>
|
|
22
|
+
<div>
|
|
23
|
+
<div className="flex flex-col items-center gap-2 text-center sm:items-center sm:text-center">
|
|
24
|
+
<h1 className="max-w-xl text-base font-semibold leading-tight tracking-tight text-foreground dark:text-foreground">
|
|
25
|
+
应用开发中
|
|
26
|
+
</h1>
|
|
27
|
+
<p className="max-w-2xl text-sm-14 leading-8 text-muted-foreground dark:text-muted-foreground">
|
|
28
|
+
请稍后,页面即将呈现
|
|
29
|
+
</p>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
74
32
|
</div>
|
|
75
33
|
</main>
|
|
76
34
|
</div>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import { resolve } from 'path';
|
|
3
|
+
import { spawn } from 'child_process';
|
|
4
|
+
import { resolve, join, basename } from 'path';
|
|
5
|
+
import { appendFileSync, openSync, closeSync, mkdirSync } from 'fs';
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
@@ -52,32 +53,66 @@ const config = {
|
|
|
52
53
|
return context;
|
|
53
54
|
},
|
|
54
55
|
|
|
55
|
-
onAfterRender: async (
|
|
56
|
+
onAfterRender: async (_context, outputPath) => {
|
|
56
57
|
console.log(`\nProject created at: ${outputPath}`);
|
|
57
58
|
console.log('\nConfiguration:');
|
|
58
59
|
console.log(' - Framework: Next.js');
|
|
59
60
|
console.log(' - TypeScript: enabled');
|
|
60
61
|
console.log(' - App Router: enabled');
|
|
61
|
-
console.log(` - Port: ${
|
|
62
|
+
console.log(` - Port: ${_context.port}`);
|
|
63
|
+
},
|
|
62
64
|
|
|
63
|
-
|
|
65
|
+
onComplete: async (_context, outputPath) => {
|
|
66
|
+
// Skip pnpm update in test environment to avoid monorepo workspace issues
|
|
64
67
|
if (process.env.NODE_ENV === 'test') {
|
|
65
68
|
console.log('⊘ Skipping dependency update in test environment');
|
|
66
69
|
return;
|
|
67
70
|
}
|
|
68
71
|
|
|
69
|
-
const cmd =
|
|
70
|
-
|
|
72
|
+
const cmd = 'pnpm';
|
|
73
|
+
const args = ['update', 'coze-coding-dev-sdk@^0.7.0'];
|
|
74
|
+
console.log(
|
|
75
|
+
`\nTriggering: ${cmd} ${args.join(' ')} (running in background)`,
|
|
76
|
+
);
|
|
77
|
+
|
|
71
78
|
try {
|
|
72
79
|
const projectRoot = resolve(outputPath);
|
|
73
|
-
|
|
74
|
-
//
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
80
|
+
|
|
81
|
+
// Determine log directory
|
|
82
|
+
const logDir = process.env.COZE_LOG_DIR || resolve(__dirname, '../.log');
|
|
83
|
+
mkdirSync(logDir, { recursive: true });
|
|
84
|
+
|
|
85
|
+
// Use project name in log file to avoid conflicts
|
|
86
|
+
const projectName = basename(projectRoot);
|
|
87
|
+
const logFile = join(logDir, `${projectName}-init.log`);
|
|
88
|
+
|
|
89
|
+
// Write log header
|
|
90
|
+
const timestamp = new Date().toISOString();
|
|
91
|
+
appendFileSync(
|
|
92
|
+
logFile,
|
|
93
|
+
`\n=== [${timestamp}] ${cmd} ${args.join(' ')} ===\n`,
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
// Open log file for appending
|
|
97
|
+
const logFd = openSync(logFile, 'a');
|
|
98
|
+
|
|
99
|
+
// Spawn in detached mode
|
|
100
|
+
const child = spawn(cmd, args, {
|
|
101
|
+
cwd: projectRoot,
|
|
102
|
+
detached: true,
|
|
103
|
+
stdio: ['ignore', logFd, logFd],
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
child.unref();
|
|
107
|
+
closeSync(logFd);
|
|
108
|
+
|
|
109
|
+
console.log(
|
|
110
|
+
'✓ coze-coding-dev-sdk update triggered (running in background)',
|
|
111
|
+
);
|
|
112
|
+
console.log(` Log file: ${logFile}`);
|
|
78
113
|
} catch (error) {
|
|
79
|
-
console.error('✗ Failed to
|
|
80
|
-
|
|
114
|
+
console.error('✗ Failed to trigger coze-coding-dev-sdk update:', error);
|
|
115
|
+
console.log(' You can manually run: pnpm update coze-coding-dev-sdk');
|
|
81
116
|
}
|
|
82
117
|
},
|
|
83
118
|
};
|
|
@@ -6,7 +6,7 @@ requires = ["nodejs-24"]
|
|
|
6
6
|
build = ["bash", ".cozeproj/scripts/dev_build.sh"]
|
|
7
7
|
run = ["bash", ".cozeproj/scripts/dev_run.sh"]
|
|
8
8
|
deps = ["git"] # -> apt install git
|
|
9
|
-
pack = ["bash", "/
|
|
9
|
+
pack = ["bash", ".cozeproj/scripts/pack.sh"]
|
|
10
10
|
|
|
11
11
|
[deploy]
|
|
12
12
|
build = ["bash", ".cozeproj/scripts/deploy_build.sh"]
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
set -Eeuo pipefail
|
|
3
3
|
|
|
4
4
|
cd "${COZE_WORKSPACE_PATH}"
|
|
5
|
-
if [ -f "./.cozeproj/init_env.sh" ]; then
|
|
5
|
+
if [ -f "./.cozeproj/scripts/init_env.sh" ]; then
|
|
6
6
|
echo "⚙️ Initializing environment..."
|
|
7
7
|
# 使用 bash 执行,确保即使没有 x 权限也能跑
|
|
8
|
-
bash ./.cozeproj/init_env.sh
|
|
8
|
+
bash ./.cozeproj/scripts/init_env.sh
|
|
9
9
|
else
|
|
10
10
|
echo "⚠️ Warning: init_env.sh not found, skipping environment init."
|
|
11
11
|
fi
|
|
@@ -13,8 +13,7 @@ echo "Installing dependencies..."
|
|
|
13
13
|
# 安装所有依赖(包含 Taro 核心和 React)
|
|
14
14
|
pnpm install
|
|
15
15
|
|
|
16
|
-
echo "Building the Taro
|
|
17
|
-
|
|
18
|
-
pnpm run build:h5
|
|
16
|
+
echo "Building the Taro project..."
|
|
17
|
+
pnpm build
|
|
19
18
|
|
|
20
|
-
echo "Build completed successfully! Assets are in /dist"
|
|
19
|
+
echo "Build completed successfully! Assets are in /dist"
|