chloe caruso
ec9d7091c0
embrace translate-c more, remove some more usingnamespace
2025-04-15 12:20:17 -07:00
chloe caruso
903706dccf
file descriptor rewrite ( #18790 )
2025-04-15 09:37:11 -07:00
Don Isaac
f730a355bf
fix: BufferWriter never returns an error ( #18981 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-04-13 08:57:41 -07:00
Jarred Sumner
879fdd7ef6
Bump Zig again ( #18948 )
2025-04-11 19:13:20 -07:00
chloe caruso
c1dc5f1b73
remove some usingnamespaces ( #18765 )
2025-04-10 14:16:30 -07:00
Jarred Sumner
93855bd88c
Fix setImmediate slowness ( #18889 )
2025-04-09 20:03:26 -07:00
Don Isaac
1d6bdf745b
fix(cli/test): improve filtering DX ( #18847 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-04-09 16:41:32 -07:00
Don Isaac
dff1f555b4
test: get zig build test working ( #18207 )
...
### What does this PR do?
Lets us write and run unit tests directly in Zig.
Running Zig unit tests in CI is blocked by https://github.com/ziglang/zig/issues/23281 . We can un-comment relevant code once this is fixed.
#### Workflow
> I'll finish writing this up later, but some initial points are below.
> Tl;Dr: `bun build:test`
Test binaries can be made for any kind of build. They are called `<bun>-test` and live next to their corresponding `bun` bin. For example, debug tests compile to `build/debug/bun-debug-test`.
Test binaries re-use most cmake/zig build steps from normal bun binaries, so building one after a normal bun build is pretty fast.
### How did you verify your code works?
I tested that my tests run tests.
2025-04-08 15:31:53 -07:00
190n
eee5d4fb4a
node:worker_threads low-hanging fruit ( #18758 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Don Isaac <donald.isaac@gmail.com >
Co-authored-by: chloe caruso <git@paperclover.net >
2025-04-08 05:29:53 -07:00
Alistair Smith
5d1ca1f371
Move svg imports to a bun-env.d.ts file that gets created with bun init ( #18838 )
2025-04-07 23:43:13 +01:00
Jarred Sumner
a1e1f720ed
Bump WebKit ( #18784 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-04-04 21:14:36 -07:00
chloe caruso
378c68a024
fix build log missing spacee ( #18785 )
2025-04-04 15:14:33 -07:00
chloe caruso
8414ef1562
preserve symlinks ( #18550 )
2025-04-03 19:14:02 -07:00
Jarred Sumner
11f2b5fb55
Run zig fmt
2025-04-03 12:04:24 -07:00
Jarred Sumner
4806e84cc1
Revert "remove many usingnamespace, introduce new ref count and ref leak debugging tools ( #18353 )"
...
This reverts commit a199b85f2b . It does not compile on Windows.
2025-04-01 08:35:51 -07:00
chloe caruso
a199b85f2b
remove many usingnamespace, introduce new ref count and ref leak debugging tools ( #18353 )
2025-03-31 17:17:38 -07:00
Jarred Sumner
f3da1b80bc
Use macOS signpost api for tracing ( #14871 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Don Isaac <donald.isaac@gmail.com >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-03-31 04:13:11 -07:00
Jarred Sumner
fee911194a
Remove dead code from js_printer ( #18619 )
2025-03-29 04:46:23 -07:00
Don Isaac
f0dfa109bb
fix(cli/pack): excluded entries nested within included dirs ( #18509 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-28 19:05:37 -07:00
Alistair Smith
57381d43ed
types: Rewrite to avoid conflicts and allow for doc generation ( #18024 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-25 14:33:30 -07:00
nmarks
27cf0d5eaf
Remove references to developers former name ( #18319 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
2025-03-20 00:53:46 -07:00
Jarred Sumner
e39305dd91
Remove deprecated shim wrapper for zig <> c++ fns ( #18269 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-03-19 15:40:08 -07:00
190n
de4182f305
chore: upgrade zig to 0.14.0 ( #17820 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: pfg <pfg@pfg.pw >
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-03-14 22:13:31 -07:00
Dylan Conway
ddfc8555f7
crypto: fix test-crypto-random.js ( #18044 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
2025-03-11 18:21:20 -07:00
Zack Radisic
e6cb0de539
CSS modules ( #17958 )
2025-03-06 23:35:06 -08:00
Meghan Denny
7eab65df99
cmd: tidy spacing in bun init ( #17659 )
2025-03-04 19:14:33 -08:00
James Hudon
0d4bd61ae0
rm unused PackageJSON.hash field ( #17880 )
2025-03-03 20:51:00 -08:00
Alistair Smith
9141337c7d
Fix some issues in Bun types ( #17424 )
...
Co-authored-by: Michael H <git@riskymh.dev >
2025-03-03 16:04:12 -08:00
Don Isaac
6e140b4b13
feat(test): add test.failing ( #17864 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-03 14:45:34 -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
Dylan Conway
fd9a5ea668
use path.joinAbsStringBuf in bun outdated ( #17706 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-26 00:37:35 -08:00
versecafe
39fdabc364
Add bun pm pack --filename for Yarn compatibility ( #17628 )
2025-02-25 21:17:04 -08:00
Meghan Denny
1574df835e
zig: make JSValue.toBunString use JSError ( #17648 )
2025-02-25 13:04:44 -08:00
pfg
04f985523b
Fix bun init on windows ( #17656 )
2025-02-24 22:08:02 -08:00
Michael H
445fe2ac4a
fix --print process.argv <args> ( #17251 )
2025-02-24 15:39:47 -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
1de31292fb
Add react, tailwind, react+tailwind+shadcn to bun init ( #17282 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-02-18 10:38:37 -08:00
Ben Kunkle
b44769c751
Glob Match Rewrite ( #16824 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-02-14 06:32:57 -08:00
chloe caruso
2b97d61deb
chore: remove some trivial usage of usingnamespace ( #17268 )
2025-02-11 19:38:52 -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
Michael H
584db03a74
bun pm pack support "files" starting with ./ (#17135 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-02-08 01:27:15 -08:00
chloe caruso
f912e0abc4
hot module reloading for HTML import development mode ( #16955 )
2025-02-08 00:31:30 -08:00
Jarred Sumner
1ea14f483c
Introduce bun ./index.html ( #16993 )
2025-02-03 04:06:12 -08:00
Jarred Sumner
aac951bd47
Move semver-related structs into their own files ( #16987 )
2025-02-02 00:20:45 -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
891057cd20
fix bun init -h ( #16896 )
2025-01-31 04:15:44 -08:00
Meghan Denny
676e8d1632
zig: delete is_bindgen ( #16858 )
2025-01-28 23:51:24 -08:00
Dylan Conway
7410da9c71
fix(install): bun.lockb -> bun.lock with incorrect optional peer dependencies ( #16743 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-26 04:29:54 -08:00
pfg
ee1932e92c
Don't run json files ( #16733 )
2025-01-24 22:08:01 -08:00