Conversation
Adds exports to package.json. Fixes: #1800
Deploying htmlhint with
|
| Latest commit: |
94fcad8
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c700393c.htmlhint.pages.dev |
| Branch Preview URL: | https://dev-coliff-release-v190.htmlhint.pages.dev |
There was a problem hiding this comment.
Code Review
This pull request correctly updates the project version to 1.9.0 and makes the corresponding changes to the changelog and documentation. The addition of the exports field in package.json is a welcome improvement for modernizing module resolution. I have one suggestion to further enhance the exports configuration to improve compatibility with the broader ecosystem.
There was a problem hiding this comment.
Pull request overview
This PR prepares the HTMLHint release v1.9.0 by bumping the npm package version, adding a package.json exports map for improved entry-point resolution, and updating the website to announce/document the release.
Changes:
- Bump npm package version from
1.8.1to1.9.0. - Add
exportsinpackage.jsonwith conditionalimport/requireentry points. - Update website banner + changelog entry for
1.9.0.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| website/src/content/docs/index.mdx | Updates homepage banner text to announce v1.9.0. |
| website/src/content/docs/changelog.mdx | Adds a v1.9.0 changelog entry mentioning the new exports field. |
| package.json | Bumps version and introduces a conditional exports map. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This pull request updates the project to version 1.9.0 and introduces a new
exportsfield inpackage.jsonto improve module resolution. The changelog and documentation have been updated accordingly.Version and packaging updates:
1.8.1to1.9.0inpackage.json.exportsfield topackage.jsonto specify entry points for both ESM (import) and CommonJS (require) consumers.Documentation updates:
1.9.0highlighting the newexportsfield.1.9.0.