@lingxiteam/ebe-utils 0.0.31 → 0.0.32
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/es/index.d.ts +1 -1
- package/es/index.js +4 -3
- package/package.json +2 -2
package/es/index.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare const fetchData: ({ appId, services, platform, baseUrl, onProgres
|
|
|
88
88
|
};
|
|
89
89
|
cleanedTree: any;
|
|
90
90
|
}>;
|
|
91
|
-
export declare const codeCreate: ({ appId, services, platform, baseUrl, onProgress, needTranslatePagePathToEnglish, autoDownloadOnBower, useEbeSetup, incrementalConstruction, hasExtendsApp, }: CodeOptions) => Promise<import("@lingxiteam/ebe/types/core").IPublisherResponse<string | import("../../types/core/publisher/zip").ZipBuffer> | {
|
|
91
|
+
export declare const codeCreate: ({ appId, services, platform, baseUrl, onProgress, needTranslatePagePathToEnglish, autoDownloadOnBower, useEbeSetup, incrementalConstruction, hasExtendsApp, hasAppFileResource, }: CodeOptions) => Promise<import("@lingxiteam/ebe/types/core").IPublisherResponse<string | import("../../types/core/publisher/zip").ZipBuffer> | {
|
|
92
92
|
msg: unknown;
|
|
93
93
|
success: boolean;
|
|
94
94
|
}>;
|
package/es/index.js
CHANGED
|
@@ -740,11 +740,11 @@ export var fetchData = /*#__PURE__*/function () {
|
|
|
740
740
|
}();
|
|
741
741
|
export var codeCreate = /*#__PURE__*/function () {
|
|
742
742
|
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(_ref8) {
|
|
743
|
-
var appId, services, platform, baseUrl, _onProgress, _ref8$needTranslatePa, needTranslatePagePathToEnglish, _ref8$autoDownloadOnB, autoDownloadOnBower, _ref8$useEbeSetup, useEbeSetup, incrementalConstruction, hasExtendsApp, _yield$fetchData, cleanedTree, options, result, zipRes;
|
|
743
|
+
var appId, services, platform, baseUrl, _onProgress, _ref8$needTranslatePa, needTranslatePagePathToEnglish, _ref8$autoDownloadOnB, autoDownloadOnBower, _ref8$useEbeSetup, useEbeSetup, incrementalConstruction, hasExtendsApp, hasAppFileResource, _yield$fetchData, cleanedTree, options, result, zipRes;
|
|
744
744
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
745
745
|
while (1) switch (_context4.prev = _context4.next) {
|
|
746
746
|
case 0:
|
|
747
|
-
appId = _ref8.appId, services = _ref8.services, platform = _ref8.platform, baseUrl = _ref8.baseUrl, _onProgress = _ref8.onProgress, _ref8$needTranslatePa = _ref8.needTranslatePagePathToEnglish, needTranslatePagePathToEnglish = _ref8$needTranslatePa === void 0 ? false : _ref8$needTranslatePa, _ref8$autoDownloadOnB = _ref8.autoDownloadOnBower, autoDownloadOnBower = _ref8$autoDownloadOnB === void 0 ? true : _ref8$autoDownloadOnB, _ref8$useEbeSetup = _ref8.useEbeSetup, useEbeSetup = _ref8$useEbeSetup === void 0 ? true : _ref8$useEbeSetup, incrementalConstruction = _ref8.incrementalConstruction, hasExtendsApp = _ref8.hasExtendsApp;
|
|
747
|
+
appId = _ref8.appId, services = _ref8.services, platform = _ref8.platform, baseUrl = _ref8.baseUrl, _onProgress = _ref8.onProgress, _ref8$needTranslatePa = _ref8.needTranslatePagePathToEnglish, needTranslatePagePathToEnglish = _ref8$needTranslatePa === void 0 ? false : _ref8$needTranslatePa, _ref8$autoDownloadOnB = _ref8.autoDownloadOnBower, autoDownloadOnBower = _ref8$autoDownloadOnB === void 0 ? true : _ref8$autoDownloadOnB, _ref8$useEbeSetup = _ref8.useEbeSetup, useEbeSetup = _ref8$useEbeSetup === void 0 ? true : _ref8$useEbeSetup, incrementalConstruction = _ref8.incrementalConstruction, hasExtendsApp = _ref8.hasExtendsApp, hasAppFileResource = _ref8.hasAppFileResource;
|
|
748
748
|
_context4.prev = 1;
|
|
749
749
|
_context4.next = 4;
|
|
750
750
|
return fetchData({
|
|
@@ -755,7 +755,8 @@ export var codeCreate = /*#__PURE__*/function () {
|
|
|
755
755
|
onProgress: _onProgress,
|
|
756
756
|
needTranslatePagePathToEnglish: needTranslatePagePathToEnglish,
|
|
757
757
|
incrementalConstruction: incrementalConstruction,
|
|
758
|
-
hasExtendsApp: hasExtendsApp
|
|
758
|
+
hasExtendsApp: hasExtendsApp,
|
|
759
|
+
hasAppFileResource: hasAppFileResource
|
|
759
760
|
});
|
|
760
761
|
case 4:
|
|
761
762
|
_yield$fetchData = _context4.sent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingxiteam/ebe-utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@babel/parser": "^7.12.12",
|
|
18
18
|
"@babel/traverse": "^7.12.12",
|
|
19
19
|
"@babel/types": "^7.12.12",
|
|
20
|
-
"@lingxiteam/ebe": "0.0.
|
|
20
|
+
"@lingxiteam/ebe": "0.0.32",
|
|
21
21
|
"cac": "^6.7.14",
|
|
22
22
|
"fs-extra": "9.x"
|
|
23
23
|
},
|