vite-plus 1.1.0 → 1.2.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.
Files changed (81) hide show
  1. package/LICENSE +29 -1
  2. package/binding/index.cjs +54 -54
  3. package/binding/index.d.cts +3 -0
  4. package/dist/{agent-eISuMXJb.js → agent-KeDc6vmg.js} +2 -2
  5. package/dist/bin.js +10 -10
  6. package/dist/command-DaRqSNpP.js +1 -0
  7. package/dist/comparison-CmVirWIW-DUGaiYqF.js +121 -0
  8. package/dist/config/bin.js +4 -4
  9. package/dist/{constants-CCQkpaxK.js → constants-BW3g7VnD.js} +3 -3
  10. package/dist/create/bin.d.ts +2 -1
  11. package/dist/create/bin.js +91 -23
  12. package/dist/{define-config-CeW9DETl.d.ts → define-config-Bexdd6RZ.d.ts} +1 -1
  13. package/dist/{define-config-Ro6PS4dP.js → define-config-CIlk9scU.js} +111 -6
  14. package/dist/{define-config-CREUiMmM.cjs → define-config-Dq_23Eyr.cjs} +89 -3
  15. package/dist/define-config.cjs +1 -1
  16. package/dist/define-config.d.ts +1 -1
  17. package/dist/define-config.js +1 -2
  18. package/dist/{dist-BsAzy8OW.js → dist-Bi7ZEK3c.js} +1 -2
  19. package/dist/dist-CBWGibx8.js +3 -0
  20. package/dist/{dist-DfmT__Aw.js → dist-Cqz8OtiO.js} +24 -21
  21. package/dist/{editor-B8tkz7nL.js → editor-b1XUwt9v.js} +30 -23
  22. package/dist/fmt.js +1 -2
  23. package/dist/hooks/bin.js +1 -1
  24. package/dist/{hooks-C-4gykWR.js → hooks-DhwsWb46.js} +34 -22
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/lint-plugins-dev.js +1 -2
  29. package/dist/lint-plugins.cjs +1 -1
  30. package/dist/lint-plugins.js +1 -2
  31. package/dist/migration/bin.js +17 -15
  32. package/dist/{oxlint-plugin-config-CbG58Kzr.js → oxlint-plugin-config-Dx-ZY2MN.js} +1 -1
  33. package/dist/oxlint-plugin.js +2 -2
  34. package/dist/pack-bin.js +2 -2
  35. package/dist/{package-BS84eWrW.js → package-BP16iQby.js} +1 -1
  36. package/dist/{package-overrides-CpoQngt3.js → package-overrides-D1RcXSFl.js} +1 -1
  37. package/dist/{prompts-ByOzbMBG.js → prompts-BGpQtC5z.js} +15 -14
  38. package/dist/resolve-vite-config-CGzlyhGr.js +1 -0
  39. package/dist/{resolve-vite-config-Be237LWp.js → resolve-vite-config-x47JetlI.js} +2 -2
  40. package/dist/staged/bin.js +2 -2
  41. package/dist/sync-versions/bin.js +4759 -3369
  42. package/dist/sync-versions/bin.mjs +4893 -3500
  43. package/dist/test/browser/providers/playwright.d.ts +7 -2
  44. package/dist/test/browser-playwright.d.ts +7 -2
  45. package/dist/toolchain.js +12 -12
  46. package/dist/toolchain.json +12 -12
  47. package/dist/tsconfig-C5PnJfW4.js +1 -0
  48. package/dist/{tsconfig-DzZ-nrx2.js → tsconfig-D2DzAQ_D.js} +2 -2
  49. package/dist/version.js +2 -2
  50. package/dist/versions.js +7 -7
  51. package/docs/config/run.md +9 -5
  52. package/docs/config/staged.md +1 -1
  53. package/docs/guide/automatic-data-tracking.md +7 -6
  54. package/docs/guide/cache.md +3 -3
  55. package/docs/guide/check.md +7 -7
  56. package/docs/guide/commit-hooks.md +3 -1
  57. package/docs/guide/create.md +14 -4
  58. package/docs/guide/env.md +9 -2
  59. package/docs/guide/github-actions-cache.md +1 -1
  60. package/docs/guide/global-cli.md +36 -10
  61. package/docs/guide/ide-integration.md +1 -1
  62. package/docs/guide/index.md +8 -8
  63. package/docs/guide/local-cli.md +20 -4
  64. package/docs/guide/migrate-rules.md +3 -3
  65. package/docs/guide/migrate.md +9 -9
  66. package/docs/guide/{install.md → package-management.md} +25 -4
  67. package/docs/guide/run.md +10 -8
  68. package/docs/guide/test.md +3 -1
  69. package/docs/guide/troubleshooting.md +7 -5
  70. package/docs/guide/upgrade-project.md +1 -5
  71. package/docs/guide/upgrade.md +6 -0
  72. package/docs/guide/vitest-v5.md +2 -2
  73. package/docs/guide/vpx.md +3 -3
  74. package/package.json +30 -29
  75. package/templates/generator/bin/index.ts +0 -0
  76. package/templates/generator/package.json +2 -2
  77. package/templates/generator/src/template.ts +1 -0
  78. package/dist/command-CLJK5jGW.js +0 -2
  79. package/dist/dist-DUsqQuw8.js +0 -6774
  80. package/dist/resolve-vite-config-CofpYgnY.js +0 -2
  81. package/dist/tsconfig-3ONY2k2K.js +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plus",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "The Unified Toolchain for the Web",
