Skip to content

Commit

Permalink
chore: do not publish ts files
Browse files Browse the repository at this point in the history
this is to exclude ts files when publishing to npm.
  • Loading branch information
aladdin-add committed May 13, 2024
1 parent 3e9eb67 commit adba31f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
}
},
"files": [
"dist"
"dist/**/*.js",
"dist/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/config-array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
}
},
"files": [
"dist"
"dist/**/*.js",
"dist/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/object-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
}
},
"files": [
"dist"
"dist/**/*.js",
"dist/**/*.d.ts"
],
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit adba31f

Please sign in to comment.