Skip to content

fix: reorder exports to place types first#1261

Merged
straker merged 1 commit into
dequelabs:developfrom
JustasMonkev:fix/export-list-order
Jan 6, 2026
Merged

fix: reorder exports to place types first#1261
straker merged 1 commit into
dequelabs:developfrom
JustasMonkev:fix/export-list-order

Conversation

@JustasMonkev
Copy link
Copy Markdown
Contributor

@JustasMonkev JustasMonkev commented Dec 21, 2025

Move the "types" condition to the first position in package.json
exports field to align with Node.js conditional exports standards.
This ensures TypeScript properly resolves type definitions.

Closes: #1243

@JustasMonkev JustasMonkev requested a review from a team as a code owner December 21, 2025 10:38
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Dec 21, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

@straker straker left a comment

Choose a reason for hiding this comment

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

Thanks for the changes.

Copy link
Copy Markdown
Member

@Garbee Garbee left a comment

Choose a reason for hiding this comment

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

The ordering is correct per Node docs.

Thank you for putting the time into this.

@straker
Copy link
Copy Markdown
Contributor

straker commented Jan 6, 2026

Approved for security.

@straker straker merged commit 40d22e3 into dequelabs:develop Jan 6, 2026
31 of 34 checks passed
@github-actions github-actions Bot mentioned this pull request Jan 9, 2026
straker added a commit that referenced this pull request Jan 12, 2026
##
[4.11.1](v4.11.0...v4.11.1)
(2026-01-09)


### Bug Fixes

* reorder exports to place types first
([#1261](#1261))
([40d22e3](40d22e3)),
closes [#1243](#1243)
* Update axe-core to v4.11.1
([#1271](#1271))
([77f577e](77f577e))
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.

Fix export list order

4 participants