mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: don’t ship tsbuildinfo files in npm package (#6809)
This PR updates our `files` list to be more specific; rather than include everything from `lib`, we include just `.js`, `.d.ts`, and their equivalent sourcemaps. This prevents noisy meta-files like `.tsbuildinfo` sneaking into the package, which are no use to anyone.
This commit is contained in:
parent
5f7b048080
commit
6fec36d8ba
@ -37,7 +37,10 @@
|
||||
"release": "node utils/remove_version_suffix.js && standard-version --commit-all"
|
||||
},
|
||||
"files": [
|
||||
"lib/",
|
||||
"lib/**/*.d.ts",
|
||||
"lib/**/*.d.ts.map",
|
||||
"lib/**/*.js",
|
||||
"lib/**/*.js.map",
|
||||
"install.js",
|
||||
"typescript-if-required.js",
|
||||
"cjs-entry.js",
|
||||
|
Loading…
Reference in New Issue
Block a user