mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
[error-utils] fix files in package.json to use dist (#10378)
These packages were publishing unnecessary files to npm so we can reduce to only the `dist` directory. - Example: https://unpkg.com/browse/@vercel/error-utils@2.0.0/ - Docs: https://docs.npmjs.com/cli/v9/configuring-npm/package-json#files
This commit is contained in:
5
.changeset/fuzzy-yaks-judge.md
Normal file
5
.changeset/fuzzy-yaks-judge.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@vercel/error-utils": patch
|
||||
---
|
||||
|
||||
fix `files` in package.json to use `dist`
|
||||
@@ -4,6 +4,9 @@
|
||||
"version": "1.0.4",
|
||||
"types": "dist/index.d.ts",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json"
|
||||
},
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"types": "dist/index.d.ts",
|
||||
"main": "dist/index.js",
|
||||
"files": [
|
||||
"dist/*"
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
"version": "1.0.7",
|
||||
"types": "index.d.ts",
|
||||
"main": "index.d.ts",
|
||||
"files": [
|
||||
"*.d.ts"
|
||||
],
|
||||
"dependencies": {
|
||||
"@types/node": "14.14.31",
|
||||
"@vercel-internals/constants": "1.0.4",
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
"description": "A collection of error utilities for vercel/vercel",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/vercel/vercel.git",
|
||||
|
||||
Reference in New Issue
Block a user