5
5
  "homepage": "https://viteplus.dev/guide",
6
6
  "bugs": {
@@ -338,20 +338,20 @@
338
338
  }
339
339
  },
340
340
  "dependencies": {
341
- "@oxc-project/types": "=0.153.0",
342
- "@oxlint/plugins": "=1.79.0",
343
- "@vitest/browser": "5.0.3",
344
- "@vitest/browser-preview": "5.0.3",
345
- "@vitest/mocker": "5.0.3",
346
- "@vitest/pretty-format": "5.0.3",
347
- "@vitest/snapshot": "5.0.3",
348
- "@vitest/spy": "5.0.3",
349
- "@vitest/utils": "5.0.3",
350
- "oxfmt": "=0.72.0",
351
- "oxlint": "=1.87.0",
352
- "oxlint-tsgolint": "=7.0.2003",
353
- "vite": "npm:@voidzero-dev/vite-plus-core@1.1.0",
354
- "vitest": "5.0.3"
341
+ "@oxc-project/types": "=0.154.0",
342
+ "@oxlint/plugins": "=1.88.0",
343
+ "@vitest/browser": "5.0.4",
344
+ "@vitest/browser-preview": "5.0.4",
345
+ "@vitest/mocker": "5.0.4",
346
+ "@vitest/pretty-format": "5.0.4",
347
+ "@vitest/snapshot": "5.0.4",
348
+ "@vitest/spy": "5.0.4",
349
+ "@vitest/utils": "5.0.4",
350
+ "oxfmt": "=0.73.0",
351
+ "oxlint": "=1.88.0",
352
+ "oxlint-tsgolint": "=7.0.2004",
353
+ "vite": "npm:@voidzero-dev/vite-plus-core@1.2.0",
354
+ "vitest": "5.0.4"
355
355
  },
