Skip to content

Commit

Permalink
chore: prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexcited committed Aug 17, 2024
1 parent 269dd77 commit 48ab6c3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
26 changes: 23 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,26 @@
"scripts": {
"build": "bun x rimraf ./dist ./tsconfig.tsbuildinfo && bun run build:types && bun run build:bun",
"build:bun": "bun build ./src/index.ts --target bun --sourcemap=external --format esm --outdir ./dist --minify",
"build:types": "bun x tsc"
"build:types": "bun x tsc",
"release": "release-it"
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"tagAnnotation": "Release v${version}",
"tagName": "js-v${version}"
},
"github": {
"draft": false,
"release": true,
"releaseName": "js v${version}"
},
"npm": {
"publish": true
},
"hooks": {
"before:init": "bun run build"
}
},
"license": "MIT",
"author": "Mikkel ALMONTE--RINGAUD <[email protected]> (https://github.com/Vexcited)",
Expand All @@ -31,7 +50,8 @@
"websocket"
],
"devDependencies": {
"bun-types": "latest",
"typescript": "^5.0.0"
"@types/bun": "^1.1.6",
"release-it": "^17.6.0",
"typescript": "^5.5.4"
}
}

0 comments on commit 48ab6c3

Please sign in to comment.