@deot/dev-builder 2.7.0 → 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 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" || message.messageId === "TS18028") {
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" || message.messageId === "TS18028") {
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.7.0",
3
+ "version": "2.7.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",