vite-plus 0.2.9 → 0.3.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 (58) hide show
  1. package/README.md +4 -3
  2. package/binding/index.cjs +57 -54
  3. package/binding/index.d.cts +93 -0
  4. package/dist/{agent-DQU8uS6P.js → agent-Wqx0MPk0.js} +1 -1
  5. package/dist/bin.js +16 -6
  6. package/dist/command-CLJK5jGW.js +2 -0
  7. package/dist/command-CguLh2KL.js +471 -0
  8. package/dist/config/bin.js +7 -5
  9. package/dist/{constants-CG513DRa.js → constants-Bn-U8o4v.js} +5 -3
  10. package/dist/create/bin.js +28 -52
  11. package/dist/{define-config-CV4bQG_8.js → define-config-GXUdVT-0.js} +2 -2
  12. package/dist/{define-config-DyNLA_f0.cjs → define-config-WiVlryJ2.cjs} +2 -2
  13. package/dist/define-config.cjs +1 -1
  14. package/dist/define-config.js +1 -1
  15. package/dist/{editor-g4PosU99.js → editor-CC4DqODz.js} +562 -59
  16. package/dist/{terminal-Bz-ps6rJ.js → help-BmKpeOP9.js} +1 -38
  17. package/dist/hooks/bin.js +3 -2
  18. package/dist/{hooks-pNCBWtFT.js → hooks-DFqViZqZ.js} +5 -2
  19. package/dist/index.cjs +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/migration/bin.js +60 -11
  22. package/dist/migration/compat/worker.js +1 -1
  23. package/dist/{oxlint-plugin-config-BEZ9IUf7.js → oxlint-plugin-config-DX5ezKbB.js} +1 -1
  24. package/dist/oxlint-plugin.js +1 -1
  25. package/dist/pack-bin.js +5 -4
  26. package/dist/{package-B4T8RGMG.js → package-CBe9EWPY.js} +2 -2
  27. package/dist/{prompts-CHz_98bJ.js → prompts-DF3yU-eU.js} +6 -474
  28. package/dist/{report-BS7ULx7A.js → report-ZNR1Mk6h.js} +1 -0
  29. package/dist/{resolve-vite-config-Dmeyeyj-.js → resolve-vite-config-ipGb39Jo.js} +2 -2
  30. package/dist/staged/bin.js +77 -47
  31. package/dist/terminal-MKGAuy-p.js +39 -0
  32. package/dist/toolchain.js +9 -9
  33. package/dist/toolchain.json +9 -9
  34. package/dist/tsconfig-BVHG3DpR.js +2 -0
  35. package/dist/{tsconfig-7v_BHagU.js → tsconfig-LD2QhQ0O.js} +5 -4
  36. package/dist/version.js +4 -3
  37. package/dist/versions.js +5 -5
  38. package/docs/guide/env.md +20 -6
  39. package/docs/guide/install.md +2 -1
  40. package/docs/guide/installer-env-vars.md +41 -5
  41. package/docs/guide/migrate-rules.md +9 -0
  42. package/docs/guide/migrate.md +5 -5
  43. package/docs/guide/test.md +8 -0
  44. package/docs/guide/upgrade.md +48 -1
  45. package/package.json +32 -33
  46. package/docs/_data/team.ts +0 -131
  47. package/docs/package.json +0 -30
  48. package/docs/pnpm-lock.yaml +0 -4003
  49. package/docs/pnpm-workspace.yaml +0 -13
  50. package/docs/public/checkmark.svg +0 -1
  51. package/docs/public/cta-background.jpg +0 -0
  52. package/docs/public/favicon.svg +0 -1
  53. package/docs/public/icon.svg +0 -1
  54. package/docs/public/logo.svg +0 -1
  55. package/docs/public/og.jpg +0 -0
  56. package/docs/vite.config.ts +0 -20
  57. package/dist/{json-qlK6UH0r.js → json-cULBl7Pi.js} +107 -107
  58. package/dist/{log-update-CoW8Z4Dl.js → log-update-DHZRyJ2m.js} +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plus",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "description": "The Unified Toolchain for the Web",
5
5
  "homepage": "https://viteplus.dev/guide",
