Skip to content

Commit

Permalink
fix(package): add lib export to package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffijoe committed Oct 3, 2024
1 parent 4587ab7 commit 2e761c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./node_modules/.bin/lint-staged && npm test
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# v11.0.3

- Add `lib` to exports lists

# v11.0.2

- Add `default` to exports lists
- Add `default` entry in every export

# v11.0.1

Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"import": "./lib/awilix.browser.js",
"types": "./lib/awilix.d.ts",
"default": "./lib/awilix.browser.js"
},
"./lib/*.js": {
"types": "./lib/*.d.ts",
"default": "./lib/*.js"
}
},
"engines": {
Expand Down

0 comments on commit 2e761c7

Please sign in to comment.