Skip to content

Conversation

@frontegg-david
Copy link
Contributor

@frontegg-david frontegg-david commented Nov 16, 2025

Summary by CodeRabbit

  • Documentation
    • Restructured README: responsive header graphic, clearer TypeScript-centric mission, reworked Table of Contents, and guided CLI setup flow.
    • Updated examples and defaults (now use port 3000), added reflect-metadata import in examples, clarified input schema examples, standardized commands (dev, build, inspector, doctor), and clarified tsconfig/ESM+decorators guidance.
  • Chores
    • Raised Node.js minimum to 22+, added a top-level build script, and narrowed packaged documentation assets for CLI and SDK builds.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 16, 2025

Walkthrough

Updated README content and examples (hero image, TOC, port → 3000, added reflect-metadata import), narrowed build asset lists in libs/cli/project.json and libs/sdk/project.json to include only README.md, and added a root build npm script running nx run-many -t build.

Changes

Cohort / File(s) Summary
Documentation
README.md
Reworked hero to use a responsive picture element, reorganized the TOC and setup flow, emphasized TypeScript/decorators/DI/streamable HTTP, updated examples to import reflect-metadata and use port 3000, adjusted snippets, commands, and deployment notes.
CLI build assets
libs/cli/project.json
Restricted build assets to only include README.md instead of a glob matching *.md.
SDK build assets
libs/sdk/project.json
Restricted build assets to only include README.md instead of a glob matching *.md.
Root scripts
package.json
Added top-level build script: nx run-many -t build.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

  • Inspect README for example correctness (port, reflect-metadata, CLI instructions).
  • Verify libs/cli/project.json and libs/sdk/project.json asset changes don't remove required files for packaging or consumers.
  • Confirm new root build script aligns with NX targets and CI workflows.

Possibly related PRs

Poem

🐰 I hopped through README lines tonight,
Swapped banners for pictures, set the port just right,
Decorators twitched their whiskers in delight,
Nx gathers builds in one bounding flight,
Carrot-coded joy beneath the moonlight 🥕

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title mentions fixing the repo README, but the changeset encompasses broader modifications including project configuration changes (project.json files), package.json updates, and substantial README restructuring beyond simple fixes. Consider clarifying whether this is a fix or a comprehensive update. If changes are substantive (new features, restructuring), use a more descriptive title like 'refactor(readme): Restructure README with TypeScript-centric approach and update build configs'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-readme-files

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9a3be6a and a104030.

