fix: support native Vite config loading (#1178)
Some checks are pending
CI / Select Test Scope (push) Waiting to run
CI / Lint & Type Check (push) Waiting to run
CI / Changed Tests (push) Blocked by required conditions
CI / Workspace Unit Tests (push) Blocked by required conditions
CI / Build (push) Waiting to run
CI / Security Audit (push) Waiting to run
Desktop Artifacts / Unsigned macOS Artifact (push) Waiting to run
Desktop Artifacts / Unsigned Linux Artifacts (push) Waiting to run
Desktop Artifacts / Unsigned Windows Artifacts (push) Waiting to run

This commit is contained in:
Brad Groux 2026-08-23 11:22:30 -05:00 committed by GitHub
parent 61bf2163b5
commit f3abf3642e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 2 deletions

View file

@ -518,6 +518,9 @@ jobs:
- name: Build shared (dependency for all builds)
run: pnpm --filter @veritas-kanban/shared build
- name: Verify native Vite config loading
run: pnpm check:vite-native-config
- name: Build all packages
run: pnpm build

View file

@ -72,6 +72,7 @@ pnpm lint:fix
# Smoke checks
pnpm check:pnpm-settings # Validates package manager fields match this file
pnpm check:delivery-cadence # Prevents verification and review policy drift
pnpm check:vite-native-config # Loads web build and test configs with Vite's native loader
pnpm test:ci-scope # Validates path-aware CI test selection
pnpm smoke:cli-mcp # CLI ↔ MCP compatibility smoke test
pnpm test:buzz:compatibility # Credential-free composed Buzz release gate

View file

@ -35,6 +35,7 @@
"lint:report": "node scripts/lint-warning-budget.mjs --all-rules",
"lint:fix": "eslint . --fix",
"check:delivery-cadence": "node --test scripts/check-delivery-cadence.test.mjs && node scripts/check-delivery-cadence.mjs",
"check:vite-native-config": "pnpm --filter @veritas-kanban/web exec vite build --configLoader native && vitest run --configLoader native web/src/lib/__tests__/client-policy.test.ts",
"check:pnpm-settings": "node scripts/check-pnpm-settings.mjs",
"check:security-artifacts": "node scripts/check-security-artifacts.mjs",
"typecheck": "pnpm --filter @veritas-kanban/shared build && pnpm -r typecheck",

View file

@ -23,7 +23,7 @@ export default defineConfig({
plugins: [react(), tailwindcss() as any],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
'@': path.resolve(import.meta.dirname, './src'),
},
},
test: {

View file

@ -7,7 +7,7 @@ export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
'@': path.resolve(import.meta.dirname, './src'),
},
},
test: {