Skip to content

Commit f9726a9

Browse files
committed
docs: consolidate DX research into roadmap backlog
1 parent 8a8a791 commit f9726a9

2 files changed

Lines changed: 7 additions & 69 deletions

File tree

docs/research/dx-improvements.md

Lines changed: 0 additions & 67 deletions
This file was deleted.

docs/roadmap.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,13 @@ Forward-looking plans only — **not** a mirror of `src/`. **Doc index:** [READM
3030

3131
## Backlog
3232

33+
- [ ] **`--performance` CLI flag** — per-phase timing breakdown (glob, parse, resolve, insert, indexes) via `performance.now()`; `index-engine.ts` already has total elapsed, gap is per-phase granularity
34+
- [ ] **Adapter scaffolding**`codemap create-adapter --name [name]` generates adapter + test + fixture boilerplate; blocked on community adapter registration API (could land with manual registration)
35+
- [ ] **Config loader** — two candidates: (a) [c12](https://unjs.io/packages/c12) — battle-tested (Nuxt/Nitro), adds extends, env overrides, RC files, watching; still executes config via `jiti`. (b) AST-based extraction with `oxc-parser` — faster, no side effects, safer in untrusted repos; can't handle async/dynamic configs, needs `import()` fallback. Current: native `import()` in `config.ts`
36+
- [ ] **MCP** server wrapping `query`
37+
- [ ] **Watch mode** for dev — `node:fs.watch` recursive + `--files` re-index loop; Linux `recursive` requires Node 19.1+
38+
- [ ] **Monorepo / workspace awareness** — discover workspaces from `pnpm-workspace.yaml` / `package.json` and index per-workspace dependency graphs
3339
- [ ] Optional **GitHub Actions** `workflow_dispatch` — run golden/benchmark against a **public** corpus only (never private app code)
3440
- [ ] Optional **FTS5** for opt-in full-text
35-
- [ ] **MCP** server wrapping `query`
36-
- [ ] **Watch mode** for dev
3741
- [ ] **Sass / Less / SCSS:** [Lightning CSS](https://lightningcss.dev/) is CSS-only; preprocessors need a compile step before CSS parsing — see [architecture.md § CSS](./architecture.md#css--css-parserts-lightningcss)
42+
- [ ] **[UnJS](https://unjs.io) adoption** — candidates: [`citty`](https://unjs.io/packages/citty) (CLI builder), [`pathe`](https://unjs.io/packages/pathe) (cross-platform paths), [`consola`](https://unjs.io/packages/consola) (structured logging), [`pkg-types`](https://unjs.io/packages/pkg-types) (typed `package.json`/`tsconfig.json`), [`c12`](https://unjs.io/packages/c12) (config loader — see config loader item above)

0 commit comments

Comments
 (0)