Initial Commit
This commit is contained in:
25
openspec/archive/2026-05-25-enterprise-test-vite/tasks.md
Normal file
25
openspec/archive/2026-05-25-enterprise-test-vite/tasks.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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/`.
|
||||
Reference in New Issue
Block a user