aboutsummaryrefslogtreecommitdiff
path: root/src/install/install.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-31[bun add] various fixes (#1953)Gravatar Alex Lam S.L 1-37/+35
2023-01-30Fix crash in `bun install <package-name>` (#1947)Gravatar Jarred Sumner 1-25/+29
* Fix crash in `bun install <package-name>` when <package-name> already exists * Prettier * Add test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-01-30[bunx] fix version parsing (#1937)Gravatar Alex Lam S.L 1-1/+0
2023-01-28[bun add] fix more corner cases (#1930)Gravatar Alex Lam S.L 1-51/+35
2023-01-28parse `git+https://github.com/` as GitHub URLs (#1926)Gravatar Alex Lam S.L 1-4/+6
fixes #1921
2023-01-28normalise `bun add` package specifiers (#1924)Gravatar Alex Lam S.L 1-43/+73
- fix invalid buffer references fixes #1920
2023-01-28fix corner cases with aliased dependencies (#1927)Gravatar Alex Lam S.L 1-15/+7
2023-01-28[WIP] append GitHub package after fully parsed (#1911)Gravatar Alex Lam S.L 1-87/+91
2023-01-28Make the parser error in bun install look betterGravatar Jarred Sumner 1-0/+5
2023-01-27sentinelGravatar Jarred Sumner 1-1/+1
2023-01-26Remove usages of assumeSentinelGravatar Jarred SUmner 1-8/+5
2023-01-26parse package-spec from CLI correctly (#1895)Gravatar Alex Lam S.L 1-78/+63
* parse package-spec from CLI correctly fixes #861 * copy separately for `UpdateRequest.name` fix GItHub URL reporting in results update tests to reflect latest code changes * better fix for GitHub URL display issue
2023-01-25[bun install] Support verifying GitHub dependenciesGravatar Jarred Sumner 1-102/+153
2023-01-25[bun install] For `github` dependencies, write a `.bun-tag` to mark the revisionGravatar Jarred Sumner 1-0/+66
2023-01-25Fix "failed to resolve"Gravatar Jarred Sumner 1-26/+73
2023-01-25be more carefulGravatar Jarred Sumner 1-50/+54
2023-01-24one less allocGravatar Jarred Sumner 1-12/+28
2023-01-24More careful about the lifetime of aliasGravatar Jarred Sumner 1-4/+15
2023-01-24support GitHub URLs as dependencies (#1875)Gravatar Alex Lam S.L 1-40/+233
2023-01-24support `bun link` of scoped packages (#1892)Gravatar Alex Lam S.L 1-1/+13
2023-01-21Fix test failure due to UBGravatar Jarred Sumner 1-19/+27
2023-01-21minor clean-ups (#1869)Gravatar Alex Lam S.L 1-11/+8
- use `Lockfile.str()` more - allow `child-process-stdio.test.js` to run with `bun-debug`
2023-01-21[semver] parse `^` & `~` expressions correctly (#1854)Gravatar Alex Lam S.L 1-6/+7
* [semver] parse `^` & `~` expressions correctly * handle semver ranges correctly against build tags
2023-01-21Remove UB with `semver.String`Gravatar Jarred Sumner 1-27/+27
Thanks @MasterQ32
2023-01-20Bugfixes to install (#1848)Gravatar Jarred Sumner 1-10/+16
2023-01-19repopulate `alias_map` correctly (#1847)Gravatar Alex Lam S.L 1-8/+0
2023-01-19fix stale references upon `Lockfile` tree cloning (#1845)Gravatar Alex Lam S.L 1-4/+2
2023-01-19fix memory reference issues (#1841)Gravatar Alex Lam S.L 1-3/+7
2023-01-18support npm dependency aliasing (#1837)Gravatar Alex Lam S.L 1-167/+43
* support npm dependency aliasing * fix variable name
2023-01-17feat(cli): Support `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` #1440 (#1814)Gravatar Ciro Spaciari 1-22/+11
* 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-16Fix `getFdPath` when `/proc/fd` is not mountedGravatar Jarred Sumner 1-5/+5
2023-01-14support installation of NPM workspaces (#1764)Gravatar Alex Lam S.L 1-55/+107
2023-01-13move more thingsGravatar Jarred SUmner 1-5/+5
2023-01-13Split some things into more files and use bun namespace instead of import moreGravatar Jarred SUmner 1-1/+1
2022-12-30More assertionsGravatar Jarred Sumner 1-1/+4
2022-12-30Fix crash with `bun install <foo>`Gravatar Jarred Sumner 1-18/+26
2022-12-29Fix broken hardlink installsGravatar Jarred SUmner 1-1/+1
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-160/+166
* @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-26[install] specify `auth-type` (#1667)Gravatar Alex Lam S.L 1-24/+28
2022-12-26[install] use specified base URL as default fallback within scopes (#1665)Gravatar Alex Lam S.L 1-28/+83
2022-12-25[install] use default URL when only auth token is specified (#1664)Gravatar Alex Lam S.L 1-23/+122
Previously it would default to `http://localhost/` which was inconsistent with the case sans token. Use official `npm` registry as fallback in both cases.
2022-12-22add romeGravatar Jarred Sumner 1-0/+1
2022-12-19New subcommand: `bunx` (#1634)Gravatar Jarred Sumner 1-117/+136
* Implement `bunx` * copy cleanup Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-15[bun run] Introduce `--bun` flag to run in bun instead of nodeGravatar Jarred Sumner 1-0/+2
2022-12-12fix fallback install methodGravatar Dylan Conway 1-1/+4
2022-12-09Add `"bun"` to listGravatar Jarred Sumner 1-14/+1
2022-12-06Fix glibc symbol version issues preventing `bun install` from being used in ↵Gravatar Jarred Sumner 1-8/+5
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-04Mildly faster startup timeGravatar Jarred Sumner 1-7/+7
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-12/+12
2022-11-20Print a countGravatar Jarred Sumner 1-4/+4