Skip to content

Commit

Permalink
Merge pull request #29 from axiomhq/arne/fix-types
Browse files Browse the repository at this point in the history
Add types to package.json exports
  • Loading branch information
bahlo authored Jun 26, 2023
2 parents 6c0b4a5 + dc2ff31 commit 0affd42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/cjs/index.js"
"default": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
}
3 changes: 2 additions & 1 deletion packages/pino/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/cjs/index.js"
"default": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"dependencies": {
"@axiomhq/js": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/winston/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/cjs/index.js"
"default": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
}

0 comments on commit 0affd42

Please sign in to comment.