Michael H
3cf6da9c9b
implement bunx --package ( #21517 )
...
### What does this PR do?
fixes #7034
### How did you verify your code works?
made tests, but need to do some more manual with release build
2025-08-12 17:07:46 -07:00
taylor.fish
41b1efe12c
Rename disabled parameter in Output.scoped ( #21769 )
...
It's very confusing.
(For internal tracking: fixes STAB-977)
2025-08-11 20:19:34 -07:00
pfg
a72d74e09a
Split JS parser into multiple files ( #20880 )
...
Splits up js_parser.zig into multiple files. Also changes visitExprInOut
to use function calls rather than switch
Not ready:
- [ ] P.zig is ~70,000 tokens, still needs to get smaller
- [x] ~~measure zig build time before & after (is it slower?)~~ no
significant impact
---------
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
2025-08-05 20:52:16 -07:00
taylor.fish
07cd45deae
Refactor Zig imports and file structure (part 1) ( #21270 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-22 17:51:38 -07:00
pfg
83760fc446
Sort imports in all files ( #21119 )
...
Co-authored-by: taylor.fish <contact@taylor.fish >
2025-07-21 13:26:47 -07:00
taylor.fish
a1c0f74037
Simplify/fix threading utilities ( #21089 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-18 22:02:36 -07:00
Michael H
be03a537df
make bun ci work as alias of --frozen-lockfile (like npm ci) ( #20590 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-17 05:41:06 -07:00
Jarred Sumner
664506474a
Reduce stack space usage in Cli.start function ( #21133 )
2025-07-17 05:34:37 -07:00
Jarred Sumner
804e76af22
Introduce bun update --interactive ( #20850 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-17 04:33:30 -07:00
Michael H
0ee633663e
Implement bun why ( #20847 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-16 02:00:53 -07:00
jarred-sumner-bot
e9ccc81e03
Add --sql-preconnect CLI flag for PostgreSQL startup connections ( #21035 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-07-14 15:05:30 -07:00
jarred-sumner-bot
3bba4e1446
Add --console-depth CLI flag and console.depth bunfig option ( #21016 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-14 04:58:41 -07:00
Jarred Sumner
55a9cccac0
bun.sh -> bun.com ( #20909 )
2025-07-10 00:10:43 -07:00
Jarred Sumner
fbe405fb89
Fail the test when no tests match the filter ( #20749 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-07-01 16:03:19 -07:00
Jarred Sumner
162a9b66d8
bun pm view -> bun info (#20419 )
...
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-17 13:31:16 -07:00
pfg
8a1d8047f1
Unhandled rejections: remove "bun" option ( #20441 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-06-16 19:13:00 -07:00
pfg
c44515eaaf
Support --unhandled-rejections flag and rejectionHandled event ( #19874 )
...
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
2025-06-13 19:05:05 -07:00
Jarred Sumner
498186764a
Remove a memcpy ( #20261 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-08 05:07:09 -07:00
Dax
02a7d71b70
Add BUN_BE_BUN environment variable flag ( #20251 )
2025-06-07 20:17:47 -07:00
Dylan Conway
5910504aeb
bun pm audit -> bun audit (#19944 )
2025-05-27 19:52:18 -07:00
Jarred Sumner
3ea6133c46
CI: Remove unused top-level decls in formatter in zig ( #19879 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-23 22:49:48 -07:00
Alistair Smith
9e329ee605
bun pm audit (#19855 )
2025-05-23 22:31:12 -07:00
Dylan Conway
8e80afbce1
Replace string runtime flags with enum ( #19827 )
2025-05-22 22:36:46 -07:00
Jarred Sumner
ea6f6dff7f
bun init: Add --react flag (#19687 )
2025-05-16 23:40:56 -07:00
Dylan Conway
4a210138a9
implement --no-addons flag and "node-addons" export condition ( #19530 )
2025-05-09 18:07:55 -07:00
Jarred Sumner
d8a69d6823
Enable ASAN with linux-x64-asan in CI
2025-05-02 10:44:09 -07:00
Zack Radisic
ce8cae060d
Add BUN_INSPECT_PRELOAD ( #19229 )
2025-04-23 16:42:15 -07:00
chloe caruso
3349c995b5
no usingnamespace, organize jsc namespace, enable -fincremental ( #19122 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-04-22 16:34:15 -07:00
chloe caruso
7d7512076b
remove more usingnamespace ( #19042 )
2025-04-17 19:04:05 -07:00
chloe caruso
4ec410e0d7
internal: make @import("bun") work in zig ( #19096 )
2025-04-17 12:32:47 -07:00
chloe caruso
903706dccf
file descriptor rewrite ( #18790 )
2025-04-15 09:37:11 -07:00
Jarred Sumner
5fa14574a6
Introduce --redis-preconnect CLI flag ( #18862 )
2025-04-08 14:04:12 -07:00
chloe caruso
8414ef1562
preserve symlinks ( #18550 )
2025-04-03 19:14:02 -07:00
chloe caruso
ddd87fef12
module.children and Module.runMain ( #18343 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: 190n <ben@bun.sh >
2025-03-21 16:57:10 -07:00
Don Isaac
bf0253df1d
fix(cli): ignore --loader flag when running as node ( #17992 )
2025-03-07 20:32:07 -08:00
chloe caruso
25c95f3bdc
hmr stability fixes ( #17794 )
2025-03-01 00:07:20 -08:00
pfg
7a033e49c5
Support 'bun init <folder>' ( #17743 )
2025-02-26 22:41:12 -08:00
Michael H
445fe2ac4a
fix --print process.argv <args> ( #17251 )
2025-02-24 15:39:47 -08:00
Galo Benjamín Bello Ponce
4978fb8baf
docs: add supported formats in cli docs ( #17556 )
2025-02-22 16:48:42 -08:00
Jarred Sumner
8c32eb8354
Fix create not working properly ( #17465 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: chloe caruso <git@paperclover.net >
2025-02-21 12:41:34 -08:00
Jarred Sumner
a23c11e381
Support BUN_PUBLIC_* and other env options in HTML imports ( #17227 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-02-10 02:09:48 -08:00
Jarred Sumner
ba8573494a
Add shadcn, tailwind and react detection & templates to bun create. Also: bun install --analyze <files...> ( #17035 )
2025-02-09 09:36:57 -08:00
chloe caruso
f912e0abc4
hot module reloading for HTML import development mode ( #16955 )
2025-02-08 00:31:30 -08:00
Michael H
1684c6246d
fix bunx on windows with postinstall scripts ( #17076 )
2025-02-05 22:31:42 -08:00
Jarred Sumner
1ea14f483c
Introduce bun ./index.html ( #16993 )
2025-02-03 04:06:12 -08:00
Meghan Denny
26d3688e53
zig: update to 0.14.0-dev ( #16862 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-02-01 01:11:02 -08:00
Michael H
f8cbb32343
bun build --env defaults to disable now (#16822 )
2025-01-27 18:54:17 -08:00
Meghan Denny
e5b9082319
fix test-buffer-zero-fill-cli.js ( #16633 )
2025-01-24 21:04:07 -08:00
Kory Smith
24f824c09d
Fixes typo where "affect" should have been "effect" ( #16660 )
2025-01-23 18:54:17 -08:00
Meghan Denny
af79cebf9e
unflag experimental css and html ( #16561 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-01-21 06:44:54 -08:00