vite-plus 1.0.0-rc.1 → 1.0.0
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/binding/index.cjs +54 -54
- package/dist/{agent-DIwEez_1.js → agent-CKMI1a8W.js} +2 -2
- package/dist/bin.js +5 -5
- package/dist/config/bin.js +2 -2
- package/dist/{constants-BAsBfS1J.js → constants-BqJiMVVU.js} +1 -1
- package/dist/create/bin.js +6 -6
- package/dist/{define-config-CAeeMTvb.cjs → define-config-C_KGDLUZ.cjs} +1 -1
- package/dist/{define-config-Bz6dc3fm.js → define-config-DhEJaYRc.js} +1 -1
- package/dist/define-config.cjs +1 -1
- package/dist/define-config.js +1 -1
- package/dist/{editor-DWgrWTbN.js → editor-CHfGUhxP.js} +6 -6
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/lint-plugins.cjs +1 -1
- package/dist/migration/bin.js +6 -6
- package/dist/{oxlint-plugin-config-B-P1a_0g.js → oxlint-plugin-config-lMMD5fAC.js} +1 -1
- package/dist/oxlint-plugin.js +2 -2
- package/dist/pack-bin.js +1 -1
- package/dist/{package-BrupPpWA.js → package-Cgdlhamw.js} +1 -1
- package/dist/{prompts-BW7_fDGJ.js → prompts-jMH8S4Wp.js} +1 -1
- package/dist/{resolve-vite-config-DcsMQaYy.js → resolve-vite-config-BJYYtfY3.js} +2 -2
- package/dist/{resolve-vite-config-D3XIVT6s.js → resolve-vite-config-BPgpYMYp.js} +1 -1
- package/dist/staged/bin.js +1 -1
- package/dist/toolchain.js +3 -3
- package/dist/toolchain.json +3 -3
- package/dist/{tsconfig-piorpNV7.js → tsconfig-BoYTBNX_.js} +2 -2
- package/dist/{tsconfig-DESFDzWP.js → tsconfig-CmKidmRD.js} +1 -1
- package/dist/version.js +2 -2
- package/docs/guide/migrate.md +4 -4
- package/package.json +11 -11
package/binding/index.cjs
CHANGED
|
@@ -93,12 +93,12 @@ function requireNative() {
|
|
|
93
93
|
const bindingPackageVersion =
|
|
94
94
|
require('@voidzero-dev/vite-plus-android-arm64/package.json').version;
|
|
95
95
|
if (
|
|
96
|
-
bindingPackageVersion !== '1.0.0
|
|
96
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
97
97
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
98
98
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
99
99
|
) {
|
|
100
100
|
throw new Error(
|
|
101
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
101
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
102
102
|
);
|
|
103
103
|
}
|
|
104
104
|
return binding;
|
|
@@ -116,12 +116,12 @@ function requireNative() {
|
|
|
116
116
|
const bindingPackageVersion =
|
|
117
117
|
require('@voidzero-dev/vite-plus-android-arm-eabi/package.json').version;
|
|
118
118
|
if (
|
|
119
|
-
bindingPackageVersion !== '1.0.0
|
|
119
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
120
120
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
121
121
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
122
122
|
) {
|
|
123
123
|
throw new Error(
|
|
124
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
124
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
125
125
|
);
|
|
126
126
|
}
|
|
127
127
|
return binding;
|
|
@@ -151,12 +151,12 @@ function requireNative() {
|
|
|
151
151
|
const bindingPackageVersion =
|
|
152
152
|
require('@voidzero-dev/vite-plus-win32-x64-gnu/package.json').version;
|
|
153
153
|
if (
|
|
154
|
-
bindingPackageVersion !== '1.0.0
|
|
154
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
155
155
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
156
156
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
157
157
|
) {
|
|
158
158
|
throw new Error(
|
|
159
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
159
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
160
160
|
);
|
|
161
161
|
}
|
|
162
162
|
return binding;
|
|
@@ -174,12 +174,12 @@ function requireNative() {
|
|
|
174
174
|
const bindingPackageVersion =
|
|
175
175
|
require('@voidzero-dev/vite-plus-win32-x64-msvc/package.json').version;
|
|
176
176
|
if (
|
|
177
|
-
bindingPackageVersion !== '1.0.0
|
|
177
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
178
178
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
179
179
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
180
180
|
) {
|
|
181
181
|
throw new Error(
|
|
182
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
182
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
183
183
|
);
|
|
184
184
|
}
|
|
185
185
|
return binding;
|
|
@@ -198,12 +198,12 @@ function requireNative() {
|
|
|
198
198
|
const bindingPackageVersion =
|
|
199
199
|
require('@voidzero-dev/vite-plus-win32-ia32-msvc/package.json').version;
|
|
200
200
|
if (
|
|
201
|
-
bindingPackageVersion !== '1.0.0
|
|
201
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
202
202
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
203
203
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
204
204
|
) {
|
|
205
205
|
throw new Error(
|
|
206
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
206
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
207
207
|
);
|
|
208
208
|
}
|
|
209
209
|
return binding;
|
|
@@ -221,12 +221,12 @@ function requireNative() {
|
|
|
221
221
|
const bindingPackageVersion =
|
|
222
222
|
require('@voidzero-dev/vite-plus-win32-arm64-msvc/package.json').version;
|
|
223
223
|
if (
|
|
224
|
-
bindingPackageVersion !== '1.0.0
|
|
224
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
225
225
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
226
226
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
227
227
|
) {
|
|
228
228
|
throw new Error(
|
|
229
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
229
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
232
|
return binding;
|
|
@@ -247,12 +247,12 @@ function requireNative() {
|
|
|
247
247
|
const bindingPackageVersion =
|
|
248
248
|
require('@voidzero-dev/vite-plus-darwin-universal/package.json').version;
|
|
249
249
|
if (
|
|
250
|
-
bindingPackageVersion !== '1.0.0
|
|
250
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
251
251
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
252
252
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
253
253
|
) {
|
|
254
254
|
throw new Error(
|
|
255
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
255
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
256
256
|
);
|
|
257
257
|
}
|
|
258
258
|
return binding;
|
|
@@ -270,12 +270,12 @@ function requireNative() {
|
|
|
270
270
|
const bindingPackageVersion =
|
|
271
271
|
require('@voidzero-dev/vite-plus-darwin-x64/package.json').version;
|
|
272
272
|
if (
|
|
273
|
-
bindingPackageVersion !== '1.0.0
|
|
273
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
274
274
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
275
275
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
276
276
|
) {
|
|
277
277
|
throw new Error(
|
|
278
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
278
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
279
279
|
);
|
|
280
280
|
}
|
|
281
281
|
return binding;
|
|
@@ -293,12 +293,12 @@ function requireNative() {
|
|
|
293
293
|
const bindingPackageVersion =
|
|
294
294
|
require('@voidzero-dev/vite-plus-darwin-arm64/package.json').version;
|
|
295
295
|
if (
|
|
296
|
-
bindingPackageVersion !== '1.0.0
|
|
296
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
297
297
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
298
298
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
299
299
|
) {
|
|
300
300
|
throw new Error(
|
|
301
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
301
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
302
302
|
);
|
|
303
303
|
}
|
|
304
304
|
return binding;
|
|
@@ -320,12 +320,12 @@ function requireNative() {
|
|
|
320
320
|
const bindingPackageVersion =
|
|
321
321
|
require('@voidzero-dev/vite-plus-freebsd-x64/package.json').version;
|
|
322
322
|
if (
|
|
323
|
-
bindingPackageVersion !== '1.0.0
|
|
323
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
324
324
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
325
325
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
326
326
|
) {
|
|
327
327
|
throw new Error(
|
|
328
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
328
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
329
329
|
);
|
|
330
330
|
}
|
|
331
331
|
return binding;
|
|
@@ -343,12 +343,12 @@ function requireNative() {
|
|
|
343
343
|
const bindingPackageVersion =
|
|
344
344
|
require('@voidzero-dev/vite-plus-freebsd-arm64/package.json').version;
|
|
345
345
|
if (
|
|
346
|
-
bindingPackageVersion !== '1.0.0
|
|
346
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
347
347
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
348
348
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
349
349
|
) {
|
|
350
350
|
throw new Error(
|
|
351
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
351
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
352
352
|
);
|
|
353
353
|
}
|
|
354
354
|
return binding;
|
|
@@ -371,12 +371,12 @@ function requireNative() {
|
|
|
371
371
|
const bindingPackageVersion =
|
|
372
372
|
require('@voidzero-dev/vite-plus-linux-x64-musl/package.json').version;
|
|
373
373
|
if (
|
|
374
|
-
bindingPackageVersion !== '1.0.0
|
|
374
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
375
375
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
376
376
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
377
377
|
) {
|
|
378
378
|
throw new Error(
|
|
379
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
379
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
380
380
|
);
|
|
381
381
|
}
|
|
382
382
|
return binding;
|
|
@@ -394,12 +394,12 @@ function requireNative() {
|
|
|
394
394
|
const bindingPackageVersion =
|
|
395
395
|
require('@voidzero-dev/vite-plus-linux-x64-gnu/package.json').version;
|
|
396
396
|
if (
|
|
397
|
-
bindingPackageVersion !== '1.0.0
|
|
397
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
398
398
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
399
399
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
400
400
|
) {
|
|
401
401
|
throw new Error(
|
|
402
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
402
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
403
403
|
);
|
|
404
404
|
}
|
|
405
405
|
return binding;
|
|
@@ -419,12 +419,12 @@ function requireNative() {
|
|
|
419
419
|
const bindingPackageVersion =
|
|
420
420
|
require('@voidzero-dev/vite-plus-linux-arm64-musl/package.json').version;
|
|
421
421
|
if (
|
|
422
|
-
bindingPackageVersion !== '1.0.0
|
|
422
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
423
423
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
424
424
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
425
425
|
) {
|
|
426
426
|
throw new Error(
|
|
427
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
427
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
428
428
|
);
|
|
429
429
|
}
|
|
430
430
|
return binding;
|
|
@@ -442,12 +442,12 @@ function requireNative() {
|
|
|
442
442
|
const bindingPackageVersion =
|
|
443
443
|
require('@voidzero-dev/vite-plus-linux-arm64-gnu/package.json').version;
|
|
444
444
|
if (
|
|
445
|
-
bindingPackageVersion !== '1.0.0
|
|
445
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
446
446
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
447
447
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
448
448
|
) {
|
|
449
449
|
throw new Error(
|
|
450
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
450
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
451
451
|
);
|
|
452
452
|
}
|
|
453
453
|
return binding;
|
|
@@ -467,12 +467,12 @@ function requireNative() {
|
|
|
467
467
|
const bindingPackageVersion =
|
|
468
468
|
require('@voidzero-dev/vite-plus-linux-arm-musleabihf/package.json').version;
|
|
469
469
|
if (
|
|
470
|
-
bindingPackageVersion !== '1.0.0
|
|
470
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
471
471
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
472
472
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
473
473
|
) {
|
|
474
474
|
throw new Error(
|
|
475
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
475
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
476
476
|
);
|
|
477
477
|
}
|
|
478
478
|
return binding;
|
|
@@ -490,12 +490,12 @@ function requireNative() {
|
|
|
490
490
|
const bindingPackageVersion =
|
|
491
491
|
require('@voidzero-dev/vite-plus-linux-arm-gnueabihf/package.json').version;
|
|
492
492
|
if (
|
|
493
|
-
bindingPackageVersion !== '1.0.0
|
|
493
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
494
494
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
495
495
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
496
496
|
) {
|
|
497
497
|
throw new Error(
|
|
498
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
498
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
499
499
|
);
|
|
500
500
|
}
|
|
501
501
|
return binding;
|
|
@@ -515,12 +515,12 @@ function requireNative() {
|
|
|
515
515
|
const bindingPackageVersion =
|
|
516
516
|
require('@voidzero-dev/vite-plus-linux-loong64-musl/package.json').version;
|
|
517
517
|
if (
|
|
518
|
-
bindingPackageVersion !== '1.0.0
|
|
518
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
519
519
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
520
520
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
521
521
|
) {
|
|
522
522
|
throw new Error(
|
|
523
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
523
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
524
524
|
);
|
|
525
525
|
}
|
|
526
526
|
return binding;
|
|
@@ -538,12 +538,12 @@ function requireNative() {
|
|
|
538
538
|
const bindingPackageVersion =
|
|
539
539
|
require('@voidzero-dev/vite-plus-linux-loong64-gnu/package.json').version;
|
|
540
540
|
if (
|
|
541
|
-
bindingPackageVersion !== '1.0.0
|
|
541
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
542
542
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
543
543
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
544
544
|
) {
|
|
545
545
|
throw new Error(
|
|
546
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
546
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
547
547
|
);
|
|
548
548
|
}
|
|
549
549
|
return binding;
|
|
@@ -563,12 +563,12 @@ function requireNative() {
|
|
|
563
563
|
const bindingPackageVersion =
|
|
564
564
|
require('@voidzero-dev/vite-plus-linux-riscv64-musl/package.json').version;
|
|
565
565
|
if (
|
|
566
|
-
bindingPackageVersion !== '1.0.0
|
|
566
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
567
567
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
568
568
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
569
569
|
) {
|
|
570
570
|
throw new Error(
|
|
571
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
571
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
572
572
|
);
|
|
573
573
|
}
|
|
574
574
|
return binding;
|
|
@@ -586,12 +586,12 @@ function requireNative() {
|
|
|
586
586
|
const bindingPackageVersion =
|
|
587
587
|
require('@voidzero-dev/vite-plus-linux-riscv64-gnu/package.json').version;
|
|
588
588
|
if (
|
|
589
|
-
bindingPackageVersion !== '1.0.0
|
|
589
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
590
590
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
591
591
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
592
592
|
) {
|
|
593
593
|
throw new Error(
|
|
594
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
594
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
595
595
|
);
|
|
596
596
|
}
|
|
597
597
|
return binding;
|
|
@@ -610,12 +610,12 @@ function requireNative() {
|
|
|
610
610
|
const bindingPackageVersion =
|
|
611
611
|
require('@voidzero-dev/vite-plus-linux-ppc64-gnu/package.json').version;
|
|
612
612
|
if (
|
|
613
|
-
bindingPackageVersion !== '1.0.0
|
|
613
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
614
614
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
615
615
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
616
616
|
) {
|
|
617
617
|
throw new Error(
|
|
618
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
618
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
619
619
|
);
|
|
620
620
|
}
|
|
621
621
|
return binding;
|
|
@@ -633,12 +633,12 @@ function requireNative() {
|
|
|
633
633
|
const bindingPackageVersion =
|
|
634
634
|
require('@voidzero-dev/vite-plus-linux-s390x-gnu/package.json').version;
|
|
635
635
|
if (
|
|
636
|
-
bindingPackageVersion !== '1.0.0
|
|
636
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
637
637
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
638
638
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
639
639
|
) {
|
|
640
640
|
throw new Error(
|
|
641
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
641
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
642
642
|
);
|
|
643
643
|
}
|
|
644
644
|
return binding;
|
|
@@ -660,12 +660,12 @@ function requireNative() {
|
|
|
660
660
|
const bindingPackageVersion =
|
|
661
661
|
require('@voidzero-dev/vite-plus-openharmony-arm64/package.json').version;
|
|
662
662
|
if (
|
|
663
|
-
bindingPackageVersion !== '1.0.0
|
|
663
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
664
664
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
665
665
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
666
666
|
) {
|
|
667
667
|
throw new Error(
|
|
668
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
668
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
669
669
|
);
|
|
670
670
|
}
|
|
671
671
|
return binding;
|
|
@@ -683,12 +683,12 @@ function requireNative() {
|
|
|
683
683
|
const bindingPackageVersion =
|
|
684
684
|
require('@voidzero-dev/vite-plus-openharmony-x64/package.json').version;
|
|
685
685
|
if (
|
|
686
|
-
bindingPackageVersion !== '1.0.0
|
|
686
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
687
687
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
688
688
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
689
689
|
) {
|
|
690
690
|
throw new Error(
|
|
691
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
691
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
692
692
|
);
|
|
693
693
|
}
|
|
694
694
|
return binding;
|
|
@@ -706,12 +706,12 @@ function requireNative() {
|
|
|
706
706
|
const bindingPackageVersion =
|
|
707
707
|
require('@voidzero-dev/vite-plus-openharmony-arm/package.json').version;
|
|
708
708
|
if (
|
|
709
|
-
bindingPackageVersion !== '1.0.0
|
|
709
|
+
bindingPackageVersion !== '1.0.0' &&
|
|
710
710
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
711
711
|
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
712
712
|
) {
|
|
713
713
|
throw new Error(
|
|
714
|
-
`Native binding package version mismatch, expected 1.0.0
|
|
714
|
+
`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
715
715
|
);
|
|
716
716
|
}
|
|
717
717
|
return binding;
|
|
@@ -857,9 +857,9 @@ if (!nativeBinding || forceWasi) {
|
|
|
857
857
|
) {
|
|
858
858
|
const bindingPackageVersion =
|
|
859
859
|
require('@voidzero-dev/vite-plus-wasm32-wasi/package.json').version;
|
|
860
|
-
if (bindingPackageVersion !== '1.0.0
|
|
860
|
+
if (bindingPackageVersion !== '1.0.0') {
|
|
861
861
|
throw new Error(
|
|
862
|
-
`WASI binding package version mismatch, expected 1.0.0
|
|
862
|
+
`WASI binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`,
|
|
863
863
|
);
|
|
864
864
|
}
|
|
865
865
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as rewriteDocumentationLinks } from "./documentation-DqcZSthV.js";
|
|
2
|
-
import { a as SETUP_VP_VERSION } from "./constants-
|
|
3
|
-
import { C as multiselect, S as log, T as select, k as isCancel } from "./prompts-
|
|
2
|
+
import { a as SETUP_VP_VERSION } from "./constants-BqJiMVVU.js";
|
|
3
|
+
import { C as multiselect, S as log, T as select, k as isCancel } from "./prompts-jMH8S4Wp.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { styleText } from "node:util";
|
|
6
6
|
import fs from "node:fs";
|
package/dist/bin.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as documentationUrl$1 } from "./documentation-DqcZSthV.js";
|
|
2
2
|
import { t as renderCliDoc } from "./help-BmKpeOP9.js";
|
|
3
3
|
import { c as warnMsg, i as log, n as errorMsg, o as printHeader, t as accent } from "./terminal-MKGAuy-p.js";
|
|
4
|
-
import { g as resolveBundled, h as resolve$1, i as DEFAULT_ENVS, l as VITE_CONFIG_FILES, n as BASEURL_TSCONFIG_WARNING, r as CONFIG_METADATA_ENV, u as VITE_PLUS_NAME } from "./constants-
|
|
5
|
-
import { r as createDefaultVitePlusLintConfig } from "./oxlint-plugin-config-
|
|
6
|
-
import { a as readNearestPackageJson } from "./package-
|
|
4
|
+
import { g as resolveBundled, h as resolve$1, i as DEFAULT_ENVS, l as VITE_CONFIG_FILES, n as BASEURL_TSCONFIG_WARNING, r as CONFIG_METADATA_ENV, u as VITE_PLUS_NAME } from "./constants-BqJiMVVU.js";
|
|
5
|
+
import { r as createDefaultVitePlusLintConfig } from "./oxlint-plugin-config-lMMD5fAC.js";
|
|
6
|
+
import { a as readNearestPackageJson } from "./package-Cgdlhamw.js";
|
|
7
7
|
import { t as cac } from "./dist-DfmT__Aw.js";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import path, { dirname, join, resolve } from "node:path";
|
|
@@ -1527,7 +1527,7 @@ async function applyToolInitConfigToViteConfig(command, args, projectPath = proc
|
|
|
1527
1527
|
}
|
|
1528
1528
|
if (spec.configKey === "lint" && hasTriggerFlag(args, ["--init"])) {
|
|
1529
1529
|
const lintInitConfigPath = path.join(projectPath, ".vite-plus-lint-init.oxlintrc.json");
|
|
1530
|
-
const { fixBaseUrlInTsconfig, hasBaseUrlInTsconfig } = await import("./tsconfig-
|
|
1530
|
+
const { fixBaseUrlInTsconfig, hasBaseUrlInTsconfig } = await import("./tsconfig-CmKidmRD.js");
|
|
1531
1531
|
await fixBaseUrlInTsconfig(projectPath);
|
|
1532
1532
|
const hasBaseUrl = hasBaseUrlInTsconfig(projectPath);
|
|
1533
1533
|
const initConfig = createDefaultVitePlusLintConfig({ includeTypeAwareDefaults: !hasBaseUrl });
|
|
@@ -1857,7 +1857,7 @@ else if (command === "hooks") await import("./hooks/bin.js");
|
|
|
1857
1857
|
else if (command === "--version" || command === "-V") await import("./version.js");
|
|
1858
1858
|
else if (command === "staged") await import("./staged/bin.js");
|
|
1859
1859
|
else try {
|
|
1860
|
-
const { resolveUniversalViteConfig } = await import("./resolve-vite-config-
|
|
1860
|
+
const { resolveUniversalViteConfig } = await import("./resolve-vite-config-BPgpYMYp.js");
|
|
1861
1861
|
const initInspection = inspectInitCommand(command, args.slice(1));
|
|
1862
1862
|
if (initInspection.handled && initInspection.configKey && initInspection.hasExistingConfigKey && initInspection.existingViteConfigPath) {
|
|
1863
1863
|
log(`Skipped initialization: '${accent(initInspection.configKey)}' already exists in '${accent(path.basename(initInspection.existingViteConfigPath))}'.`);
|
package/dist/config/bin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as log, n as errorMsg } from "../terminal-MKGAuy-p.js";
|
|
2
|
-
import { i as promptGitHooks, n as defaultInteractive } from "../prompts-
|
|
2
|
+
import { i as promptGitHooks, n as defaultInteractive } from "../prompts-jMH8S4Wp.js";
|
|
3
3
|
import { t as require_dist } from "../dist-BWiANxFS.js";
|
|
4
|
-
import { o as updateExistingAgentInstructions } from "../agent-
|
|
4
|
+
import { o as updateExistingAgentInstructions } from "../agent-CKMI1a8W.js";
|
|
5
5
|
import { a as install, c as resolveHooksLocation, o as isGitHooksEnvDisabled, s as isHooksUserDisabled } from "../hooks-C-4gykWR.js";
|
|
6
6
|
import { t as unwrapCliParseOutcome } from "../cli-parse-DHE8NrBU.js";
|
|
7
7
|
import path, { join, relative } from "node:path";
|
package/dist/create/bin.js
CHANGED
|
@@ -2,14 +2,14 @@ import { r as __toESM, t as __commonJSMin } from "../rolldown-runtime-CMFfr-1z.j
|
|
|
2
2
|
import { t as documentationUrl$1 } from "../documentation-DqcZSthV.js";
|
|
3
3
|
import { t as renderCliDoc } from "../help-BmKpeOP9.js";
|
|
4
4
|
import { a as muted, i as log, o as printHeader, r as formatDuration, s as success, t as accent } from "../terminal-MKGAuy-p.js";
|
|
5
|
-
import { u as VITE_PLUS_NAME } from "../constants-
|
|
5
|
+
import { u as VITE_PLUS_NAME } from "../constants-BqJiMVVU.js";
|
|
6
6
|
import { i as readJsonFile, n as editJsonFile } from "../json-JP24qHUF.js";
|
|
7
|
-
import { o as fetchNpmResource, r as getScopeFromPackageName, s as getNpmRegistry, t as checkNpmPackageExists } from "../package-
|
|
8
|
-
import { i as hasViteConfig, o as resolveViteConfig, r as findWorkspaceRoot, t as findViteConfig } from "../resolve-vite-config-
|
|
9
|
-
import { C as multiselect, D as text, E as spinner, O as require_picocolors, S as log$1, T as select, a as resolveGitInit, c as selectPackageManager, d as readYamlFile, h as resolveApproveBuildTargets, i as promptGitHooks, k as isCancel, m as detectGatedBuilds, n as defaultInteractive, o as runViteFmt, p as approveBuilds, r as downloadPackageManager$1, s as runViteInstall, t as cancelAndExit, u as editYamlFile, v as DependencyType, x as intro, y as PackageManager } from "../prompts-
|
|
7
|
+
import { o as fetchNpmResource, r as getScopeFromPackageName, s as getNpmRegistry, t as checkNpmPackageExists } from "../package-Cgdlhamw.js";
|
|
8
|
+
import { i as hasViteConfig, o as resolveViteConfig, r as findWorkspaceRoot, t as findViteConfig } from "../resolve-vite-config-BJYYtfY3.js";
|
|
9
|
+
import { C as multiselect, D as text, E as spinner, O as require_picocolors, S as log$1, T as select, a as resolveGitInit, c as selectPackageManager, d as readYamlFile, h as resolveApproveBuildTargets, i as promptGitHooks, k as isCancel, m as detectGatedBuilds, n as defaultInteractive, o as runViteFmt, p as approveBuilds, r as downloadPackageManager$1, s as runViteInstall, t as cancelAndExit, u as editYamlFile, v as DependencyType, x as intro, y as PackageManager } from "../prompts-jMH8S4Wp.js";
|
|
10
10
|
import { n as require_semver } from "../dist-BWiANxFS.js";
|
|
11
|
-
import { a as selectAgentTargets, c as writeCopilotSetupWorkflow, d as templatesDir, l as displayRelative, r as detectExistingAgentTargetPaths, s as writeAgentInstructions, t as COPILOT_AGENT_ID } from "../agent-
|
|
12
|
-
import { B as addFrameworkShim, F as updateWorkspaceConfig, H as hasFrameworkShim, K as promptTsupMigration, L as findGitRoot, M as detectWorkspace$1, N as isBingoTemplate, P as updatePackageJsonWithDeps, R as initGitRepository, V as detectFramework, W as detectTsupProject, Y as detectPrettierProject, Z as promptPrettierMigration, _ as installGitHooks, a as selectEditors, b as injectCreateDefaultTemplate, c as rewriteMonorepoProject, et as detectEslintProject, h as setPackageManager, j as supportsCatalog, l as rewriteStandaloneProject, n as detectExistingEditors, o as writeEditorConfigs, rt as promptEslintMigration, s as rewriteMonorepo, y as shouldSkipStagedMigrationForHooks } from "../editor-
|
|
11
|
+
import { a as selectAgentTargets, c as writeCopilotSetupWorkflow, d as templatesDir, l as displayRelative, r as detectExistingAgentTargetPaths, s as writeAgentInstructions, t as COPILOT_AGENT_ID } from "../agent-CKMI1a8W.js";
|
|
12
|
+
import { B as addFrameworkShim, F as updateWorkspaceConfig, H as hasFrameworkShim, K as promptTsupMigration, L as findGitRoot, M as detectWorkspace$1, N as isBingoTemplate, P as updatePackageJsonWithDeps, R as initGitRepository, V as detectFramework, W as detectTsupProject, Y as detectPrettierProject, Z as promptPrettierMigration, _ as installGitHooks, a as selectEditors, b as injectCreateDefaultTemplate, c as rewriteMonorepoProject, et as detectEslintProject, h as setPackageManager, j as supportsCatalog, l as rewriteStandaloneProject, n as detectExistingEditors, o as writeEditorConfigs, rt as promptEslintMigration, s as rewriteMonorepo, y as shouldSkipStagedMigrationForHooks } from "../editor-CHfGUhxP.js";
|
|
13
13
|
import { n as runCommandSilently, t as runCommand$1 } from "../command-CguLh2KL.js";
|
|
14
14
|
import { t as unwrapCliParseOutcome } from "../cli-parse-DHE8NrBU.js";
|
|
15
15
|
import path from "node:path";
|
|
@@ -38,7 +38,7 @@ let node_path = require("node:path");
|
|
|
38
38
|
let node_url = require("node:url");
|
|
39
39
|
let vitest_config = require("vitest/config");
|
|
40
40
|
//#region package.json
|
|
41
|
-
var version = "1.0.0
|
|
41
|
+
var version = "1.0.0", VITE_PLUS_VERSION, VITEST_VERSION, CONFIG_METADATA_ENV;
|
|
42
42
|
var init_constants = __esmMin((() => {
|
|
43
43
|
VITE_PLUS_VERSION = process.env.VP_VERSION || version;
|
|
44
44
|
VITEST_VERSION = "5.0.1";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as VITEST_VERSION, r as CONFIG_METADATA_ENV } from "./constants-
|
|
1
|
+
import { c as VITEST_VERSION, r as CONFIG_METADATA_ENV } from "./constants-BqJiMVVU.js";
|
|
2
2
|
import { t as VITEST_RESOLVER_PACKAGES } from "./vitest-ecosystem-BU0AqZq-.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import path, { resolve } from "node:path";
|
package/dist/define-config.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_define_config = require("./define-config-
|
|
2
|
+
const require_define_config = require("./define-config-C_KGDLUZ.cjs");
|
|
3
3
|
require_define_config.init_define_config();
|
|
4
4
|
exports.AUTO_INLINE_DEPS = require_define_config.AUTO_INLINE_DEPS;
|
|
5
5
|
exports.assertCoverageProviderVersionMatch = require_define_config.assertCoverageProviderVersionMatch;
|
package/dist/define-config.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as defineConfig, c as lazyPlugins, i as computeAutoInlineList, l as resolveCoverageProviderToCheck, n as assertCoverageProviderVersionMatch, o as defineProject, r as checkCoverageProviderVersion, s as isVitestFamilySpecifier, t as AUTO_INLINE_DEPS, u as withConfigMetadataResolution } from "./define-config-
|
|
1
|
+
import { a as defineConfig, c as lazyPlugins, i as computeAutoInlineList, l as resolveCoverageProviderToCheck, n as assertCoverageProviderVersionMatch, o as defineProject, r as checkCoverageProviderVersion, s as isVitestFamilySpecifier, t as AUTO_INLINE_DEPS, u as withConfigMetadataResolution } from "./define-config-DhEJaYRc.js";
|
|
2
2
|
export { AUTO_INLINE_DEPS, assertCoverageProviderVersionMatch, checkCoverageProviderVersion, computeAutoInlineList, defineConfig, defineProject, isVitestFamilySpecifier, lazyPlugins, resolveCoverageProviderToCheck, withConfigMetadataResolution };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime-CMFfr-1z.js";
|
|
2
2
|
import { t as documentationUrl$1 } from "./documentation-DqcZSthV.js";
|
|
3
|
-
import { a as SETUP_VP_VERSION, c as VITEST_VERSION, d as VITE_PLUS_OVERRIDE_PACKAGES, f as VITE_PLUS_VERSION, l as VITE_CONFIG_FILES, m as isForceOverrideMode, n as BASEURL_TSCONFIG_WARNING, o as TSDOWN_MIGRATION_SKILL_URL, s as VITEST_AGE_GATE_EXEMPT_PACKAGES, u as VITE_PLUS_NAME } from "./constants-
|
|
4
|
-
import { i as ensureVitePlusImportRuleDefaults, r as createDefaultVitePlusLintConfig } from "./oxlint-plugin-config-
|
|
3
|
+
import { a as SETUP_VP_VERSION, c as VITEST_VERSION, d as VITE_PLUS_OVERRIDE_PACKAGES, f as VITE_PLUS_VERSION, l as VITE_CONFIG_FILES, m as isForceOverrideMode, n as BASEURL_TSCONFIG_WARNING, o as TSDOWN_MIGRATION_SKILL_URL, s as VITEST_AGE_GATE_EXEMPT_PACKAGES, u as VITE_PLUS_NAME } from "./constants-BqJiMVVU.js";
|
|
4
|
+
import { i as ensureVitePlusImportRuleDefaults, r as createDefaultVitePlusLintConfig } from "./oxlint-plugin-config-lMMD5fAC.js";
|
|
5
5
|
import { a as writeJsonFile, c as modify, i as readJsonFile, l as parse, n as editJsonFile, o as applyEdits, r as isJsonFile, t as detectFormattingOptions } from "./json-JP24qHUF.js";
|
|
6
|
-
import { n as detectPackageMetadata, o as fetchNpmResource, r as getScopeFromPackageName, s as getNpmRegistry } from "./package-
|
|
6
|
+
import { n as detectPackageMetadata, o as fetchNpmResource, r as getScopeFromPackageName, s as getNpmRegistry } from "./package-Cgdlhamw.js";
|
|
7
7
|
import { n as isAlignableVitestEcosystemPackage } from "./vitest-ecosystem-BU0AqZq-.js";
|
|
8
|
-
import { C as multiselect, S as log, T as select, _ as getSpinner, b as confirm, d as readYamlFile, f as scalarString, g as getSilentSpinner, k as isCancel, t as cancelAndExit, u as editYamlFile, y as PackageManager } from "./prompts-
|
|
8
|
+
import { C as multiselect, S as log, T as select, _ as getSpinner, b as confirm, d as readYamlFile, f as scalarString, g as getSilentSpinner, k as isCancel, t as cancelAndExit, u as editYamlFile, y as PackageManager } from "./prompts-jMH8S4Wp.js";
|
|
9
9
|
import { n as require_semver, t as require_dist } from "./dist-BWiANxFS.js";
|
|
10
|
-
import { l as displayRelative, u as rulesDir } from "./agent-
|
|
10
|
+
import { l as displayRelative, u as rulesDir } from "./agent-CKMI1a8W.js";
|
|
11
11
|
import { n as addMigrationWarning, t as addManualStep } from "./report-NhQk8VHb.js";
|
|
12
12
|
import { n as runCommandSilently, r as require_cross_spawn } from "./command-CguLh2KL.js";
|
|
13
|
-
import { a as hasBaseUrlInTsconfig, c as hasVitestTypesInTsconfig, l as removeDeprecatedTsconfigFalseOption, n as findTsconfigFiles, s as hasTypesToRewriteInTsconfig, u as rewriteTypesInTsconfig } from "./tsconfig-
|
|
13
|
+
import { a as hasBaseUrlInTsconfig, c as hasVitestTypesInTsconfig, l as removeDeprecatedTsconfigFalseOption, n as findTsconfigFiles, s as hasTypesToRewriteInTsconfig, u as rewriteTypesInTsconfig } from "./tsconfig-BoYTBNX_.js";
|
|
14
14
|
import { t as extractOverrideTargetName } from "./package-overrides-Dpn4scvN.js";
|
|
15
15
|
import { i as findUnsafeHookInstallPath, t as SUPPORTED_GIT_HOOK_NAMES } from "./hooks-C-4gykWR.js";
|
|
16
16
|
import path, { posix, win32 } from "node:path";
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_define_config = require("./define-config-
|
|
1
|
+
const require_define_config = require("./define-config-C_KGDLUZ.cjs");
|
|
2
2
|
//#region src/index.cts
|
|
3
3
|
const vite = require("vite");
|
|
4
4
|
const { configDefaults, coverageConfigDefaults, defaultBrowserPort, defaultExclude, defaultInclude } = require("vitest/config");
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as defineConfig, c as lazyPlugins, o as defineProject } from "./define-config-
|
|
1
|
+
import { a as defineConfig, c as lazyPlugins, o as defineProject } from "./define-config-DhEJaYRc.js";
|
|
2
2
|
import { configDefaults, coverageConfigDefaults, defaultBrowserPort, defaultExclude, defaultInclude } from "vitest/config";
|
|
3
3
|
export * from "vite";
|
|
4
4
|
export { configDefaults, coverageConfigDefaults, defaultBrowserPort, defaultExclude, defaultInclude, defineConfig, defineProject, lazyPlugins };
|
package/dist/lint-plugins.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./define-config-
|
|
2
|
+
require("./define-config-C_KGDLUZ.cjs");
|
|
3
3
|
let _oxlint_plugins = require("@oxlint/plugins");
|
|
4
4
|
Object.defineProperty(exports, "definePlugin", {
|
|
5
5
|
enumerable: true,
|
package/dist/migration/bin.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as __toESM } from "../rolldown-runtime-CMFfr-1z.js";
|
|
2
2
|
import { t as documentationUrl$1 } from "../documentation-DqcZSthV.js";
|
|
3
3
|
import { a as muted, c as warnMsg, i as log, o as printHeader, r as formatDuration, t as accent } from "../terminal-MKGAuy-p.js";
|
|
4
|
-
import { _ as engines, a as SETUP_VP_VERSION, d as VITE_PLUS_OVERRIDE_PACKAGES, f as VITE_PLUS_VERSION, m as isForceOverrideMode } from "../constants-
|
|
4
|
+
import { _ as engines, a as SETUP_VP_VERSION, d as VITE_PLUS_OVERRIDE_PACKAGES, f as VITE_PLUS_VERSION, m as isForceOverrideMode } from "../constants-BqJiMVVU.js";
|
|
5
5
|
import { a as writeJsonFile, c as modify, i as readJsonFile, l as parse, o as applyEdits, s as findNodeAtLocation, u as parseTree } from "../json-JP24qHUF.js";
|
|
6
|
-
import { a as readNearestPackageJson, i as hasVitePlusDependency, n as detectPackageMetadata } from "../package-
|
|
6
|
+
import { a as readNearestPackageJson, i as hasVitePlusDependency, n as detectPackageMetadata } from "../package-Cgdlhamw.js";
|
|
7
7
|
import { t as vitest_v5_entry_points_default } from "../vitest-v5-entry-points-DthU1e_O.js";
|
|
8
|
-
import { E as spinner, S as log$1, T as select, b as confirm, c as selectPackageManager, i as promptGitHooks, k as isCancel, l as upgradeYarn, n as defaultInteractive, o as runViteFmt, r as downloadPackageManager$1, s as runViteInstall, t as cancelAndExit, w as outro, y as PackageManager } from "../prompts-
|
|
8
|
+
import { E as spinner, S as log$1, T as select, b as confirm, c as selectPackageManager, i as promptGitHooks, k as isCancel, l as upgradeYarn, n as defaultInteractive, o as runViteFmt, r as downloadPackageManager$1, s as runViteInstall, t as cancelAndExit, w as outro, y as PackageManager } from "../prompts-jMH8S4Wp.js";
|
|
9
9
|
import { n as require_semver, t as require_dist } from "../dist-BWiANxFS.js";
|
|
10
|
-
import { i as selectAgentTargetPaths, l as displayRelative, n as detectAgentConflicts, r as detectExistingAgentTargetPaths, s as writeAgentInstructions } from "../agent-
|
|
10
|
+
import { i as selectAgentTargetPaths, l as displayRelative, n as detectAgentConflicts, r as detectExistingAgentTargetPaths, s as writeAgentInstructions } from "../agent-CKMI1a8W.js";
|
|
11
11
|
import { n as addMigrationWarning, r as createMigrationReport } from "../report-NhQk8VHb.js";
|
|
12
|
-
import { $ as confirmEslintMigration, A as createCatalogDependencyResolver, B as addFrameworkShim, C as mergeViteConfigFiles, D as usesWebdriverioProvider, E as ensureVitePlusBootstrap, G as migrateTsupToTsdown, H as hasFrameworkShim, I as minimatch, J as confirmPrettierMigration, L as findGitRoot, M as detectWorkspace$1, O as configureYarnNodeModulesMode, Q as warnPackageLevelPrettier, S as mergeTsdownConfigFile, T as detectVitePlusBootstrapPending, U as confirmTsupMigration, V as detectFramework, W as detectTsupProject, X as migratePrettierToOxfmt, Y as detectPrettierProject, _ as installGitHooks, at as warnLegacyEslintConfig, ct as checkViteVersion, d as finalizeCoreMigrationForExistingVitePlus, et as detectEslintProject, f as detectNodeVersionManagerFile, g as detectLegacyGitHooksMigrationCandidate, i as selectEditor, it as warnIncompatibleEslintIntegration, k as detectYarnPnpMode, l as rewriteStandaloneProject, lt as checkVitestVersion, m as migrateSetupVpVersion, nt as migrateEslintToOxlint, o as writeEditorConfigs, ot as warnPackageLevelEslint, p as migrateNodeVersionManagerFile, q as warnMissingTsupConfig, r as isJsonLikeFile, s as rewriteMonorepo, st as WEBDRIVERIO_PROVIDER, t as detectEditorConflicts, tt as detectIncompatibleEslintIntegration, u as detectPendingCoreMigration, v as preflightGitHooksSetup, w as collectToolchainVersionChanges, x as injectLintTypeCheckDefaults, y as shouldSkipStagedMigrationForHooks, z as extractOverrideParentSegments } from "../editor-
|
|
12
|
+
import { $ as confirmEslintMigration, A as createCatalogDependencyResolver, B as addFrameworkShim, C as mergeViteConfigFiles, D as usesWebdriverioProvider, E as ensureVitePlusBootstrap, G as migrateTsupToTsdown, H as hasFrameworkShim, I as minimatch, J as confirmPrettierMigration, L as findGitRoot, M as detectWorkspace$1, O as configureYarnNodeModulesMode, Q as warnPackageLevelPrettier, S as mergeTsdownConfigFile, T as detectVitePlusBootstrapPending, U as confirmTsupMigration, V as detectFramework, W as detectTsupProject, X as migratePrettierToOxfmt, Y as detectPrettierProject, _ as installGitHooks, at as warnLegacyEslintConfig, ct as checkViteVersion, d as finalizeCoreMigrationForExistingVitePlus, et as detectEslintProject, f as detectNodeVersionManagerFile, g as detectLegacyGitHooksMigrationCandidate, i as selectEditor, it as warnIncompatibleEslintIntegration, k as detectYarnPnpMode, l as rewriteStandaloneProject, lt as checkVitestVersion, m as migrateSetupVpVersion, nt as migrateEslintToOxlint, o as writeEditorConfigs, ot as warnPackageLevelEslint, p as migrateNodeVersionManagerFile, q as warnMissingTsupConfig, r as isJsonLikeFile, s as rewriteMonorepo, st as WEBDRIVERIO_PROVIDER, t as detectEditorConflicts, tt as detectIncompatibleEslintIntegration, u as detectPendingCoreMigration, v as preflightGitHooksSetup, w as collectToolchainVersionChanges, x as injectLintTypeCheckDefaults, y as shouldSkipStagedMigrationForHooks, z as extractOverrideParentSegments } from "../editor-CHfGUhxP.js";
|
|
13
13
|
import { n as runCommandSilently } from "../command-CguLh2KL.js";
|
|
14
|
-
import { a as hasBaseUrlInTsconfig, i as fixBaseUrlInTsconfig, t as confirmBaseUrlFix } from "../tsconfig-
|
|
14
|
+
import { a as hasBaseUrlInTsconfig, i as fixBaseUrlInTsconfig, t as confirmBaseUrlFix } from "../tsconfig-BoYTBNX_.js";
|
|
15
15
|
import { t as extractOverrideTargetName } from "../package-overrides-Dpn4scvN.js";
|
|
16
16
|
import { t as unwrapCliParseOutcome } from "../cli-parse-DHE8NrBU.js";
|
|
17
17
|
import { t as ROLLDOWN_COMPAT_RESULT_PREFIX } from "../protocol-D99W10Qi.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as VITE_PLUS_NAME } from "./constants-
|
|
1
|
+
import { u as VITE_PLUS_NAME } from "./constants-BqJiMVVU.js";
|
|
2
2
|
//#region src/oxlint-plugin-config.ts
|
|
3
3
|
const VITE_PLUS_OXLINT_PLUGIN_NAME = VITE_PLUS_NAME;
|
|
4
4
|
const VITE_PLUS_OXLINT_PLUGIN_SPECIFIER = `${VITE_PLUS_NAME}/oxlint-plugin`;
|
package/dist/oxlint-plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as exports } from "./constants-
|
|
2
|
-
import { n as VITE_PLUS_OXLINT_PLUGIN_NAME, t as PREFER_VITE_PLUS_IMPORTS_RULE_NAME } from "./oxlint-plugin-config-
|
|
1
|
+
import { v as exports } from "./constants-BqJiMVVU.js";
|
|
2
|
+
import { n as VITE_PLUS_OXLINT_PLUGIN_NAME, t as PREFER_VITE_PLUS_IMPORTS_RULE_NAME } from "./oxlint-plugin-config-lMMD5fAC.js";
|
|
3
3
|
import { t as vitest_v5_entry_points_default } from "./vitest-v5-entry-points-DthU1e_O.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs";
|
package/dist/pack-bin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as cac } from "./dist-DfmT__Aw.js";
|
|
3
|
-
import { o as resolveViteConfig } from "./resolve-vite-config-
|
|
3
|
+
import { o as resolveViteConfig } from "./resolve-vite-config-BJYYtfY3.js";
|
|
4
4
|
import module from "node:module";
|
|
5
5
|
import { buildWithConfigs, enableDebug, globalLogger, resolveUserConfig } from "vite/pack";
|
|
6
6
|
//#region src/pack-bin.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-CMFfr-1z.js";
|
|
2
2
|
import { t as accent } from "./terminal-MKGAuy-p.js";
|
|
3
|
-
import { f as VITE_PLUS_VERSION } from "./constants-
|
|
3
|
+
import { f as VITE_PLUS_VERSION } from "./constants-BqJiMVVU.js";
|
|
4
4
|
import { a as writeJsonFile, i as readJsonFile } from "./json-JP24qHUF.js";
|
|
5
5
|
import { n as require_semver, t as require_dist } from "./dist-BWiANxFS.js";
|
|
6
6
|
import { n as runCommandSilently } from "./command-CguLh2KL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as VITE_CONFIG_FILES } from "./constants-
|
|
2
|
-
import { u as withConfigMetadataResolution } from "./define-config-
|
|
1
|
+
import { l as VITE_CONFIG_FILES } from "./constants-BqJiMVVU.js";
|
|
2
|
+
import { u as withConfigMetadataResolution } from "./define-config-DhEJaYRc.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
//#region src/resolve-vite-config.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveUniversalViteConfig } from "./resolve-vite-config-
|
|
1
|
+
import { a as resolveUniversalViteConfig } from "./resolve-vite-config-BJYYtfY3.js";
|
|
2
2
|
export { resolveUniversalViteConfig };
|
package/dist/staged/bin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as __toESM, t as __commonJSMin } from "../rolldown-runtime-CMFfr-1z.js";
|
|
2
2
|
import { i as log, n as errorMsg, o as printHeader } from "../terminal-MKGAuy-p.js";
|
|
3
|
-
import { o as resolveViteConfig } from "../resolve-vite-config-
|
|
3
|
+
import { o as resolveViteConfig } from "../resolve-vite-config-BJYYtfY3.js";
|
|
4
4
|
import { t as unwrapCliParseOutcome } from "../cli-parse-DHE8NrBU.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import path, { basename, delimiter, dirname, normalize, resolve } from "node:path";
|
package/dist/toolchain.js
CHANGED
|
@@ -4,7 +4,7 @@ export const toolchain = {
|
|
|
4
4
|
{
|
|
5
5
|
"id": "vite-plus",
|
|
6
6
|
"name": "vite-plus",
|
|
7
|
-
"version": "1.0.0
|
|
7
|
+
"version": "1.0.0",
|
|
8
8
|
"kind": "package",
|
|
9
9
|
"delivery": [
|
|
10
10
|
"dependency"
|
|
@@ -14,7 +14,7 @@ export const toolchain = {
|
|
|
14
14
|
{
|
|
15
15
|
"id": "vite-plus-core",
|
|
16
16
|
"name": "@voidzero-dev/vite-plus-core",
|
|
17
|
-
"version": "1.0.0
|
|
17
|
+
"version": "1.0.0",
|
|
18
18
|
"kind": "package",
|
|
19
19
|
"delivery": [
|
|
20
20
|
"dependency"
|
|
@@ -100,7 +100,7 @@ export const toolchain = {
|
|
|
100
100
|
"id": "vite-task",
|
|
101
101
|
"name": "vite-task",
|
|
102
102
|
"revision": "7d69d6577ecf6bd83deee32186de59918a712873",
|
|
103
|
-
"builtAt": "2026-09-
|
|
103
|
+
"builtAt": "2026-09-28T02:31:26Z",
|
|
104
104
|
"kind": "tool",
|
|
105
105
|
"delivery": [
|
|
106
106
|
"compiled"
|
package/dist/toolchain.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "vite-plus",
|
|
6
6
|
"name": "vite-plus",
|
|
7
|
-
"version": "1.0.0
|
|
7
|
+
"version": "1.0.0",
|
|
8
8
|
"kind": "package",
|
|
9
9
|
"delivery": [
|
|
10
10
|
"dependency"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"id": "vite-plus-core",
|
|
16
16
|
"name": "@voidzero-dev/vite-plus-core",
|
|
17
|
-
"version": "1.0.0
|
|
17
|
+
"version": "1.0.0",
|
|
18
18
|
"kind": "package",
|
|
19
19
|
"delivery": [
|
|
20
20
|
"dependency"
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"id": "vite-task",
|
|
101
101
|
"name": "vite-task",
|
|
102
102
|
"revision": "7d69d6577ecf6bd83deee32186de59918a712873",
|
|
103
|
-
"builtAt": "2026-09-
|
|
103
|
+
"builtAt": "2026-09-28T02:31:26Z",
|
|
104
104
|
"kind": "tool",
|
|
105
105
|
"delivery": [
|
|
106
106
|
"compiled"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as createBaseUrlTsconfigFixArgs, t as BASEURL_TSCONFIG_FIX_PACKAGE } from "./constants-
|
|
1
|
+
import { p as createBaseUrlTsconfigFixArgs, t as BASEURL_TSCONFIG_FIX_PACKAGE } from "./constants-BqJiMVVU.js";
|
|
2
2
|
import { c as modify, l as parse, o as applyEdits } from "./json-JP24qHUF.js";
|
|
3
3
|
import { t as vitest_v5_entry_points_default } from "./vitest-v5-entry-points-DthU1e_O.js";
|
|
4
|
-
import { S as log, b as confirm, k as isCancel, t as cancelAndExit } from "./prompts-
|
|
4
|
+
import { S as log, b as confirm, k as isCancel, t as cancelAndExit } from "./prompts-jMH8S4Wp.js";
|
|
5
5
|
import { n as runCommandSilently } from "./command-CguLh2KL.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { styleText } from "node:util";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as hasBaseUrlInTsconfig, i as fixBaseUrlInTsconfig } from "./tsconfig-
|
|
1
|
+
import { a as hasBaseUrlInTsconfig, i as fixBaseUrlInTsconfig } from "./tsconfig-BoYTBNX_.js";
|
|
2
2
|
export { fixBaseUrlInTsconfig, hasBaseUrlInTsconfig };
|
package/dist/version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as renderCliDoc } from "./help-BmKpeOP9.js";
|
|
2
2
|
import { i as log, o as printHeader, t as accent } from "./terminal-MKGAuy-p.js";
|
|
3
|
-
import { y as version } from "./constants-
|
|
4
|
-
import { i as hasVitePlusDependency, n as detectPackageMetadata } from "./package-
|
|
3
|
+
import { y as version } from "./constants-BqJiMVVU.js";
|
|
4
|
+
import { i as hasVitePlusDependency, n as detectPackageMetadata } from "./package-Cgdlhamw.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { pathToFileURL } from "node:url";
|
|
7
7
|
import fs from "node:fs";
|
package/docs/guide/migrate.md
CHANGED
|
@@ -95,21 +95,21 @@ Upgrade the [global CLI](./upgrade.md#global-vp) to your target 1.0 release, the
|
|
|
95
95
|
|
|
96
96
|
### Without the Global CLI
|
|
97
97
|
|
|
98
|
-
Use an existing Node.js runtime that satisfies `^22.18.0 || ^24.11.0 || >=26.0.0`. Run the target migrator through your package manager without adding it to the project first. For the `1.0.0
|
|
98
|
+
Use an existing Node.js runtime that satisfies `^22.18.0 || ^24.11.0 || >=26.0.0`. Run the target migrator through your package manager without adding it to the project first. For the `1.0.0` release:
|
|
99
99
|
|
|
100
100
|
::: code-group
|
|
101
101
|
|
|
102
102
|
```bash [pnpm]
|
|
103
|
-
pnpm dlx --package=vite-plus@1.0.0
|
|
103
|
+
pnpm dlx --package=vite-plus@1.0.0 vp migrate --no-interactive
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
```bash [npm]
|
|
107
|
-
npx --package=vite-plus@1.0.0
|
|
107
|
+
npx --package=vite-plus@1.0.0 vp migrate --no-interactive
|
|
108
108
|
```
|
|
109
109
|
|
|
110
110
|
:::
|
|
111
111
|
|
|
112
|
-
Replace `1.0.0
|
|
112
|
+
Replace `1.0.0` with your target release. For a preview, use the version from the PR and pass `--registry=https://registry-bridge.viteplus.dev` to `pnpm` or `npx` before the `vp` command. Keep the version in `--package` explicit so you run the target migrator rather than the old local CLI.
|
|
113
113
|
|
|
114
114
|
After migration, finish dependency installation and validate with the updated local CLI:
|
|
115
115
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plus",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "The Unified Toolchain for the Web",
|
|
5
5
|
"homepage": "https://viteplus.dev/guide",
|
|
6
6
|
"bugs": {
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
"oxfmt": "=0.70.0",
|
|
351
351
|
"oxlint": "=1.85.0",
|
|
352
352
|
"oxlint-tsgolint": "=7.0.2003",
|
|
353
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@1.0.0
|
|
353
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@1.0.0",
|
|
354
354
|
"vitest": "5.0.1"
|
|
355
355
|
},
|
|
356
356
|
"devDependencies": {
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
364
364
|
"@vitest/browser-playwright": "5.0.1",
|
|
365
365
|
"@vitest/browser-webdriverio": "5.0.0",
|
|
366
|
-
"@voidzero-dev/vite-plus-prompts": "1.0.0
|
|
366
|
+
"@voidzero-dev/vite-plus-prompts": "1.0.0",
|
|
367
367
|
"bingo": "^0.9.3",
|
|
368
368
|
"cac": "^7.0.0",
|
|
369
369
|
"cross-spawn": "^7.0.5",
|
|
@@ -411,14 +411,14 @@
|
|
|
411
411
|
"node": "^22.18.0 || ^24.11.0 || >=26.0.0"
|
|
412
412
|
},
|
|
413
413
|
"optionalDependencies": {
|
|
414
|
-
"@voidzero-dev/vite-plus-darwin-arm64": "1.0.0
|
|
415
|
-
"@voidzero-dev/vite-plus-darwin-x64": "1.0.0
|
|
416
|
-
"@voidzero-dev/vite-plus-linux-arm64-gnu": "1.0.0
|
|
417
|
-
"@voidzero-dev/vite-plus-linux-arm64-musl": "1.0.0
|
|
418
|
-
"@voidzero-dev/vite-plus-linux-x64-gnu": "1.0.0
|
|
419
|
-
"@voidzero-dev/vite-plus-linux-x64-musl": "1.0.0
|
|
420
|
-
"@voidzero-dev/vite-plus-win32-x64-msvc": "1.0.0
|
|
421
|
-
"@voidzero-dev/vite-plus-win32-arm64-msvc": "1.0.0
|
|
414
|
+
"@voidzero-dev/vite-plus-darwin-arm64": "1.0.0",
|
|
415
|
+
"@voidzero-dev/vite-plus-darwin-x64": "1.0.0",
|
|
416
|
+
"@voidzero-dev/vite-plus-linux-arm64-gnu": "1.0.0",
|
|
417
|
+
"@voidzero-dev/vite-plus-linux-arm64-musl": "1.0.0",
|
|
418
|
+
"@voidzero-dev/vite-plus-linux-x64-gnu": "1.0.0",
|
|
419
|
+
"@voidzero-dev/vite-plus-linux-x64-musl": "1.0.0",
|
|
420
|
+
"@voidzero-dev/vite-plus-win32-x64-msvc": "1.0.0",
|
|
421
|
+
"@voidzero-dev/vite-plus-win32-arm64-msvc": "1.0.0"
|
|
422
422
|
},
|
|
423
423
|
"scripts": {
|
|
424
424
|
"build": "oxnode -C dev ./build.ts",
|