Skip to content

Commit 4833ed2

Browse files
authoredJul 13, 2024··
fix: also publish setup.js (#591)
## PR Checklist - [x] Addresses an existing open issue: fixes #588 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/console-fail-test/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/console-fail-test/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Adds it to the `package.json` `"files"` list, and also adds an `"exports"` entry for it.
1 parent 72ca4d6 commit 4833ed2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@
2222
"types": "./lib/index.d.cts",
2323
"default": "./lib/index.cjs"
2424
}
25-
}
25+
},
26+
"./setup": "./setup.js"
2627
},
2728
"main": "./lib/index.js",
2829
"files": [
2930
"lib/",
30-
"package.json",
3131
"LICENSE.md",
32-
"README.md"
32+
"package.json",
33+
"README.md",
34+
"setup.js"
3335
],
3436
"scripts": {
3537
"build": "tsup",

0 commit comments

Comments
 (0)
Please sign in to comment.