fix: exclude tsbuildinfo files from published packages for smaller bundles
This commit is contained in:
parent
f300f147fa
commit
ca154fadeb
8 changed files with 25 additions and 7 deletions
11
.changeset/pretty-actors-prove.md
Normal file
11
.changeset/pretty-actors-prove.md
Normal file
|
|
@ -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
|
||||
|
|
@ -19,7 +19,8 @@
|
|||
"emigrate": "dist/cli.js"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"!dist/*.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc --pretty",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"!dist/*.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc --pretty",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"!dist/*.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc --pretty",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"!dist/*.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc --pretty",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"!dist/*.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc --pretty",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"!dist/*.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc --pretty",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
"dist",
|
||||
"!dist/*.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc --pretty",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue