Skip to content

Commit

Permalink
fix: exclude tsbuildinfo files from published packages for smaller bu…
Browse files Browse the repository at this point in the history
…ndles
  • Loading branch information
joakimbeng committed May 30, 2024
1 parent f300f14 commit ca154fa
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 7 deletions.
11 changes: 11 additions & 0 deletions .changeset/pretty-actors-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@emigrate/reporter-pino': patch
'@emigrate/plugin-tools': patch
'@emigrate/storage-fs': patch
'@emigrate/postgres': patch
'@emigrate/mysql': patch
'@emigrate/types': patch
'@emigrate/cli': patch
---

Minimize package size by excluding \*.tsbuildinfo files
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"emigrate": "dist/cli.js"
},
"files": [
"dist"
"dist",
"!dist/*.tsbuildinfo"
],
"scripts": {
"build": "tsc --pretty",
Expand Down
3 changes: 2 additions & 1 deletion packages/mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
}
},
"files": [
"dist"
"dist",
"!dist/*.tsbuildinfo"
],
"scripts": {
"build": "tsc --pretty",
Expand Down
3 changes: 2 additions & 1 deletion packages/plugin-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
}
},
"files": [
"dist"
"dist",
"!dist/*.tsbuildinfo"
],
"scripts": {
"build": "tsc --pretty",
Expand Down
3 changes: 2 additions & 1 deletion packages/postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
}
},
"files": [
"dist"
"dist",
"!dist/*.tsbuildinfo"
],
"scripts": {
"build": "tsc --pretty",
Expand Down
3 changes: 2 additions & 1 deletion packages/reporter-pino/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
}
},
"files": [
"dist"
"dist",
"!dist/*.tsbuildinfo"
],
"scripts": {
"build": "tsc --pretty",
Expand Down
3 changes: 2 additions & 1 deletion packages/storage-fs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
}
},
"files": [
"dist"
"dist",
"!dist/*.tsbuildinfo"
],
"scripts": {
"build": "tsc --pretty",
Expand Down
3 changes: 2 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
}
},
"files": [
"dist"
"dist",
"!dist/*.tsbuildinfo"
],
"scripts": {
"build": "tsc --pretty",
Expand Down

0 comments on commit ca154fa

Please sign in to comment.