6
6
  "bugs": {
@@ -28,7 +28,6 @@
28
28
  "binding/index.d.cts",
29
29
  "binding/index.d.ts",
30
30
  "binding/index.js",
31
- "dist/test",
32
31
  "docs",
33
32
  "rules",
34
33
  "templates"
@@ -351,33 +350,33 @@
351
350
  }
352
351
  },
353
352
  "dependencies": {
354
- "@oxc-project/types": "=0.143.0",
355
- "@oxlint/plugins": "=1.73.0",
356
- "@vitest/browser": "4.1.10",
357
- "@vitest/browser-preview": "4.1.10",
358
- "@vitest/expect": "4.1.10",
359
- "@vitest/mocker": "4.1.10",
360
- "@vitest/pretty-format": "4.1.10",
361
- "@vitest/runner": "4.1.10",
362
- "@vitest/snapshot": "4.1.10",
363
- "@vitest/spy": "4.1.10",
364
- "@vitest/utils": "4.1.10",
365
- "oxfmt": "=0.62.0",
366
- "oxlint": "=1.77.0",
353
+ "@oxc-project/types": "=0.146.0",
354
+ "@oxlint/plugins": "=1.79.0",
355
+ "@vitest/browser": "4.1.11",
356
+ "@vitest/browser-preview": "4.1.11",
357
+ "@vitest/expect": "4.1.11",
358
+ "@vitest/mocker": "4.1.11",
359
+ "@vitest/pretty-format": "4.1.11",
360
+ "@vitest/runner": "4.1.11",
361
+ "@vitest/snapshot": "4.1.11",
362
+ "@vitest/spy": "4.1.11",
363
+ "@vitest/utils": "4.1.11",
364
+ "oxfmt": "=0.64.0",
365
+ "oxlint": "=1.79.0",
367
366
  "oxlint-tsgolint": "=7.0.2001",
368
- "vitest": "4.1.10",
369
- "@voidzero-dev/vite-plus-core": "0.2.9"
367
+ "vitest": "4.1.11",
368
+ "@voidzero-dev/vite-plus-core": "0.3.0"
370
369
  },
371
370
  "devDependencies": {
372
- "@emnapi/core": "2.0.0-alpha.3",
373
- "@emnapi/runtime": "2.0.0-alpha.3",
371
+ "@emnapi/core": "2.0.0-alpha.4",
372
+ "@emnapi/runtime": "2.0.0-alpha.4",
374
373
  "@napi-rs/cli": "^3.8.2",
375
374
  "@nkzw/safe-word-list": "^3.1.0",
376
375
  "@types/cross-spawn": "^6.0.6",
377
- "@types/semver": "^7.7.1",
376
+ "@types/semver": "^7.8.0",
378
377
  "@types/validate-npm-package-name": "^4.0.2",
379
- "@vitest/browser-playwright": "4.1.10",
380
- "@vitest/browser-webdriverio": "4.1.10",
378
+ "@vitest/browser-playwright": "4.1.11",
379
+ "@vitest/browser-webdriverio": "4.1.11",
381
380
  "bingo": "^0.9.3",
382
381
  "cac": "^7.0.0",
383
382
  "cross-spawn": "^7.0.5",
@@ -396,11 +395,11 @@
396
395
  "yaml": "^2.8.1",
397
396
  "zod": "^3.25.76",
398
397
  "@voidzero-dev/vite-plus-prompts": "0.0.0",
399
- "vite": "npm:@voidzero-dev/vite-plus-core@0.2.9"
398
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.3.0"
400
399
  },
401
400
  "peerDependencies": {
402
- "@vitest/browser-playwright": "4.1.10",
403
- "@vitest/browser-webdriverio": "4.1.10"
401
+ "@vitest/browser-playwright": "4.1.11",
402
+ "@vitest/browser-webdriverio": "4.1.11"
404
403
  },
