Jarred Sumner
b631ea7d72
import everything from "bun" where possible
2022-11-29 02:42:56 -08:00
Jarred Sumner
e45f72e8e4
Automatically install npm packages when running a script in Bun's runtime ( #1459 )
...
* Update bundler.zig
* WIP
* Update README.md
* Update README.md
* wip
* Support running scripts without package.json
* Add `--no-auto-install` and `--prefer-offline` flags
* WIP
* wip
* Update headers-handwritten.h
* WIP
* Build fixes
* Fix UAF
* Update install.zig
* Must call .allocate()
* Micro-optimization: only call .timestamp() once per tick when installing packages
* Support progress bar
* Extend the timestamp for package staleness checks to 1 day
* Add `--prefer-latest`, `-i` CLI Flags
* Fix crash
* Support line text manually being set on an Error instance
* Add a few more fields for error messages
* Fix bug when counting 8 character strings in string builder
* Implement error handling for automatic package installs!
* Fix crash
* Make it say module when there's a slash
* Update module_loader.zig
* Ban dependency versions in import specifiers when a package.json is present
* Remove unused field
* Update README.md
* Update README.md
* Update README.md
* Update README.md
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-11-06 21:42:05 -08:00
Jarred Sumner
62fa5d59cb
Rename is_macro_mode -> use_alternate_source_cache
2022-09-04 21:43:53 -07:00
Jarred Sumner
55bfa6cd02
Update cache.zig
2022-05-19 19:27:25 -07:00
Jarred Sumner
89cd35f07f
[bun dev] Improve HMR reliability when filesystem is slow or reading large files
2022-03-31 04:55:47 -07:00
Jarred Sumner
701d6ec45d
rename _global -> bun
2022-03-08 18:54:54 -08:00
Jarred Sumner
51fbbea1d3
upgrade zig
2022-03-04 00:20:22 -08:00
Jarred Sumner
8837c3c10b
[Bun.js][bun dev] Support macros inside of Bun.js
...
Closes #36
2022-01-04 22:12:37 -08:00
Jarred Sumner
e75c711c68
Upgrade to latest Zig, remove dependency on patched version of Zig ( #96 )
...
* Prepare to upgrade zig
* zig fmt
* AllocGate
* Update data_url.zig
* wip
* few files
* just headers now?
* I think everything works?
* Update mimalloc
* Update hash_map.zig
* Perf improvements to compensate for Allocgate
* Bump
* 📷
* Update bun.lockb
* Less branching
* [js parser] Slightly reduce memory usage
* Update js_parser.zig
* WIP remove unused
* [JS parser] WIP support for `with` keyword
* Remove more dead code
* Fix all the build errors!
* cleanup
* Move `network_thread` up
* Bump peechy
* Update README.md
2021-12-30 21:12:32 -08:00
Jarred SUmner
5a7014a418
Slightly safer
2021-12-21 19:44:59 -08:00
Jarred Sumner
6355ac219e
[JS Parser] Parser errors should _always_ report an error location
2021-10-23 05:02:26 -07:00
Jarred Sumner
10696680ff
Polish
2021-10-15 19:44:53 -07:00
Jarred Sumner
22837d69b7
Remove cache_files since it's not used and causes slower Bun compilation times
2021-09-24 15:23:55 -07:00
Jarred Sumner
4f7ff6db2c
Fixed memory leaks, but SSR is slower. Should move cleanup & restart steps to a real idle timeout
...
Former-commit-id: 9499ee3109cb336deb9380f0190631a30c9da51c
2021-09-04 04:50:47 -07:00
Jarred Sumner
54a7c4290a
More defensive file handle reuse
...
Former-commit-id: 5bb38e0bc75a600d9c1b744990d9e4a1b66edf42
2021-09-02 19:25:32 -07:00
Jarred Sumner
d009e02c1d
latest
...
Former-commit-id: 1086d4f894611c1171f57d9eaf82f9170e9de2d1
2021-09-02 15:54:07 -07:00
Jarred Sumner
2fa09f7c09
Fix UMD, fix PNPM, importing require'd modules in app code
...
Former-commit-id: 3d831ad95904d2123964f2ebccff48f1e9f954e9
2021-09-02 11:51:52 -07:00
Jarred Sumner
afb6684782
Fix resolve bug with mixed-case node_modules
...
Former-commit-id: 5bdae0ee491e28b49ceed6136f04e0c1feddc808
2021-08-23 02:30:30 -07:00
Jarred Sumner
e6eba3e484
Use the new Lock type
...
Former-commit-id: fcb04d39a1629047ab0a227c2992922725189ca7
2021-08-20 16:45:01 -07:00
Jarred Sumner
6585226de7
Ignore
...
Former-commit-id: b2c4fce705222612b0457481657db3f42db41d1c
2021-08-17 21:19:45 -07:00
Jarred Sumner
adbeb24979
starting to work
...
Former-commit-id: ae113559c6
2021-06-27 23:36:35 -07:00
Jarred Sumner
f43234bc30
little kqueue fs watcher
...
Former-commit-id: f93472101a
2021-06-12 00:49:46 -07:00
Jarred Sumner
079fe523d4
Upgrade hash table
...
Former-commit-id: 5d208f9ea0
2021-06-06 21:16:43 -07:00
Jarred Sumner
d49e0a5fa1
WIP node module bundles
...
Former-commit-id: 797b2ff557
2021-06-06 18:34:01 -07:00
Jarred Sumner
65f4ea1e18
Generate differnet versions of Bundler, Resolver, and Caches at comptime based on whether we're serving over HTTP
...
Former-commit-id: e1a8852706
2021-06-04 16:06:38 -07:00
Jarred Sumner
ee6643ce8b
wip
...
Former-commit-id: a6bc130918
2021-06-01 20:49:49 -07:00
Jarred Sumner
05ec7232bf
all
...
Former-commit-id: 664dbf569c
2021-05-28 23:26:13 -07:00
Jarred Sumner
154e049638
lots
...
Former-commit-id: 9ccb4dd082
2021-05-16 23:25:12 -07:00
Jarred Sumner
ca4120afec
bug fixes galore
...
Former-commit-id: 7243945291
2021-05-13 17:44:50 -07:00
Jarred Sumner
2eb09c1fec
okay
...
Former-commit-id: b42b239344
2021-05-13 13:51:40 -07:00
Jarred Sumner
bed0227a8f
hm
...
Former-commit-id: 28fce4aac1
2021-05-13 00:46:22 -07:00
Jarred Sumner
c09d7cf839
That's all the errors??
...
Former-commit-id: f9a74df73d
2021-05-12 13:00:25 -07:00
Jarred Sumner
f8131f42bc
okay
...
Former-commit-id: 2c20d88e8d
2021-05-12 01:46:58 -07:00
Jarred Sumner
fc75a0dea6
asdasdasdasd
...
Former-commit-id: 2b3c0584c6
2021-05-10 20:05:53 -07:00
Jarred Sumner
166c353ddb
1day
...
Former-commit-id: b7d8fe2f35
2021-05-09 18:57:48 -07:00