Skip to content

Commit

Permalink
fix: Fixes exports to correctly export test utils
Browse files Browse the repository at this point in the history
This change slightly adjusts the exports in this repo's package.json in order to expose the required test utilities to consumers.

While it works to provide the alias within release-it@529bc1f, it's slightly confusing to consumers who expect the export to map to a real path on disc.

Relates to release-it#920 and tweaks release-it@529bc1f to use correct path.
  • Loading branch information
scalvert committed Jul 17, 2022
1 parent 3670deb commit 0c635bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -38,7 +38,7 @@
"type": "module",
"exports": {
".": "./lib/index.js",
"./test/util.js": "./test/util/index.js"
"./test/util/index.js": "./test/util/index.js"
},
"files": [
"bin",
Expand Down

0 comments on commit 0c635bb

Please sign in to comment.