@gct-paas/build 0.1.6-dev.8 → 0.1.6-dev.9
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
CHANGED
|
@@ -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"];
|
|
21
|
+
"@gct-paas/platform-icons", "@gct-paas/vue-pdf", "@gct-paas/vue-video-player", "@gct-paas/flow"];
|
|
@@ -80,7 +80,19 @@ function defineEslintConfig(...configs) {
|
|
|
80
80
|
"@typescript-eslint/no-dynamic-delete": "off",
|
|
81
81
|
// 其他规则覆盖
|
|
82
82
|
"class-methods-use-this": "off",
|
|
83
|
-
"prefer-destructuring": "off"
|
|
83
|
+
"prefer-destructuring": "off",
|
|
84
|
+
"no-restricted-imports": ["error", {
|
|
85
|
+
paths: [{
|
|
86
|
+
name: "@/index",
|
|
87
|
+
message: "\u7981\u6B62\u4ECE index \u5BFC\u5165\u5185\u5BB9"
|
|
88
|
+
}, {
|
|
89
|
+
name: "@/loader",
|
|
90
|
+
message: "\u7981\u6B62\u4ECE loader \u5BFC\u5165\u5185\u5BB9"
|
|
91
|
+
}, {
|
|
92
|
+
name: "..",
|
|
93
|
+
message: "\u7981\u6B62\u4ECE\u5185\u90E8\u5BFC\u5165\u5185\u5BB9\u81EA\u8EAB\u5185\u5BB9"
|
|
94
|
+
}]
|
|
95
|
+
}]
|
|
84
96
|
}
|
|
85
97
|
}, {
|
|
86
98
|
name: "ts-vue-override",
|
package/es/constants/index.mjs
CHANGED
|
@@ -98,7 +98,26 @@ export function defineEslintConfig(...configs) {
|
|
|
98
98
|
"@typescript-eslint/no-dynamic-delete": "off",
|
|
99
99
|
// 其他规则覆盖
|
|
100
100
|
"class-methods-use-this": "off",
|
|
101
|
-
"prefer-destructuring": "off"
|
|
101
|
+
"prefer-destructuring": "off",
|
|
102
|
+
"no-restricted-imports": [
|
|
103
|
+
"error",
|
|
104
|
+
{
|
|
105
|
+
paths: [
|
|
106
|
+
{
|
|
107
|
+
name: "@/index",
|
|
108
|
+
message: "\u7981\u6B62\u4ECE index \u5BFC\u5165\u5185\u5BB9"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: "@/loader",
|
|
112
|
+
message: "\u7981\u6B62\u4ECE loader \u5BFC\u5165\u5185\u5BB9"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: "..",
|
|
116
|
+
message: "\u7981\u6B62\u4ECE\u5185\u90E8\u5BFC\u5165\u5185\u5BB9\u81EA\u8EAB\u5185\u5BB9"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
]
|
|
102
121
|
}
|
|
103
122
|
},
|
|
104
123
|
{
|