-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat: tsup config banner updated #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughVersion bump in package.json to 0.1.2 and update to tsup.config.ts to generate a dynamic build banner sourcing name, version, description, author, and license from package.json. No runtime or API changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. ✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this 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)
tsup.config.ts (1)
16-24
: Dynamic banner: guard against missing/structured fields to avoid "undefined" or [object Object]If description/author/license are missing, or if author is an object, the banner may render "undefined" or "[object Object]". Minor hardening below.
Apply this diff:
js: `/** - * - * ${pkg.description} + * + * ${pkg.description ?? ''} * ${pkg.name} v${pkg.version} - * @author ${pkg.author} - * @license ${pkg.license} + * @author ${typeof pkg.author === 'string' ? pkg.author : pkg.author?.name ?? ''} + * @license ${pkg.license ?? ''} * */ `,
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
package.json
(1 hunks)tsup.config.ts
(1 hunks)
🔇 Additional comments (1)
package.json (1)
3-3
: Version bump to 0.1.2: LGTMMatches the PR intent and will be reflected in the new dynamic banner. No runtime impact.
Summary by CodeRabbit
Chores
Documentation