-
-
Notifications
You must be signed in to change notification settings - Fork 12
chore: add package.json export to sql.js project #235
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
WalkthroughAdds a documentation note about VSCode package versioning and updates the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
✨ 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
Status, Documentation and Community
|
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.
Pull Request Overview
This PR adds a package.json export to the sql.js dialect package to improve module resolution capabilities. It also includes an update to the CLAUDE.md documentation file.
- Adds explicit package.json export mapping for both import and require conditions
- Updates documentation to clarify VSCode package versioning strategy
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/dialects/sql.js/package.json | Adds package.json export mapping for module resolution |
| CLAUDE.md | Documents VSCode package versioning approach |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Claude finished @ymc9's task —— View job PR Review Complete ✅I've thoroughly reviewed this PR. Here's my comprehensive feedback:
SummaryThis PR adds a Code Quality & Best Practices ✅Excellent adherence to established patterns:
TypeScript & Build Configuration:
Potential Issues ❌No issues found:
Performance Considerations ✅Positive impact:
Security Considerations ✅No security concerns:
Test Coverage Assessment
|
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: 0
🧹 Nitpick comments (2)
CLAUDE.md (1)
85-85: Tighten wording and fix product name ("VS Code")Suggest minor grammar/style tweaks.
- - The "ide/vscode" package by-design has a different version from the rest of the packages as VSCode doesn't allow pre-release versions in its marketplace. + - The "ide/vscode" package, by design, uses a different version than the rest because the VS Code Marketplace doesn't allow pre-release versions.packages/dialects/sql.js/package.json (1)
28-32: Add default subpath export and document JSON import assertionsThe
exports["./package.json"]entry currently only covers CJS and ESM without a default condition. Add the"default"condition for broader tool compatibility and update the package’s README to document ESM JSON imports requiringassert { type: 'json' }.}, - "./package.json": { - "import": "./package.json", - "require": "./package.json" - } + "./package.json": { + "import": "./package.json", + "require": "./package.json", + "default": "./package.json" + }
📜 Review details
Configuration used: Path: .coderabbit.yaml
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)
CLAUDE.md(1 hunks)packages/dialects/sql.js/package.json(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
{packages,samples,tests}/**
📄 CodeRabbit inference engine (CLAUDE.md)
Packages are located in
packages/,samples/, andtests/
Files:
packages/dialects/sql.js/package.json
🧠 Learnings (1)
📚 Learning: 2025-08-04T08:43:33.161Z
Learnt from: CR
PR: zenstackhq/zenstack-v3#0
File: CLAUDE.md:0-0
Timestamp: 2025-08-04T08:43:33.161Z
Learning: Database migrations still use Prisma CLI under the hood
Applied to files:
CLAUDE.md
🪛 LanguageTool
CLAUDE.md
[grammar] ~85-~85: There might be a mistake here.
Context: ...pre-release versions in its marketplace.
(QB_NEW_EN)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: claude-review
- GitHub Check: build-test (20.x)
Summary by CodeRabbit