aboutsummaryrefslogtreecommitdiff
path: root/src/cli (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-17feat(cli): Support `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` #1440 (#1814)Gravatar Ciro Spaciari 2-64/+24
* WIP: http_proxy implemented, first steps for https_proxy #1440 * add HTTP_PROXY support to upgrade_command and WIP: tunneling * WIP async handshake, stuck on WANT_READ, try to defer + check * create and upgrade with proxy working, TLS and non-TLS to proxy TLS working * bun install/upgrade/create working with http(s)_proxy #1440 * add NO_PROXY support #1440 * remove commented code and add TODO * fix getHttpProxy no_proxy * fix formatting * refactor catch and getHttpProxy, fix empty strngs in env for proxy * allow optimization for handleResponseBody
2023-01-16Make entire test line dimGravatar Jarred Sumner 1-2/+2
2023-01-16[bun:test] Fix dim, fix missing spaceGravatar Jarred Sumner 1-4/+2
2023-01-16Fix `getFdPath` when `/proc/fd` is not mountedGravatar Jarred Sumner 4-4/+4
2023-01-14fix life-cycle script execution (#1799)Gravatar Alex Lam S.L 1-57/+43
- change current working directory for workspaces - add `node_modules/.bin` to `PATH` before running
2023-01-14fix bugs (#1795)Gravatar Alex Lam S.L 1-3/+8
- segfault reading stacktrace from `fs/promises` rejections - `Promise` rejection within `describe()` ends testing abruptly - `FSSink.write()` incorrectly handles `objectMode` - `FSSink.write()` throws wrong error codes
2023-01-13[bun:test] Always dim skipGravatar Jarred Sumner 1-1/+1
2023-01-13move more thingsGravatar Jarred SUmner 9-35/+35
2023-01-13Split some things into more files and use bun namespace instead of import moreGravatar Jarred SUmner 7-7/+7
2023-01-12fix(bun-test): test title in results (#1753)Gravatar Ethan Burrell 1-2/+6
* fix(bun-test): test title in results * missed case * clean up import * respond to reviews
2023-01-10 use `strings.hasPrefixComptime()` (#1755)Gravatar Alex Lam S.L 1-69/+49
2023-01-09Update test_command.zigGravatar Jarred Sumner 1-2/+2
2023-01-09fixupGravatar Jarred Sumner 1-5/+5
2023-01-09Update test_command.zigGravatar Jarred Sumner 1-3/+3
2023-01-09RenameGravatar Jarred Sumner 1-18/+21
2023-01-09Update test_command.zigGravatar Jarred Sumner 1-6/+8
2023-01-09[bun:test] Implement `test.skip`Gravatar Jarred Sumner 1-21/+84
2023-01-06fix typo in install.sh (#1737)Gravatar Ikko Eltociear Ashimine 1-1/+1
infomation -> information
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 12-64/+74
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-12-23always more packages at new depthGravatar Dylan Conway 1-1/+1
2022-12-23fix bun pm ls connectors when node_modules is lastGravatar Dylan Conway 1-1/+1
2022-12-23darkenbun-v0.4.0Gravatar Jarred Sumner 1-2/+2
2022-12-23add node_modules to bin pathGravatar Dylan Conway 1-2/+2
2022-12-22Make `bun pm ls` only show top-level by defaultGravatar Jarred Sumner 1-2/+29
2022-12-22`npx` -> `bunx`Gravatar Jarred Sumner 1-0/+14
2022-12-22fix finding package bin after installGravatar Dylan Conway 1-1/+1
2022-12-22don't log for ctrl + cGravatar Jarred Sumner 1-4/+8
2022-12-21woopsGravatar Jarred Sumner 1-2/+2
2022-12-21[bunx] Install symlink with completionsGravatar Jarred Sumner 1-10/+65
@colinhacks lmk if you have ideas where else it should attempt to isntall: 1) same dir as `bun` 2) $BUN_INSTALL/bin/bunx 3) $HOME/.bun/bin/bunx 4) $HOME/.local/bin/bunx
2022-12-21[bunx] Make help a little prettierGravatar Jarred Sumner 1-18/+41
2022-12-20Refactor some of `bun pm`Gravatar Jarred Sumner 1-73/+58
2022-12-20[bunx] Improve reliability by checking the `"bin"` from package.json if ↵Gravatar Jarred Sumner 1-10/+230
necessary
2022-12-19New subcommand: `bunx` (#1634)Gravatar Jarred Sumner 1-0/+188
* Implement `bunx` * copy cleanup Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-15Fix missing error when command not foundGravatar Jarred Sumner 1-1/+1
2022-12-15[bun run] Include signal code on errorGravatar Jarred Sumner 1-85/+48
2022-12-15[bun run] Introduce `--bun` flag to run in bun instead of nodeGravatar Jarred Sumner 1-72/+192
2022-12-15[bun run] Use `execve` instead of `posix_spawn` when bun no longer needs to ↵Gravatar Jarred Sumner 1-20/+78
run script/bin When we launch a script & there's nothing left to do, we should replace the process image with the new process instead of keeping the bun process alive while the other script is running.
2022-12-14undo bad freeGravatar Dylan Conway 1-4/+0
2022-12-14remove incorrect connector characterGravatar Dylan Conway 1-3/+5
2022-12-13add `bun pm ls` for printing lockfiles (#1612)Gravatar Dylan Conway 1-0/+182
* list directory structure from lockfile * dim connectors and versions
2022-12-09Exclude other ts declaration file extensions (#1596)Gravatar Colin McDonnell 1-0/+2
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2022-12-06Fix glibc symbol version issues preventing `bun install` from being used in ↵Gravatar Jarred Sumner 1-9/+3
older glibc versions (#1580) * Prevent integer overflow in connectError * Add missing deepEquals() type to Bun * fix missing glibc symbols * Fix missing symbol issues * Try this * Update glibc-versions-hack.cpp * Update glibc-versions-hack.cpp * Update glibc-versions-hack.cpp Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-04[internal] Make string comparisons fasterGravatar Jarred Sumner 2-2/+2
2022-12-04Mildly faster startup timeGravatar Jarred Sumner 2-17/+17
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