Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Tasks — Migrate @suaveplan/electrobun
1. [x] Author proposal.md, design.md, spec delta.
2. [x] Add `iconz` to the `cli` catalog in the root `package.json`.
3. [x] Scaffold package at `packages/devtools/tooling/electrobun/` with `package.json`
(v0.1.0, subpath exports per feature), `tsconfig.lib.json`, `vite.config.ts`,
`vitest.config.ts`, `README.md`, `tests/setup/polyfills.ts`.
4. [x] Implement `src/error-codes/error-codes.ts` with
`defineCodes("ELECTROBUN", [...])` and `ElectrobunError`.
5. [x] Implement `src/telemetry/telemetry.ts` (5 counters + 2 histograms).
6. [x] Implement `src/types/electrobun.types.ts` with shared interfaces.
7. [x] Implement `src/schemas/schemas.ts` with Zod schemas for every public type.
8. [x] Implement `src/fs/fs.ts` (`nodeFsAdapter`, `findConfigFile`, helpers).
9. [x] Implement `src/runner/runner.ts` (`CommandRunner`, `nodeCommandRunner`,
`probeElectrobun`).
10. [x] Implement `src/config/config.ts` (`loadConfig`).
11. [x] Implement `src/templates/templates.ts` — every project + feature renderer.
12. [x] Implement `src/icons/icons.ts` (`generateIcons` via `IconRendererAdapter`).
13. [x] Implement `src/generator/generator.ts` (`collectFiles`, `generate`).
14. [x] Implement `src/prompts/prompts.ts` (`runPrompts` with `Prompter` seam).
15. [x] Implement `src/cli/cli.ts` — five command functions plus `runCli`.
16. [x] Implement `src/bin/suaveplan-electrobun.ts` — single binary entry.
17. [x] Sibling `.md` for every `.ts` (six required sections, ≥200 words,
real-import basic + advanced examples).
18. [x] `.test.ts` files exercising every spec scenario; runner imports from
`@suaveplan/testing/runner`.
19. [x] `bunx turbo lint typecheck test build --filter=@suaveplan/electrobun` — green.
20. [x] `bunx turbo test:coverage --filter=@suaveplan/electrobun` — 100/100/100/100.
21. [x] Refresh `MANIFEST.md` via `bun scripts/folder-reorg/generate-manifest.ts`.
22. [x] Flip `STATUS.md` row from `–` to `✅` with one-line description.
23. [x] Fold `specs/electrobun/spec.md` into `openspec/specs/electrobun/spec.md`.
24. [x] Archive `openspec/changes/enterprise-electrobun/` →
`openspec/archive/2026-05-25-enterprise-electrobun/`.