ai-yuca 1.0.0
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/.eslintrc.js +25 -0
- package/CONFIG_UPLOAD.md +154 -0
- package/CONTRIBUTING.md +58 -0
- package/INSTALLATION.md +192 -0
- package/README.md +80 -0
- package/bin/cli.js +85 -0
- package/bin/cli.ts +302 -0
- package/dist/bin/cli.d.ts +2 -0
- package/dist/bin/cli.js +297 -0
- package/dist/package.json +51 -0
- package/dist/src/config.d.ts +56 -0
- package/dist/src/config.js +101 -0
- package/dist/src/download.d.ts +30 -0
- package/dist/src/download.js +214 -0
- package/dist/src/index.d.ts +18 -0
- package/dist/src/index.js +126 -0
- package/dist/src/types/analyze.d.ts +33 -0
- package/dist/src/types/analyze.js +5 -0
- package/dist/src/types/download.d.ts +60 -0
- package/dist/src/types/download.js +2 -0
- package/dist/src/types/index.d.ts +8 -0
- package/dist/src/types/index.js +28 -0
- package/dist/src/types/upload.d.ts +89 -0
- package/dist/src/types/upload.js +2 -0
- package/dist/src/upload.d.ts +24 -0
- package/dist/src/upload.js +252 -0
- package/dist/src/uploadWithConfig.d.ts +34 -0
- package/dist/src/uploadWithConfig.js +82 -0
- package/dist/src/utils/compression.d.ts +16 -0
- package/dist/src/utils/compression.js +85 -0
- package/dist/test/compression.test.d.ts +1 -0
- package/dist/test/compression.test.js +109 -0
- package/dist/test/download.test.d.ts +1 -0
- package/dist/test/download.test.js +168 -0
- package/dist/test/index.test.d.ts +1 -0
- package/dist/test/index.test.js +33 -0
- package/dist/test/upload.test.d.ts +1 -0
- package/dist/test/upload.test.js +140 -0
- package/docs/usage.md +223 -0
- package/examples/sample.txt +7 -0
- package/examples/upload-example.js +53 -0
- package/out/test.txt +1 -0
- package/package.json +51 -0
- package/src/config.ts +104 -0
- package/src/download.ts +216 -0
- package/src/index.js +88 -0
- package/src/index.ts +98 -0
- package/src/types/analyze.ts +37 -0
- package/src/types/download.ts +67 -0
- package/src/types/index.ts +16 -0
- package/src/types/upload.ts +97 -0
- package/src/upload.js +197 -0
- package/src/upload.ts +254 -0
- package/src/uploadWithConfig.ts +122 -0
- package/src/utils/compression.ts +61 -0
- package/test/compression.test.ts +88 -0
- package/test/download.test.ts +162 -0
- package/test/index.test.js +38 -0
- package/test/index.test.ts +39 -0
- package/test/upload.test.ts +131 -0
- package/tsconfig.json +17 -0
- package/vs.config.json +42 -0
package/vs.config.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"upload": {
|
|
3
|
+
"uploadPath": "out",
|
|
4
|
+
"s3Static": "static/aiAgent"
|
|
5
|
+
},
|
|
6
|
+
"deploy": {
|
|
7
|
+
"baseUrlExample": "baseUrl: ['/', 'en-us/', 'zh-hk/', 'test/']",
|
|
8
|
+
"baseUrl": [
|
|
9
|
+
"/",
|
|
10
|
+
"en-us/",
|
|
11
|
+
"zh-cn/",
|
|
12
|
+
"de-de/",
|
|
13
|
+
"it-it/",
|
|
14
|
+
"pt-pt/",
|
|
15
|
+
"es-es/",
|
|
16
|
+
"fr-fr/",
|
|
17
|
+
"ru-ru/",
|
|
18
|
+
"error/",
|
|
19
|
+
"download-v2/"
|
|
20
|
+
],
|
|
21
|
+
"host": "https://www.china2u.xyz",
|
|
22
|
+
"testHost": "https://ai.decom.valleysound.xyz"
|
|
23
|
+
},
|
|
24
|
+
"aws": {
|
|
25
|
+
"Bucket": "decom-cdn",
|
|
26
|
+
"prefix": "fed",
|
|
27
|
+
"Region": "us-east-1",
|
|
28
|
+
"HostName": "https://cdn.cn2u.xyz"
|
|
29
|
+
},
|
|
30
|
+
"crowdin": {
|
|
31
|
+
"project": "fed-buy-buy-buy-home",
|
|
32
|
+
"langMap": ["zh-cn","en-us", "de-de", "pt-pt", "fr-fr", "es-es", "it-it", "ru-ru"],
|
|
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"
|
|
41
|
+
}
|
|
42
|
+
}
|