Skip to content

Add package license metadata - #306

Open
yanziwei wants to merge 1 commit into
dubinc:mainfrom
yanziwei:yanziwei/add-license-metadata
Open

Add package license metadata#306
yanziwei wants to merge 1 commit into
dubinc:mainfrom
yanziwei:yanziwei/add-license-metadata

Conversation

@yanziwei

@yanziwei yanziwei commented Jun 10, 2026

Copy link
Copy Markdown

Summary

  • add MIT license metadata to the package manifest
  • align npm metadata with the repository license

Verification

  • npm view dub@latest name version license repository homepage bugs --json
  • node -e "const p=require('./package.json'); if (p.license !== 'MIT') throw new Error('license mismatch'); console.log(p.name, p.version, p.license)"
  • git diff --check
  • npm pack --dry-run --ignore-scripts --json

Summary by CodeRabbit

  • Chores
    • Updated the project license to MIT.

@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8e68a3e4-4f44-4c10-af60-242cf9e42fb5

📥 Commits

Reviewing files that changed from the base of the PR and between a58c2fd and cea21a4.

📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

This PR adds an MIT license field to package.json, updating the package metadata to declare the project's licensing terms.

Changes

Package Metadata

Layer / File(s) Summary
License field
package.json
The license field with value "MIT" is added to the package manifest.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A hoppy update, small and bright, 🐰
MIT license shining with light,
One field added, clean and free,
Open source for all to see!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly summarizes the main change: adding a license field to package.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with 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.

❤️ Share

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

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