Skip to content

Commit ffbc4dd

Browse files
committed
ci: add autobuild for publish
1 parent 374be57 commit ffbc4dd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/dev/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"scripts": {
1111
"build": "bun build index.ts --outdir dist --target bun --external @djs-core/runtime --external discord.js --minify && bun types",
1212
"dev": "bun build index.ts --outdir dist --target bun --watch",
13-
"types": "dts-bundle-generator -o dist/index.d.ts index.ts --no-check"
13+
"types": "dts-bundle-generator -o dist/index.d.ts index.ts --no-check",
14+
"prepack": "bun run build"
1415
},
1516
"dependencies": {
1617
"@clack/prompts": "^0.11.0",

packages/runtime/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"scripts": {
99
"dev": "bun build index.ts --outdir dist --target bun --external discord.js --watch",
1010
"build": "bun build index.ts --outdir dist --target bun --external discord.js --minify && bun run types",
11-
"types": "dts-bundle-generator -o dist/index.d.ts index.ts --no-check"
11+
"types": "dts-bundle-generator -o dist/index.d.ts index.ts --no-check",
12+
"prepack": "bun run build"
1213
},
1314
"devDependencies": {
1415
"typescript": "^5",

0 commit comments

Comments
 (0)