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 CHANGED
@@ -282,39 +282,34 @@ program
282
282
  // 默认配置内容
283
283
  const defaultConfig = {
284
284
  "upload": {
285
- "uploadPath": "./dist",
286
- "bucketName": "your-bucket-name",
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
- "environments": {
299
- "dev": {
300
- "bucketName": "your-dev-bucket",
301
- "destination": "dev/"
302
- },
303
- "production": {
304
- "bucketName": "your-prod-bucket",
305
- "destination": "prod/"
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": "your-project-name",
311
- "keysDir": "./locales",
312
- "prefix": "crowdin/",
313
- "hostName": "https://your-host.com",
314
- "langMap": {
315
- "en-US": "en",
316
- "zh-CN": "zh"
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": "./dist",
282
- "bucketName": "your-bucket-name",
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
- "environments": {
295
- "dev": {
296
- "bucketName": "your-dev-bucket",
297
- "destination": "dev/"
298
- },
299
- "production": {
300
- "bucketName": "your-prod-bucket",
301
- "destination": "prod/"
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": "your-project-name",
307
- "keysDir": "./locales",
308
- "prefix": "crowdin/",
309
- "hostName": "https://your-host.com",
310
- "langMap": {
311
- "en-US": "en",
312
- "zh-CN": "zh"
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.4",
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.4",
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": "./dist",
4
- "bucketName": "your-bucket-name",
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
- "environments": {
17
- "dev": {
18
- "bucketName": "your-dev-bucket",
19
- "destination": "dev/"
20
- },
21
- "production": {
22
- "bucketName": "your-prod-bucket",
23
- "destination": "prod/"
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": "your-project-name",
29
- "keysDir": "./locales",
30
- "prefix": "crowdin/",
31
- "hostName": "https://your-host.com",
32
- "langMap": {
33
- "en-US": "en",
34
- "zh-CN": "zh"
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
  }