Fix packages not including all files (#2396)

This commit is contained in:
Samy Pessé
2024-07-22 16:20:06 +02:00
committed by GitHub
parent d1bd02a6f5
commit 3445db41ce
4 changed files with 29 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@gitbook/react-contentkit': minor
'@gitbook/react-openapi': minor
'@gitbook/react-math': minor
---
Fix files published in the NPM packages by defining "files" in "package.json"
+7 -1
View File
@@ -23,5 +23,11 @@
"build": "tsc",
"typecheck": "tsc --noEmit",
"dev": "tsc -w"
}
},
"files": [
"dist",
"src",
"README.md",
"CHANGELOG.md"
]
}
+8 -1
View File
@@ -22,5 +22,12 @@
"build": "tsc",
"typecheck": "tsc --noEmit",
"dev": "tsc -w"
}
},
"files": [
"dist",
"src",
"css",
"README.md",
"CHANGELOG.md"
]
}
+7 -1
View File
@@ -30,5 +30,11 @@
"typecheck": "tsc --noEmit",
"unit": "bun test",
"dev": "tsc -w"
}
},
"files": [
"dist",
"src",
"README.md",
"CHANGELOG.md"
]
}