vite-plus 0.1.21 → 0.1.23
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/AGENTS.md +1 -0
- package/binding/index.cjs +120 -52
- package/binding/index.d.cts +3232 -2
- package/dist/agent-aSGY0osq.js +2461 -0
- package/dist/bin.js +9 -14
- package/dist/cli-truncate-CWsmbK3p.js +867 -0
- package/dist/{compat-DdC7fHjB.js → compat-DXZgnEyq.js} +1 -1
- package/dist/config/bin.js +18 -5
- package/dist/constants-DCBWlNrn.js +33 -0
- package/dist/create/bin.js +215 -77
- package/dist/{define-config-cWg3Z2bC.d.ts → define-config-COdn-tsn.d.ts} +7 -5
- package/dist/define-config.cjs +1 -1
- package/dist/define-config.d.ts +1 -1
- package/dist/define-config.js +1 -1
- package/dist/dist-Bapm49IR.js +3 -0
- package/dist/{dist-DjG9AYbK.js → dist-BgQuvbtq.js} +136 -110
- package/dist/fmt.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/is-fullwidth-code-point-BUNlIICg.js +8 -0
- package/dist/lint.d.ts +1 -1
- package/dist/{log-update-CLxR0iRf.js → log-update-lyIiuflf.js} +111 -24
- package/dist/{main-A6UrSTYb.js → main-DpJl3LoU.js} +1 -28
- package/dist/migration/bin.js +71 -30
- package/dist/oxlint-plugin-config-B89iKTKN.js +37 -0
- package/dist/oxlint-plugin.d.ts +6 -0
- package/dist/oxlint-plugin.js +91 -0
- package/dist/pack-bin.js +1 -1
- package/dist/pack.d.ts +1 -1
- package/dist/{package-CrKanQYM.js → package-PmBUZ-ve.js} +2 -1
- package/dist/staged/bin.js +10 -10
- package/dist/strip-ansi-C3wrWz9t.js +853 -0
- package/dist/{agent-D2ocSU01.js → tsconfig-DlUVXT3J.js} +666 -2090
- package/dist/version.js +5 -5
- package/dist/versions.js +6 -6
- package/dist/{workspace-QXeJWs3P.js → workspace-DElv730L.js} +15 -15
- package/dist/wrap-ansi-CeQuiQ31.js +2 -0
- package/dist/{wrap-ansi-Dy0LjO7Q.js → wrap-ansi-k7Dn4VtV.js} +1 -1
- package/docs/config/run.md +39 -4
- package/docs/guide/cache.md +10 -1
- package/docs/guide/create.md +3 -1
- package/docs/guide/env.md +26 -1
- package/docs/guide/ide-integration.md +2 -2
- package/docs/guide/install.md +6 -0
- package/docs/guide/run.md +2 -0
- package/docs/guide/troubleshooting.md +5 -2
- package/docs/package.json +3 -1
- package/docs/pnpm-lock.yaml +798 -62
- package/package.json +27 -19
- package/templates/monorepo/_gitignore +1 -0
- package/dist/cli-truncate-DJcN4dJ8.js +0 -138
- package/dist/dist-D2_BiE1V.js +0 -3
- package/dist/slice-ansi-CwJYd1aw.js +0 -113
- package/dist/strip-ansi-D86nYqKl.js +0 -198
- package/dist/tsconfig-lBAWm4sf.js +0 -517
- package/dist/wrap-ansi-DbY7Idw_.js +0 -2
- /package/dist/{chunk-q7NCDQ7-.js → chunk-DnnnRqeS.js} +0 -0
- /package/dist/{define-config-GqLoRwH9.cjs → define-config-BR1Y88zz.cjs} +0 -0
- /package/dist/{define-config-B62DkkqH.js → define-config-BRC7qPNE.js} +0 -0
- /package/dist/{help-BtkjXtRM.js → help-YP84FSEz.js} +0 -0
- /package/dist/{lib-BamM40b7.js → lib-L3DWSRQp.js} +0 -0
- /package/dist/{pack-BcBvbQgt.d.ts → pack-Ciiho0Tq.d.ts} +0 -0
- /package/dist/{report-DbrfjWiP.js → report-DgSBQUdz.js} +0 -0
- /package/dist/{resolve-vite-config-C1KX9CZU.js → resolve-vite-config-TTvhycU1.js} +0 -0
- /package/dist/{terminal-CxTMfsxZ.js → terminal-uTv0ZaMr.js} +0 -0
package/AGENTS.md
CHANGED
|
@@ -11,5 +11,6 @@ Docs are local at `node_modules/vite-plus/docs` or online at https://viteplus.de
|
|
|
11
11
|
- [ ] Run `vp install` after pulling remote changes and before getting started.
|
|
12
12
|
- [ ] Run `vp check` and `vp test` to format, lint, type check and test changes.
|
|
13
13
|
- [ ] Check if there are `vite.config.ts` tasks or `package.json` scripts necessary for validation, run via `vp run <script>`.
|
|
14
|
+
- [ ] If setup, runtime, or package-manager behavior looks wrong, run `vp env doctor` and include its output when asking for help.
|
|
14
15
|
|
|
15
16
|
<!--VITE PLUS END-->
|
package/binding/index.cjs
CHANGED
|
@@ -81,12 +81,12 @@ function requireNative() {
|
|
|
81
81
|
const bindingPackageVersion =
|
|
82
82
|
require('@voidzero-dev/vite-plus-android-arm64/package.json').version;
|
|
83
83
|
if (
|
|
84
|
-
bindingPackageVersion !== '0.
|
|
84
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
85
85
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
86
86
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
87
87
|
) {
|
|
88
88
|
throw new Error(
|
|
89
|
-
`Native binding package version mismatch, expected 0.
|
|
89
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
90
90
|
);
|
|
91
91
|
}
|
|
92
92
|
return binding;
|
|
@@ -104,12 +104,12 @@ function requireNative() {
|
|
|
104
104
|
const bindingPackageVersion =
|
|
105
105
|
require('@voidzero-dev/vite-plus-android-arm-eabi/package.json').version;
|
|
106
106
|
if (
|
|
107
|
-
bindingPackageVersion !== '0.
|
|
107
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
108
108
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
109
109
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
110
110
|
) {
|
|
111
111
|
throw new Error(
|
|
112
|
-
`Native binding package version mismatch, expected 0.
|
|
112
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
113
113
|
);
|
|
114
114
|
}
|
|
115
115
|
return binding;
|
|
@@ -135,12 +135,12 @@ function requireNative() {
|
|
|
135
135
|
const bindingPackageVersion =
|
|
136
136
|
require('@voidzero-dev/vite-plus-win32-x64-gnu/package.json').version;
|
|
137
137
|
if (
|
|
138
|
-
bindingPackageVersion !== '0.
|
|
138
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
139
139
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
140
140
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
141
141
|
) {
|
|
142
142
|
throw new Error(
|
|
143
|
-
`Native binding package version mismatch, expected 0.
|
|
143
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
146
|
return binding;
|
|
@@ -158,12 +158,12 @@ function requireNative() {
|
|
|
158
158
|
const bindingPackageVersion =
|
|
159
159
|
require('@voidzero-dev/vite-plus-win32-x64-msvc/package.json').version;
|
|
160
160
|
if (
|
|
161
|
-
bindingPackageVersion !== '0.
|
|
161
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
162
162
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
163
163
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
164
164
|
) {
|
|
165
165
|
throw new Error(
|
|
166
|
-
`Native binding package version mismatch, expected 0.
|
|
166
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
167
167
|
);
|
|
168
168
|
}
|
|
169
169
|
return binding;
|
|
@@ -182,12 +182,12 @@ function requireNative() {
|
|
|
182
182
|
const bindingPackageVersion =
|
|
183
183
|
require('@voidzero-dev/vite-plus-win32-ia32-msvc/package.json').version;
|
|
184
184
|
if (
|
|
185
|
-
bindingPackageVersion !== '0.
|
|
185
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
186
186
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
187
187
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
188
188
|
) {
|
|
189
189
|
throw new Error(
|
|
190
|
-
`Native binding package version mismatch, expected 0.
|
|
190
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
191
191
|
);
|
|
192
192
|
}
|
|
193
193
|
return binding;
|
|
@@ -205,12 +205,12 @@ function requireNative() {
|
|
|
205
205
|
const bindingPackageVersion =
|
|
206
206
|
require('@voidzero-dev/vite-plus-win32-arm64-msvc/package.json').version;
|
|
207
207
|
if (
|
|
208
|
-
bindingPackageVersion !== '0.
|
|
208
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
209
209
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
210
210
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
211
211
|
) {
|
|
212
212
|
throw new Error(
|
|
213
|
-
`Native binding package version mismatch, expected 0.
|
|
213
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
214
214
|
);
|
|
215
215
|
}
|
|
216
216
|
return binding;
|
|
@@ -231,12 +231,12 @@ function requireNative() {
|
|
|
231
231
|
const bindingPackageVersion =
|
|
232
232
|
require('@voidzero-dev/vite-plus-darwin-universal/package.json').version;
|
|
233
233
|
if (
|
|
234
|
-
bindingPackageVersion !== '0.
|
|
234
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
235
235
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
236
236
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
237
237
|
) {
|
|
238
238
|
throw new Error(
|
|
239
|
-
`Native binding package version mismatch, expected 0.
|
|
239
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
242
|
return binding;
|
|
@@ -254,12 +254,12 @@ function requireNative() {
|
|
|
254
254
|
const bindingPackageVersion =
|
|
255
255
|
require('@voidzero-dev/vite-plus-darwin-x64/package.json').version;
|
|
256
256
|
if (
|
|
257
|
-
bindingPackageVersion !== '0.
|
|
257
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
258
258
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
259
259
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
260
260
|
) {
|
|
261
261
|
throw new Error(
|
|
262
|
-
`Native binding package version mismatch, expected 0.
|
|
262
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
263
263
|
);
|
|
264
264
|
}
|
|
265
265
|
return binding;
|
|
@@ -277,12 +277,12 @@ function requireNative() {
|
|
|
277
277
|
const bindingPackageVersion =
|
|
278
278
|
require('@voidzero-dev/vite-plus-darwin-arm64/package.json').version;
|
|
279
279
|
if (
|
|
280
|
-
bindingPackageVersion !== '0.
|
|
280
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
281
281
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
282
282
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
283
283
|
) {
|
|
284
284
|
throw new Error(
|
|
285
|
-
`Native binding package version mismatch, expected 0.
|
|
285
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
288
|
return binding;
|
|
@@ -304,12 +304,12 @@ function requireNative() {
|
|
|
304
304
|
const bindingPackageVersion =
|
|
305
305
|
require('@voidzero-dev/vite-plus-freebsd-x64/package.json').version;
|
|
306
306
|
if (
|
|
307
|
-
bindingPackageVersion !== '0.
|
|
307
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
308
308
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
309
309
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
310
310
|
) {
|
|
311
311
|
throw new Error(
|
|
312
|
-
`Native binding package version mismatch, expected 0.
|
|
312
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
313
313
|
);
|
|
314
314
|
}
|
|
315
315
|
return binding;
|
|
@@ -327,12 +327,12 @@ function requireNative() {
|
|
|
327
327
|
const bindingPackageVersion =
|
|
328
328
|
require('@voidzero-dev/vite-plus-freebsd-arm64/package.json').version;
|
|
329
329
|
if (
|
|
330
|
-
bindingPackageVersion !== '0.
|
|
330
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
331
331
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
332
332
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
333
333
|
) {
|
|
334
334
|
throw new Error(
|
|
335
|
-
`Native binding package version mismatch, expected 0.
|
|
335
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
336
336
|
);
|
|
337
337
|
}
|
|
338
338
|
return binding;
|
|
@@ -355,12 +355,12 @@ function requireNative() {
|
|
|
355
355
|
const bindingPackageVersion =
|
|
356
356
|
require('@voidzero-dev/vite-plus-linux-x64-musl/package.json').version;
|
|
357
357
|
if (
|
|
358
|
-
bindingPackageVersion !== '0.
|
|
358
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
359
359
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
360
360
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
361
361
|
) {
|
|
362
362
|
throw new Error(
|
|
363
|
-
`Native binding package version mismatch, expected 0.
|
|
363
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
364
364
|
);
|
|
365
365
|
}
|
|
366
366
|
return binding;
|
|
@@ -378,12 +378,12 @@ function requireNative() {
|
|
|
378
378
|
const bindingPackageVersion =
|
|
379
379
|
require('@voidzero-dev/vite-plus-linux-x64-gnu/package.json').version;
|
|
380
380
|
if (
|
|
381
|
-
bindingPackageVersion !== '0.
|
|
381
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
382
382
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
383
383
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
384
384
|
) {
|
|
385
385
|
throw new Error(
|
|
386
|
-
`Native binding package version mismatch, expected 0.
|
|
386
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
387
387
|
);
|
|
388
388
|
}
|
|
389
389
|
return binding;
|
|
@@ -403,12 +403,12 @@ function requireNative() {
|
|
|
403
403
|
const bindingPackageVersion =
|
|
404
404
|
require('@voidzero-dev/vite-plus-linux-arm64-musl/package.json').version;
|
|
405
405
|
if (
|
|
406
|
-
bindingPackageVersion !== '0.
|
|
406
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
407
407
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
408
408
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
409
409
|
) {
|
|
410
410
|
throw new Error(
|
|
411
|
-
`Native binding package version mismatch, expected 0.
|
|
411
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
412
412
|
);
|
|
413
413
|
}
|
|
414
414
|
return binding;
|
|
@@ -426,12 +426,12 @@ function requireNative() {
|
|
|
426
426
|
const bindingPackageVersion =
|
|
427
427
|
require('@voidzero-dev/vite-plus-linux-arm64-gnu/package.json').version;
|
|
428
428
|
if (
|
|
429
|
-
bindingPackageVersion !== '0.
|
|
429
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
430
430
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
431
431
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
432
432
|
) {
|
|
433
433
|
throw new Error(
|
|
434
|
-
`Native binding package version mismatch, expected 0.
|
|
434
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
435
435
|
);
|
|
436
436
|
}
|
|
437
437
|
return binding;
|
|
@@ -451,12 +451,12 @@ function requireNative() {
|
|
|
451
451
|
const bindingPackageVersion =
|
|
452
452
|
require('@voidzero-dev/vite-plus-linux-arm-musleabihf/package.json').version;
|
|
453
453
|
if (
|
|
454
|
-
bindingPackageVersion !== '0.
|
|
454
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
455
455
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
456
456
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
457
457
|
) {
|
|
458
458
|
throw new Error(
|
|
459
|
-
`Native binding package version mismatch, expected 0.
|
|
459
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
460
460
|
);
|
|
461
461
|
}
|
|
462
462
|
return binding;
|
|
@@ -474,12 +474,12 @@ function requireNative() {
|
|
|
474
474
|
const bindingPackageVersion =
|
|
475
475
|
require('@voidzero-dev/vite-plus-linux-arm-gnueabihf/package.json').version;
|
|
476
476
|
if (
|
|
477
|
-
bindingPackageVersion !== '0.
|
|
477
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
478
478
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
479
479
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
480
480
|
) {
|
|
481
481
|
throw new Error(
|
|
482
|
-
`Native binding package version mismatch, expected 0.
|
|
482
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
483
483
|
);
|
|
484
484
|
}
|
|
485
485
|
return binding;
|
|
@@ -499,12 +499,12 @@ function requireNative() {
|
|
|
499
499
|
const bindingPackageVersion =
|
|
500
500
|
require('@voidzero-dev/vite-plus-linux-loong64-musl/package.json').version;
|
|
501
501
|
if (
|
|
502
|
-
bindingPackageVersion !== '0.
|
|
502
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
503
503
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
504
504
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
505
505
|
) {
|
|
506
506
|
throw new Error(
|
|
507
|
-
`Native binding package version mismatch, expected 0.
|
|
507
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
510
|
return binding;
|
|
@@ -522,12 +522,12 @@ function requireNative() {
|
|
|
522
522
|
const bindingPackageVersion =
|
|
523
523
|
require('@voidzero-dev/vite-plus-linux-loong64-gnu/package.json').version;
|
|
524
524
|
if (
|
|
525
|
-
bindingPackageVersion !== '0.
|
|
525
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
526
526
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
527
527
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
528
528
|
) {
|
|
529
529
|
throw new Error(
|
|
530
|
-
`Native binding package version mismatch, expected 0.
|
|
530
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
531
531
|
);
|
|
532
532
|
}
|
|
533
533
|
return binding;
|
|
@@ -547,12 +547,12 @@ function requireNative() {
|
|
|
547
547
|
const bindingPackageVersion =
|
|
548
548
|
require('@voidzero-dev/vite-plus-linux-riscv64-musl/package.json').version;
|
|
549
549
|
if (
|
|
550
|
-
bindingPackageVersion !== '0.
|
|
550
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
551
551
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
552
552
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
553
553
|
) {
|
|
554
554
|
throw new Error(
|
|
555
|
-
`Native binding package version mismatch, expected 0.
|
|
555
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
556
556
|
);
|
|
557
557
|
}
|
|
558
558
|
return binding;
|
|
@@ -570,12 +570,12 @@ function requireNative() {
|
|
|
570
570
|
const bindingPackageVersion =
|
|
571
571
|
require('@voidzero-dev/vite-plus-linux-riscv64-gnu/package.json').version;
|
|
572
572
|
if (
|
|
573
|
-
bindingPackageVersion !== '0.
|
|
573
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
574
574
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
575
575
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
576
576
|
) {
|
|
577
577
|
throw new Error(
|
|
578
|
-
`Native binding package version mismatch, expected 0.
|
|
578
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
579
579
|
);
|
|
580
580
|
}
|
|
581
581
|
return binding;
|
|
@@ -594,12 +594,12 @@ function requireNative() {
|
|
|
594
594
|
const bindingPackageVersion =
|
|
595
595
|
require('@voidzero-dev/vite-plus-linux-ppc64-gnu/package.json').version;
|
|
596
596
|
if (
|
|
597
|
-
bindingPackageVersion !== '0.
|
|
597
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
598
598
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
599
599
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
600
600
|
) {
|
|
601
601
|
throw new Error(
|
|
602
|
-
`Native binding package version mismatch, expected 0.
|
|
602
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
603
603
|
);
|
|
604
604
|
}
|
|
605
605
|
return binding;
|
|
@@ -617,12 +617,12 @@ function requireNative() {
|
|
|
617
617
|
const bindingPackageVersion =
|
|
618
618
|
require('@voidzero-dev/vite-plus-linux-s390x-gnu/package.json').version;
|
|
619
619
|
if (
|
|
620
|
-
bindingPackageVersion !== '0.
|
|
620
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
621
621
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
622
622
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
623
623
|
) {
|
|
624
624
|
throw new Error(
|
|
625
|
-
`Native binding package version mismatch, expected 0.
|
|
625
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
626
626
|
);
|
|
627
627
|
}
|
|
628
628
|
return binding;
|
|
@@ -644,12 +644,12 @@ function requireNative() {
|
|
|
644
644
|
const bindingPackageVersion =
|
|
645
645
|
require('@voidzero-dev/vite-plus-openharmony-arm64/package.json').version;
|
|
646
646
|
if (
|
|
647
|
-
bindingPackageVersion !== '0.
|
|
647
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
648
648
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
649
649
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
650
650
|
) {
|
|
651
651
|
throw new Error(
|
|
652
|
-
`Native binding package version mismatch, expected 0.
|
|
652
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
653
653
|
);
|
|
654
654
|
}
|
|
655
655
|
return binding;
|
|
@@ -667,12 +667,12 @@ function requireNative() {
|
|
|
667
667
|
const bindingPackageVersion =
|
|
668
668
|
require('@voidzero-dev/vite-plus-openharmony-x64/package.json').version;
|
|
669
669
|
if (
|
|
670
|
-
bindingPackageVersion !== '0.
|
|
670
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
671
671
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
672
672
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
673
673
|
) {
|
|
674
674
|
throw new Error(
|
|
675
|
-
`Native binding package version mismatch, expected 0.
|
|
675
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
676
676
|
);
|
|
677
677
|
}
|
|
678
678
|
return binding;
|
|
@@ -690,12 +690,12 @@ function requireNative() {
|
|
|
690
690
|
const bindingPackageVersion =
|
|
691
691
|
require('@voidzero-dev/vite-plus-openharmony-arm/package.json').version;
|
|
692
692
|
if (
|
|
693
|
-
bindingPackageVersion !== '0.
|
|
693
|
+
bindingPackageVersion !== '0.1.23' &&
|
|
694
694
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
695
695
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
696
696
|
) {
|
|
697
697
|
throw new Error(
|
|
698
|
-
`Native binding package version mismatch, expected 0.
|
|
698
|
+
`Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
699
699
|
);
|
|
700
700
|
}
|
|
701
701
|
return binding;
|
|
@@ -765,8 +765,76 @@ if (!nativeBinding) {
|
|
|
765
765
|
}
|
|
766
766
|
|
|
767
767
|
module.exports = nativeBinding;
|
|
768
|
+
module.exports.LegalCommentsMode = nativeBinding.LegalCommentsMode;
|
|
769
|
+
module.exports.minify = nativeBinding.minify;
|
|
770
|
+
module.exports.minifySync = nativeBinding.minifySync;
|
|
771
|
+
module.exports.Severity = nativeBinding.Severity;
|
|
772
|
+
module.exports.ParseResult = nativeBinding.ParseResult;
|
|
773
|
+
module.exports.ExportExportNameKind = nativeBinding.ExportExportNameKind;
|
|
774
|
+
module.exports.ExportImportNameKind = nativeBinding.ExportImportNameKind;
|
|
775
|
+
module.exports.ExportLocalNameKind = nativeBinding.ExportLocalNameKind;
|
|
776
|
+
module.exports.ImportNameKind = nativeBinding.ImportNameKind;
|
|
777
|
+
module.exports.parse = nativeBinding.parse;
|
|
778
|
+
module.exports.parseSync = nativeBinding.parseSync;
|
|
779
|
+
module.exports.rawTransferSupported = nativeBinding.rawTransferSupported;
|
|
780
|
+
module.exports.ResolverFactory = nativeBinding.ResolverFactory;
|
|
781
|
+
module.exports.EnforceExtension = nativeBinding.EnforceExtension;
|
|
782
|
+
module.exports.ModuleType = nativeBinding.ModuleType;
|
|
783
|
+
module.exports.sync = nativeBinding.sync;
|
|
784
|
+
module.exports.HelperMode = nativeBinding.HelperMode;
|
|
785
|
+
module.exports.isolatedDeclaration = nativeBinding.isolatedDeclaration;
|
|
786
|
+
module.exports.isolatedDeclarationSync = nativeBinding.isolatedDeclarationSync;
|
|
787
|
+
module.exports.moduleRunnerTransform = nativeBinding.moduleRunnerTransform;
|
|
788
|
+
module.exports.moduleRunnerTransformSync = nativeBinding.moduleRunnerTransformSync;
|
|
789
|
+
module.exports.transform = nativeBinding.transform;
|
|
790
|
+
module.exports.transformSync = nativeBinding.transformSync;
|
|
791
|
+
module.exports.BindingBundleEndEventData = nativeBinding.BindingBundleEndEventData;
|
|
792
|
+
module.exports.BindingBundleErrorEventData = nativeBinding.BindingBundleErrorEventData;
|
|
793
|
+
module.exports.BindingBundler = nativeBinding.BindingBundler;
|
|
794
|
+
module.exports.BindingCallableBuiltinPlugin = nativeBinding.BindingCallableBuiltinPlugin;
|
|
795
|
+
module.exports.BindingChunkingContext = nativeBinding.BindingChunkingContext;
|
|
796
|
+
module.exports.BindingDecodedMap = nativeBinding.BindingDecodedMap;
|
|
797
|
+
module.exports.BindingDevEngine = nativeBinding.BindingDevEngine;
|
|
798
|
+
module.exports.BindingLoadPluginContext = nativeBinding.BindingLoadPluginContext;
|
|
799
|
+
module.exports.BindingMagicString = nativeBinding.BindingMagicString;
|
|
800
|
+
module.exports.BindingModuleInfo = nativeBinding.BindingModuleInfo;
|
|
801
|
+
module.exports.BindingNormalizedOptions = nativeBinding.BindingNormalizedOptions;
|
|
802
|
+
module.exports.BindingOutputAsset = nativeBinding.BindingOutputAsset;
|
|
803
|
+
module.exports.BindingOutputChunk = nativeBinding.BindingOutputChunk;
|
|
804
|
+
module.exports.BindingPluginContext = nativeBinding.BindingPluginContext;
|
|
805
|
+
module.exports.BindingRenderedChunk = nativeBinding.BindingRenderedChunk;
|
|
806
|
+
module.exports.BindingRenderedChunkMeta = nativeBinding.BindingRenderedChunkMeta;
|
|
807
|
+
module.exports.BindingRenderedModule = nativeBinding.BindingRenderedModule;
|
|
808
|
+
module.exports.BindingSourceMap = nativeBinding.BindingSourceMap;
|
|
809
|
+
module.exports.BindingTransformPluginContext = nativeBinding.BindingTransformPluginContext;
|
|
810
|
+
module.exports.BindingWatcher = nativeBinding.BindingWatcher;
|
|
811
|
+
module.exports.BindingWatcherBundler = nativeBinding.BindingWatcherBundler;
|
|
812
|
+
module.exports.BindingWatcherChangeData = nativeBinding.BindingWatcherChangeData;
|
|
813
|
+
module.exports.BindingWatcherEvent = nativeBinding.BindingWatcherEvent;
|
|
814
|
+
module.exports.ParallelJsPluginRegistry = nativeBinding.ParallelJsPluginRegistry;
|
|
815
|
+
module.exports.ScheduledBuild = nativeBinding.ScheduledBuild;
|
|
816
|
+
module.exports.TraceSubscriberGuard = nativeBinding.TraceSubscriberGuard;
|
|
817
|
+
module.exports.TsconfigCache = nativeBinding.TsconfigCache;
|
|
818
|
+
module.exports.BindingAttachDebugInfo = nativeBinding.BindingAttachDebugInfo;
|
|
819
|
+
module.exports.BindingBuiltinPluginName = nativeBinding.BindingBuiltinPluginName;
|
|
820
|
+
module.exports.BindingChunkModuleOrderBy = nativeBinding.BindingChunkModuleOrderBy;
|
|
821
|
+
module.exports.BindingLogLevel = nativeBinding.BindingLogLevel;
|
|
822
|
+
module.exports.BindingPluginOrder = nativeBinding.BindingPluginOrder;
|
|
823
|
+
module.exports.BindingPropertyReadSideEffects = nativeBinding.BindingPropertyReadSideEffects;
|
|
824
|
+
module.exports.BindingPropertyWriteSideEffects = nativeBinding.BindingPropertyWriteSideEffects;
|
|
825
|
+
module.exports.BindingRebuildStrategy = nativeBinding.BindingRebuildStrategy;
|
|
826
|
+
module.exports.collapseSourcemaps = nativeBinding.collapseSourcemaps;
|
|
827
|
+
module.exports.enhancedTransform = nativeBinding.enhancedTransform;
|
|
828
|
+
module.exports.enhancedTransformSync = nativeBinding.enhancedTransformSync;
|
|
829
|
+
module.exports.FilterTokenKind = nativeBinding.FilterTokenKind;
|
|
830
|
+
module.exports.initTraceSubscriber = nativeBinding.initTraceSubscriber;
|
|
831
|
+
module.exports.registerPlugins = nativeBinding.registerPlugins;
|
|
832
|
+
module.exports.resolveTsconfig = nativeBinding.resolveTsconfig;
|
|
833
|
+
module.exports.shutdownAsyncRuntime = nativeBinding.shutdownAsyncRuntime;
|
|
834
|
+
module.exports.startAsyncRuntime = nativeBinding.startAsyncRuntime;
|
|
768
835
|
module.exports.detectWorkspace = nativeBinding.detectWorkspace;
|
|
769
836
|
module.exports.downloadPackageManager = nativeBinding.downloadPackageManager;
|
|
837
|
+
module.exports.hasConfigKey = nativeBinding.hasConfigKey;
|
|
770
838
|
module.exports.mergeJsonConfig = nativeBinding.mergeJsonConfig;
|
|
771
839
|
module.exports.mergeTsdownConfig = nativeBinding.mergeTsdownConfig;
|
|
772
840
|
module.exports.rewriteEslint = nativeBinding.rewriteEslint;
|