-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(*): add package.json
export to module exports
#310
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
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 self-referential export entry for package.json
to enable direct importing of the package metadata from the module's exports. This is a common pattern that allows consumers to access package information programmatically.
- Added
"./package.json": "./package.json"
to the exports field in package.json
Labels have been automatically applied based on the Conventional Commits specification.🏷️ |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #310 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 224 224
Branches 1 1
=========================================
Hits 224 224 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
…ch`) (#319) ## Release Information: `v2.0.1` New release of `lumirlumir/npm-textlint-rule-allowed-uris` has arrived! :tada: This PR bumps the package versions from `v2.0.0` to `v2.0.1` (`patch`). See [Actions](https://github.com/lumirlumir/npm-textlint-rule-allowed-uris/actions/runs/16824078121) for more details. | Info | Value | | ----------- | -------------------------- | | Repository | `lumirlumir/npm-textlint-rule-allowed-uris` | | SEMVER | `patch` | | Pre ID | `canary` | | Short SHA | 62524b8 | | Old Version | `v2.0.0` | | New Version | `v2.0.1` | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * fix(*): add `package.json` export to module exports by @lumirlumir in #310 ### 🧰 Chores * chore(*): remove `ISSUE_TEMPLATE` in favor of centralized template by @lumirlumir in #311 * chore(*): remove `config.yml` in favor of centralized template by @lumirlumir in #312 ### 📝 Documentation * docs(*): remove `CODE_OF_CONDUCT.md` and `SECURITY.md` in favor of centralized template by @lumirlumir in #314 ### ♻️ Code Refactoring * refactor(*): migrate to `parse5` to reduce dependency by @lumirlumir in #318 ### ⬆️ Dependency Updates * chore(deps-dev): bump eslint from 9.31.0 to 9.32.0 by @dependabot[bot] in #309 * chore(deps-dev): bump typescript from 5.8.3 to 5.9.2 by @dependabot[bot] in #313 * chore(deps-dev): bump lint-staged from 16.1.2 to 16.1.4 by @dependabot[bot] in #316 * chore(deps-dev): bump the bananass group across 1 directory with 2 updates by @dependabot[bot] in #315 * chore(deps-dev): bump @types/node from 24.0.12 to 24.2.0 by @dependabot[bot] in #317 **Full Changelog**: v2.0.0...v2.0.1
This pull request makes a small change to the
package.json
file to include a self-referential entry for the package itself. This change adds"./package.json": "./package.json"
to the exports field.package.json
: Added a self-referential entry for"./package.json"
in the exports field.