Skip to content

feat(cli,playground,generators): Export LikeC4 views to Draw.io + Uncle Bob refactors#11

Merged
sraphaz merged 2 commits intomainfrom
feat/drawio-export
Feb 13, 2026
Merged

feat(cli,playground,generators): Export LikeC4 views to Draw.io + Uncle Bob refactors#11
sraphaz merged 2 commits intomainfrom
feat/drawio-export

Conversation

@sraphaz
Copy link
Copy Markdown
Owner

@sraphaz sraphaz commented Feb 13, 2026

Summary

This PR updates the feat/drawio-export branch with CI fixes and the latest changes: CLI drawio/PNG export handlers and docs, E2E drawio playground test and config, generator drawio parse/generate adjustments, and test fixes so pnpm ci:test passes on the fork.


What's in this PR

1. CLI & docs

  • Handlers: drawio and PNG export handlers; PNG supports --outdir (alias -o) with backward‑compatible --output.
  • Docs: apps/docs/.../tooling/cli.mdx and docker.mdx updated to use --outdir for PNG export.

2. E2E

  • Drawio playground test and config updates in e2e/.
  • .gitignore in e2e as needed.

3. Generators (drawio)

  • Parse/generate fixes and specs in packages/generators/src/drawio/.
  • CI test fixes:
    • parse-drawio.spec.ts: decompressDrawioDiagram test now accepts error message containing (base64 decode|inflate|URI decode). On Node, invalid base64 may not throw at decode; failure can occur at inflate.
    • generate-drawio.spec.ts snapshots: Updated to match CI output (layout/environment variance in generated diagram base64).

4. Repo hygiene

  • .gitignore: exclude local eval/comparison docs from commit (docs/EVALUATION-*.md, docs/COMPARISON-*.md, docs/TEST-*.md).

Checklist (contribution guidelines)

  • Commit messages follow Conventional Commits (e.g. feat:, test:).
  • Tests updated; CI test fixes applied so pnpm ci:test passes.
  • Documentation updated where applicable (cli.mdx, docker.mdx).

Verification

  • CI: pnpm ci:test (Vitest) should pass after this push (decompress assertion + snapshot updates).
  • Local: pnpm build, pnpm typecheck, pnpm test as per repo guidelines.

Reference

  • Follow-up to PR #10 (feat/drawio-export merged there); this PR keeps the branch in sync and fixes CI failures.

- CLI drawio/PNG handlers and docs (cli.mdx, docker.mdx)
- E2E drawio playground test and config
- Generators drawio parse/generate fixes and specs
- .gitignore: exclude local eval/comparison docs from commit

Co-authored-by: Cursor <[email protected]>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

- parse-drawio.spec: accept (base64 decode|inflate|URI decode) in error message
  (Node decodes invalid base64 without throwing; failure occurs at inflate)
- generate-drawio snapshots: update to match CI output (layout/env variance)

Co-authored-by: Cursor <[email protected]>
@sraphaz sraphaz changed the title feat(drawio): CLI export, PNG --outdir, e2e and docs feat(cli,playground,generators): Export LikeC4 views to Draw.io + Uncle Bob refactors Feb 13, 2026
@sraphaz sraphaz merged commit 2862b85 into main Feb 13, 2026
36 of 45 checks 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.

1 participant