@gct-paas/build 0.1.6-dev.9 → 0.1.6
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/constants/index.cjs +2 -2
- package/es/constants/index.mjs +6 -1
- package/package.json +11 -11
package/dist/constants/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.PROD_MODE = exports.DEV_MODE = exports.DEFAULT_EXTERNAL = void 0;
|
|
7
7
|
const DEV_MODE = exports.DEV_MODE = "development";
|
|
8
8
|
const PROD_MODE = exports.PROD_MODE = "production";
|
|
9
|
-
const DEFAULT_EXTERNAL = exports.DEFAULT_EXTERNAL = [
|
|
9
|
+
const DEFAULT_EXTERNAL = exports.DEFAULT_EXTERNAL = ["@babel/standalone", "esprima-next", "estraverse", "escodegen",
|
|
10
10
|
// vue 相关依赖
|
|
11
11
|
"vue", "vue-router", "vue-i18n", "pinia",
|
|
12
12
|
// 第三方依赖
|
|
@@ -18,4 +18,4 @@ const DEFAULT_EXTERNAL = exports.DEFAULT_EXTERNAL = [
|
|
|
18
18
|
// @gct-paas 底包相关依赖
|
|
19
19
|
"@gct-paas/api", "@gct-paas/core", "@gct-paas/core-mobile", "@gct-paas/core-web", "@gct-paas/core-pad", "@gct-paas/design", "@gct-paas/design-mobile", "@gct-paas/design-web", "@gct-paas/design-pad", "@gct-paas/render", "@gct-paas/render-mobile", "@gct-paas/render-pad", "@gct-paas/render-web", "@gct-paas/schema", "@gct-paas/scss",
|
|
20
20
|
// @gct-paas 独立组件库
|
|
21
|
-
"@gct-paas/platform-icons", "@gct-paas/vue-pdf", "@gct-paas/vue-video-player", "@gct-paas/flow"];
|
|
21
|
+
"@gct-paas/platform-icons", "@gct-paas/vue-pdf", "@gct-paas/vue-video-player", "@gct-paas/flow", "@gct-paas/monaco-vue-editor"];
|
package/es/constants/index.mjs
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export const DEV_MODE = "development";
|
|
2
2
|
export const PROD_MODE = "production";
|
|
3
3
|
export const DEFAULT_EXTERNAL = [
|
|
4
|
+
"@babel/standalone",
|
|
5
|
+
"esprima-next",
|
|
6
|
+
"estraverse",
|
|
7
|
+
"escodegen",
|
|
4
8
|
// vue 相关依赖
|
|
5
9
|
"vue",
|
|
6
10
|
"vue-router",
|
|
@@ -52,5 +56,6 @@ export const DEFAULT_EXTERNAL = [
|
|
|
52
56
|
"@gct-paas/platform-icons",
|
|
53
57
|
"@gct-paas/vue-pdf",
|
|
54
58
|
"@gct-paas/vue-video-player",
|
|
55
|
-
"@gct-paas/flow"
|
|
59
|
+
"@gct-paas/flow",
|
|
60
|
+
"@gct-paas/monaco-vue-editor"
|
|
56
61
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/build",
|
|
3
|
-
"version": "0.1.6
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台核心包",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -29,15 +29,6 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"author": "gct",
|
|
32
|
-
"scripts": {
|
|
33
|
-
"build": "unbuild",
|
|
34
|
-
"lint": "eslint src/",
|
|
35
|
-
"publish:next": "npm run build && npm publish --access public --tag=next --registry=https://registry.npmjs.org/",
|
|
36
|
-
"publish:dev": "npm run build && npm publish --access public --tag=dev --registry=https://registry.npmjs.org/",
|
|
37
|
-
"publish:alpha": "npm run build && npm publish --access public --tag=alpha --registry=https://registry.npmjs.org/",
|
|
38
|
-
"publish:beta": "npm run build && npm publish --access public --tag=beta --registry=https://registry.npmjs.org/",
|
|
39
|
-
"publish:npm": "npm run build && npm publish --access public --registry=https://registry.npmjs.org/"
|
|
40
|
-
},
|
|
41
32
|
"dependencies": {
|
|
42
33
|
"@commitlint/cli": "^20.4.4",
|
|
43
34
|
"@commitlint/config-conventional": "^20.4.4",
|
|
@@ -99,5 +90,14 @@
|
|
|
99
90
|
},
|
|
100
91
|
"peerDependencies": {
|
|
101
92
|
"@gct-paas/scss": "*"
|
|
93
|
+
},
|
|
94
|
+
"scripts": {
|
|
95
|
+
"build": "unbuild",
|
|
96
|
+
"lint": "eslint src/",
|
|
97
|
+
"publish:next": "npm run build && npm publish --access public --tag=next --registry=https://registry.npmjs.org/",
|
|
98
|
+
"publish:dev": "npm run build && npm publish --access public --tag=dev --registry=https://registry.npmjs.org/",
|
|
99
|
+
"publish:alpha": "npm run build && npm publish --access public --tag=alpha --registry=https://registry.npmjs.org/",
|
|
100
|
+
"publish:beta": "npm run build && npm publish --access public --tag=beta --registry=https://registry.npmjs.org/",
|
|
101
|
+
"publish:npm": "npm run build && npm publish --access public --registry=https://registry.npmjs.org/"
|
|
102
102
|
}
|
|
103
|
-
}
|
|
103
|
+
}
|