Skip to content

Commit

Permalink
Publish type declarations (#724)
Browse files Browse the repository at this point in the history
* Publish type declarations

* Create mean-peas-give.md
  • Loading branch information
RunDevelopment committed Apr 8, 2024
1 parent 35c8153 commit 1c37d5b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mean-peas-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-regexp": patch
---

Publish type declarations
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"node": "^18 || >=20"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"exclude": ["tests/**/*", "tools/**/*", "typings/**/*", "docs/**/*"],
"compilerOptions": {
"removeComments": true /* Do not emit comments to output. */
"removeComments": true /* Do not emit comments to output. */,
"declaration": true /* Generates corresponding '.d.ts' file. */
}
}

0 comments on commit 1c37d5b

Please sign in to comment.