356
356
  "devDependencies": {
357
357
  "@emnapi/core": "2.0.0-alpha.5",
@@ -360,10 +360,11 @@
360
360
  "@nkzw/safe-word-list": "^3.1.0",
361
361
  "@types/cross-spawn": "^6.0.6",
362
362
  "@types/validate-npm-package-name": "^4.0.2",
363
- "@vitest/browser-playwright": "5.0.3",
363
+ "@vitest/browser-playwright": "5.0.4",
364
364
  "@vitest/browser-webdriverio": "5.0.0",
365
- "@voidzero-dev/vite-plus-prompts": "1.1.0",
366
- "bingo": "^0.9.3",
365
+ "@voidzero-dev/vite-plus-prompts": "1.2.0",
366
+ "@voidzero-dev/vite-task-client": "0.2.0",
367
+ "bingo": "^0.13.2",
367
368
  "cac": "^7.0.0",
368
369
  "cross-spawn": "^7.0.5",
369
370
  "detect-indent": "^7.0.2",
@@ -374,14 +375,14 @@
374
375
  "minimatch": "^10.0.3",
375
376
  "nanotar": "^0.3.0",
376
377
  "picocolors": "^1.1.1",
377
- "tsdown": "^0.23.0",
378
+ "tsdown": "^0.23.1",
378
379
  "validate-npm-package-name": "^7.0.2",
379
380
  "verkit": "^0.5.0",
380
381
  "yaml": "^2.8.1",
381
- "zod": "^3.25.76"
382
+ "zod": "^4.4.3"
382
383
  },
383
384
  "peerDependencies": {
384
- "@vitest/browser-playwright": "5.0.3",
385
+ "@vitest/browser-playwright": "5.0.4",
385
386
  "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0",
386
387
  "playwright": "*"
387
388
  },
@@ -414,14 +415,14 @@
414
415
  "node": "^22.18.0 || ^24.11.0 || >=26.0.0"
415
416
  },
416
417
  "optionalDependencies": {
417
- "@voidzero-dev/vite-plus-darwin-arm64": "1.1.0",
418
- "@voidzero-dev/vite-plus-darwin-x64": "1.1.0",
419
- "@voidzero-dev/vite-plus-linux-arm64-gnu": "1.1.0",
420
- "@voidzero-dev/vite-plus-linux-arm64-musl": "1.1.0",
421
- "@voidzero-dev/vite-plus-linux-x64-gnu": "1.1.0",
422
- "@voidzero-dev/vite-plus-linux-x64-musl": "1.1.0",
423
- "@voidzero-dev/vite-plus-win32-x64-msvc": "1.1.0",
424
- "@voidzero-dev/vite-plus-win32-arm64-msvc": "1.1.0"
418
+ "@voidzero-dev/vite-plus-darwin-arm64": "1.2.0",
419
+ "@voidzero-dev/vite-plus-darwin-x64": "1.2.0",
420
+ "@voidzero-dev/vite-plus-linux-arm64-gnu": "1.2.0",
421
+ "@voidzero-dev/vite-plus-linux-arm64-musl": "1.2.0",
422
+ "@voidzero-dev/vite-plus-linux-x64-gnu": "1.2.0",
423
+ "@voidzero-dev/vite-plus-linux-x64-musl": "1.2.0",
424
+ "@voidzero-dev/vite-plus-win32-x64-msvc": "1.2.0",
425
+ "@voidzero-dev/vite-plus-win32-arm64-msvc": "1.2.0"
425
426
  },
426
427
  "scripts": {
427
428
  "build": "oxnode -C dev ./build.ts",
File without changes
@@ -13,8 +13,8 @@
13
13
  "dev": "node bin/index.ts"
14
14
  },
15
15
  "dependencies": {
16
- "bingo": "^0.9.3",
17
- "zod": "^3.25.76"
16
+ "bingo": "^0.13.2",
17
+ "zod": "^4.4.3"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/node": "catalog:",
@@ -42,6 +42,7 @@ export default createTemplate({
42
42
  module: 'NodeNext',
43
43
  moduleResolution: 'NodeNext',
44
44
  outDir: 'lib',
45
+ rootDir: 'src',
45
46
  skipLibCheck: true,
46
47
  strict: true,
47
48
  target: 'ES2022',
@@ -1,2 +0,0 @@
1
- import { n as runCommandSilently } from "./command-CguLh2KL.js";
2
- export { runCommandSilently };