Skip to content

Commit

Permalink
Exclude types.ts from package
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed May 6, 2024
1 parent 0f9be98 commit f721748
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/config-array/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"version": "0.12.3",
"exports": "./dist/esm/index.js",
"publish": {
"exclude": [
"!dist"
"include": [
"dist/esm/index.js",
"dist/esm/index.d.ts",
"dist/esm/types.d.ts",
"README.md",
"jsr.json",
"LICENSE"
]
}
}
10 changes: 10 additions & 0 deletions packages/config-array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
"default": "./dist/esm/index.js"
}
},
"files": [
"dist/cjs/index.cjs",
"dist/cjs/index.d.ts",
"dist/cjs/types.d.ts",
"dist/esm/index.js",
"dist/esm/index.d.ts",
"dist/esm/types.d.ts",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/eslint/rewrite.git"
Expand Down

0 comments on commit f721748

Please sign in to comment.