Skip to content

Commit 48f6253

Browse files
committed
Release v190
Adds exports to package.json. Fixes: #1800
1 parent 1e1e4bc commit 48f6253

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "htmlhint",
3-
"version": "1.8.1",
3+
"version": "1.9.0",
44
"description": "The Static Code Analysis Tool for your HTML",
55
"keywords": [
66
"html",
@@ -24,6 +24,12 @@
2424
"license": "MIT",
2525
"main": "dist/htmlhint.js",
2626
"module": "dist/core/core.js",
27+
"exports": {
28+
".": {
29+
"import": "./dist/core/core.js",
30+
"require": "./dist/htmlhint.js"
31+
}
32+
},
2733
"bin": {
2834
"htmlhint": "bin/htmlhint"
2935
},

website/src/content/docs/changelog.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ description: The release notes for HTMLHint, see what's changed with each new ve
55

66
import { Badge } from '@astrojs/starlight/components'
77

8+
## 1.9.0 _(2026-02-09)_
9+
10+
- <Badge text="Feat" size="small" /> Add Exports field to package.json
11+
812
## 1.8.1 _(2026-02-06)_
913

1014
- <Badge text="Fix" size="small" variant="danger" /> Improve [`attr-lowercase`](https://htmlhint.com/rules/attr-lowercase/) rule to handle SVG attributes

website/src/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ hero:
1515
variant: minimal
1616
banner:
1717
content: |
18-
v1.8.1 is now available! Check the <a href="/changelog/">changelog</a> to see what's new.
18+
v1.9.0 is now available! Check the <a href="/changelog/">changelog</a> to see what's new.
1919
tableOfContents: false
2020
lastUpdated: false
2121
editUrl: false

0 commit comments

Comments
 (0)