-
Notifications
You must be signed in to change notification settings - Fork 0
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
☕ Refine JSR exports #13
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe changes introduced enhance the modular structure of the Changes
Sequence Diagram(s)sequenceDiagram
participant Consumer
participant Module
Consumer->>Module: Import from "./mod.ts"
Module->>Module: Resolve exports
Module->>Consumer: Provide access to "./type" and "./error"
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add 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: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- deno.jsonc (1 hunks)
- error_test.ts (1 hunks)
- mod.ts (1 hunks)
Files skipped from review due to trivial changes (2)
- error_test.ts
- mod.ts
Additional comments not posted (4)
deno.jsonc (4)
4-4
: LGTM! The change to an object for theexports
field is appropriate.This modification is necessary to support multiple entry points and enhances the module's export capabilities.
5-5
: LGTM! The default export mapping is correct.Mapping the default export to
./mod.ts
maintains backward compatibility.
6-6
: LGTM! The additional export for./type
is correct.This change improves modularity and usability by allowing more granular access to the
type
module.
7-7
: LGTM! The additional export for./error
is correct.This change improves modularity and usability by allowing more granular access to the
error
module.
To follow naming conventions with deno-denops-std.
5342df7
to
4aae5ba
Compare
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
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- deno.jsonc (1 hunks)
- error_test.ts (2 hunks)
- mod.ts (1 hunks)
Files skipped from review due to trivial changes (2)
- error_test.ts
- mod.ts
Files skipped from review as they are similar to previous changes (1)
- deno.jsonc
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.
LGTM
Should we change Lines 15 to 21 in 4aae5ba
Lines 11 to 17 in 4aae5ba
Lines 139 to 144 in 4aae5ba
Lines 150 to 161 in 4aae5ba
|
I think it's OK to keep the current example code while most of developers should NOT use |
SSIA
Summary by CodeRabbit
New Features
Bug Fixes
Refactor