@coze-arch/cli 0.0.25 → 0.0.26-alpha.f165ee
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__/taro/package.json +1 -0
- package/lib/__templates__/taro/pnpm-lock.yaml +57 -41
- package/lib/__templates__/taro/src/components/ui/slider.tsx +11 -10
- package/lib/__templates__/taro/src/components/ui/tabs.tsx +3 -4
- package/lib/__templates__/taro/src/lib/measure.ts +1 -1
- package/lib/__templates__/taro/template.config.js +57 -0
- package/lib/cli.js +3 -3
- package/package.json +3 -3
|
@@ -24,7 +24,7 @@ importers:
|
|
|
24
24
|
version: 4.1.9
|
|
25
25
|
'@tarojs/plugin-framework-react':
|
|
26
26
|
specifier: 4.1.9
|
|
27
|
-
version: 4.1.9(@tarojs/helper@4.1.9)(@tarojs/runtime@4.1.9)(@tarojs/shared@4.1.9)(@vitejs/plugin-react@4.7.0(vite@4.5.14(@types/node@
|
|
27
|
+
version: 4.1.9(@tarojs/helper@4.1.9)(@tarojs/runtime@4.1.9)(@tarojs/shared@4.1.9)(@vitejs/plugin-react@4.7.0(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1)))(react@18.3.1)(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))(webpack@5.97.1(@swc/core@1.3.96))
|
|
28
28
|
'@tarojs/plugin-platform-h5':
|
|
29
29
|
specifier: 4.1.9
|
|
30
30
|
version: 4.1.9(@tarojs/taro@4.1.9(@tarojs/components@4.1.9(@tarojs/helper@4.1.9)(@types/react@18.3.27)(postcss@8.5.6)(rollup@3.29.5)(webpack@5.97.1(@swc/core@1.3.96)))(@tarojs/helper@4.1.9)(@tarojs/shared@4.1.9)(@types/react@18.3.27)(postcss@8.5.6)(rollup@3.29.5)(webpack@5.97.1(@swc/core@1.3.96)))(@types/react@18.3.27)(postcss@8.5.6)(react@18.3.1)(rollup@3.29.5)(solid-js@1.9.10)(webpack@5.97.1(@swc/core@1.3.96))
|
|
@@ -91,25 +91,28 @@ importers:
|
|
|
91
91
|
version: 4.1.18
|
|
92
92
|
'@tarojs/cli':
|
|
93
93
|
specifier: 4.1.9
|
|
94
|
-
version: 4.1.9(@types/node@
|
|
94
|
+
version: 4.1.9(@types/node@24.12.4)
|
|
95
95
|
'@tarojs/plugin-generator':
|
|
96
96
|
specifier: 4.1.9
|
|
97
|
-
version: 4.1.9(@types/node@
|
|
97
|
+
version: 4.1.9(@types/node@24.12.4)
|
|
98
98
|
'@tarojs/plugin-mini-ci':
|
|
99
99
|
specifier: ^4.1.9
|
|
100
|
-
version: 4.1.9(patch_hash=j6dgmq33tuqqgowk7tjyyinctm)(miniprogram-ci@2.1.26(eslint@8.57.1))(tt-ide-cli@0.1.31(@types/node@
|
|
100
|
+
version: 4.1.9(patch_hash=j6dgmq33tuqqgowk7tjyyinctm)(miniprogram-ci@2.1.26(eslint@8.57.1))(tt-ide-cli@0.1.31(@types/node@24.12.4))
|
|
101
101
|
'@tarojs/vite-runner':
|
|
102
102
|
specifier: 4.1.9
|
|
103
|
-
version: 4.1.9(@tarojs/runtime@4.1.9)(@types/babel__core@7.20.5)(jiti@2.6.1)(postcss@8.5.6)(rollup@3.29.5)(terser@5.44.1)(typescript@5.9.3)(vite@4.5.14(@types/node@
|
|
103
|
+
version: 4.1.9(@tarojs/runtime@4.1.9)(@types/babel__core@7.20.5)(jiti@2.6.1)(postcss@8.5.6)(rollup@3.29.5)(terser@5.44.1)(typescript@5.9.3)(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))
|
|
104
104
|
'@types/minimatch':
|
|
105
105
|
specifier: ^5
|
|
106
106
|
version: 5.1.2
|
|
107
|
+
'@types/node':
|
|
108
|
+
specifier: ^24
|
|
109
|
+
version: 24.12.4
|
|
107
110
|
'@types/react':
|
|
108
111
|
specifier: ^18.0.0
|
|
109
112
|
version: 18.3.27
|
|
110
113
|
'@vitejs/plugin-react':
|
|
111
114
|
specifier: ^4.3.0
|
|
112
|
-
version: 4.7.0(vite@4.5.14(@types/node@
|
|
115
|
+
version: 4.7.0(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))
|
|
113
116
|
babel-preset-taro:
|
|
114
117
|
specifier: 4.1.9
|
|
115
118
|
version: 4.1.9(@babel/core@7.28.5)(@babel/plugin-transform-typescript@7.28.5(@babel/core@7.28.5))(@babel/preset-react@7.28.5(@babel/core@7.28.5))(react-refresh@0.14.2)
|
|
@@ -166,13 +169,13 @@ importers:
|
|
|
166
169
|
version: 5.44.1
|
|
167
170
|
tt-ide-cli:
|
|
168
171
|
specifier: ^0.1.31
|
|
169
|
-
version: 0.1.31(@types/node@
|
|
172
|
+
version: 0.1.31(@types/node@24.12.4)
|
|
170
173
|
typescript:
|
|
171
174
|
specifier: ^5.4.5
|
|
172
175
|
version: 5.9.3
|
|
173
176
|
vite:
|
|
174
177
|
specifier: ^4.2.0
|
|
175
|
-
version: 4.5.14(@types/node@
|
|
178
|
+
version: 4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1)
|
|
176
179
|
weapp-tailwindcss:
|
|
177
180
|
specifier: ^4.10.3
|
|
178
181
|
version: 4.10.3(tailwindcss@4.1.18)
|
|
@@ -4342,6 +4345,9 @@ packages:
|
|
|
4342
4345
|
'@types/node@22.19.6':
|
|
4343
4346
|
resolution: {integrity: sha512-qm+G8HuG6hOHQigsi7VGuLjUVu6TtBo/F05zvX04Mw2uCg9Dv0Qxy3Qw7j41SidlTcl5D/5yg0SEZqOB+EqZnQ==}
|
|
4344
4347
|
|
|
4348
|
+
'@types/node@24.12.4':
|
|
4349
|
+
resolution: {integrity: sha512-GUUEShf+PBCGW2KaXwcIt3Yk+e3pkKwWKb9GSyM9WQVE+ep2jzmHdGsHzu4wgcZy5fN9FBdVzjpBQsYlpfpgLA==}
|
|
4350
|
+
|
|
4345
4351
|
'@types/phoenix@1.6.7':
|
|
4346
4352
|
resolution: {integrity: sha512-oN9ive//QSBkf19rfDv45M7eZPi0eEXylht2OLEXicu5b4KoQ1OzXIw+xDSGWxSxe1JmepRR/ZH283vsu518/Q==}
|
|
4347
4353
|
|
|
@@ -9171,6 +9177,7 @@ packages:
|
|
|
9171
9177
|
prebuild-install@7.1.3:
|
|
9172
9178
|
resolution: {integrity: sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==}
|
|
9173
9179
|
engines: {node: '>=10'}
|
|
9180
|
+
deprecated: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
|
|
9174
9181
|
hasBin: true
|
|
9175
9182
|
|
|
9176
9183
|
prelude-ls@1.2.1:
|
|
@@ -10381,6 +10388,9 @@ packages:
|
|
|
10381
10388
|
undici-types@6.21.0:
|
|
10382
10389
|
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
|
|
10383
10390
|
|
|
10391
|
+
undici-types@7.16.0:
|
|
10392
|
+
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
|
|
10393
|
+
|
|
10384
10394
|
unicode-canonical-property-names-ecmascript@2.0.1:
|
|
10385
10395
|
resolution: {integrity: sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==}
|
|
10386
10396
|
engines: {node: '>=4'}
|
|
@@ -13692,12 +13702,12 @@ snapshots:
|
|
|
13692
13702
|
'@img/sharp-win32-x64@0.33.5':
|
|
13693
13703
|
optional: true
|
|
13694
13704
|
|
|
13695
|
-
'@inquirer/external-editor@1.0.3(@types/node@
|
|
13705
|
+
'@inquirer/external-editor@1.0.3(@types/node@24.12.4)':
|
|
13696
13706
|
dependencies:
|
|
13697
13707
|
chardet: 2.1.1
|
|
13698
13708
|
iconv-lite: 0.7.2
|
|
13699
13709
|
optionalDependencies:
|
|
13700
|
-
'@types/node':
|
|
13710
|
+
'@types/node': 24.12.4
|
|
13701
13711
|
|
|
13702
13712
|
'@isaacs/balanced-match@4.0.1': {}
|
|
13703
13713
|
|
|
@@ -15116,7 +15126,7 @@ snapshots:
|
|
|
15116
15126
|
'@tarojs/binding-linux-x64-gnu': 4.1.9
|
|
15117
15127
|
'@tarojs/binding-win32-x64-msvc': 4.1.9
|
|
15118
15128
|
|
|
15119
|
-
'@tarojs/cli@4.1.9(@types/node@
|
|
15129
|
+
'@tarojs/cli@4.1.9(@types/node@24.12.4)':
|
|
15120
15130
|
dependencies:
|
|
15121
15131
|
'@tarojs/binding': 4.1.9
|
|
15122
15132
|
'@tarojs/helper': 4.1.9
|
|
@@ -15128,7 +15138,7 @@ snapshots:
|
|
|
15128
15138
|
cli-highlight: 2.1.11
|
|
15129
15139
|
download-git-repo: 3.0.2
|
|
15130
15140
|
envinfo: 7.21.0
|
|
15131
|
-
inquirer: 8.2.7(@types/node@
|
|
15141
|
+
inquirer: 8.2.7(@types/node@24.12.4)
|
|
15132
15142
|
latest-version: 5.1.0
|
|
15133
15143
|
minimist: 1.2.8
|
|
15134
15144
|
ora: 5.4.1
|
|
@@ -15308,7 +15318,7 @@ snapshots:
|
|
|
15308
15318
|
transitivePeerDependencies:
|
|
15309
15319
|
- supports-color
|
|
15310
15320
|
|
|
15311
|
-
'@tarojs/plugin-framework-react@4.1.9(@tarojs/helper@4.1.9)(@tarojs/runtime@4.1.9)(@tarojs/shared@4.1.9)(@vitejs/plugin-react@4.7.0(vite@4.5.14(@types/node@
|
|
15321
|
+
'@tarojs/plugin-framework-react@4.1.9(@tarojs/helper@4.1.9)(@tarojs/runtime@4.1.9)(@tarojs/shared@4.1.9)(@vitejs/plugin-react@4.7.0(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1)))(react@18.3.1)(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))(webpack@5.97.1(@swc/core@1.3.96))':
|
|
15312
15322
|
dependencies:
|
|
15313
15323
|
'@tarojs/helper': 4.1.9
|
|
15314
15324
|
'@tarojs/runtime': 4.1.9
|
|
@@ -15318,12 +15328,12 @@ snapshots:
|
|
|
15318
15328
|
lodash: 4.17.21
|
|
15319
15329
|
tslib: 2.8.1
|
|
15320
15330
|
optionalDependencies:
|
|
15321
|
-
'@vitejs/plugin-react': 4.7.0(vite@4.5.14(@types/node@
|
|
15331
|
+
'@vitejs/plugin-react': 4.7.0(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))
|
|
15322
15332
|
react: 18.3.1
|
|
15323
|
-
vite: 4.5.14(@types/node@
|
|
15333
|
+
vite: 4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1)
|
|
15324
15334
|
webpack: 5.97.1(@swc/core@1.3.96)
|
|
15325
15335
|
|
|
15326
|
-
'@tarojs/plugin-generator@4.1.9(@types/node@
|
|
15336
|
+
'@tarojs/plugin-generator@4.1.9(@types/node@24.12.4)':
|
|
15327
15337
|
dependencies:
|
|
15328
15338
|
'@babel/generator': 7.24.4
|
|
15329
15339
|
'@babel/parser': 7.24.4
|
|
@@ -15332,7 +15342,7 @@ snapshots:
|
|
|
15332
15342
|
'@tarojs/helper': 4.1.9
|
|
15333
15343
|
'@tarojs/service': 4.1.9
|
|
15334
15344
|
dedent: 1.7.1
|
|
15335
|
-
inquirer: 8.2.7(@types/node@
|
|
15345
|
+
inquirer: 8.2.7(@types/node@24.12.4)
|
|
15336
15346
|
ts-morph: 26.0.0
|
|
15337
15347
|
transitivePeerDependencies:
|
|
15338
15348
|
- '@swc/helpers'
|
|
@@ -15340,7 +15350,7 @@ snapshots:
|
|
|
15340
15350
|
- babel-plugin-macros
|
|
15341
15351
|
- supports-color
|
|
15342
15352
|
|
|
15343
|
-
'@tarojs/plugin-mini-ci@4.1.9(patch_hash=j6dgmq33tuqqgowk7tjyyinctm)(miniprogram-ci@2.1.26(eslint@8.57.1))(tt-ide-cli@0.1.31(@types/node@
|
|
15353
|
+
'@tarojs/plugin-mini-ci@4.1.9(patch_hash=j6dgmq33tuqqgowk7tjyyinctm)(miniprogram-ci@2.1.26(eslint@8.57.1))(tt-ide-cli@0.1.31(@types/node@24.12.4))':
|
|
15344
15354
|
dependencies:
|
|
15345
15355
|
axios: 1.13.2
|
|
15346
15356
|
jimp: 0.22.12
|
|
@@ -15351,7 +15361,7 @@ snapshots:
|
|
|
15351
15361
|
resolve: 1.22.11
|
|
15352
15362
|
shelljs: 0.8.5
|
|
15353
15363
|
optionalDependencies:
|
|
15354
|
-
tt-ide-cli: 0.1.31(@types/node@
|
|
15364
|
+
tt-ide-cli: 0.1.31(@types/node@24.12.4)
|
|
15355
15365
|
transitivePeerDependencies:
|
|
15356
15366
|
- debug
|
|
15357
15367
|
- encoding
|
|
@@ -15480,7 +15490,7 @@ snapshots:
|
|
|
15480
15490
|
rollup: 3.29.5
|
|
15481
15491
|
webpack: 5.97.1(@swc/core@1.3.96)
|
|
15482
15492
|
|
|
15483
|
-
'@tarojs/vite-runner@4.1.9(@tarojs/runtime@4.1.9)(@types/babel__core@7.20.5)(jiti@2.6.1)(postcss@8.5.6)(rollup@3.29.5)(terser@5.44.1)(typescript@5.9.3)(vite@4.5.14(@types/node@
|
|
15493
|
+
'@tarojs/vite-runner@4.1.9(@tarojs/runtime@4.1.9)(@types/babel__core@7.20.5)(jiti@2.6.1)(postcss@8.5.6)(rollup@3.29.5)(terser@5.44.1)(typescript@5.9.3)(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))':
|
|
15484
15494
|
dependencies:
|
|
15485
15495
|
'@ampproject/remapping': 2.3.0
|
|
15486
15496
|
'@babel/core': 7.28.5
|
|
@@ -15493,7 +15503,7 @@ snapshots:
|
|
|
15493
15503
|
'@tarojs/runner-utils': 4.1.9
|
|
15494
15504
|
'@tarojs/runtime': 4.1.9
|
|
15495
15505
|
'@tarojs/shared': 4.1.9
|
|
15496
|
-
'@vitejs/plugin-legacy': 4.1.1(terser@5.44.1)(vite@4.5.14(@types/node@
|
|
15506
|
+
'@vitejs/plugin-legacy': 4.1.1(terser@5.44.1)(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))
|
|
15497
15507
|
acorn-walk: 8.3.4
|
|
15498
15508
|
autoprefixer: 10.4.23(postcss@8.5.6)
|
|
15499
15509
|
babel-plugin-transform-taroapi: 4.1.9(@babel/core@7.28.5)
|
|
@@ -15516,8 +15526,8 @@ snapshots:
|
|
|
15516
15526
|
regenerator-runtime: 0.11.1
|
|
15517
15527
|
sax: 1.2.4
|
|
15518
15528
|
stylelint: 16.26.1(typescript@5.9.3)
|
|
15519
|
-
vite: 4.5.14(@types/node@
|
|
15520
|
-
vite-plugin-static-copy: 0.17.1(vite@4.5.14(@types/node@
|
|
15529
|
+
vite: 4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1)
|
|
15530
|
+
vite-plugin-static-copy: 0.17.1(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))
|
|
15521
15531
|
transitivePeerDependencies:
|
|
15522
15532
|
- '@swc/helpers'
|
|
15523
15533
|
- '@types/babel__core'
|
|
@@ -15622,12 +15632,12 @@ snapshots:
|
|
|
15622
15632
|
|
|
15623
15633
|
'@types/fs-extra@8.1.5':
|
|
15624
15634
|
dependencies:
|
|
15625
|
-
'@types/node':
|
|
15635
|
+
'@types/node': 24.12.4
|
|
15626
15636
|
|
|
15627
15637
|
'@types/glob@7.2.0':
|
|
15628
15638
|
dependencies:
|
|
15629
15639
|
'@types/minimatch': 5.1.2
|
|
15630
|
-
'@types/node':
|
|
15640
|
+
'@types/node': 24.12.4
|
|
15631
15641
|
|
|
15632
15642
|
'@types/http-errors@2.0.5': {}
|
|
15633
15643
|
|
|
@@ -15637,7 +15647,7 @@ snapshots:
|
|
|
15637
15647
|
|
|
15638
15648
|
'@types/keyv@3.1.4':
|
|
15639
15649
|
dependencies:
|
|
15640
|
-
'@types/node':
|
|
15650
|
+
'@types/node': 24.12.4
|
|
15641
15651
|
|
|
15642
15652
|
'@types/lodash.debounce@4.0.9':
|
|
15643
15653
|
dependencies:
|
|
@@ -15657,11 +15667,15 @@ snapshots:
|
|
|
15657
15667
|
dependencies:
|
|
15658
15668
|
undici-types: 6.21.0
|
|
15659
15669
|
|
|
15670
|
+
'@types/node@24.12.4':
|
|
15671
|
+
dependencies:
|
|
15672
|
+
undici-types: 7.16.0
|
|
15673
|
+
|
|
15660
15674
|
'@types/phoenix@1.6.7': {}
|
|
15661
15675
|
|
|
15662
15676
|
'@types/postcss-url@10.0.4':
|
|
15663
15677
|
dependencies:
|
|
15664
|
-
'@types/node':
|
|
15678
|
+
'@types/node': 24.12.4
|
|
15665
15679
|
postcss: 8.5.6
|
|
15666
15680
|
|
|
15667
15681
|
'@types/prop-types@15.7.15': {}
|
|
@@ -15677,7 +15691,7 @@ snapshots:
|
|
|
15677
15691
|
|
|
15678
15692
|
'@types/responselike@1.0.3':
|
|
15679
15693
|
dependencies:
|
|
15680
|
-
'@types/node':
|
|
15694
|
+
'@types/node': 24.12.4
|
|
15681
15695
|
|
|
15682
15696
|
'@types/sass@1.45.0':
|
|
15683
15697
|
dependencies:
|
|
@@ -15788,7 +15802,7 @@ snapshots:
|
|
|
15788
15802
|
|
|
15789
15803
|
'@ungap/structured-clone@1.3.0': {}
|
|
15790
15804
|
|
|
15791
|
-
'@vitejs/plugin-legacy@4.1.1(terser@5.44.1)(vite@4.5.14(@types/node@
|
|
15805
|
+
'@vitejs/plugin-legacy@4.1.1(terser@5.44.1)(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))':
|
|
15792
15806
|
dependencies:
|
|
15793
15807
|
'@babel/core': 7.28.5
|
|
15794
15808
|
'@babel/preset-env': 7.28.5(@babel/core@7.28.5)
|
|
@@ -15798,11 +15812,11 @@ snapshots:
|
|
|
15798
15812
|
regenerator-runtime: 0.13.11
|
|
15799
15813
|
systemjs: 6.15.1
|
|
15800
15814
|
terser: 5.44.1
|
|
15801
|
-
vite: 4.5.14(@types/node@
|
|
15815
|
+
vite: 4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1)
|
|
15802
15816
|
transitivePeerDependencies:
|
|
15803
15817
|
- supports-color
|
|
15804
15818
|
|
|
15805
|
-
'@vitejs/plugin-react@4.7.0(vite@4.5.14(@types/node@
|
|
15819
|
+
'@vitejs/plugin-react@4.7.0(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1))':
|
|
15806
15820
|
dependencies:
|
|
15807
15821
|
'@babel/core': 7.28.5
|
|
15808
15822
|
'@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.28.5)
|
|
@@ -15810,7 +15824,7 @@ snapshots:
|
|
|
15810
15824
|
'@rolldown/pluginutils': 1.0.0-beta.27
|
|
15811
15825
|
'@types/babel__core': 7.20.5
|
|
15812
15826
|
react-refresh: 0.17.0
|
|
15813
|
-
vite: 4.5.14(@types/node@
|
|
15827
|
+
vite: 4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1)
|
|
15814
15828
|
transitivePeerDependencies:
|
|
15815
15829
|
- supports-color
|
|
15816
15830
|
|
|
@@ -19356,9 +19370,9 @@ snapshots:
|
|
|
19356
19370
|
through: 2.3.8
|
|
19357
19371
|
wrap-ansi: 6.2.0
|
|
19358
19372
|
|
|
19359
|
-
inquirer@8.2.7(@types/node@
|
|
19373
|
+
inquirer@8.2.7(@types/node@24.12.4):
|
|
19360
19374
|
dependencies:
|
|
19361
|
-
'@inquirer/external-editor': 1.0.3(@types/node@
|
|
19375
|
+
'@inquirer/external-editor': 1.0.3(@types/node@24.12.4)
|
|
19362
19376
|
ansi-escapes: 4.3.2
|
|
19363
19377
|
chalk: 4.1.2
|
|
19364
19378
|
cli-cursor: 3.1.0
|
|
@@ -21550,7 +21564,7 @@ snapshots:
|
|
|
21550
21564
|
'@protobufjs/pool': 1.1.0
|
|
21551
21565
|
'@protobufjs/utf8': 1.1.0
|
|
21552
21566
|
'@types/long': 4.0.2
|
|
21553
|
-
'@types/node':
|
|
21567
|
+
'@types/node': 24.12.4
|
|
21554
21568
|
long: 4.0.0
|
|
21555
21569
|
|
|
21556
21570
|
proxy-addr@2.0.7:
|
|
@@ -22860,7 +22874,7 @@ snapshots:
|
|
|
22860
22874
|
|
|
22861
22875
|
tslib@2.8.1: {}
|
|
22862
22876
|
|
|
22863
|
-
tt-ide-cli@0.1.31(@types/node@
|
|
22877
|
+
tt-ide-cli@0.1.31(@types/node@24.12.4):
|
|
22864
22878
|
dependencies:
|
|
22865
22879
|
'@tt-miniprogram/ext-pack': 1.2.4
|
|
22866
22880
|
archiver: 5.3.2
|
|
@@ -22873,7 +22887,7 @@ snapshots:
|
|
|
22873
22887
|
folder-hash: 4.1.1
|
|
22874
22888
|
form-data: 4.0.5
|
|
22875
22889
|
fs-extra: 10.1.0
|
|
22876
|
-
inquirer: 8.2.7(@types/node@
|
|
22890
|
+
inquirer: 8.2.7(@types/node@24.12.4)
|
|
22877
22891
|
node-machine-id: 1.1.12
|
|
22878
22892
|
ora: 5.4.1
|
|
22879
22893
|
qrcode: 1.5.4
|
|
@@ -22979,6 +22993,8 @@ snapshots:
|
|
|
22979
22993
|
|
|
22980
22994
|
undici-types@6.21.0: {}
|
|
22981
22995
|
|
|
22996
|
+
undici-types@7.16.0: {}
|
|
22997
|
+
|
|
22982
22998
|
unicode-canonical-property-names-ecmascript@2.0.1: {}
|
|
22983
22999
|
|
|
22984
23000
|
unicode-match-property-ecmascript@2.0.0:
|
|
@@ -23084,21 +23100,21 @@ snapshots:
|
|
|
23084
23100
|
clone-stats: 0.0.1
|
|
23085
23101
|
replace-ext: 0.0.1
|
|
23086
23102
|
|
|
23087
|
-
vite-plugin-static-copy@0.17.1(vite@4.5.14(@types/node@
|
|
23103
|
+
vite-plugin-static-copy@0.17.1(vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1)):
|
|
23088
23104
|
dependencies:
|
|
23089
23105
|
chokidar: 3.6.0
|
|
23090
23106
|
fast-glob: 3.3.3
|
|
23091
23107
|
fs-extra: 11.3.3
|
|
23092
23108
|
picocolors: 1.1.1
|
|
23093
|
-
vite: 4.5.14(@types/node@
|
|
23109
|
+
vite: 4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1)
|
|
23094
23110
|
|
|
23095
|
-
vite@4.5.14(@types/node@
|
|
23111
|
+
vite@4.5.14(@types/node@24.12.4)(less@4.5.1)(lightningcss@1.31.1)(sass@1.97.2)(terser@5.44.1):
|
|
23096
23112
|
dependencies:
|
|
23097
23113
|
esbuild: 0.18.20
|
|
23098
23114
|
postcss: 8.5.6
|
|
23099
23115
|
rollup: 3.29.5
|
|
23100
23116
|
optionalDependencies:
|
|
23101
|
-
'@types/node':
|
|
23117
|
+
'@types/node': 24.12.4
|
|
23102
23118
|
fsevents: 2.3.3
|
|
23103
23119
|
less: 4.5.1
|
|
23104
23120
|
lightningcss: 1.31.1
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
import { View } from "@tarojs/components"
|
|
3
|
-
import Taro
|
|
3
|
+
import Taro from "@tarojs/taro"
|
|
4
|
+
import { type ITouchEvent } from "@tarojs/components"
|
|
4
5
|
|
|
5
6
|
import { cn } from "@/lib/utils"
|
|
6
7
|
|
|
@@ -27,7 +28,7 @@ const Slider = React.forwardRef<
|
|
|
27
28
|
const [rect, setRect] = React.useState<{ left: number; top: number; width: number; height: number } | null>(null)
|
|
28
29
|
const rectRef = React.useRef<{ left: number; top: number; width: number; height: number } | null>(null)
|
|
29
30
|
const idRef = React.useRef(`slider-${Math.random().toString(36).substr(2, 9)}`)
|
|
30
|
-
|
|
31
|
+
|
|
31
32
|
const value = valueProp !== undefined ? valueProp : localValue
|
|
32
33
|
const currentValue = value[0] ?? min
|
|
33
34
|
|
|
@@ -69,7 +70,7 @@ const Slider = React.forwardRef<
|
|
|
69
70
|
const rawValue = min + percentage * (max - min)
|
|
70
71
|
const steppedValue = Math.round((rawValue - min) / step) * step + min
|
|
71
72
|
const newValue = Math.min(Math.max(steppedValue, min), max)
|
|
72
|
-
|
|
73
|
+
|
|
73
74
|
if (newValue !== currentValue) {
|
|
74
75
|
const nextValue = [newValue]
|
|
75
76
|
if (valueProp === undefined) {
|
|
@@ -104,7 +105,7 @@ const Slider = React.forwardRef<
|
|
|
104
105
|
const handleMouseDown = (e: React.MouseEvent) => {
|
|
105
106
|
if (disabled) return
|
|
106
107
|
setIsDragging(true)
|
|
107
|
-
|
|
108
|
+
|
|
108
109
|
const query = Taro.createSelectorQuery()
|
|
109
110
|
query
|
|
110
111
|
.select(`#${idRef.current}`)
|
|
@@ -170,16 +171,16 @@ const Slider = React.forwardRef<
|
|
|
170
171
|
onMouseDown={handleMouseDown}
|
|
171
172
|
{...props}
|
|
172
173
|
>
|
|
173
|
-
<View
|
|
174
|
+
<View
|
|
174
175
|
className={cn(
|
|
175
176
|
"relative grow overflow-hidden rounded-full bg-secondary",
|
|
176
177
|
orientation === "horizontal" ? "h-1 w-full" : "w-1 h-full",
|
|
177
178
|
trackClassName
|
|
178
179
|
)}
|
|
179
180
|
>
|
|
180
|
-
<View
|
|
181
|
-
className={cn("absolute bg-primary", orientation === "horizontal" ? "h-full" : "w-full bottom-0", rangeClassName)}
|
|
182
|
-
style={orientation === "horizontal" ? { width: `${percentage}%` } : { height: `${percentage}%` }}
|
|
181
|
+
<View
|
|
182
|
+
className={cn("absolute bg-primary", orientation === "horizontal" ? "h-full" : "w-full bottom-0", rangeClassName)}
|
|
183
|
+
style={orientation === "horizontal" ? { width: `${percentage}%` } : { height: `${percentage}%` }}
|
|
183
184
|
/>
|
|
184
185
|
</View>
|
|
185
186
|
<View
|
|
@@ -190,8 +191,8 @@ const Slider = React.forwardRef<
|
|
|
190
191
|
thumbClassName
|
|
191
192
|
)}
|
|
192
193
|
style={
|
|
193
|
-
orientation === "horizontal"
|
|
194
|
-
? { left: `${percentage}%`, transform: 'translateX(-50%)' }
|
|
194
|
+
orientation === "horizontal"
|
|
195
|
+
? { left: `${percentage}%`, transform: 'translateX(-50%)' }
|
|
195
196
|
: { bottom: `${percentage}%`, transform: 'translateY(50%)' }
|
|
196
197
|
}
|
|
197
198
|
/>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
|
-
import { View } from "@tarojs/components"
|
|
3
|
-
import { type ITouchEvent } from "@tarojs/taro"
|
|
2
|
+
import { View, type ITouchEvent } from "@tarojs/components"
|
|
4
3
|
import { cn } from "@/lib/utils"
|
|
5
4
|
|
|
6
5
|
const TabsContext = React.createContext<{
|
|
@@ -18,7 +17,7 @@ const Tabs = React.forwardRef<
|
|
|
18
17
|
>(({ className, value: valueProp, defaultValue, onValueChange, ...props }, ref) => {
|
|
19
18
|
const [valueState, setValueState] = React.useState<string | undefined>(defaultValue)
|
|
20
19
|
const value = valueProp !== undefined ? valueProp : valueState
|
|
21
|
-
|
|
20
|
+
|
|
22
21
|
const handleValueChange = (newValue: string) => {
|
|
23
22
|
if (valueProp === undefined) {
|
|
24
23
|
setValueState(newValue)
|
|
@@ -62,7 +61,7 @@ const TabsTrigger = React.forwardRef<
|
|
|
62
61
|
>(({ className, value, onClick, disabled, ...props }, ref) => {
|
|
63
62
|
const context = React.useContext(TabsContext)
|
|
64
63
|
const isActive = context?.value === value
|
|
65
|
-
|
|
64
|
+
|
|
66
65
|
const handleClick = (e: ITouchEvent) => {
|
|
67
66
|
if (disabled) return
|
|
68
67
|
context?.onValueChange?.(value)
|
|
@@ -12,7 +12,7 @@ const toNumber = (v: unknown) => {
|
|
|
12
12
|
return 0
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
const normalizeRect = (r:
|
|
15
|
+
const normalizeRect = (r: DOMRect | Taro.NodesRef.BoundingClientRectCallbackResult | null | undefined): Rect | null => {
|
|
16
16
|
if (!r) return null
|
|
17
17
|
return {
|
|
18
18
|
left: toNumber(r.left),
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
import { spawn } from 'child_process';
|
|
5
|
+
import { resolve, join, basename } from 'path';
|
|
6
|
+
import { appendFileSync, openSync, closeSync, mkdirSync } from 'fs';
|
|
7
|
+
|
|
4
8
|
|
|
5
9
|
|
|
6
10
|
|
|
@@ -57,6 +61,59 @@ const config = {
|
|
|
57
61
|
onAfterRender: async (_context, _outputPath) => {
|
|
58
62
|
// 输出由 init 命令统一处理
|
|
59
63
|
},
|
|
64
|
+
onComplete: async (_context, outputPath) => {
|
|
65
|
+
// Skip pnpm update in test environment to avoid monorepo workspace issues
|
|
66
|
+
if (process.env.NODE_ENV === 'test') {
|
|
67
|
+
console.log('⊘ Skipping dependency update in test environment');
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const cmd = 'pnpm';
|
|
72
|
+
const args = ['-r', 'up', 'coze-coding-dev-sdk@^0.7.0'];
|
|
73
|
+
console.log(
|
|
74
|
+
`\nTriggering: ${cmd} ${args.join(' ')} (running in background)`,
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
try {
|
|
78
|
+
const projectRoot = resolve(outputPath);
|
|
79
|
+
|
|
80
|
+
// Determine log directory
|
|
81
|
+
const logDir = process.env.COZE_LOG_DIR || resolve(__dirname, '../.log');
|
|
82
|
+
mkdirSync(logDir, { recursive: true });
|
|
83
|
+
|
|
84
|
+
// Use project name in log file to avoid conflicts
|
|
85
|
+
const projectName = basename(projectRoot);
|
|
86
|
+
const logFile = join(logDir, `${projectName}-init.log`);
|
|
87
|
+
|
|
88
|
+
// Write log header
|
|
89
|
+
const timestamp = new Date().toISOString();
|
|
90
|
+
appendFileSync(
|
|
91
|
+
logFile,
|
|
92
|
+
`\n=== [${timestamp}] ${cmd} ${args.join(' ')} ===\n`,
|
|
93
|
+
);
|
|
94
|
+
|
|
95
|
+
// Open log file for appending
|
|
96
|
+
const logFd = openSync(logFile, 'a');
|
|
97
|
+
|
|
98
|
+
// Spawn in detached mode
|
|
99
|
+
const child = spawn(cmd, args, {
|
|
100
|
+
cwd: projectRoot,
|
|
101
|
+
detached: true,
|
|
102
|
+
stdio: ['ignore', logFd, logFd],
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
child.unref();
|
|
106
|
+
closeSync(logFd);
|
|
107
|
+
|
|
108
|
+
console.log(
|
|
109
|
+
'✓ coze-coding-dev-sdk update triggered (running in background)',
|
|
110
|
+
);
|
|
111
|
+
console.log(` Log file: ${logFile}`);
|
|
112
|
+
} catch (error) {
|
|
113
|
+
console.error('✗ Failed to trigger coze-coding-dev-sdk update:', error);
|
|
114
|
+
console.log(' You can manually run: pnpm update coze-coding-dev-sdk');
|
|
115
|
+
}
|
|
116
|
+
},
|
|
60
117
|
};
|
|
61
118
|
|
|
62
119
|
export default config;
|
package/lib/cli.js
CHANGED
|
@@ -2107,7 +2107,7 @@ const EventBuilder = {
|
|
|
2107
2107
|
};
|
|
2108
2108
|
|
|
2109
2109
|
var name = "@coze-arch/cli";
|
|
2110
|
-
var version = "0.0.
|
|
2110
|
+
var version = "0.0.26-alpha.f165ee";
|
|
2111
2111
|
var description = "coze coding devtools cli";
|
|
2112
2112
|
var license = "MIT";
|
|
2113
2113
|
var author = "fanwenjie.fe@bytedance.com";
|
|
@@ -2166,7 +2166,7 @@ var devDependencies = {
|
|
|
2166
2166
|
"@coze-arch/ts-config": "workspace:*",
|
|
2167
2167
|
"@coze-arch/vitest-config": "workspace:*",
|
|
2168
2168
|
"@coze-coding/lambda": "workspace:*",
|
|
2169
|
-
"@emnapi/runtime": "^1.
|
|
2169
|
+
"@emnapi/runtime": "^1.10.0",
|
|
2170
2170
|
"@inquirer/prompts": "^3.2.0",
|
|
2171
2171
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
2172
2172
|
"@rollup/plugin-json": "~6.0.0",
|
|
@@ -2187,7 +2187,7 @@ var devDependencies = {
|
|
|
2187
2187
|
rollup: "^4.60.1",
|
|
2188
2188
|
sucrase: "^3.35.1",
|
|
2189
2189
|
"tree-kill": "^1.2.2",
|
|
2190
|
-
tsx: "^4.
|
|
2190
|
+
tsx: "^4.22.3",
|
|
2191
2191
|
vitest: "~4.1.7"
|
|
2192
2192
|
};
|
|
2193
2193
|
var publishConfig = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coze-arch/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26-alpha.f165ee",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "coze coding devtools cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@coze-arch/ts-config": "workspace:*",
|
|
60
60
|
"@coze-arch/vitest-config": "workspace:*",
|
|
61
61
|
"@coze-coding/lambda": "workspace:*",
|
|
62
|
-
"@emnapi/runtime": "^1.
|
|
62
|
+
"@emnapi/runtime": "^1.10.0",
|
|
63
63
|
"@inquirer/prompts": "^3.2.0",
|
|
64
64
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
65
65
|
"@rollup/plugin-json": "~6.0.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"rollup": "^4.60.1",
|
|
81
81
|
"sucrase": "^3.35.1",
|
|
82
82
|
"tree-kill": "^1.2.2",
|
|
83
|
-
"tsx": "^4.
|
|
83
|
+
"tsx": "^4.22.3",
|
|
84
84
|
"vitest": "~4.1.7"
|
|
85
85
|
},
|
|
86
86
|
"publishConfig": {
|