@deot/dev-builder 2.6.2 → 2.7.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/dist/index.cjs +9 -1
- package/dist/index.js +9 -1
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -228,9 +228,17 @@ const run$1 = async (options) => {
|
|
|
228
228
|
* than the bundled compiler engine; consider upgrading API Extractor.
|
|
229
229
|
* 3. console-preamble
|
|
230
230
|
* Analysis will use the bundled TypeScript version 5.0.4
|
|
231
|
+
*
|
|
232
|
+
*
|
|
233
|
+
* 4. TS2590, TS2320, TS2344, TS2430
|
|
234
|
+
* 打包vue项目时,出现的warning
|
|
235
|
+
* (TS2344) Type 'C' does not satisfy the constraint 'ElementType<any>'.
|
|
236
|
+
* (TS2320) Interface 'Element' cannot simultaneously extend types 'VNode<RendererNode,
|
|
237
|
+
* (TS2430) Interface 'IntrinsicElements' incorrectly extends interface 'NativeElements'
|
|
238
|
+
* (TS2590) Expression produces a union type that is too complex to represent
|
|
231
239
|
*/
|
|
232
240
|
messageCallback: (message) => {
|
|
233
|
-
if (message.messageId === "console-compiler-version-notice" || message.messageId === "console-preamble" ||
|
|
241
|
+
if (message.messageId === "console-compiler-version-notice" || message.messageId === "console-preamble" || ["TS18028", "TS2590", "TS2320", "TS2344", "TS2430"].includes(message.messageId)) {
|
|
234
242
|
message.handled = true;
|
|
235
243
|
}
|
|
236
244
|
}
|
package/dist/index.js
CHANGED
|
@@ -202,9 +202,17 @@ const run$1 = async (options) => {
|
|
|
202
202
|
* than the bundled compiler engine; consider upgrading API Extractor.
|
|
203
203
|
* 3. console-preamble
|
|
204
204
|
* Analysis will use the bundled TypeScript version 5.0.4
|
|
205
|
+
*
|
|
206
|
+
*
|
|
207
|
+
* 4. TS2590, TS2320, TS2344, TS2430
|
|
208
|
+
* 打包vue项目时,出现的warning
|
|
209
|
+
* (TS2344) Type 'C' does not satisfy the constraint 'ElementType<any>'.
|
|
210
|
+
* (TS2320) Interface 'Element' cannot simultaneously extend types 'VNode<RendererNode,
|
|
211
|
+
* (TS2430) Interface 'IntrinsicElements' incorrectly extends interface 'NativeElements'
|
|
212
|
+
* (TS2590) Expression produces a union type that is too complex to represent
|
|
205
213
|
*/
|
|
206
214
|
messageCallback: (message) => {
|
|
207
|
-
if (message.messageId === "console-compiler-version-notice" || message.messageId === "console-preamble" ||
|
|
215
|
+
if (message.messageId === "console-compiler-version-notice" || message.messageId === "console-preamble" || ["TS18028", "TS2590", "TS2320", "TS2344", "TS2430"].includes(message.messageId)) {
|
|
208
216
|
message.handled = true;
|
|
209
217
|
}
|
|
210
218
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deot/dev-builder",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@deot/dev-react": "^2.
|
|
33
|
-
"@deot/dev-shared": "^2.
|
|
34
|
-
"@deot/dev-vue": "^2.
|
|
35
|
-
"@microsoft/api-extractor": "^7.38.
|
|
32
|
+
"@deot/dev-react": "^2.7.0",
|
|
33
|
+
"@deot/dev-shared": "^2.7.0",
|
|
34
|
+
"@deot/dev-vue": "^2.7.0",
|
|
35
|
+
"@microsoft/api-extractor": "^7.38.4",
|
|
36
36
|
"autoprefixer": "^10.4.16",
|
|
37
37
|
"chalk": "^5.3.0",
|
|
38
38
|
"cssnano": "^6.0.1",
|
|
39
|
-
"fs-extra": "^11.
|
|
39
|
+
"fs-extra": "^11.2.0",
|
|
40
40
|
"ora": "^7.0.1",
|
|
41
|
-
"postcss": "^8.4.
|
|
41
|
+
"postcss": "^8.4.32",
|
|
42
42
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
43
43
|
"postcss-import": "^15.1.0",
|
|
44
44
|
"postcss-url": "^10.1.3",
|
|
45
45
|
"sass": "^1.69.5",
|
|
46
|
-
"vite": "^
|
|
46
|
+
"vite": "^5.0.5"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"typescript": "^5.
|
|
49
|
+
"typescript": "^5.3.2"
|
|
50
50
|
}
|
|
51
51
|
}
|