38 lines
1.3 KiB
Markdown
38 lines
1.3 KiB
Markdown
# Tasks — Add `@suaveplan/testing/runner` central runner subpath
|
|
|
|
## 1. Spec authoring
|
|
|
|
- [x] 1.1 Read `openspec/specs/testing/spec.md`
|
|
- [x] 1.2 Read `openspec/AGENTS.md` Sections 13 and 14
|
|
- [x] 1.3 Draft `proposal.md` from `openspec/templates/proposal.md`
|
|
- [x] 1.4 Draft `specs/testing/spec.md` ADDED requirement with `Verified by:` line
|
|
|
|
## 2. Implementation
|
|
|
|
- [x] 2.1 `src/runner/{vitest,bun-test,mocks,index}.ts` + sibling `.md`
|
|
- [x] 2.2 `package.json` `./runner` conditional export, `@types/bun` devDep
|
|
- [x] 2.3 `tsconfig.lib.json` `types: ["node", "bun"]`
|
|
- [x] 2.4 `vite.config.ts` multi-entry for `runner/{index,vitest,bun-test}`
|
|
|
|
## 3. Tests
|
|
|
|
- [x] 3.1 `src/runner/mocks.test.ts`
|
|
- [x] 3.2 `src/runner/runner.spec-conformance.test.ts`
|
|
|
|
## 4. Documentation
|
|
|
|
- [x] 4.1 `runner.md`, `vitest.md`, `bun-test.md`, `mocks.md` siblings
|
|
|
|
## 5. Pre-archive verification
|
|
|
|
- [x] 5.1 `bun run check` — 0/0/0
|
|
- [x] 5.2 `bunx turbo lint typecheck test --filter=@suaveplan/testing` — green
|
|
- [x] 5.3 `bunx turbo test:coverage --filter=@suaveplan/testing` — 100/100/100/100
|
|
- [x] 5.4 `bun scripts/openspec-conformance.ts @suaveplan/testing` — exit 0
|
|
- [x] 5.5 `bunx turbo build --filter=@suaveplan/testing` — green
|
|
|
|
## 6. Archive
|
|
|
|
- [x] 6.1 Fold spec delta into `openspec/specs/testing/spec.md`
|
|
- [x] 6.2 Move to `openspec/archive/2026-04-27-testing-runner-subpath/`
|