Skip to content

Release v190 - #1802

Merged
coliff merged 3 commits into
mainfrom
dev/coliff/release-v190
Feb 10, 2026
Merged

coliff merged 3 commits into
mainfrom
dev/coliff/release-v190

Conversation

@coliff

@coliff coliff commented Feb 9, 2026

Copy link
Copy Markdown
Member

This pull request updates the project to version 1.9.0 and introduces a new exports field in package.json to improve module resolution. The changelog and documentation have been updated accordingly.

Version and packaging updates:

  • Bumped the project version from 1.8.1 to 1.9.0 in package.json.
  • Added an exports field to package.json to specify entry points for both ESM (import) and CommonJS (require) consumers.

Documentation updates:

  • Added a changelog entry for version 1.9.0 highlighting the new exports field.
  • Updated the homepage banner to announce the release of version 1.9.0.

Adds exports to package.json. Fixes: #1800
Copilot AI review requested due to automatic review settings February 9, 2026 13:25
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Feb 9, 2026 •

Copy link
Copy Markdown

Deploying htmlhint with  Cloudflare Pages  Cloudflare Pages

Latest commit: 94fcad8
Status: ✅  Deploy successful!
Preview URL: https://c700393c.htmlhint.pages.dev
Branch Preview URL: https://dev-coliff-release-v190.htmlhint.pages.dev

View logs

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread package.json

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 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.1 to 1.9.0.
  • Add exports in package.json with conditional import/require entry 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.

Comment thread package.json
Comment thread website/src/content/docs/changelog.mdx Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sebastianjnuwu

Copy link
Copy Markdown

Is this expected to be available on npm?

@coliff

coliff commented Feb 10, 2026

Copy link
Copy Markdown
Member Author

Is this expected to be available on npm?

I was a little bit hesitant with the change adding this. I hope it doesn't break anything for anyone:

  "exports": {
    ".": {
      "import": "./dist/core/core.js",
      "require": "./dist/htmlhint.js"
    },
    "./package.json": "./package.json"
  },

@coliff
coliff merged commit 8bdf0c9 into main Feb 10, 2026
25 checks passed
@coliff
coliff deleted the dev/coliff/release-v190 branch February 10, 2026 06:45
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.

3 participants