Skip to content

Commit

Permalink
fix: make sure to include TypeScript typings in the NPM release
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger committed Feb 4, 2024
1 parent 1b1c696 commit 0d1c4af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.1",
"description": "Gatsby v5 transformer for unified.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"watch": "tsc --watch",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@
// "target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "./dist"
"outDir": "./dist",
"declaration": true
},
"include": ["./src/**/*"],
"exclude": [
Expand Down

0 comments on commit 0d1c4af

Please sign in to comment.