Skip to content

feat(cli): implement fwiz init command#10

Merged
fotopixel merged 1 commit into
mainfrom
feat/init-command
Jun 12, 2026
Merged

feat(cli): implement fwiz init command#10
fotopixel merged 1 commit into
mainfrom
feat/init-command

Conversation

@fotopixel

Copy link
Copy Markdown
Contributor

Summary

  • Add fwiz init to scaffold fwiz.config.yaml with workspace-aware defaults (Nx/Turbo detection)
  • Export loadFwizConfig and related config utilities from @federation-wizards/core, with idempotent auto-patches for nx.json / turbo.json
  • Add examples/nx-mf-demo fixture and unit/CLI tests (20 tests passing; CLI builds)

Test plan

  • Run pnpm nx run cli:build and confirm the CLI compiles
  • Run pnpm nx run core:test and pnpm nx run cli:test (or workspace test target) and confirm all tests pass
  • In a clean directory or the nx-mf-demo example, run fwiz init and verify fwiz.config.yaml and workspace patches
  • Re-run fwiz init and confirm idempotent behavior (no duplicate patches)

Closes #2

Made with Cursor

Add workspace-aware config scaffolding with nx.json/turbo.json patching,
loadFwizConfig foundation, and a minimal nx-mf-demo example fixture.

Co-authored-by: Cursor <cursoragent@cursor.com>
@fotopixel
fotopixel merged commit f6a146c into main Jun 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement fwiz init Command

1 participant