Jarred Sumner
5311219de7
dead code
2022-01-03 22:26:24 -08:00
Jarred SUmner
168c6138d8
[bun upgrade] Free memory after checking for updates finishes
2022-01-03 01:41:47 -08:00
Jarred Sumner
35fef33868
Update upgrade_command.zig
2022-01-02 16:31:19 -08:00
luke miles
7f33846005
copy: replace Bun with bun ( #99 )
...
Most CLI tools have the style convention of referring to themselves in
lowercase. It is, after all, the name that users type in when using
the tool. This PR maintains that convention in bun.
"Drop the uppercase B, it's cleaner"
2022-01-02 03:09:51 -08:00
Jarred Sumner
cc0e581bc3
[bun upgrade] Add fallback message if there's an error
2022-01-02 02:41:11 -08:00
Jarred Sumner
b1c3fce49b
[internal] Move network_thread into http package
2021-12-30 21:27:27 -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
8d031f13c0
zig fmt
2021-12-29 02:49:25 -08:00
Jarred Sumner
565cf23d92
More defensively search for shells to use if one is not found in the path
2021-12-28 04:04:29 -08:00
Jarred Sumner
fb34ebc674
Update create_command.zig
2021-12-28 03:16:29 -08:00
Jarred Sumner
6c867c34d7
Fix edgecase in bun create tasks
2021-12-28 03:15:53 -08:00
Jarred Sumner
471f9aec19
[bun run] Fix bug with absolute paths to js-like files
2021-12-28 02:46:50 -08:00
Jarred Sumner
5a42b59e91
Update add_completions.zig
2021-12-27 22:29:36 -08:00
Jarred Sumner
266870fee8
add oom workaround
2021-12-27 22:19:47 -08:00
Jarred Sumner
336a4b6ac2
Prepare to run unit tests & remove some dead code ( #92 )
...
* Remove some dead code
* 💀 code
* Fix the zig tests
* [JS Printer] Print integers faster & less scientific notation on decimals
* 💀 dead code
* skip
* Run all the unit tests
2021-12-27 18:06:31 -08:00
Jarred Sumner
143973e031
Fix rare crash when new thread is created, possibly only on musl
2021-12-24 20:44:25 -08:00
Jarred Sumner
a94bbd8f3c
[bun create] Run with bun run
2021-12-24 06:15:44 +00:00
Jarred Sumner
46354da728
Add linux aarch64 target to installer
2021-12-24 06:15:44 +00:00
Jarred Sumner
ff99155f7d
--dump-limits flag to inspect what the max file descriptor & stack size is
2021-12-21 18:48:52 -08:00
Jarred Sumner
fe415a30c5
Copy-pastable
2021-12-21 01:47:04 -08:00
Jarred Sumner
a0551a9b8b
Autocomplete popular package names (thanks @evanwashere)
2021-12-19 23:30:25 -08:00
Jarred Sumner
39d8b0c8c1
cleanup
2021-12-18 21:03:26 -08:00
Jarred Sumner
430fe09d6d
Delete synchronous HTTP client!
2021-12-18 20:23:10 -08:00
Jarred Sumner
e2d6c692c4
Use new http in bun upgrade
2021-12-18 20:03:00 -08:00
Jarred Sumner
501fab0bef
2x - 5x faster bun create
2021-12-18 20:02:33 -08:00
Jarred Sumner
461c769ac4
Track peer dependencies but don't install them
2021-12-16 19:18:51 -08:00
Jarred Sumner
6382bb5333
[bun install] Start add/remove command
2021-12-16 19:18:51 -08:00
Jarred Sumner
94e469c803
[bun install] WIP
2021-12-16 19:18:51 -08:00
Jarred Sumner
6da14ae310
wip
2021-12-16 19:18:51 -08:00
Jarred Sumner
e7f1ff14d6
[bun install] Begin to port my golang node-semver to Zig
2021-12-16 19:18:51 -08:00
Jarred Sumner
b126392a8e
Fix missing symbol error for pre-macOS 11
2021-11-09 14:13:58 -08:00
Jarred Sumner
8b3463e73f
[bun run] Remove unnecessary code
2021-11-07 14:45:06 -08:00
Jarred Sumner
3379289024
[bun run] Filter out builtin commands from showing up at the top
2021-11-07 02:39:31 -08:00
Jarred Sumner
562a8df46b
[bun run] Filter out js files that start with . from completions
2021-11-07 02:39:01 -08:00
Jarred Sumner
68e2869d64
[bun run] Filter out post* and pre* from the completions
2021-11-07 02:38:38 -08:00
Jarred Sumner
c6818cc55c
[zsh] Better zsh completions install dir guessing
2021-11-07 02:38:09 -08:00
Jarred Sumner
c1aa0323dc
[bun run] Fix issue with \\" \\" in scripts
2021-11-05 04:09:27 -07:00
Jarred Sumner
d0823beef5
Update run_command.zig
2021-11-05 01:23:07 -07:00
Jarred Sumner
b0e98892e5
[bun run] Exclude .config.* files from showing up as runnable with Bun.js
2021-11-05 01:22:48 -07:00
Jarred Sumner
d4c1bf6c67
[bun run] Fix bug with yarn getting replaced for - commands
2021-11-05 01:15:24 -07:00
Jarred Sumner
3ef55d10ae
[bun run] Improve fish completions by adding a description
2021-11-05 01:15:09 -07:00
Jarred Sumner
5ce171d92c
[bun run][bun create] Do not follow symlinks when exec'ing a child process
2021-11-04 21:37:10 -07:00
Jarred Sumner
e409148941
[bun run] Fix bug with quotes and spaces
...
Fixes #53
2021-11-04 21:00:44 -07:00
Jarred Sumner
d502d0bcd6
Update install.sh
2021-11-03 15:26:06 -07:00
Jarred Sumner
2018f5020a
[installer] Detect rosetta in install.sh
2021-11-03 15:25:38 -07:00
Jarred Sumner
eab1938012
[bun create] Auto-set to Next.js v12.0.2
2021-11-03 00:27:13 -07:00
Jarred Sumner
204d468ad2
[internal] Global.configureAllocator()
2021-11-02 18:07:11 -07:00
Jarred Sumner
fbb0342511
[CLI] Fix completions auto-installer for zsh
2021-11-01 21:23:47 -07:00
Jarred Sumner
4d4966592e
[upgrade] Reinstall completions on bun upgrade
2021-11-01 04:03:43 -07:00
Jarred Sumner
83e553d6a9
[install] Auto-set PATH if possible
2021-11-01 03:59:36 -07:00