@cloudbase/framework-plugin-low-code 1.7.3 → 1.7.4
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/lib/index.d.ts +0 -0
- package/lib/index.d.ts.map +0 -0
- package/lib/index.js +0 -0
- package/lib/utils/common.d.ts +0 -0
- package/lib/utils/common.d.ts.map +0 -0
- package/lib/utils/common.js +0 -0
- package/lib/utils/index.d.ts +0 -0
- package/lib/utils/index.d.ts.map +0 -0
- package/lib/utils/index.js +0 -0
- package/package.json +3 -3
- package/scripts/link.js +3 -7
- package/lib/builder/config/common.d.ts +0 -2
- package/lib/builder/config/common.d.ts.map +0 -1
- package/lib/builder/config/common.js +0 -13
- package/lib/builder/config/index.d.ts +0 -3
- package/lib/builder/config/index.d.ts.map +0 -1
- package/lib/builder/config/index.js +0 -29
- package/lib/builder/config/mp.d.ts +0 -2
- package/lib/builder/config/mp.d.ts.map +0 -1
- package/lib/builder/config/mp.js +0 -13
- package/lib/builder/core/copy.d.ts +0 -5
- package/lib/builder/core/copy.d.ts.map +0 -1
- package/lib/builder/core/copy.js +0 -62
- package/lib/builder/core/generate.d.ts +0 -9
- package/lib/builder/core/generate.d.ts.map +0 -1
- package/lib/builder/core/generate.js +0 -128
- package/lib/builder/core/index.d.ts +0 -32
- package/lib/builder/core/index.d.ts.map +0 -1
- package/lib/builder/core/index.js +0 -149
- package/lib/builder/core/material.d.ts +0 -4
- package/lib/builder/core/material.d.ts.map +0 -1
- package/lib/builder/core/material.js +0 -80
- package/lib/builder/core/plugin.d.ts +0 -4
- package/lib/builder/core/plugin.d.ts.map +0 -1
- package/lib/builder/core/plugin.js +0 -30
- package/lib/builder/core/prepare.d.ts +0 -8
- package/lib/builder/core/prepare.d.ts.map +0 -1
- package/lib/builder/core/prepare.js +0 -108
- package/lib/builder/core/webpack.d.ts +0 -15
- package/lib/builder/core/webpack.d.ts.map +0 -1
- package/lib/builder/core/webpack.js +0 -58
- package/lib/builder/mp/BuildContext.d.ts +0 -13
- package/lib/builder/mp/BuildContext.d.ts.map +0 -1
- package/lib/builder/mp/BuildContext.js +0 -2
- package/lib/builder/mp/index.d.ts +0 -33
- package/lib/builder/mp/index.d.ts.map +0 -1
- package/lib/builder/mp/index.js +0 -450
- package/lib/builder/mp/lowcode.d.ts +0 -8
- package/lib/builder/mp/lowcode.d.ts.map +0 -1
- package/lib/builder/mp/lowcode.js +0 -54
- package/lib/builder/mp/materials.d.ts +0 -15
- package/lib/builder/mp/materials.d.ts.map +0 -1
- package/lib/builder/mp/materials.js +0 -338
- package/lib/builder/mp/mixMode.d.ts +0 -10
- package/lib/builder/mp/mixMode.d.ts.map +0 -1
- package/lib/builder/mp/mixMode.js +0 -215
- package/lib/builder/mp/mp_config.d.ts +0 -18
- package/lib/builder/mp/mp_config.d.ts.map +0 -1
- package/lib/builder/mp/mp_config.js +0 -206
- package/lib/builder/mp/util.d.ts +0 -20
- package/lib/builder/mp/util.d.ts.map +0 -1
- package/lib/builder/mp/util.js +0 -243
- package/lib/builder/mp/wxml.d.ts +0 -16
- package/lib/builder/mp/wxml.d.ts.map +0 -1
- package/lib/builder/mp/wxml.js +0 -300
- package/lib/builder/service/builder/copy.d.ts +0 -14
- package/lib/builder/service/builder/copy.d.ts.map +0 -1
- package/lib/builder/service/builder/copy.js +0 -189
- package/lib/builder/service/builder/generate.d.ts +0 -52
- package/lib/builder/service/builder/generate.d.ts.map +0 -1
- package/lib/builder/service/builder/generate.js +0 -792
- package/lib/builder/service/builder/index.d.ts +0 -16
- package/lib/builder/service/builder/index.d.ts.map +0 -1
- package/lib/builder/service/builder/index.js +0 -69
- package/lib/builder/service/builder/plugin.d.ts +0 -8
- package/lib/builder/service/builder/plugin.d.ts.map +0 -1
- package/lib/builder/service/builder/plugin.js +0 -149
- package/lib/builder/service/builder/webpack.d.ts +0 -91
- package/lib/builder/service/builder/webpack.d.ts.map +0 -1
- package/lib/builder/service/builder/webpack.js +0 -589
- package/lib/builder/types/common.d.ts +0 -12
- package/lib/builder/types/common.d.ts.map +0 -1
- package/lib/builder/types/common.js +0 -7
- package/lib/builder/util/common.d.ts +0 -36
- package/lib/builder/util/common.d.ts.map +0 -1
- package/lib/builder/util/common.js +0 -257
- package/lib/builder/util/console.d.ts +0 -2
- package/lib/builder/util/console.d.ts.map +0 -1
- package/lib/builder/util/console.js +0 -13
- package/lib/builder/util/generateFiles.d.ts +0 -6
- package/lib/builder/util/generateFiles.d.ts.map +0 -1
- package/lib/builder/util/generateFiles.js +0 -94
- package/lib/builder/util/index.d.ts +0 -2
- package/lib/builder/util/index.d.ts.map +0 -1
- package/lib/builder/util/index.js +0 -13
- package/lib/builder/util/junk.d.ts +0 -3
- package/lib/builder/util/junk.d.ts.map +0 -1
- package/lib/builder/util/junk.js +0 -25
- package/lib/builder/util/mp.d.ts +0 -5
- package/lib/builder/util/mp.d.ts.map +0 -1
- package/lib/builder/util/mp.js +0 -99
- package/lib/builder/util/name-mangler.d.ts +0 -3
- package/lib/builder/util/name-mangler.d.ts.map +0 -1
- package/lib/builder/util/name-mangler.js +0 -7
- package/lib/builder/util/net.d.ts +0 -3
- package/lib/builder/util/net.d.ts.map +0 -1
- package/lib/builder/util/net.js +0 -54
- package/lib/builder/util/process.d.ts +0 -9
- package/lib/builder/util/process.d.ts.map +0 -1
- package/lib/builder/util/process.js +0 -28
- package/lib/builder/util/style.d.ts +0 -2
- package/lib/builder/util/style.d.ts.map +0 -1
- package/lib/builder/util/style.js +0 -13
- package/lib/builder/util/weapp.d.ts +0 -2
- package/lib/builder/util/weapp.d.ts.map +0 -1
- package/lib/builder/util/weapp.js +0 -13
- package/lib/config/private.d.ts +0 -3
- package/lib/config/private.d.ts.map +0 -1
- package/lib/config/private.js +0 -14
- package/lib/generate.d.ts +0 -2
- package/lib/generate.d.ts.map +0 -1
- package/lib/generate.js +0 -49
- package/lib/generator/config/common.d.ts +0 -6
- package/lib/generator/config/common.d.ts.map +0 -1
- package/lib/generator/config/common.js +0 -25
- package/lib/generator/config/index.d.ts +0 -18
- package/lib/generator/config/index.d.ts.map +0 -1
- package/lib/generator/config/index.js +0 -43
- package/lib/generator/config/mp.d.ts +0 -56
- package/lib/generator/config/mp.d.ts.map +0 -1
- package/lib/generator/config/mp.js +0 -104
- package/lib/generator/core/generate.d.ts +0 -59
- package/lib/generator/core/generate.d.ts.map +0 -1
- package/lib/generator/core/generate.js +0 -663
- package/lib/generator/core/index.d.ts +0 -25
- package/lib/generator/core/index.d.ts.map +0 -1
- package/lib/generator/core/index.js +0 -102
- package/lib/generator/core/material.d.ts +0 -14
- package/lib/generator/core/material.d.ts.map +0 -1
- package/lib/generator/core/material.js +0 -230
- package/lib/generator/template.d.ts +0 -3
- package/lib/generator/template.d.ts.map +0 -1
- package/lib/generator/template.js +0 -3
- package/lib/generator/types/common.d.ts +0 -69
- package/lib/generator/types/common.d.ts.map +0 -1
- package/lib/generator/types/common.js +0 -21
- package/lib/generator/util/common.d.ts +0 -36
- package/lib/generator/util/common.d.ts.map +0 -1
- package/lib/generator/util/common.js +0 -238
- package/lib/generator/util/console.d.ts +0 -3
- package/lib/generator/util/console.d.ts.map +0 -1
- package/lib/generator/util/console.js +0 -17
- package/lib/generator/util/index.d.ts +0 -2
- package/lib/generator/util/index.d.ts.map +0 -1
- package/lib/generator/util/index.js +0 -13
- package/lib/generator/util/name-mangler.d.ts +0 -17
- package/lib/generator/util/name-mangler.d.ts.map +0 -1
- package/lib/generator/util/name-mangler.js +0 -63
- package/lib/generator/util/postcss-rpx.d.ts +0 -11
- package/lib/generator/util/postcss-rpx.d.ts.map +0 -1
- package/lib/generator/util/postcss-rpx.js +0 -16
- package/lib/generator/util/style.d.ts +0 -6
- package/lib/generator/util/style.d.ts.map +0 -1
- package/lib/generator/util/style.js +0 -92
- package/lib/generator/util/weapp.d.ts +0 -5
- package/lib/generator/util/weapp.d.ts.map +0 -1
- package/lib/generator/util/weapp.js +0 -17
- package/lib/types.d.ts +0 -14
- package/lib/types.d.ts.map +0 -1
- package/lib/types.js +0 -19
- package/lib/utils/dataSource.d.ts +0 -28
- package/lib/utils/dataSource.d.ts.map +0 -1
- package/lib/utils/dataSource.js +0 -171
- package/lib/utils/postProcess.d.ts +0 -3
- package/lib/utils/postProcess.d.ts.map +0 -1
- package/lib/utils/postProcess.js +0 -48
- package/lib/weapps-core/config/index.d.ts +0 -2
- package/lib/weapps-core/config/index.d.ts.map +0 -1
- package/lib/weapps-core/config/index.js +0 -13
- package/lib/weapps-core/config/style.d.ts +0 -7
- package/lib/weapps-core/config/style.d.ts.map +0 -1
- package/lib/weapps-core/config/style.js +0 -70
- package/lib/weapps-core/index.d.ts +0 -6
- package/lib/weapps-core/index.d.ts.map +0 -1
- package/lib/weapps-core/index.js +0 -31
- package/lib/weapps-core/types/action.d.ts +0 -25
- package/lib/weapps-core/types/action.d.ts.map +0 -1
- package/lib/weapps-core/types/action.js +0 -28
- package/lib/weapps-core/types/app.d.ts +0 -142
- package/lib/weapps-core/types/app.d.ts.map +0 -1
- package/lib/weapps-core/types/app.js +0 -21
- package/lib/weapps-core/types/appbuild.d.ts +0 -63
- package/lib/weapps-core/types/appbuild.d.ts.map +0 -1
- package/lib/weapps-core/types/appbuild.js +0 -78
- package/lib/weapps-core/types/code_types.d.ts +0 -26
- package/lib/weapps-core/types/code_types.d.ts.map +0 -1
- package/lib/weapps-core/types/code_types.js +0 -2
- package/lib/weapps-core/types/git.d.ts +0 -7
- package/lib/weapps-core/types/git.d.ts.map +0 -1
- package/lib/weapps-core/types/git.js +0 -2
- package/lib/weapps-core/types/index.d.ts +0 -11
- package/lib/weapps-core/types/index.d.ts.map +0 -1
- package/lib/weapps-core/types/index.js +0 -22
- package/lib/weapps-core/types/lowcode.d.ts +0 -26
- package/lib/weapps-core/types/lowcode.d.ts.map +0 -1
- package/lib/weapps-core/types/lowcode.js +0 -25
- package/lib/weapps-core/types/material.d.ts +0 -90
- package/lib/weapps-core/types/material.d.ts.map +0 -1
- package/lib/weapps-core/types/material.js +0 -9
- package/lib/weapps-core/types/plugins.d.ts +0 -17
- package/lib/weapps-core/types/plugins.d.ts.map +0 -1
- package/lib/weapps-core/types/plugins.js +0 -2
- package/lib/weapps-core/types/style.d.ts +0 -93
- package/lib/weapps-core/types/style.d.ts.map +0 -1
- package/lib/weapps-core/types/style.js +0 -2
- package/lib/weapps-core/types/web.d.ts +0 -120
- package/lib/weapps-core/types/web.d.ts.map +0 -1
- package/lib/weapps-core/types/web.js +0 -2
- package/lib/weapps-core/utils/appbuild.d.ts +0 -6
- package/lib/weapps-core/utils/appbuild.d.ts.map +0 -1
- package/lib/weapps-core/utils/appbuild.js +0 -40
- package/lib/weapps-core/utils/common.d.ts +0 -16
- package/lib/weapps-core/utils/common.d.ts.map +0 -1
- package/lib/weapps-core/utils/common.js +0 -90
- package/lib/weapps-core/utils/file.d.ts +0 -12
- package/lib/weapps-core/utils/file.d.ts.map +0 -1
- package/lib/weapps-core/utils/file.js +0 -142
- package/lib/weapps-core/utils/formily.d.ts +0 -5
- package/lib/weapps-core/utils/formily.d.ts.map +0 -1
- package/lib/weapps-core/utils/formily.js +0 -416
- package/lib/weapps-core/utils/index.d.ts +0 -7
- package/lib/weapps-core/utils/index.d.ts.map +0 -1
- package/lib/weapps-core/utils/index.js +0 -18
- package/lib/weapps-core/utils/lowcdoe.d.ts +0 -4
- package/lib/weapps-core/utils/lowcdoe.d.ts.map +0 -1
- package/lib/weapps-core/utils/lowcdoe.js +0 -69
- package/lib/weapps-core/utils/style.d.ts +0 -17
- package/lib/weapps-core/utils/style.d.ts.map +0 -1
- package/lib/weapps-core/utils/style.js +0 -330
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IWebRuntimeAppData } from '../../../weapps-core';
|
|
2
|
-
interface ICompileDirs {
|
|
3
|
-
rootBuildDir: string;
|
|
4
|
-
appBuildDir: string;
|
|
5
|
-
materialsDir: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function getCompileDirs(appKey?: string): ICompileDirs;
|
|
8
|
-
export declare function createNodeModulesSoftLink(appBuildDir: string, nodeModulesPath: string): Promise<void>;
|
|
9
|
-
export interface IStoreModuleItem {
|
|
10
|
-
namespace: string;
|
|
11
|
-
code: string;
|
|
12
|
-
}
|
|
13
|
-
export declare function getStoreModuleList(appData: IWebRuntimeAppData): IStoreModuleItem[];
|
|
14
|
-
export declare function fixProcessCwd(appBuilderDir: string): void;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/builder/service/builder/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAEL,kBAAkB,EAGnB,MAAM,sBAAsB,CAAA;AAE7B,UAAU,YAAY;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,wBAAgB,cAAc,CAAC,MAAM,SAAS,GAAG,YAAY,CAU5D;AAED,wBAAsB,yBAAyB,CAAC,WAAW,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,iBAK3F;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACb;AACD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,sBAkB7D;AAED,wBAAgB,aAAa,CAAC,aAAa,EAAE,MAAM,QAOlD"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.fixProcessCwd = exports.getStoreModuleList = exports.createNodeModulesSoftLink = exports.getCompileDirs = void 0;
|
|
16
|
-
const path_1 = __importDefault(require("path"));
|
|
17
|
-
const os_1 = __importDefault(require("os"));
|
|
18
|
-
const symlink_dir_1 = __importDefault(require("symlink-dir"));
|
|
19
|
-
const util_1 = require("../../util");
|
|
20
|
-
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
21
|
-
const weapps_core_1 = require("../../../weapps-core");
|
|
22
|
-
function getCompileDirs(appKey = 'test') {
|
|
23
|
-
const materialsDir = path_1.default.join(os_1.default.homedir(), '.weapps-materials');
|
|
24
|
-
const rootBuildDir = path_1.default.join(os_1.default.homedir(), '.weapps-build');
|
|
25
|
-
const appBuildDir = path_1.default.join(rootBuildDir, appKey);
|
|
26
|
-
return {
|
|
27
|
-
rootBuildDir,
|
|
28
|
-
appBuildDir,
|
|
29
|
-
materialsDir,
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
exports.getCompileDirs = getCompileDirs;
|
|
33
|
-
function createNodeModulesSoftLink(appBuildDir, nodeModulesPath) {
|
|
34
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
-
const destPath = path_1.default.join(appBuildDir, 'node_modules');
|
|
36
|
-
if (!fs_extra_1.default.existsSync(destPath)) {
|
|
37
|
-
(0, util_1.promiseWrapper)((0, symlink_dir_1.default)(nodeModulesPath, destPath));
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
exports.createNodeModulesSoftLink = createNodeModulesSoftLink;
|
|
42
|
-
function getStoreModuleList(appData) {
|
|
43
|
-
const storeModuleList = [];
|
|
44
|
-
extractRematchModules(appData.codeModules);
|
|
45
|
-
(0, weapps_core_1.loopDealWithFn)(appData.pageInstanceList, (pageInstance) => {
|
|
46
|
-
extractRematchModules(pageInstance.codeModules);
|
|
47
|
-
});
|
|
48
|
-
return storeModuleList;
|
|
49
|
-
function extractRematchModules(mods) {
|
|
50
|
-
mods
|
|
51
|
-
.filter(m => m.type === 'rematch')
|
|
52
|
-
.forEach(m => {
|
|
53
|
-
storeModuleList.push({
|
|
54
|
-
namespace: m.name,
|
|
55
|
-
code: m.code,
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
exports.getStoreModuleList = getStoreModuleList;
|
|
61
|
-
function fixProcessCwd(appBuilderDir) {
|
|
62
|
-
const currentCwd = process.cwd();
|
|
63
|
-
const nodeModulesWaPath = path_1.default.resolve(currentCwd, 'node_modules/.bin/wa');
|
|
64
|
-
if (fs_extra_1.default.pathExistsSync(nodeModulesWaPath)) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
appBuilderDir && process.chdir(appBuilderDir);
|
|
68
|
-
}
|
|
69
|
-
exports.fixProcessCwd = fixProcessCwd;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IPlugin } from '../../../weapps-core';
|
|
2
|
-
export declare function installMpPlugin(appBuildDir: string, plugins: IPlugin[]): Promise<void | void[]>;
|
|
3
|
-
export declare function getPluginType(appBuildDir: string, plugins: IPlugin[]): Promise<IPlugin[]>;
|
|
4
|
-
export declare function installKbonePlugin(appBuildDir: string, plugins: IPlugin[]): Promise<void[]>;
|
|
5
|
-
export declare function getKbonePluginEntry(appBuildDir: string, plugins: IPlugin[]): Promise<{}>;
|
|
6
|
-
export declare function getPluginKboneSubpackage(appBuildDir: string, plugins: IPlugin[]): Promise<{}>;
|
|
7
|
-
export declare function mergeKbonePluginConfig(appBuildDir: string, plugins: IPlugin[], mpConfig: any): Promise<any>;
|
|
8
|
-
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/builder/service/builder/plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAM9C,wBAAsB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,0BA2B5E;AAOD,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,sBAa1E;AAMD,wBAAsB,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,mBAsB/E;AAMD,wBAAsB,mBAAmB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,eAuBhF;AAKD,wBAAsB,wBAAwB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,eAarF;AAGD,wBAAsB,sBAAsB,CAC1C,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,OAAO,EAAE,EAClB,QAAQ,EAAE,GAAG,gBA8Bd"}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.mergeKbonePluginConfig = exports.getPluginKboneSubpackage = exports.getKbonePluginEntry = exports.installKbonePlugin = exports.getPluginType = exports.installMpPlugin = void 0;
|
|
32
|
-
const fs = __importStar(require("fs-extra"));
|
|
33
|
-
const path = __importStar(require("path"));
|
|
34
|
-
const mp_1 = require("../../util/mp");
|
|
35
|
-
function installMpPlugin(appBuildDir, plugins) {
|
|
36
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
-
return Promise.all(plugins
|
|
38
|
-
.filter(item => item.type === 'mp')
|
|
39
|
-
.map((plugin) => __awaiter(this, void 0, void 0, function* () {
|
|
40
|
-
const pluginModule = plugin.module;
|
|
41
|
-
const pluginNodeModuleDir = path.resolve(appBuildDir, 'node_modules', pluginModule);
|
|
42
|
-
const pluginPkgJson = yield fs.readJson(path.join(pluginNodeModuleDir, 'package.json'));
|
|
43
|
-
const { pluginName } = pluginPkgJson;
|
|
44
|
-
const pluginNodeModuleSrcDir = path.resolve(pluginNodeModuleDir, pluginName);
|
|
45
|
-
const mpBuildPluginDir = path.resolve(appBuildDir, pluginName);
|
|
46
|
-
const mpBuildAppJsonPath = path.resolve(appBuildDir, 'app.json');
|
|
47
|
-
const pluginAppJsonPath = path.resolve(pluginNodeModuleDir, 'app.json');
|
|
48
|
-
console.log('安装 mp 插件', pluginModule, mpBuildPluginDir);
|
|
49
|
-
yield fs.copy(pluginNodeModuleSrcDir, mpBuildPluginDir, {
|
|
50
|
-
overwrite: true,
|
|
51
|
-
});
|
|
52
|
-
yield (0, mp_1.mergeSubPackages)(mpBuildAppJsonPath, pluginAppJsonPath);
|
|
53
|
-
}))).catch(err => console.error(err));
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
exports.installMpPlugin = installMpPlugin;
|
|
57
|
-
function getPluginType(appBuildDir, plugins) {
|
|
58
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
const pluginsWithType = [];
|
|
60
|
-
for (const plugin of plugins) {
|
|
61
|
-
const pluginName = plugin.name;
|
|
62
|
-
const pkgPath = path.resolve(appBuildDir, `node_modules/@govcloud/${pluginName}/package.json`);
|
|
63
|
-
const pkgJson = yield fs.readJson(pkgPath);
|
|
64
|
-
pluginsWithType.push(Object.assign(Object.assign({}, plugin), { type: pkgJson.pluginType }));
|
|
65
|
-
}
|
|
66
|
-
return pluginsWithType;
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
exports.getPluginType = getPluginType;
|
|
70
|
-
function installKbonePlugin(appBuildDir, plugins) {
|
|
71
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
-
return Promise.all(plugins
|
|
73
|
-
.filter(item => item.type === 'kbone')
|
|
74
|
-
.map((plugin) => __awaiter(this, void 0, void 0, function* () {
|
|
75
|
-
const pluginName = plugin.name;
|
|
76
|
-
const pluginPackage = `@govcloud/${pluginName}`;
|
|
77
|
-
const pluginNodeModuleDir = path.resolve(appBuildDir, 'node_modules', pluginPackage);
|
|
78
|
-
const pluginNodeModuleSrcDir = path.resolve(pluginNodeModuleDir, 'src');
|
|
79
|
-
const mpBuildPluginDir = path.resolve(appBuildDir, 'src', pluginName);
|
|
80
|
-
console.log('安装 kbone 插件', plugin.name);
|
|
81
|
-
try {
|
|
82
|
-
yield fs.copy(pluginNodeModuleSrcDir, mpBuildPluginDir, {
|
|
83
|
-
overwrite: true,
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
catch (e) {
|
|
87
|
-
console.error('安装插件失败', plugin.name, e);
|
|
88
|
-
}
|
|
89
|
-
})));
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
exports.installKbonePlugin = installKbonePlugin;
|
|
93
|
-
function getKbonePluginEntry(appBuildDir, plugins) {
|
|
94
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
-
const entry = {};
|
|
96
|
-
for (const plugin of plugins) {
|
|
97
|
-
if (plugin.type === 'kbone') {
|
|
98
|
-
const pluginName = plugin.name;
|
|
99
|
-
const pluginDir = path.resolve(appBuildDir, 'src', pluginName);
|
|
100
|
-
const pagesDir = path.resolve(pluginDir, 'pages');
|
|
101
|
-
const dirs = yield fs.readdir(pagesDir);
|
|
102
|
-
yield Promise.all(dirs.map((dir) => __awaiter(this, void 0, void 0, function* () {
|
|
103
|
-
const entryPath = path.resolve(pagesDir, dir, 'main.mp.jsx');
|
|
104
|
-
if (yield fs.pathExists(entryPath)) {
|
|
105
|
-
entry[`${pluginName}__${dir}`] = entryPath;
|
|
106
|
-
}
|
|
107
|
-
})));
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
return entry;
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
exports.getKbonePluginEntry = getKbonePluginEntry;
|
|
114
|
-
function getPluginKboneSubpackage(appBuildDir, plugins) {
|
|
115
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
-
const subpackages = {};
|
|
117
|
-
for (const plugin of plugins) {
|
|
118
|
-
if (plugin.type === 'kbone') {
|
|
119
|
-
const pluginName = plugin.name;
|
|
120
|
-
const entrys = yield getKbonePluginEntry(appBuildDir, plugins);
|
|
121
|
-
subpackages[pluginName] = Object.keys(entrys).filter(entryPath => entryPath.includes(pluginName));
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
return subpackages;
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
exports.getPluginKboneSubpackage = getPluginKboneSubpackage;
|
|
128
|
-
function mergeKbonePluginConfig(appBuildDir, plugins, mpConfig) {
|
|
129
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
-
console.time('mergeKbonePluginConfig');
|
|
131
|
-
for (const plugin of plugins) {
|
|
132
|
-
const pluginName = plugin.name;
|
|
133
|
-
const mpConfigPath = path.resolve(appBuildDir, `node_modules/@govcloud/${pluginName}/scripts/miniprogram.config.js`);
|
|
134
|
-
const pluginMpConfig = require(mpConfigPath);
|
|
135
|
-
const pluginAppConfig = pluginMpConfig.app;
|
|
136
|
-
pluginMpConfig.generate.subpackages[pluginName].forEach((pluginPage) => {
|
|
137
|
-
var _a;
|
|
138
|
-
if (!mpConfig.pages)
|
|
139
|
-
mpConfig.pages = {};
|
|
140
|
-
mpConfig.pages[pluginPage] = {
|
|
141
|
-
extra: Object.assign(Object.assign({}, pluginAppConfig), (_a = ((pluginMpConfig === null || pluginMpConfig === void 0 ? void 0 : pluginMpConfig.pages) || {})[pluginPage]) === null || _a === void 0 ? void 0 : _a.extra),
|
|
142
|
-
};
|
|
143
|
-
});
|
|
144
|
-
return mpConfig;
|
|
145
|
-
}
|
|
146
|
-
console.timeEnd('mergeKbonePluginConfig');
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
exports.mergeKbonePluginConfig = mergeKbonePluginConfig;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { IMaterialItem, IWebRuntimeAppData, IPlugin } from '../../../weapps-core';
|
|
2
|
-
import { BuildType, WebpackModeType, WebpackBuildCallBack } from '../../types/common';
|
|
3
|
-
import { RUNTIME } from '../../../types';
|
|
4
|
-
export interface IMpConfig {
|
|
5
|
-
origin: string;
|
|
6
|
-
entry: string;
|
|
7
|
-
router: Record<string, string[]>;
|
|
8
|
-
redirect: {
|
|
9
|
-
notFound: string;
|
|
10
|
-
accessDenied: string;
|
|
11
|
-
};
|
|
12
|
-
generate: {
|
|
13
|
-
app: 'default' | 'noemit' | 'noconfig';
|
|
14
|
-
appEntry?: string;
|
|
15
|
-
subpackages?: Record<string, string[]>;
|
|
16
|
-
};
|
|
17
|
-
runtime: {
|
|
18
|
-
wxComponent: 'default' | 'noprefix';
|
|
19
|
-
};
|
|
20
|
-
app: {
|
|
21
|
-
navigationBarTitleText?: string;
|
|
22
|
-
};
|
|
23
|
-
projectConfig: {
|
|
24
|
-
appid: string;
|
|
25
|
-
projectname: string;
|
|
26
|
-
};
|
|
27
|
-
packageConfig: {
|
|
28
|
-
author: string;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export interface ICompileOpts {
|
|
32
|
-
configPath: string;
|
|
33
|
-
appBuildDir: string;
|
|
34
|
-
appKey: string;
|
|
35
|
-
generateMpType?: 'app' | 'subpackage';
|
|
36
|
-
generateMpPath?: string;
|
|
37
|
-
plugins?: IPlugin[];
|
|
38
|
-
}
|
|
39
|
-
export declare function startCompile(options: ICompileOpts, cb: WebpackBuildCallBack): void;
|
|
40
|
-
export declare function fixAppJson(appBuildDir: string): Promise<void>;
|
|
41
|
-
export declare function generateWebpackWebBuildParamsFile({ appId, allAppDataList, appBuildDir, materialsDir, dependencies, nodeModulesPath, publicPath, mode, watch, buildTypeList, assets, }: {
|
|
42
|
-
appId: string;
|
|
43
|
-
allAppDataList: IWebRuntimeAppData[];
|
|
44
|
-
appBuildDir: string;
|
|
45
|
-
materialsDir: string;
|
|
46
|
-
dependencies: IMaterialItem[];
|
|
47
|
-
nodeModulesPath: string;
|
|
48
|
-
publicPath?: string;
|
|
49
|
-
mode: WebpackModeType;
|
|
50
|
-
watch: boolean;
|
|
51
|
-
buildTypeList: BuildType[];
|
|
52
|
-
assets: string[];
|
|
53
|
-
}): Promise<string>;
|
|
54
|
-
export interface IGenerateMpJsonConfigFileOpts {
|
|
55
|
-
appKey?: string;
|
|
56
|
-
generateMpType: 'app' | 'subpackage';
|
|
57
|
-
}
|
|
58
|
-
export declare function extractAndRemoveKbConfig(mainAppData: IWebRuntimeAppData, subAppDataList: IWebRuntimeAppData[], appBuildDir: string): Promise<{}>;
|
|
59
|
-
export declare function generateKboneTabBarConfig(mpConfig: Record<string, any>, appBuildDir: any): Promise<void>;
|
|
60
|
-
export declare function downloadAndWriteTabBarIcon(iconPath: any, pagePath: any, appBuildDir: string, fileName: string): Promise<unknown>;
|
|
61
|
-
export declare function generateKbonePageConfig(mpConfig: Record<string, any>, mainAppData: IWebRuntimeAppData, subAppDataList?: IWebRuntimeAppData[]): Record<string, any>;
|
|
62
|
-
export declare function generateKboneAppConfig(mpConfig: Record<string, any>, mainAppData: IWebRuntimeAppData): void;
|
|
63
|
-
export declare function generateMpJsonConfigFile(allAppDataList: IWebRuntimeAppData[], userConfig: any, appBuildDir: string, plugins: IPlugin[], options: IGenerateMpJsonConfigFileOpts): Promise<void>;
|
|
64
|
-
export declare function getMainAppDataByList(allAppDataList: IWebRuntimeAppData[]): IWebRuntimeAppData | undefined;
|
|
65
|
-
export declare function getHomePageInstance(pageInstanceList: any): any;
|
|
66
|
-
export declare function getPageName(name: string): string;
|
|
67
|
-
export declare function getMpAllRouterConfig(allAppDataList: IWebRuntimeAppData[], getHome?: boolean): any;
|
|
68
|
-
export declare function getWebpackWebBuildParams(appId: string, appBuildDir: string, materialsDir: string, dependencies: IMaterialItem[] | undefined, nodeModulesPath: string, publicPath?: string, mode?: WebpackModeType, watch?: boolean, buildTypeList?: BuildType[], extraDefine?: {}, assets?: string[]): any;
|
|
69
|
-
export declare function getWebpackMpBuildParams(appBuildDir: string, materialsDir: string, dependencies: IMaterialItem[] | undefined, nodeModulesPath: string, allAppDataList: IWebRuntimeAppData[], mode: string, watch: boolean, options: IGenerateMpJsonConfigFileOpts): any;
|
|
70
|
-
export declare function getAllPageMpEntryPath(allAppDataList: IWebRuntimeAppData[], appBuildDir: string, options?: IGenerateMpJsonConfigFileOpts): Record<string, any>;
|
|
71
|
-
export declare function downloadAndInstallDependencies(dependencies: IMaterialItem[] | undefined, materialsDir: string, installOptions?: IInstallOpts): Promise<void>;
|
|
72
|
-
export declare function downloadDependencies(targetDir: string, srcZipUrl: string): Promise<void>;
|
|
73
|
-
export interface IInstallOpts {
|
|
74
|
-
packageName?: string;
|
|
75
|
-
latest?: boolean;
|
|
76
|
-
runtime?: RUNTIME;
|
|
77
|
-
ignoreInstall?: boolean;
|
|
78
|
-
dependenceMeta?: {
|
|
79
|
-
name: string;
|
|
80
|
-
version: string;
|
|
81
|
-
downloadUrl: string;
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
export declare function installDependencies(targetDir: string, options?: IInstallOpts): Promise<void>;
|
|
85
|
-
export declare function getMaterialNodeModulesPathList(dependencies: IMaterialItem[] | undefined, materialsDir: string, base?: string): string[];
|
|
86
|
-
export declare function generateWebpackWebDevServerFile({ appBuildDir, buildTypeList }: {
|
|
87
|
-
appBuildDir: any;
|
|
88
|
-
buildTypeList: any;
|
|
89
|
-
}): Promise<void>;
|
|
90
|
-
export declare function downloadAssets(targetDir: string, assetUrl: string): Promise<unknown>;
|
|
91
|
-
//# sourceMappingURL=webpack.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../../../../src/builder/service/builder/webpack.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,EAAiB,kBAAkB,EAAE,OAAO,EAAkB,MAAM,sBAAsB,CAAC;AAKjH,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,oBA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