Skip to content

Commit

Permalink
fix: publish types
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Nov 7, 2024
1 parent 5ab4178 commit 262fecc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
"files": [
"build",
"!build/bin",
"!build/examples",
"!build/tests"
],
"main": "build/index.js",
"exports": {
".": "./build/index.js"
".": "./build/index.js",
"./types": "./build/src/types.js"
},
"scripts": {
"pretest": "npm run lint",
Expand Down Expand Up @@ -75,7 +77,8 @@
},
"tsup": {
"entry": [
"index.ts"
"index.ts",
"src/types.ts"
],
"outDir": "./build",
"clean": true,
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "@adonisjs/tsconfig/tsconfig.package.json",
"compilerOptions": {
"rootDir": "./",
"allowJs": false,
"outDir": "./build"
}
}

0 comments on commit 262fecc

Please sign in to comment.