feat(prdy): migrate @mosaic/prdy from v0 to v1 #101

Merged
jason.woltje merged 1 commits from feat/p6-prdy into main 2026-03-15 00:44:03 +00:00
Owner

Ports the full PRD wizard package from v0 with v1 ESM/NodeNext adaptations.

Changes

  • types.ts, prd.ts, templates.ts, wizard.ts, cli.ts, index.ts — full port
  • Added deps: @clack/prompts, commander, js-yaml, zod, @types/js-yaml

v1 Adaptations

  • ESM .js import extensions throughout
  • Named Dirent import to satisfy consistent-type-imports lint rule
  • noUncheckedIndexedAccess-safe template lookup via string key
Ports the full PRD wizard package from v0 with v1 ESM/NodeNext adaptations. ## Changes - types.ts, prd.ts, templates.ts, wizard.ts, cli.ts, index.ts — full port - Added deps: @clack/prompts, commander, js-yaml, zod, @types/js-yaml ## v1 Adaptations - ESM .js import extensions throughout - Named Dirent import to satisfy consistent-type-imports lint rule - noUncheckedIndexedAccess-safe template lookup via string key
jason.woltje added 1 commit 2026-03-15 00:24:07 +00:00
feat(prdy): migrate @mosaic/prdy from v0 to v1
Some checks failed
ci/woodpecker/push/ci Pipeline failed
ci/woodpecker/pr/ci Pipeline failed
5e3634ba09
Port full PRD wizard implementation: types, YAML persistence (js-yaml),
built-in templates (software/feature/spike), @clack/prompts interactive
wizard, and Commander.js CLI (init/list/show). Adapted for v1 conventions:
ESM .js imports, NodeNext resolution, noUncheckedIndexedAccess-safe lookups,
and consistent-type-imports lint rule.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jason.woltje added 1 commit 2026-03-15 00:33:59 +00:00
fix(prdy): add pnpm-lock.yaml with resolved prdy dependencies
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
0c431371b0
The lockfile was not updated in the initial commit, causing CI to fail
on pnpm install --frozen-lockfile. This adds the resolved versions for
@clack/prompts, commander, js-yaml, zod, and @types/js-yaml.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jason.woltje force-pushed feat/p6-prdy from 0c431371b0 to b086825edb 2026-03-15 00:40:36 +00:00 Compare
jason.woltje merged commit f94f9f672b into main 2026-03-15 00:44:03 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#101