Jarred Sumner
357581c61a
Shrink Bun's binary by 3.5 MB ( #15121 )
2024-11-14 06:02:15 -08:00
Meghan Denny
fdd8d35845
allow zig js host functions to return JSError ( #15120 )
2024-11-13 21:11:56 -08:00
dave caruso
32ddf343ee
bake: csr, streaming ssr, serve integration, safer jsvalue functions, &more ( #14900 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-13 18:19:12 -08:00
Meghan Denny
35513a9d6d
zig: remove JSValue.isEmpty ( #15128 )
2024-11-13 16:04:13 -08:00
Jarred Sumner
a1c4f667d9
Support ${configDir} in tsconfig.json ( #15063 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-11-08 17:08:54 -08:00
Dylan Conway
8f5eab3c84
fix(install): package-lock.json migration and non-existent cafile fixes ( #15059 )
2024-11-08 14:34:44 -08:00
Ciro Spaciari
f8d5b2e6e2
Fix module resolution cache keys ( #14901 )
...
Co-authored-by: dave caruso <me@paperdave.net >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-10-30 22:06:21 -07:00
dave caruso
e93c5ad993
feat(bake): css, production build, dev separateSSRGraph=false ( #14622 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-10-27 01:57:36 -07:00
Dylan Conway
d3323c84bb
fix(publish): missing bins bugfix ( #14488 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-11 21:28:47 -07:00
Dylan Conway
5fd0a61ae2
CA support for bun install ( #14416 )
2024-10-11 13:16:26 -07:00
Zack Radisic
a01f9d8e1b
Integrate CSS with bundler ( #14281 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Zack Radisic <zackradisic@Mac.attlocal.net >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Zack Radisic <zackradisic@Zacks-MBP.attlocal.net >
2024-10-04 20:23:10 -07:00
dave caruso
adc86c773b
chore: rename kit -> bake ( #14335 )
2024-10-03 15:34:53 -07:00
dave caruso
dd6554294e
bake: release to canary only ( #14258 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-10-03 00:52:14 -07:00
dave caruso
514d37b3d2
kit: implement server components dev server ( #14025 )
2024-09-27 20:53:39 -07:00
snwy
af12ff104a
fix utf8 handling when importing json ( #14168 )
2024-09-25 17:50:11 -07:00
Dylan Conway
5af782344f
fix(watch): use case insensitive path comparison ( #13909 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-14 01:41:33 -04:00
dave caruso
c2c2048072
framework api: init / work in progress ( #13215 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-12 16:44:03 -07:00
Jarred Sumner
de9557b19e
Fix edgecase with "os" and "cpu" in bun install ( #13848 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-09-11 16:47:38 -07:00
Jarred Sumner
02ff16d95c
Support Worker, relative file paths in standalone executables, and partially directories ( #13421 )
2024-08-20 13:05:40 -07:00
dave caruso
2680deb5d3
feat: bun build --compile --sourcemap ( #13047 )
2024-08-06 13:51:11 -07:00
Jarred Sumner
a5ba02804f
Use typed allocators in more places ( #12899 )
2024-07-28 18:37:35 -07:00
dave caruso
e2c3749965
fix(bundler): become smarter with __esm wrappers ( #12729 )
2024-07-24 02:00:20 -07:00
Ivan Baksheev
4e5d759c37
fix(bundler): ignore external rules for entrypoint ( #12736 )
2024-07-23 00:33:18 -07:00
dave caruso
43949151b1
fix(bundler): importing modules with trailing slash no longer uses a builtin ( #12632 )
2024-07-17 17:17:00 -07:00
Jarred Sumner
34e493f945
Experiment: disable -fPIC and relro ( #12582 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-17 02:33:46 -07:00
190n
75e442c170
Change .mjs to .mts during TypeScript module resolution ( fixes #12471 ) ( #12580 )
2024-07-15 18:12:18 -07:00
Ivan Baksheev
20235a0d22
Add packages option to remove all dependencies from bundle ( #12562 )
2024-07-14 15:20:27 -07:00
Jarred Sumner
ee25618197
Use bun.ComptimeStringMap instead of std.StaticStringMap ( #12351 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-04 23:05:51 -07:00
Jarred Sumner
b0018465cc
WebKit upgrade ( #12246 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-01 23:27:59 -07:00
Dylan Conway
da27f22622
fix(install): install binaries for packages installed multiple times ( #11886 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-06-28 03:24:39 -07:00
dave caruso
b76376f8a6
chore: upgrade zig to 0.13.0 ( #9965 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Grigory <grigory.orlov.set@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com >
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-06-20 13:48:39 -07:00
Jarred Sumner
a0032d1b5c
Replace libbase64 with simdutf ( #11982 )
2024-06-19 23:02:56 -07:00
Zack Radisic
7c27f3f9b4
Patch ( #11858 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
2024-06-18 16:34:10 -07:00
Zack Radisic
c85dd4e3bf
feat: bun patch ( #11470 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-06 17:48:05 -07:00
Ciro Spaciari
1d89c5988e
refactor OOM errors ( #11540 )
2024-06-02 22:56:26 -07:00
Meghan Denny
c456622161
node:fs/promises.cp should make path if dest does not exist ( #11433 )
2024-05-30 01:15:20 -07:00
dave caruso
7be0669840
fix(bundler): more windows backslash stuff ( #11333 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-25 21:52:59 -07:00
Meghan Denny
ecb6c810c8
replace [bun.MAX_PATH_BYTES]u8 with bun.PathBuffer ( #11162 )
2024-05-21 15:55:49 -07:00
dave caruso
0457d6a748
fix(win): bugs with files in roots / bugs with resolver and unc shares ( #11155 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-21 13:51:47 -07:00
Jarred Sumner
cabfca4039
Fix adding packages in workspaces ( #11177 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-05-20 21:24:37 -07:00
dave caruso
d0cacfc2ac
fix junction/pnpm on window ( #11157 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-17 19:32:44 -07:00
Jarred Sumner
49fa21f6dc
Don't error on comments & trailing commas in package.json ( #10287 )
...
* Don't error on comments & trailing commas in package.json
* Fix windows tests
* Fixup
* Update lockfile.zig
* Woopsie
* Woopsie
* Fix workspace path stuff on Windows
* Always decode
* Always decode
* Revert some things
* Update lockfile.zig
2024-04-25 03:16:00 -07:00
Meghan Denny
685dc02142
windows: fix bun-create ci tests ( #10494 )
...
* windows: fix bun-create ci tests
* fix lint
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-24 21:51:05 -07:00
Jarred Sumner
1191bf0c15
Delete dead test code ( #10405 )
...
* Delete dead test code
* Apply formatting changes
---------
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-20 21:25:10 -07:00
dave caruso
a062e2d367
fix(bundler): fix --compile with asset files on windows ( #10385 )
...
* fix some bundler things
* buh
* buh
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-20 17:13:50 -07:00
Dylan Conway
5a81dc8e33
fix(install): fix dependency install order ( #10240 )
...
* packages wait for parent trees before install
* use `directoryExistsAt`
* missing increment
* fix faccessat
* swap destination and target
* update
* force
* only create destination dir before installing package
* fix windows symlink/junction
* increment, false on extracting
* done
2024-04-15 18:29:34 -07:00
Meghan Denny
70023bc4ed
linter: ergonomics and new rules ( #10197 )
...
* linter: allow a trailing field
* linter: dont fail if no matches are found
* lint: only import 'bun' once
* lint: ban std.mem.indexOfAny
* linter: ignore commented out code and ignore benchmarks
* this was testing nothing
* lint: ban std.debug.print
* this wasnt testing anything either
2024-04-11 22:26:23 -07:00
Jarred Sumner
688844b472
refactor: ban std.debug.assert ( #10168 )
...
* Ban `std.debug.assert`
* Create .clangd
* Update lint.yml
* Update linter.ts
* update
* lint
* Update linter.ts
* Update linter.ts
* update
* Update linter.ts
* update
* Update linter.ts
* more
* Update install.zig
* words
* Remove UB
2024-04-11 17:52:29 -07:00
Meghan Denny
e209ae81dd
meta: ensure there's a single 'bun' import per file in zig ( #10137 )
...
* meta: ensure there's a single 'bun' import per file in zig
* undo this change in codegen
2024-04-09 22:41:07 -07:00
Jarred Sumner
2615dc742e
Partial fix for #10028 ( #10030 )
...
* Partial fix for #10028
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-08 07:32:43 -07:00