@ldsg/utils 0.3.9 → 0.3.17
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/dist/extend-app-data-with-path.d.ts +1 -1
- package/dist/extend-app-data-with-path.d.ts.map +1 -1
- package/dist/extend-app-data-with-path.js +1 -1
- package/dist/extend-app-data.d.ts +1 -1
- package/dist/extend-app-data.js +1 -1
- package/dist/fetch-app-data.d.ts +1 -1
- package/dist/fetch-app-data.js +1 -1
- package/dist/generate-by-app-data.d.ts +1 -1
- package/dist/generate-by-app-data.js +1 -1
- package/dist/get-app-data.d.ts +2 -2
- package/dist/get-app-data.js +1 -1
- package/dist/index.d.ts +6 -6
- package/package.json +13 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend-app-data-with-path.d.ts","sourceRoot":"","sources":["../src/extend-app-data-with-path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAItC,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,KAAK,qBAAqB,GAAG,
|
|
1
|
+
{"version":3,"file":"extend-app-data-with-path.d.ts","sourceRoot":"","sources":["../src/extend-app-data-with-path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAItC,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,KAAK,qBAAqB,GAAG,CAAC,MAAM,EAAE,2BAA2B,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAEvF,eAAO,MAAM,qBAAqB,EAAE,qBAmBnC,CAAC"}
|
package/dist/extend-app-data.js
CHANGED
package/dist/fetch-app-data.d.ts
CHANGED
package/dist/fetch-app-data.js
CHANGED
|
@@ -10,7 +10,7 @@ const generateByAppData = async (params) => {
|
|
|
10
10
|
const { appData, outputPath } = params;
|
|
11
11
|
const zipAppDataRes = await (0, common_1.zipAppData)({
|
|
12
12
|
...appData,
|
|
13
|
-
type:
|
|
13
|
+
type: 'nodebuffer'
|
|
14
14
|
});
|
|
15
15
|
const { archive } = zipAppDataRes;
|
|
16
16
|
const admZip = new adm_zip_1.default(archive);
|
package/dist/get-app-data.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AppData } from
|
|
2
|
-
import { FetchAppDataParams } from
|
|
1
|
+
import { AppData } from '@ldsg/types';
|
|
2
|
+
import { FetchAppDataParams } from './fetch-app-data';
|
|
3
3
|
interface GetAppDataParams extends FetchAppDataParams {
|
|
4
4
|
extraAppDataPath?: string;
|
|
5
5
|
}
|
package/dist/get-app-data.js
CHANGED
|
@@ -8,7 +8,7 @@ const getAppData = async (params) => {
|
|
|
8
8
|
const appData = await (0, fetch_app_data_1.fetchAppData)(params);
|
|
9
9
|
const res = await (0, extend_app_data_with_path_1.extendAppDataWithPath)({
|
|
10
10
|
appData,
|
|
11
|
-
extraAppDataPath
|
|
11
|
+
extraAppDataPath
|
|
12
12
|
});
|
|
13
13
|
return res;
|
|
14
14
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
1
|
+
export * from './extend-app-data';
|
|
2
|
+
export * from './extend-app-data-with-path';
|
|
3
|
+
export * from './fetch-app-data';
|
|
4
|
+
export * from './generate';
|
|
5
|
+
export * from './generate-by-app-data';
|
|
6
|
+
export * from './get-app-data';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldsg/utils",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
|
+
"description": "",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "wanxger",
|
|
4
7
|
"main": "dist/index.js",
|
|
8
|
+
"types": "dist",
|
|
5
9
|
"files": [
|
|
6
10
|
"dist/"
|
|
7
11
|
],
|
|
8
|
-
"types": "dist",
|
|
9
|
-
"author": "wanxger",
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"publishConfig": {
|
|
12
|
-
"access": "public"
|
|
13
|
-
},
|
|
14
|
-
"description": "",
|
|
15
12
|
"dependencies": {
|
|
16
13
|
"adm-zip": "^0.5.16",
|
|
17
14
|
"axios": "^1.7.7",
|
|
18
15
|
"commander": "^12.1.0",
|
|
19
16
|
"fs-extra": "^11.2.0",
|
|
20
17
|
"lodash": "^4.17.21",
|
|
21
|
-
"@ldsg/common": "0.3.
|
|
22
|
-
"@ldsg/
|
|
23
|
-
"@ldsg/
|
|
18
|
+
"@ldsg/common": "0.3.17",
|
|
19
|
+
"@ldsg/create-app": "0.3.17",
|
|
20
|
+
"@ldsg/types": "0.3.17"
|
|
24
21
|
},
|
|
25
22
|
"devDependencies": {
|
|
26
23
|
"@types/adm-zip": "^0.5.6",
|
|
@@ -29,14 +26,18 @@
|
|
|
29
26
|
"@types/node": "^20.13.0",
|
|
30
27
|
"@types/supertest": "^6.0.0",
|
|
31
28
|
"dotenv": "^16.4.5",
|
|
29
|
+
"jest": "^29.5.0",
|
|
32
30
|
"supertest": "^6.3.4",
|
|
33
31
|
"ts-loader": "^9.5.1",
|
|
34
32
|
"ts-node": "^10.9.2",
|
|
35
33
|
"tslib": "^2.6.2",
|
|
36
|
-
"typescript": "^5.
|
|
34
|
+
"typescript": "^5.3.3",
|
|
37
35
|
"webpack": "^5.97.1",
|
|
38
36
|
"webpack-cli": "^5.1.4"
|
|
39
37
|
},
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
40
41
|
"scripts": {
|
|
41
42
|
"build": "tsc --project tsconfig.build.json",
|
|
42
43
|
"clean": "rm -rf dist"
|