Skip to content

Commit

Permalink
🐛 Audit package file exports (#863)
Browse files Browse the repository at this point in the history
If a file is available in the `exports` field, it should also be included in the packaged files
  • Loading branch information
wwilsman authored Apr 5, 2022
1 parent 7288764 commit b3199ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/cli-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"access": "public"
},
"files": [
"dist"
"dist",
"test/helpers.js"
],
"engines": {
"node": ">=14"
Expand Down
3 changes: 2 additions & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"files": [
"dist",
"types/index.d.ts"
"types/index.d.ts",
"tests/helpers.js"
],
"main": "./dist/index.js",
"types": "./types/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion packages/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"node": ">=14"
},
"files": [
"dist"
"dist",
"test/helpers.js"
],
"main": "./dist/index.js",
"type": "module",
Expand Down

0 comments on commit b3199ee

Please sign in to comment.