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

26 lines
1.9 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Tasks — Migrate @suaveplan/test-vite
1. [x] Author proposal.md, design.md, spec delta.
2. [x] 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. [x] Implement `src/error-codes/error-codes.ts` with `defineCodes("TEST_VITE", [...])` and `TestViteError`.
4. [x] Implement `src/telemetry/telemetry.ts` with the 4 counters + 1 histogram and helpers.
5. [x] Implement `src/types/test-vite.types.ts` with the shared interfaces.
6. [x] Implement `src/vite-library-config/vite-library-config.ts`.
7. [x] Implement `src/vite-app-config/vite-app-config.ts`.
8. [x] Implement `src/vitest-config/vitest-config.ts`.
9. [x] Implement `src/vitest-browser-config/vitest-browser-config.ts`.
10. [x] Implement `src/browser-environment/browser-environment.ts`.
11. [x] Implement `src/tree-shake-validator/tree-shake-validator.ts`.
12. [x] Implement `src/bundle-size-snapshot/bundle-size-snapshot.ts`.
13. [x] Implement `src/port-allocator/port-allocator.ts`.
14. [x] Implement `src/hmr-tester/hmr-tester.ts`.
15. [x] Implement `src/matchers/matchers.ts`.
16. [x] Write sibling `.md` doc per implementation file with the six required sections.
17. [x] Write `.test.ts` files exercising every spec scenario; import test-runner primitives from `@suaveplan/testing/runner`.
18. [x] Run `bunx turbo lint typecheck test build --filter=@suaveplan/test-vite` — green.
19. [x] Run `bunx turbo test:coverage --filter=@suaveplan/test-vite` — 100/100/100/100.
20. [x] Refresh MANIFEST.md via `bun scripts/folder-reorg/generate-manifest.ts`.
21. [x] Flip STATUS.md row from `–` to `✅` with one-line README description.
22. [x] Fold `specs/test-vite/spec.md` into `openspec/specs/test-vite/spec.md`.
23. [x] Archive `openspec/changes/enterprise-test-vite/` → `openspec/archive/2026-05-25-enterprise-test-vite/`.