@gct-paas/core 0.0.1-dev.19 → 0.0.1-dev.20
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/constants/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const STYLE_NAMESPACE_TAG = "gct";
|
|
|
5
5
|
/**
|
|
6
6
|
* 插件基础路径
|
|
7
7
|
*/
|
|
8
|
-
export declare const PLUGIN_BASE_URL = "/minio
|
|
8
|
+
export declare const PLUGIN_BASE_URL = "/minio";
|
|
9
9
|
export { EditorRegisterConst } from './editor-register/editor-register';
|
|
10
10
|
export { EditorType, EditorTypeOld } from './editor-type/editor-type';
|
|
11
11
|
export { FormContainerType } from './form-container-type/form-container-type';
|
package/es/constants/index.mjs
CHANGED
package/es/utils/axios/axios.mjs
CHANGED
|
@@ -51,7 +51,7 @@ class PluginPgkUtil {
|
|
|
51
51
|
static async loadPlugins(mode, configs) {
|
|
52
52
|
if (configs.length > 0) {
|
|
53
53
|
const plugins = configs.map((plugin) => {
|
|
54
|
-
const baseUrl = path.join(PLUGIN_BASE_URL, plugin.
|
|
54
|
+
const baseUrl = path.join(PLUGIN_BASE_URL, plugin.url, "dist");
|
|
55
55
|
return {
|
|
56
56
|
imports: {
|
|
57
57
|
[plugin.name]: `${baseUrl}/${mode}.system.min.js`
|
|
@@ -85,6 +85,7 @@ class PluginPgkUtil {
|
|
|
85
85
|
* @returns {*}
|
|
86
86
|
*/
|
|
87
87
|
static async loadPlugin(app, mode, platform, kit) {
|
|
88
|
+
kit = ["common", ...kit];
|
|
88
89
|
const tag = `${mode}-${platform}-${kit.join("_")}`;
|
|
89
90
|
try {
|
|
90
91
|
const configs = await this.loadPluginConfig(mode, platform);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/core",
|
|
3
|
-
"version": "0.0.1-dev.
|
|
3
|
+
"version": "0.0.1-dev.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台核心包",
|
|
6
6
|
"main": "dist/index.min.cjs",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"vue-i18n": "9.6.5"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@gct-paas/build": "0.0.1-dev.
|
|
60
|
-
"@gct-paas/cli": "0.0.1-dev.
|
|
59
|
+
"@gct-paas/build": "0.0.1-dev.20",
|
|
60
|
+
"@gct-paas/cli": "0.0.1-dev.20",
|
|
61
61
|
"@types/path-browserify": "^1.0.3",
|
|
62
62
|
"@types/qs": "^6.9.18",
|
|
63
63
|
"fs-extra": "^11.3.0"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"vue": "^3.x"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "9266f204c9c400c60c3aeffe6981eed0992fc243"
|
|
69
69
|
}
|