Repository navigation
Commit f4cb7b0
authored
feat: migrate toolchain to Vite+ (#2)
Migrates the monorepo from split tooling (Vite 7, Vitest, Oxlint, Oxfmt)
to Vite+ 0.2.7 via `vp migrate`.
- Bump apps/web to Vite 8.2.0, resolved through the new pnpm catalog to
the Rolldown-powered `@voidzero-dev/vite-plus-core` build, Vitest pinned
at 4.1.10
- Consolidate `.oxlintrc.json` into the new root `vite.config.ts`, now
the single config for lint/fmt/test
- Rewrite `vitest` imports to `vite-plus/test` in 56 files, switch
package scripts to `vp lint` / `vp fmt` / `vp test run`
- Reformat 319 files with the bundled Oxfmt 0.62, which now also formats
Markdown (most of the diff is `openspec/` and `wiki/` docs)
- Replace husky with vp-managed hooks (.vite-hooks via vp config); the
gitleaks fail-closed pre-commit and pre-push scans are preserved, and
pre-commit also runs vp staged (vp check --fix on staged files)
Type-aware linting stays off in the root config for now: it reports 88
pre-existing findings (58 `no-floating-promises`, plus `unbound-method`,
`no-base-to-string`, one real type error in
`scripts/migrate-mongo-to-pg.ts`) and its suggested tsconfig `rootDir`
fix would break the apps/api build, which compiles workspace packages
via tsconfig paths. Planned as a follow-up.
Verified: `vp check` clean (750 files formatted, 268 lint-clean), 232
tests pass, all builds pass, typecheck clean, `openspec validate --all
--strict` 62/62.1 parent 17aaf48 commit f4cb7b0
385 files changed
Lines changed: 14036 additions & 9277 deletions
File tree
- .agents/skills
- migrate-radix-to-base
- shadcn
- rules
- .vite-hooks
- api
- apps
- api
- src
- lib
- middleware
- routes
- test
- web
- app
- components
- ui
- hooks
- lib
- routes
- admin
- styles
- public
- tests
- deployment
- scripts
- docs
- openspec
- changes
- archive
- 2026-07-26-add-admin-user-content-actions/specs
- admin-dashboard
- comment-reply-experience
- content-lifecycle
- topic-pin-management
- user-management
- 2026-07-26-add-moderation-scan-job-controls/specs
- content-moderation
- moderation-scan-jobs
- 2026-07-26-align-public-content-visibility-rules/specs
- api-contract
- content-lifecycle
- home-sidebar-information
- user-management
- user-profile-experience
- 2026-07-26-fix-moderation-scan-job-completion/specs/moderation-scan-jobs
- 2026-07-27-add-admin-list-pagination
- specs
- admin-dashboard
- admin-list-pagination
- 2026-07-27-add-gitleaks-hooks/specs/secret-scanning
- 2026-07-27-add-low-impact-moderation-scans/specs
- admin-dashboard
- anti-spam
- content-moderation
- moderation-scan-jobs
- 2026-07-27-add-topic-pin-management
- specs
- admin-dashboard
- topic-pin-management
- 2026-07-27-complete-nodeclub-online-replacement
- 2026-07-27-implement-web-editor-preview-upload/specs/web-ui-markdown
- 2026-07-28-fix-admin-account-integrity/specs
- admin-dashboard
- anti-spam
- api-contract
- auth
- content-moderation
- layout-templates
- production-ops
- rate-limiting
- user-management
- web-ui-forms
- 2026-07-28-reach-production-grade-release-readiness/specs
- container-image-delivery
- documentation-information-architecture
- immutable-image-release
- postgres-first-dev-runtime
- production-deployment-governance
- production-health-version
- public-api-documentation
- release-verification-gates
- secret-scanning
- web-api-contract-integration
- 2026-07-29-add-jobs-zone
- 2026-07-29-simplify-open-source-docs/specs
- documentation-information-architecture
- production-deployment-governance
- public-api-documentation
- 2026-07-29-unify-api-contract-source
- specs
- api-contract
- public-api-documentation
- web-api-contract-integration
- 2026-07-30-add-api-vitest-test-infra
- specs/api-test-infrastructure
- 2026-07-30-enhance-admin-content-governance
- specs
- admin-dashboard
- content-lifecycle
- content-moderation
- 2026-07-30-improve-admin-operational-governance
- specs
- admin-dashboard
- user-management
- 2026-07-30-strengthen-openspec-change-governance/specs/openspec-change-governance
- 2026-07-30-web-loading-and-state
- specs/web-async-action
- 2026-07-31-fix-admin-user-governance
- specs
- admin-dashboard
- user-management
- 2026-08-02-harden-web-ui-system
- 2026-08-02-realign-web-design-system
- specs
- agent-owned-ui-acceptance
- layout-templates
- web-design-system-governance
- web-ui-components
- web-ui-forms
- web-ui-markdown
- web-ui-theme
- 2026-08-02-standardize-runtime-environment-contract
- specs
- explicit-migration-rehearsal-profile
- postgres-first-dev-runtime
- runtime-environment-contract
- 2026-08-03-add-web-identity-metadata
- 2026-08-05-fix-community-content-experience
- simplify-deployment-documentation/specs
- container-image-delivery
- documentation-information-architecture
- production-deployment-governance
- production-ops
- specs
- admin-dashboard
- admin-list-pagination
- admin-tab-management
- admin-zone-management
- agent-owned-ui-acceptance
- anti-spam
- api-contract
- api-test-infrastructure
- at-mention
- auth
- brand-identity
- comment-reply-experience
- compose-migration-operations
- container-image-delivery
- content-lifecycle
- content-moderation
- database-change-safety
- documentation-information-architecture
- explicit-migration-rehearsal-profile
- feedback-command-system
- home-sidebar-information
- immutable-image-release
- jobs-detail-card
- jobs-structured-fields
- jobs-zone
- layout-templates
- messaging
- moderation-scan-jobs
- openspec-change-governance
- postgres-first-dev-runtime
- production-deployment-governance
- production-health-version
- production-ops
- public-api-documentation
- rate-limiting
- release-verification-gates
- runtime-environment-contract
- scoring
- secret-scanning
- seo
- session-management
- staged-mongo-pg-cutover
- topic-detail-experience
- topic-pin-management
- user-management
- user-profile-experience
- user-roles
- web-api-contract-integration
- web-async-action
- web-design-system-governance
- web-ui-components
- web-ui-forms
- web-ui-markdown
- web-ui-state
- web-ui-theme
- packages
- db/src
- schema
- scripts
- wiki
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments