@cloudbase/framework-plugin-low-code 1.7.33 → 1.7.34-alpha.1
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 +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +111 -33
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { PathLike } from 'fs-extra';
|
|
3
3
|
import { Plugin, PluginServiceApi } from '@cloudbase/framework-core';
|
|
4
4
|
import { BuildType, GenerateMpType, DEPLOY_MODE, RUNTIME } from '@cloudbase/lowcode-builder';
|
|
5
|
+
import COS from 'cos-nodejs-sdk-v5';
|
|
5
6
|
export declare const DIST_PATH = "./dist";
|
|
6
7
|
declare const DEFAULT_INPUTS: {
|
|
7
8
|
_inputFile: string;
|
|
@@ -79,7 +80,13 @@ declare class LowCodePlugin extends Plugin {
|
|
|
79
80
|
protected _miniprogramePlugin: any;
|
|
80
81
|
protected _deployer: any;
|
|
81
82
|
protected _functionPlugin: any;
|
|
82
|
-
protected
|
|
83
|
+
protected _artifactOptions?: {
|
|
84
|
+
bucket: string;
|
|
85
|
+
baseKey: string;
|
|
86
|
+
region?: string | undefined;
|
|
87
|
+
credential?: any;
|
|
88
|
+
endpoint?: string | undefined;
|
|
89
|
+
};
|
|
83
90
|
protected _timeMap: {};
|
|
84
91
|
protected _logFilePath?: PathLike;
|
|
85
92
|
protected _domain: any[];
|
|
@@ -112,6 +119,7 @@ declare class LowCodePlugin extends Plugin {
|
|
|
112
119
|
_postPersistentDependiences(): Promise<void>;
|
|
113
120
|
_debugInfo(): Promise<void>;
|
|
114
121
|
_zipDir(src: any, dist: any): Promise<unknown>;
|
|
122
|
+
_initCos(): COS;
|
|
115
123
|
}
|
|
116
124
|
export declare const plugin: typeof LowCodePlugin;
|
|
117
125
|
export {};
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAOA,OAAW,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIrE,OAAO,EAEL,SAAS,EAET,cAAc,EACd,WAAW,EACX,OAAO,EAMR,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAOA,OAAW,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIrE,OAAO,EAEL,SAAS,EAET,cAAc,EACd,WAAW,EACX,OAAO,EAMR,MAAM,4BAA4B,CAAC;AAIpC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AAMpC,eAAO,MAAM,SAAS,WAAW,CAAC;AAgBlC,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;CAoBnB,CAAC;AAEF,MAAM,WAAW,6BAA6B;IAM5C,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAMhB,OAAO,CAAC,EAAE,OAAO,CAAC;IAIlB,KAAK,EAAE,MAAM,CAAC;IAId,oBAAoB,EAAE,GAAG,CAAC;IAI1B,uBAAuB,CAAC,EAAE,GAAG,EAAE,CAAC;IAIhC,YAAY,CAAC,EAAsB,GAAG,EAAE,CAAC;IAKzC,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;IAK5B,cAAc,CAAC,EAAE,cAAc,CAAC;IAIhC,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAgB,GAAG,EAAE,CAAC;IAI9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,aAAa,EAAE;QAIb,IA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ework_core_1.Plugin {
|
|
87
87
|
constructor(name, api, inputs) {
|
|
88
|
+
var _a, _b;
|
|
88
89
|
super(name, api, inputs);
|
|
89
90
|
this.name = name;
|
|
90
91
|
this.api = api;
|
|
@@ -95,7 +96,15 @@ class LowCodePlugin extends framework_core_1.Plugin {
|
|
|
95
96
|
let params = fs_extra_1.default.existsSync(inputJSONPath) ? fs_extra_1.default.readJsonSync(inputJSONPath) : {};
|
|
96
97
|
this._resolvedInputs = resolveInputs(inputs, resolveInputs(params, DEFAULT_INPUTS));
|
|
97
98
|
this._appPath = '';
|
|
98
|
-
this.
|
|
99
|
+
this._artifactOptions =
|
|
100
|
+
this._resolvedInputs.runtime === lowcode_builder_1.RUNTIME.CI
|
|
101
|
+
? {
|
|
102
|
+
credential: this._resolvedInputs.credential,
|
|
103
|
+
bucket: ((_a = this._resolvedInputs.storage) === null || _a === void 0 ? void 0 : _a.bucket) || '',
|
|
104
|
+
region: ((_b = this._resolvedInputs.storage) === null || _b === void 0 ? void 0 : _b.region) || '',
|
|
105
|
+
baseKey: `lca/${this._resolvedInputs.appId}${process.env.CLOUDBASE_CIID ? `/${process.env.CLOUDBASE_CIID}` : ''}`,
|
|
106
|
+
}
|
|
107
|
+
: undefined;
|
|
99
108
|
let { envId } = this.api;
|
|
100
109
|
if (!this._resolvedInputs.mainAppSerializeData) {
|
|
101
110
|
throw new Error('缺少必须参数: mainAppSerializeData');
|
|
@@ -121,7 +130,7 @@ class LowCodePlugin extends framework_core_1.Plugin {
|
|
|
121
130
|
fs_extra_1.default.removeSync(path_1.default.resolve(this.api.projectPath, DEBUG_PATH));
|
|
122
131
|
}
|
|
123
132
|
_subPluginConstructor(resolveInputs) {
|
|
124
|
-
var _a, _b
|
|
133
|
+
var _a, _b;
|
|
125
134
|
return __awaiter(this, void 0, void 0, function* () {
|
|
126
135
|
if (resolveInputs.runtime === lowcode_builder_1.RUNTIME.CLI) {
|
|
127
136
|
return;
|
|
@@ -143,14 +152,6 @@ class LowCodePlugin extends framework_core_1.Plugin {
|
|
|
143
152
|
},
|
|
144
153
|
],
|
|
145
154
|
});
|
|
146
|
-
const artifactOptions = this._resolvedInputs.runtime === lowcode_builder_1.RUNTIME.CI
|
|
147
|
-
? {
|
|
148
|
-
credential: this._resolvedInputs.credential,
|
|
149
|
-
bucket: ((_a = this._resolvedInputs.storage) === null || _a === void 0 ? void 0 : _a.bucket) || '',
|
|
150
|
-
region: ((_b = this._resolvedInputs.storage) === null || _b === void 0 ? void 0 : _b.region) || '',
|
|
151
|
-
baseKey: this._productBasePath || '',
|
|
152
|
-
}
|
|
153
|
-
: undefined;
|
|
154
155
|
if (buildTypeList.includes(lowcode_builder_1.BuildType.MP)) {
|
|
155
156
|
if (deployOptions.mpDeployPrivateKey) {
|
|
156
157
|
fs_extra_1.default.writeFileSync(path_1.default.join(this.api.projectPath, `./private.${deployOptions.mpAppId}.key`), deployOptions.mpDeployPrivateKey, 'base64');
|
|
@@ -177,10 +178,10 @@ class LowCodePlugin extends framework_core_1.Plugin {
|
|
|
177
178
|
},
|
|
178
179
|
previewOptions: {
|
|
179
180
|
qrcodeOutputPath: path_1.default.resolve(this.api.projectPath, QRCODE_PATH),
|
|
180
|
-
pagePath: (
|
|
181
|
+
pagePath: (_b = (_a = fs_extra_1.default.readJsonSync(path_1.default.resolve(this.api.projectPath, exports.DIST_PATH, miniprogramRoot, 'app.json'))) === null || _a === void 0 ? void 0 : _a.pages) === null || _b === void 0 ? void 0 : _b[0],
|
|
181
182
|
setting,
|
|
182
183
|
},
|
|
183
|
-
artifactOptions,
|
|
184
|
+
artifactOptions: this._artifactOptions,
|
|
184
185
|
deployerOprions: {
|
|
185
186
|
appId: this._resolvedInputs.appId,
|
|
186
187
|
envId: this.api.envId,
|
|
@@ -211,7 +212,7 @@ class LowCodePlugin extends framework_core_1.Plugin {
|
|
|
211
212
|
}
|
|
212
213
|
: undefined,
|
|
213
214
|
},
|
|
214
|
-
artifactOptions,
|
|
215
|
+
artifactOptions: this._artifactOptions,
|
|
215
216
|
});
|
|
216
217
|
}
|
|
217
218
|
});
|
|
@@ -591,23 +592,7 @@ class LowCodePlugin extends framework_core_1.Plugin {
|
|
|
591
592
|
_postPersistentDependiences() {
|
|
592
593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
593
594
|
let promises = [];
|
|
594
|
-
let
|
|
595
|
-
let cos = (credential === null || credential === void 0 ? void 0 : credential.token)
|
|
596
|
-
? new cos_nodejs_sdk_v5_1.default({
|
|
597
|
-
getAuthorization(options, callback) {
|
|
598
|
-
callback({
|
|
599
|
-
TmpSecretId: (credential === null || credential === void 0 ? void 0 : credential.secretId) || '',
|
|
600
|
-
TmpSecretKey: (credential === null || credential === void 0 ? void 0 : credential.secretKey) || '',
|
|
601
|
-
XCosSecurityToken: (credential === null || credential === void 0 ? void 0 : credential.token) || '',
|
|
602
|
-
ExpiredTime: Math.floor(Date.now() / 1000) + 600,
|
|
603
|
-
StartTime: Math.floor(Date.now() / 1000),
|
|
604
|
-
});
|
|
605
|
-
},
|
|
606
|
-
})
|
|
607
|
-
: new cos_nodejs_sdk_v5_1.default({
|
|
608
|
-
SecretId: credential === null || credential === void 0 ? void 0 : credential.secretId,
|
|
609
|
-
SecretKey: credential === null || credential === void 0 ? void 0 : credential.secretKey,
|
|
610
|
-
});
|
|
595
|
+
let cos = this._initCos();
|
|
611
596
|
promises = Object.keys(lowcode_builder_1.PERSISTENT_DEPENDIENCES_MAP).map((key) => __awaiter(this, void 0, void 0, function* () {
|
|
612
597
|
let meta = lowcode_builder_1.PERSISTENT_DEPENDIENCES_MAP[key];
|
|
613
598
|
const zipPath = path_1.default.join(this.api.projectPath, `${meta.name}@${meta.version}.zip`);
|
|
@@ -649,9 +634,83 @@ class LowCodePlugin extends framework_core_1.Plugin {
|
|
|
649
634
|
_debugInfo() {
|
|
650
635
|
return __awaiter(this, void 0, void 0, function* () {
|
|
651
636
|
fs_extra_1.default.ensureDirSync(path_1.default.resolve(this.api.projectPath, DEBUG_PATH));
|
|
652
|
-
let _a = this._resolvedInputs, { mpDeployPrivateKey } = _a, _b = _a.deployOptions, { mpDeployPrivateKey: _key } = _b, restDeployOptions = __rest(_b, ["mpDeployPrivateKey"]), rest = __rest(_a, ["mpDeployPrivateKey", "deployOptions"]);
|
|
653
|
-
|
|
654
|
-
|
|
637
|
+
let _a = this._resolvedInputs, { mpDeployPrivateKey } = _a, _b = _a.deployOptions, { mpDeployPrivateKey: _key } = _b, restDeployOptions = __rest(_b, ["mpDeployPrivateKey"]), { credential: _, storage: __ } = _a, rest = __rest(_a, ["mpDeployPrivateKey", "deployOptions", "credential", "storage"]);
|
|
638
|
+
if (this._artifactOptions) {
|
|
639
|
+
let cos = this._initCos();
|
|
640
|
+
try {
|
|
641
|
+
yield Promise.all([
|
|
642
|
+
new Promise((resolve, reject) => {
|
|
643
|
+
setTimeout(() => {
|
|
644
|
+
reject(new Error('上传构建快照超时'));
|
|
645
|
+
}, 10000);
|
|
646
|
+
}),
|
|
647
|
+
new Promise((resolve, reject) => {
|
|
648
|
+
var _a, _b, _c;
|
|
649
|
+
cos.putObject({
|
|
650
|
+
Bucket: ((_a = this._artifactOptions) === null || _a === void 0 ? void 0 : _a.bucket) || '',
|
|
651
|
+
Region: ((_b = this._artifactOptions) === null || _b === void 0 ? void 0 : _b.region) || '',
|
|
652
|
+
Key: `${(_c = this._artifactOptions) === null || _c === void 0 ? void 0 : _c.baseKey}/input.json`,
|
|
653
|
+
Body: Buffer.from(JSON.stringify(Object.assign(Object.assign({}, rest), { deployOptions: Object.assign({}, restDeployOptions) }), undefined, 2)),
|
|
654
|
+
}, (err, data) => {
|
|
655
|
+
if (err) {
|
|
656
|
+
reject(err);
|
|
657
|
+
}
|
|
658
|
+
else {
|
|
659
|
+
resolve(data);
|
|
660
|
+
}
|
|
661
|
+
});
|
|
662
|
+
}),
|
|
663
|
+
]);
|
|
664
|
+
if (process.env.CODE_URL_WITH_AUTH && process.env.CLOUDBASE_CIID) {
|
|
665
|
+
const { pathname, hostname } = new URL(process.env.CODE_URL_WITH_AUTH);
|
|
666
|
+
if (/ci-source-1303824488\./.test(hostname) &&
|
|
667
|
+
new RegExp(`^/lca/${this._resolvedInputs.appId}`).test(pathname)) {
|
|
668
|
+
yield Promise.all([
|
|
669
|
+
new Promise((resolve, reject) => {
|
|
670
|
+
setTimeout(() => {
|
|
671
|
+
reject(new Error('删除快照超时'));
|
|
672
|
+
}, 10000);
|
|
673
|
+
}),
|
|
674
|
+
new Promise((resolve, reject) => {
|
|
675
|
+
var _a, _b;
|
|
676
|
+
cos.deleteObject({
|
|
677
|
+
Bucket: ((_a = this._artifactOptions) === null || _a === void 0 ? void 0 : _a.bucket) || '',
|
|
678
|
+
Region: ((_b = this._artifactOptions) === null || _b === void 0 ? void 0 : _b.region) || '',
|
|
679
|
+
Key: pathname.replace(/^\//, ''),
|
|
680
|
+
}, (err, data) => {
|
|
681
|
+
if (err) {
|
|
682
|
+
reject(err);
|
|
683
|
+
}
|
|
684
|
+
else {
|
|
685
|
+
resolve(data);
|
|
686
|
+
}
|
|
687
|
+
});
|
|
688
|
+
}),
|
|
689
|
+
]);
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
this.api.logger.info(`上传构建快照成功`);
|
|
693
|
+
}
|
|
694
|
+
catch (e) {
|
|
695
|
+
this.api.logger.error(`上传构建快照失败:`, e);
|
|
696
|
+
}
|
|
697
|
+
yield new Promise((resolve, reject) => {
|
|
698
|
+
var _a, _b, _c;
|
|
699
|
+
cos.putObject({
|
|
700
|
+
Bucket: ((_a = this._artifactOptions) === null || _a === void 0 ? void 0 : _a.bucket) || '',
|
|
701
|
+
Region: ((_b = this._artifactOptions) === null || _b === void 0 ? void 0 : _b.region) || '',
|
|
702
|
+
Key: `${(_c = this._artifactOptions) === null || _c === void 0 ? void 0 : _c.baseKey}/input.json`,
|
|
703
|
+
Body: Buffer.from(JSON.stringify(Object.assign(Object.assign({}, rest), { deployOptions: Object.assign({}, restDeployOptions) }), undefined, 2)),
|
|
704
|
+
}, (err, data) => {
|
|
705
|
+
if (err) {
|
|
706
|
+
reject(err);
|
|
707
|
+
}
|
|
708
|
+
else {
|
|
709
|
+
resolve(data);
|
|
710
|
+
}
|
|
711
|
+
});
|
|
712
|
+
});
|
|
713
|
+
}
|
|
655
714
|
});
|
|
656
715
|
}
|
|
657
716
|
_zipDir(src, dist) {
|
|
@@ -669,6 +728,25 @@ class LowCodePlugin extends framework_core_1.Plugin {
|
|
|
669
728
|
});
|
|
670
729
|
});
|
|
671
730
|
}
|
|
731
|
+
_initCos() {
|
|
732
|
+
let { credential } = this._resolvedInputs;
|
|
733
|
+
return (credential === null || credential === void 0 ? void 0 : credential.token)
|
|
734
|
+
? new cos_nodejs_sdk_v5_1.default({
|
|
735
|
+
getAuthorization(options, callback) {
|
|
736
|
+
callback({
|
|
737
|
+
TmpSecretId: (credential === null || credential === void 0 ? void 0 : credential.secretId) || '',
|
|
738
|
+
TmpSecretKey: (credential === null || credential === void 0 ? void 0 : credential.secretKey) || '',
|
|
739
|
+
XCosSecurityToken: (credential === null || credential === void 0 ? void 0 : credential.token) || '',
|
|
740
|
+
ExpiredTime: Math.floor(Date.now() / 1000) + 600,
|
|
741
|
+
StartTime: Math.floor(Date.now() / 1000),
|
|
742
|
+
});
|
|
743
|
+
},
|
|
744
|
+
})
|
|
745
|
+
: new cos_nodejs_sdk_v5_1.default({
|
|
746
|
+
SecretId: credential === null || credential === void 0 ? void 0 : credential.secretId,
|
|
747
|
+
SecretKey: credential === null || credential === void 0 ? void 0 : credential.secretKey,
|
|
748
|
+
});
|
|
749
|
+
}
|
|
672
750
|
}
|
|
673
751
|
function resolveInputs(inputs, defaultInputs) {
|
|
674
752
|
return Object.assign({}, defaultInputs, inputs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/framework-plugin-low-code",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.34-alpha.1",
|
|
4
4
|
"description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
|
|
5
5
|
"author": "yhsunshining@gmail.com",
|
|
6
6
|
"homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"url": "https://github.com/TencentCloudBase/cloudbase-framework/issues"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@cloudbase/cals": "^1.0.
|
|
37
|
+
"@cloudbase/cals": "^1.0.62",
|
|
38
38
|
"@cloudbase/framework-core": "^1.8.16",
|
|
39
39
|
"@cloudbase/framework-plugin-auth": "^1.8.16",
|
|
40
40
|
"@cloudbase/framework-plugin-website": "^1.8.17",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@types/cross-spawn": "^6.0.2",
|
|
57
57
|
"@types/fs-extra": "^9.0.1",
|
|
58
58
|
"@types/less": "^3.0.1",
|
|
59
|
-
"@types/node": "^
|
|
59
|
+
"@types/node": "^20.11.16",
|
|
60
60
|
"@types/weixin-app": "^2.9.0",
|
|
61
61
|
"cross-spawn": "^6.0.5",
|
|
62
62
|
"csstype": "^2.6.10",
|