405
404
  "peerDependenciesMeta": {
406
405
  "@vitest/browser-playwright": {
@@ -428,14 +427,14 @@
428
427
  "node": "^20.19.0 || ^22.18.0 || >=24.11.0"
429
428
  },
430
429
  "optionalDependencies": {
431
- "@voidzero-dev/vite-plus-darwin-arm64": "0.2.9",
432
- "@voidzero-dev/vite-plus-darwin-x64": "0.2.9",
433
- "@voidzero-dev/vite-plus-linux-arm64-gnu": "0.2.9",
434
- "@voidzero-dev/vite-plus-linux-arm64-musl": "0.2.9",
435
- "@voidzero-dev/vite-plus-linux-x64-gnu": "0.2.9",
436
- "@voidzero-dev/vite-plus-linux-x64-musl": "0.2.9",
437
- "@voidzero-dev/vite-plus-win32-x64-msvc": "0.2.9",
438
- "@voidzero-dev/vite-plus-win32-arm64-msvc": "0.2.9"
430
+ "@voidzero-dev/vite-plus-darwin-arm64": "0.3.0",
431
+ "@voidzero-dev/vite-plus-darwin-x64": "0.3.0",
432
+ "@voidzero-dev/vite-plus-linux-arm64-gnu": "0.3.0",
433
+ "@voidzero-dev/vite-plus-linux-arm64-musl": "0.3.0",
434
+ "@voidzero-dev/vite-plus-linux-x64-gnu": "0.3.0",
435
+ "@voidzero-dev/vite-plus-linux-x64-musl": "0.3.0",
436
+ "@voidzero-dev/vite-plus-win32-x64-msvc": "0.3.0",
437
+ "@voidzero-dev/vite-plus-win32-arm64-msvc": "0.3.0"
439
438
  },
440
439
  "scripts": {
441
440
  "build": "oxnode -C dev ./build.ts",
@@ -1,131 +0,0 @@
1
- import type { DefaultTheme } from 'vitepress';
2
-
3
- export const core: DefaultTheme.TeamMember[] = [
4
- {
5
- avatar: 'https://github.com/fengmk2.png',
6
- name: 'MK',
7
- links: [
8
- { icon: 'github', link: 'https://github.com/fengmk2' },
9
- { icon: 'x', link: 'https://x.com/fengmk2' },
10
- ],
11
- },
12
- {
13
- avatar: 'https://github.com/wan9chi.png',
14
- name: 'Wang Chi',
15
- links: [
16
- { icon: 'github', link: 'https://github.com/wan9chi' },
17
- { icon: 'x', link: 'https://x.com/wan9chi' },
18
- ],
19
- },
20
- {
21
- avatar: 'https://github.com/Brooooooklyn.png',
22
- name: 'Long Yinan',
23
- links: [
24
- { icon: 'github', link: 'https://github.com/Brooooooklyn' },
25
- { icon: 'x', link: 'https://x.com/Brooooook_lyn' },
26
- ],
27
- },
28
- {
29
- avatar: 'https://github.com/cpojer.png',
30
- name: 'Christoph Nakazawa',
31
- links: [
32
- { icon: 'github', link: 'https://github.com/cpojer' },
33
- { icon: 'x', link: 'https://x.com/cnakazawa' },
34
- { icon: 'bluesky', link: 'https://bsky.app/profile/christoph.nkzw.tech' },
35
- ],
36
- },
37
- {
38
- avatar: 'https://github.com/TheAlexLichter.png',
39
- name: 'Alexander Lichter',
40
- links: [
41
- { icon: 'github', link: 'https://github.com/TheAlexLichter' },
42
- { icon: 'x', link: 'https://x.com/TheAlexLichter' },
43
- { icon: 'bluesky', link: 'https://bsky.app/profile/thealexlichter.com' },
44
- ],
45
- },
46
- {
47
- avatar: 'https://github.com/camc314.png',
48
- name: 'Cameron Clark',
49
- links: [
50
- { icon: 'github', link: 'https://github.com/camc314' },
51
- { icon: 'x', link: 'https://x.com/cameron_C2' },
52
- ],
53
- },
54
- {
55
- avatar: 'https://github.com/leaysgur.png',
56
- name: 'Yuji Sugiura',
57
- links: [
58
- { icon: 'github', link: 'https://github.com/leaysgur' },
59
- { icon: 'x', link: 'https://x.com/leaysgur' },
60
- ],
61
- },
62
- {
63
- avatar: 'https://github.com/mdong1909.png',
64
- name: 'Michael Dong',
65
- links: [
66
- { icon: 'github', link: 'https://github.com/mdong1909' },
67
- { icon: 'x', link: 'https://x.com/mdong1909' },
68
- { icon: 'linkedin', link: 'https://www.linkedin.com/in/michael-d-612b5b50/' },
69
- ],
70
- },
71
- {
72
- avatar: 'https://github.com/kazupon.png',
73
- name: 'kazupon',
74
- links: [
75
- { icon: 'github', link: 'https://github.com/kazupon' },
76
- { icon: 'x', link: 'https://x.com/kazupon' },
77
- { icon: 'bluesky', link: 'https://bsky.app/profile/kazupon.dev' },
78
- ],
79
- },
80
- {
81
- avatar: 'https://github.com/ubugeeei.png',
82
- name: 'ubugeeei',
83
- links: [
84
- { icon: 'github', link: 'https://github.com/ubugeeei' },
85
- { icon: 'x', link: 'https://x.com/ubugeeei' },
86
- ],
87
- },
88
- {
89
- avatar: 'https://github.com/nekomoyi.png',
90
- name: 'nekomoyi',
91
- links: [{ icon: 'github', link: 'https://github.com/nekomoyi' }],
92
- },
93
- {
94
- avatar: 'https://github.com/HaasStefan.png',
95
- name: 'Stefan Haas',
96
- links: [
97
- { icon: 'github', link: 'https://github.com/HaasStefan' },
98
- { icon: 'x', link: 'https://x.com/StefanvHaas' },
99
- { icon: 'linkedin', link: 'https://www.linkedin.com/in/stefan-haas-angular' },
100
- ],
101
- },
102
- {
103
- avatar: 'https://github.com/naokihaba.png',
104
- name: 'naokihaba',
105
- links: [
106
- { icon: 'github', link: 'https://github.com/naokihaba' },
107
- { icon: 'x', link: 'https://x.com/naokihaba' },
108
- { icon: 'bluesky', link: 'https://bsky.app/profile/naokihaba.com' },
109
- ],
110
- },
111
- {
112
- avatar: 'https://github.com/jong-kyung.png',
113
- name: 'JongKyung Lee',
114
- links: [
115
- { icon: 'github', link: 'https://github.com/jong-kyung' },
116
- { icon: 'x', link: 'https://x.com/jongkyung_dev' },
117
- { icon: 'linkedin', link: 'https://www.linkedin.com/in/jong-kyung' },
118
- ],
119
- },
120
- {
121
- avatar: 'https://github.com/liangmiQwQ.png',
122
- name: 'Liang',
123
- links: [
124
- { icon: 'github', link: 'https://github.com/liangmiQwQ' },
125
- { icon: 'x', link: 'https://x.com/liangmiQwQ' },
126
- { icon: 'bluesky', link: 'https://bsky.app/profile/liangmi.dev' },
127
- ],
128
- },
129
- ];
130
-
131
- export const emeriti: DefaultTheme.TeamMember[] = [];
package/docs/package.json DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "name": "vite-plus-docs",
3
- "private": true,
4
- "type": "module",
5
- "scripts": {
6
- "dev": "vitepress dev",
7
- "build": "cp ../packages/cli/install.sh ../packages/cli/install.ps1 public/ && vp run build:site",
8
- "build:netlify": "cp ../packages/cli/install.sh ../packages/cli/install.ps1 public/ && vitepress build",
9
- "preview": "vitepress preview",
10
- "update-trusted-stack-stats": "node .vitepress/theme/data/fetch-trusted-stack-stats.ts"
11
- },
12
- "dependencies": {
13
- "@iconify/vue": "^5.0.0",
14
- "mermaid": "^11.13.0",
15
- "reka-ui": "^2.7.0",
16
- "typewriter-effect": "^2.22.0",
17
- "vitepress-plugin-group-icons": "^1.7.5",
18
- "vitepress-plugin-llms": "^1.12.2",
19
- "vitepress-plugin-mermaid": "^2.0.17",
20
- "vue": "^3.5.27",
21
- "vue3-carousel": "^0.17.0"
22
- },
23
- "devDependencies": {
24
- "@voidzero-dev/vitepress-theme": "4.8.4",
25
- "oxc-minify": "^0.120.0",
26
- "tailwindcss": "^4.1.18",
27
- "vitepress": "2.0.0-alpha.17"
28
- },
29
- "packageManager": "pnpm@11.20.0"
30
- }