Skip to content

Commit

Permalink
Include docs/ folder in bun-types (#15398)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner authored Nov 25, 2024
1 parent 4f8c1c9 commit 9cbe1ec
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 71 deletions.
File renamed without changes.
67 changes: 0 additions & 67 deletions docs/troubleshooting.md

This file was deleted.

4 changes: 3 additions & 1 deletion packages/bun-types/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules/
dist/
dist/
docs/
*.tgz
9 changes: 6 additions & 3 deletions packages/bun-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
"license": "MIT",
"main": "",
"types": "index.d.ts",
"description": "Type definitions for Bun, an incredibly fast JavaScript runtime",
"description": "Type definitions and documentation for Bun, an incredibly fast JavaScript runtime",
"repository": {
"type": "git",
"url": "https://github.com/oven-sh/bun",
"directory": "packages/bun-types"
},
"files": [
"*.d.ts"
"*.d.ts",
"docs/**/*.md",
"docs/*.md"
],
"homepage": "https://bun.sh",
"dependencies": {
Expand All @@ -25,7 +27,8 @@
},
"scripts": {
"prebuild": "echo $(pwd)",
"build": "bun scripts/build.ts && bun run fmt",
"copy-docs": "rm -rf docs && cp -r ../../docs/ ./docs",
"build": "bun run copy-docs && bun scripts/build.ts && bun run fmt",
"test": "tsc",
"fmt": "echo $(which biome) && biome format --write ."
},
Expand Down

0 comments on commit 9cbe1ec

Please sign in to comment.