ai-yuca 1.1.4 → 1.1.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.
- package/bin/cli.ts +24 -29
- package/dist/bin/cli.js +24 -29
- package/dist/package.json +2 -1
- package/package.json +2 -1
- package/vs.config.json +34 -29
package/bin/cli.ts
CHANGED
|
@@ -282,39 +282,34 @@ program
|
|
|
282
282
|
// 默认配置内容
|
|
283
283
|
const defaultConfig = {
|
|
284
284
|
"upload": {
|
|
285
|
-
"uploadPath": "
|
|
286
|
-
"
|
|
287
|
-
"destination": "uploads/",
|
|
288
|
-
"enableCompression": true,
|
|
289
|
-
"enableCache": true
|
|
290
|
-
},
|
|
291
|
-
"aws": {
|
|
292
|
-
"region": "ap-southeast-1",
|
|
293
|
-
"fromIni": false,
|
|
294
|
-
"accessKeyId": "your-access-key-id",
|
|
295
|
-
"secretAccessKey": "your-secret-access-key"
|
|
285
|
+
"uploadPath": "out",
|
|
286
|
+
"s3Static": "static/projectName"
|
|
296
287
|
},
|
|
297
288
|
"deploy": {
|
|
298
|
-
"
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
289
|
+
"baseUrlExample": "baseUrl: ['/', 'en-us/', 'zh-hk/', 'test/']",
|
|
290
|
+
"baseUrl": [
|
|
291
|
+
"/",
|
|
292
|
+
"en-us/",
|
|
293
|
+
],
|
|
294
|
+
"host": "",
|
|
295
|
+
"testHost": ""
|
|
296
|
+
},
|
|
297
|
+
"aws": {
|
|
298
|
+
"Bucket": "cdn",
|
|
299
|
+
"prefix": "fed",
|
|
300
|
+
"Region": "us-east-1",
|
|
301
|
+
"HostName": ""
|
|
308
302
|
},
|
|
309
303
|
"crowdin": {
|
|
310
|
-
"project": "
|
|
311
|
-
"
|
|
312
|
-
"
|
|
313
|
-
"
|
|
314
|
-
"
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
304
|
+
"project": "fed-project-name",
|
|
305
|
+
"langMap": ["zh-cn","en-us", "de-de", "pt-pt", "fr-fr", "es-es", "it-it", "ru-ru"],
|
|
306
|
+
"workDir": "src",
|
|
307
|
+
"reg": "{#(.+?)#}",
|
|
308
|
+
"keysDir": "src/_i18n",
|
|
309
|
+
"prefix": "fed",
|
|
310
|
+
"Region": "us-east-1",
|
|
311
|
+
"FromIni": "mall",
|
|
312
|
+
"HostName": ""
|
|
318
313
|
}
|
|
319
314
|
};
|
|
320
315
|
|
package/dist/bin/cli.js
CHANGED
|
@@ -278,39 +278,34 @@ program
|
|
|
278
278
|
// 默认配置内容
|
|
279
279
|
const defaultConfig = {
|
|
280
280
|
"upload": {
|
|
281
|
-
"uploadPath": "
|
|
282
|
-
"
|
|
283
|
-
"destination": "uploads/",
|
|
284
|
-
"enableCompression": true,
|
|
285
|
-
"enableCache": true
|
|
286
|
-
},
|
|
287
|
-
"aws": {
|
|
288
|
-
"region": "ap-southeast-1",
|
|
289
|
-
"fromIni": false,
|
|
290
|
-
"accessKeyId": "your-access-key-id",
|
|
291
|
-
"secretAccessKey": "your-secret-access-key"
|
|
281
|
+
"uploadPath": "out",
|
|
282
|
+
"s3Static": "static/projectName"
|
|
292
283
|
},
|
|
293
284
|
"deploy": {
|
|
294
|
-
"
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
285
|
+
"baseUrlExample": "baseUrl: ['/', 'en-us/', 'zh-hk/', 'test/']",
|
|
286
|
+
"baseUrl": [
|
|
287
|
+
"/",
|
|
288
|
+
"en-us/",
|
|
289
|
+
],
|
|
290
|
+
"host": "",
|
|
291
|
+
"testHost": ""
|
|
292
|
+
},
|
|
293
|
+
"aws": {
|
|
294
|
+
"Bucket": "cdn",
|
|
295
|
+
"prefix": "fed",
|
|
296
|
+
"Region": "us-east-1",
|
|
297
|
+
"HostName": ""
|
|
304
298
|
},
|
|
305
299
|
"crowdin": {
|
|
306
|
-
"project": "
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
300
|
+
"project": "fed-project-name",
|
|
301
|
+
"langMap": ["zh-cn", "en-us", "de-de", "pt-pt", "fr-fr", "es-es", "it-it", "ru-ru"],
|
|
302
|
+
"workDir": "src",
|
|
303
|
+
"reg": "{#(.+?)#}",
|
|
304
|
+
"keysDir": "src/_i18n",
|
|
305
|
+
"prefix": "fed",
|
|
306
|
+
"Region": "us-east-1",
|
|
307
|
+
"FromIni": "mall",
|
|
308
|
+
"HostName": ""
|
|
314
309
|
}
|
|
315
310
|
};
|
|
316
311
|
// 写入配置文件
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-yuca",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "一个用AI生成的开发辅助工具",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"axios": "^1.12.1",
|
|
35
35
|
"chalk": "^4.1.2",
|
|
36
36
|
"commander": "^10.0.0",
|
|
37
|
+
"fast-glob": "^3.3.3",
|
|
37
38
|
"inquirer": "^12.9.4",
|
|
38
39
|
"md5-file": "^5.0.0"
|
|
39
40
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-yuca",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "一个用AI生成的开发辅助工具",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"axios": "^1.12.1",
|
|
35
35
|
"chalk": "^4.1.2",
|
|
36
36
|
"commander": "^10.0.0",
|
|
37
|
+
"fast-glob": "^3.3.3",
|
|
37
38
|
"inquirer": "^12.9.4",
|
|
38
39
|
"md5-file": "^5.0.0"
|
|
39
40
|
},
|
package/vs.config.json
CHANGED
|
@@ -1,37 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"upload": {
|
|
3
|
-
"uploadPath": "
|
|
4
|
-
"
|
|
5
|
-
"destination": "uploads/",
|
|
6
|
-
"enableCompression": true,
|
|
7
|
-
"enableCache": true
|
|
8
|
-
},
|
|
9
|
-
"aws": {
|
|
10
|
-
"region": "ap-southeast-1",
|
|
11
|
-
"fromIni": false,
|
|
12
|
-
"accessKeyId": "your-access-key-id",
|
|
13
|
-
"secretAccessKey": "your-secret-access-key"
|
|
3
|
+
"uploadPath": "out",
|
|
4
|
+
"s3Static": "static/china2u"
|
|
14
5
|
},
|
|
15
6
|
"deploy": {
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
7
|
+
"baseUrlExample": "baseUrl: ['/', 'en-us/', 'zh-hk/', 'test/']",
|
|
8
|
+
"baseUrl": [
|
|
9
|
+
"/",
|
|
10
|
+
"en-us/"
|
|
11
|
+
],
|
|
12
|
+
"host": "https://www.china2u.xyz",
|
|
13
|
+
"testHost": "https://fp.decom.valleysound.xyz"
|
|
14
|
+
},
|
|
15
|
+
"aws": {
|
|
16
|
+
"Bucket": "decom-cdn",
|
|
17
|
+
"prefix": "fed",
|
|
18
|
+
"Region": "us-east-1",
|
|
19
|
+
"HostName": "https://cdn.cn2u.xyz"
|
|
26
20
|
},
|
|
27
21
|
"crowdin": {
|
|
28
|
-
"project": "
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
22
|
+
"project": "fed-buy-buy-buy-home",
|
|
23
|
+
"langMap": [
|
|
24
|
+
"zh-cn",
|
|
25
|
+
"en-us",
|
|
26
|
+
"de-de",
|
|
27
|
+
"pt-pt",
|
|
28
|
+
"fr-fr",
|
|
29
|
+
"es-es",
|
|
30
|
+
"it-it",
|
|
31
|
+
"ru-ru"
|
|
32
|
+
],
|
|
33
|
+
"workDir": "src",
|
|
34
|
+
"reg": "{#(.+?)#}",
|
|
35
|
+
"keysDir": "src/_i18n",
|
|
36
|
+
"Bucket": "mall-rocket-cdn",
|
|
37
|
+
"prefix": "fed",
|
|
38
|
+
"Region": "us-east-1",
|
|
39
|
+
"FromIni": "mall",
|
|
40
|
+
"HostName": "https://cdn.alvinclub.ca"
|
|
36
41
|
}
|
|
37
42
|
}
|