Files
2026-05-27 23:29:53 +01:00

1.9 KiB
Raw Permalink Blame History

Tasks — Migrate @suaveplan/test-vite

  1. Author proposal.md, design.md, spec delta.
  2. Scaffold package at packages/devtools/tooling/test-vite/ with package.json (v0.1.0, subpath exports), tsconfig.lib.json, vite.config.ts, vitest.config.ts, README.md, tests/setup/polyfills.ts.
  3. Implement src/error-codes/error-codes.ts with defineCodes("TEST_VITE", [...]) and TestViteError.
  4. Implement src/telemetry/telemetry.ts with the 4 counters + 1 histogram and helpers.
  5. Implement src/types/test-vite.types.ts with the shared interfaces.
  6. Implement src/vite-library-config/vite-library-config.ts.
  7. Implement src/vite-app-config/vite-app-config.ts.
  8. Implement src/vitest-config/vitest-config.ts.
  9. Implement src/vitest-browser-config/vitest-browser-config.ts.
  10. Implement src/browser-environment/browser-environment.ts.
  11. Implement src/tree-shake-validator/tree-shake-validator.ts.
  12. Implement src/bundle-size-snapshot/bundle-size-snapshot.ts.
  13. Implement src/port-allocator/port-allocator.ts.
  14. Implement src/hmr-tester/hmr-tester.ts.
  15. Implement src/matchers/matchers.ts.
  16. Write sibling .md doc per implementation file with the six required sections.
  17. Write .test.ts files exercising every spec scenario; import test-runner primitives from @suaveplan/testing/runner.
  18. Run bunx turbo lint typecheck test build --filter=@suaveplan/test-vite — green.
  19. Run bunx turbo test:coverage --filter=@suaveplan/test-vite — 100/100/100/100.
  20. Refresh MANIFEST.md via bun scripts/folder-reorg/generate-manifest.ts.
  21. Flip STATUS.md row from – to ✅ with one-line README description.
  22. Fold specs/test-vite/spec.md into openspec/specs/test-vite/spec.md.
  23. Archive openspec/changes/enterprise-test-vite/ → openspec/archive/2026-05-25-enterprise-test-vite/.