aboutsummaryrefslogtreecommitdiff
path: root/src/cli (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-01Fix crash in test runner with gc modeGravatar Jarred Sumner 1-1/+3
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 13-44/+44
2022-11-27don't start NetworkThread unless necessaryGravatar Jarred Sumner 2-3/+2
2022-11-23Remove extra newlinesGravatar Jarred Sumner 1-1/+1
2022-11-20Make it yellowGravatar Jarred Sumner 1-1/+1
2022-11-20Print a countGravatar Jarred Sumner 1-20/+46
2022-11-19Introduce `BUN_GARBAGE_COLLECTOR_LEVEL` debug environment variableGravatar Jarred Sumner 1-6/+1
2022-11-14Bugfixes and perf improvements to child_processGravatar Jarred SUmner 1-3/+3
2022-11-13Fix incorrect exit status messageGravatar Jarred Sumner 1-3/+6
2022-11-10Allow install script to specify debug-info variant with debug symbols (#1484)Gravatar Ashcon Partovi 1-3/+11
2022-11-10[bun run] Fix potential crash when a command terminates abnormallyGravatar Jarred Sumner 1-4/+17
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 1-4/+5
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-11-07clean up some reliability issues with automatic installGravatar Jarred Sumner 1-0/+13
2022-11-07[bun:test] Implement `done` callback with support for async functionsGravatar Jarred Sumner 1-1/+4
2022-11-06Automatically install npm packages when running a script in Bun's runtime ↵Gravatar Jarred Sumner 1-0/+3
(#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-10-28Enable `BUN_OVERRIDE_MODULE_PATH` in `bun wiptest`Gravatar Jarred Sumner 1-0/+7
2022-10-28Update default tsconfig (#1418)Gravatar Colin McDonnell 1-5/+10
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2022-10-27Implement `process.release`Gravatar Jarred Sumner 1-0/+9
2022-10-20Update install script to use secure flagsGravatar Ashcon Partovi 1-2/+2
2022-10-18get args fix (#1346)Gravatar Dylan Conway 1-1/+1
* fix args.len < capacity check * tests for args * file name change * switch to stdout.writer, use JSON for parsing * bun-debug or bun * missing arg
2022-10-12[`bun wiptest`] Ignore `.` foldersGravatar Jarred Sumner 1-1/+1
2022-10-06Add --profile to bun upgradeGravatar Jarred SUmner 1-18/+30
2022-10-05Add abstraction for ticking async event loopGravatar Jarred Sumner 1-1/+2
2022-10-02Remove extra greenGravatar Jarred Sumner 1-6/+1
2022-10-01[bun:test] When there are lots of tests, print the failures at the bottom so ↵Gravatar Jarred Sumner 1-6/+20
you can see them easier
2022-09-30Remove extraneous calls to `.ref()`Gravatar Jarred Sumner 1-1/+3
2022-09-28Queue tests rather than run immediatelyGravatar Jarred Sumner 1-2/+20
2022-09-19Pass through arguments unmodified after `bun run <script>` or `bun <script>`Gravatar Jarred Sumner 1-44/+3
Fixes https://github.com/oven-sh/bun/issues/231
2022-09-16Make new HTTP client more stableGravatar Jarred Sumner 3-16/+26
2022-09-11New HTTP client (#1231)Gravatar Jarred Sumner 2-7/+34
* wip * It mostly works! * Support `bun install` * Support `bun create` * Support chunked transfer encoding * Handle Keep Alive when redirecting to a different domain Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-09-03chore(install-script): automatically add bun to path - bash shell (#1168)Gravatar Hyro 1-0/+49
* chore(install-script): automatically add bun to path - bash shell * add tildify * chore: make requested changes * fix: add equals true Co-authored-by: Wallunen <44848747+Wallunen@users.noreply.github.com> * fix: $XDG_CONFIG_HOME can be undefined Co-authored-by: Wallunen <44848747+Wallunen@users.noreply.github.com> Co-authored-by: Wallunen <44848747+Wallunen@users.noreply.github.com>
2022-09-01allow set proxy for github (#1198)Gravatar usrtax 1-1/+3
in china , github is blocked, we use https://ghproxy.com/ for proxy for example use `wget https://ghproxy.com/https://github.com/stilleshan/ServerStatus/archive/master.zip` instead of `wget https://github.com/stilleshan/ServerStatus/archive/master.zip`
2022-09-01Delete some dead codeGravatar Jarred Sumner 1-1/+0
2022-09-01[bun run] Silence `.env` loaded logGravatar Jarred Sumner 1-2/+5
Fixes https://github.com/oven-sh/bun/issues/1192
2022-08-20wip support #!Gravatar Jarred Sumner 1-1/+6
2022-08-13Improve event loop reliability on LinuxGravatar Jarred SUmner 1-1/+1
2022-08-10[bun upgrade] Add changelog URLGravatar Jarred Sumner 1-4/+10
Fixes https://github.com/oven-sh/bun/issues/1019
2022-08-07[bun install] Implement `bun link`Gravatar Jarred Sumner 2-0/+16
2022-08-05Fix https://github.com/oven-sh/bun/issues/996Gravatar Jarred Sumner 1-6/+4
2022-08-05Fix error message in install scriptGravatar Jarred Sumner 1-1/+2
2022-08-05Fix baseline detection for macOS x64Gravatar Jarred Sumner 1-1/+1
2022-08-04Implement `bun init` subcommandGravatar Jarred Sumner 4-0/+600
2022-08-04[bun create] Allow custom `start` commandsGravatar Jarred Sumner 1-3/+14
2022-08-04[bun upgrade] Prepare for version strings with a spaceGravatar Jarred Sumner 1-6/+18
2022-08-03[bun install] Support lifecycle hooks for cwd's package.jsonGravatar Jarred Sumner 1-164/+174
`bun install` will now run prepare & install `"scripts"` for the root package.json (not dependencies) This makes things like `husky` work and possibly `patch-package`
2022-08-01Use WebKit LTO builds where appropriateGravatar Jarred Sumner 1-2/+14
2022-07-28There are ~3 different versions of `strip` with different flags and it is ↵Gravatar Jarred Sumner 1-1/+1
very confusing
2022-07-27[misc] Replace reference to old repoGravatar Jarred Sumner 1-3/+3
2022-07-25Support for completion in Bash (#403)Gravatar Victory Osikwemhe 1-6/+52
* Add bash completions for optional flags (long and short options) * extend bash completion to support options with specific requirements * fix: remove global variables * fix: rename cur_file to cur_word * add c,rm,i aliases * fix: add --help flag to create alias * fix: --loader options bug * fix --backend and linting * linting * add support for file completion for `bun run` as well as few changes also * chore(): use _ as prefix for function names * fix undefined function * feat(wip): implement installation for bash bun completion in zig * fix(): use separate paths instead of slice of paths * rename _bun.bash to bun.completion.bash for compatability with oh-my-bash * change `bun.completion.bash` to filename
2022-07-25feat(install): use this repository (#582)Gravatar Hyro 1-1/+3
https://github.com/oven-sh/bun instead of https://github.com/Jarred-Sumner/bun-releases-for-updater