📒 Files selected for processing (1)
  • README.md (7 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
README.md

12-12: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


390-390: Link and image reference definitions should be needed
Unused link or image reference definition: "2"

(MD053, link-image-reference-definitions)

🔇 Additional comments (1)
README.md (1)

61-61: ✅ Previous critical and major issues resolved.

All reference definitions [1][13] are now properly defined (lines 389–401), and the TOC anchor at line 61 now correctly matches the combined heading ### Providers / Adapters / Plugins at line 274. Both the missing-definitions and anchor-mismatch issues from previous reviews have been addressed.

Also applies to: 274-274, 389-401


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
README.md (1)

12-12: Use a heading instead of emphasis for line 12.

Line 12 uses emphasis (_..._) but reads like a tagline that should be a proper heading or subheading. Consider using a heading level or clarifying the intent:

_Made with ❤️ for TypeScript developers_

This violates MD036 (no-emphasis-as-heading) per markdownlint. Either use ## (heading) or restructure the text.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5624e20 and 722440b.

📒 Files selected for processing (4)
  • README.md (7 hunks)
  • libs/cli/project.json (1 hunks)
  • libs/sdk/project.json (1 hunks)
  • package.json (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
README.md

12-12: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


61-61: Link fragments should be valid

(MD051, link-fragments)


62-62: Link fragments should be valid

(MD051, link-fragments)


63-63: Link fragments should be valid

(MD051, link-fragments)


92-92: Reference links and images should use a label that is defined
Missing link or image reference definition: "1"

(MD052, reference-links-images)


100-100: Reference links and images should use a label that is defined
Missing link or image reference definition: "1"

(MD052, reference-links-images)


109-109: Reference links and images should use a label that is defined
Missing link or image reference definition: "1"

(MD052, reference-links-images)


153-153: Reference links and images should use a label that is defined
Missing link or image reference definition: "4"

(MD052, reference-links-images)


201-201: Reference links and images should use a label that is defined
Missing link or image reference definition: "1"

(MD052, reference-links-images)


227-227: Reference links and images should use a label that is defined
Missing link or image reference definition: "3"

(MD052, reference-links-images)


250-250: Reference links and images should use a label that is defined
Missing link or image reference definition: "3"

(MD052, reference-links-images)


258-258: Reference links and images should use a label that is defined
Missing link or image reference definition: "5"

(MD052, reference-links-images)


262-262: Reference links and images should use a label that is defined
Missing link or image reference definition: "6"

(MD052, reference-links-images)


266-266: Reference links and images should use a label that is defined
Missing link or image reference definition: "4"

(MD052, reference-links-images)


270-270: Reference links and images should use a label that is defined
Missing link or image reference definition: "7"

(MD052, reference-links-images)


274-274: Reference links and images should use a label that is defined
Missing link or image reference definition: "8"

(MD052, reference-links-images)


278-278: Reference links and images should use a label that is defined
Missing link or image reference definition: "9"

(MD052, reference-links-images)


284-284: Reference links and images should use a label that is defined
Missing link or image reference definition: "10"

(MD052, reference-links-images)


309-309: Reference links and images should use a label that is defined
Missing link or image reference definition: "11"

(MD052, reference-links-images)


327-327: Reference links and images should use a label that is defined
Missing link or image reference definition: "12"

(MD052, reference-links-images)


342-342: Reference links and images should use a label that is defined
Missing link or image reference definition: "5"

(MD052, reference-links-images)


355-355: Reference links and images should use a label that is defined
Missing link or image reference definition: "3"

(MD052, reference-links-images)


364-364: Reference links and images should use a label that is defined
Missing link or image reference definition: "13"

(MD052, reference-links-images)


370-370: Reference links and images should use a label that is defined
Missing link or image reference definition: "13"

(MD052, reference-links-images)

🔇 Additional comments (3)
package.json (1)

6-7: LGTM!

The new build script is correctly formatted and aligns with the monorepo's nx-based build orchestration. No concerns.

libs/sdk/project.json (1)

20-21: LGTM!

Narrowing assets to only README.md is appropriate for publication. This prevents unintended markdown files from being packaged.

libs/cli/project.json (1)

20-21: LGTM!

Consistent with the SDK changes. Restricting assets to README.md only for publication is the right call.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
README.md (1)

12-12: Clarify whether line 12 should be styled differently.

Markdownlint flags line 12 (_Made with ❤️ for TypeScript developers_) as using emphasis instead of a heading (MD036). If this is intentional styling for a tagline beneath the hero, consider adding a linting disable comment or restructuring. If it should be a proper section heading, adjust accordingly.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 722440b and 53201c1.

⛔ Files ignored due to path filters (2)
  • docs/images/banner.dark.png is excluded by !**/*.png
  • docs/images/banner.light.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • README.md (7 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
README.md

12-12: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


61-61: Link fragments should be valid

(MD051, link-fragments)


62-62: Link fragments should be valid

(MD051, link-fragments)


63-63: Link fragments should be valid

(MD051, link-fragments)


392-392: Link and image reference definitions should be needed
Unused link or image reference definition: "2"

(MD053, link-image-reference-definitions)

🔇 Additional comments (1)
README.md (1)

391-403: Critical issue from previous review is resolved!

The missing link reference definitions have been fully addressed. All 13 reference definitions [1] through [13] are now properly defined at the end of the file with correct URLs and titles. This resolves the markdown linting failure (MD052) and ensures all reference-style links throughout the document render correctly.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
README.md (1)

12-12: Note: Emphasis on tagline triggers linter MD036.

The tagline _Made with ❤️ for TypeScript developers_ uses italics, which the markdown linter flags (MD036). This is semantically appropriate for a tagline/subtitle, so it can safely remain unless you prefer plain text or a different style.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 53201c1 and 9a3be6a.

📒 Files selected for processing (1)
  • README.md (7 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
README.md

12-12: Emphasis used instead of a heading

(MD036, no-emphasis-as-heading)


61-61: Link fragments should be valid

(MD051, link-fragments)


62-62: Link fragments should be valid

(MD051, link-fragments)


63-63: Link fragments should be valid

(MD051, link-fragments)


392-392: Link and image reference definitions should be needed
Unused link or image reference definition: "2"

(MD053, link-image-reference-definitions)

🔇 Additional comments (3)
README.md (3)

3-8: Responsive picture element looks good.

The updated responsive image with dark/light mode support using <picture> and media queries is a solid improvement over static assets.


27-27: Correct TypeScript/MCP setup updates.

Adding reflect-metadata import is essential for decorator support in TypeScript, and updating the default port to 3000 aligns with Node.js conventions. Both changes are consistently applied across examples.

Also applies to: 34-34, 128-128, 135-135


153-154: Zod field ergonomic improvement well‑applied.

The simplified inputSchema format using direct Zod fields is correctly documented and consistently applied across function and class tool examples, reducing unnecessary nesting.

Also applies to: 164-164, 177-177

@frontegg-david frontegg-david merged commit 72dd07d into main Nov 16, 2025
3 checks passed
@frontegg-david frontegg-david deleted the update-readme-files branch November 16, 2025 11:39
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.

2 participants