aboutsummaryrefslogtreecommitdiff
path: root/src/install (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-02-24prefer `bun.copy()` over `std.mem.copy()` (#2152)Gravatar Alex Lam S.L 8-187/+191
2023-02-23Upgrade Zig (#2151)Gravatar Dylan Conway 6-57/+57
* fixup * Upgrade Zig * Remove bad assertion * strings * bump * mode -> optimize * optimize * Linux build * Update bindgen.zig
2023-02-23fix illegal memory reference in `bun link` (#2147)Gravatar Alex Lam S.L 1-14/+17
2023-02-21[install] support SCP-style `git` dependencies (#2124)Gravatar Alex Lam S.L 4-90/+179
- try HTTPS first before SSH - improve package name resolution - improve report messages fixes #2119
2023-02-17use `bun.logger` instead of `bun.Output` (#2099)Gravatar Alex Lam S.L 3-98/+142
2023-02-17[install] support git dependencies (#2094)Gravatar Alex Lam S.L 5-266/+748
2023-02-16Support yarn-like `"workspaces"."packages": string[]` (#2086)Gravatar Jarred Sumner 1-95/+206
* [workspaces] Support yarn-like `"workspaces"."packages": string[]` * Add a test * :scissors: --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-02-15Don't crash on null version stringGravatar Jarred Sumner 1-1/+1
2023-02-15feat(fetch) AbortSignal (#2019)Gravatar Ciro Spaciari 1-2/+2
* add fetch abort signal * get aborted (still segfaults) * bidings.zig u0 error * still GC/memory error * fix start crash * fix AbortSignal fromJS * change fromJS to obj.as * addAbortSignalEventListenner * handle abort types, and add tests * fix tests * add custom reason test * merge 2 substring methods, use MAKE_STATIC_STRING_IMPL * fix create AbortError and TimeoutError, move globalThis and exception creation to main thread * fix tests and rebuild headers * no need to check with substring reason is already an exception * no need to check with substring reason is already an exception * fix dumb error inverting conditions for check reason * fix custom reason behavior
2023-02-14[install] link network-delayed `.bin` scripts correctly (#2076)Gravatar Alex Lam S.L 2-15/+20
2023-02-14[install] improve `package.json` validation (#2074)Gravatar Alex Lam S.L 3-89/+140
- report error and exit gracefully instead of crashing
2023-02-12[install] support `git://github.com/` dependencies (#2059)Gravatar Alex Lam S.L 1-4/+13
2023-02-11fix segfault during non-install script execution (#2045)Gravatar Alex Lam S.L 4-181/+59
2023-02-10[install] fix duplicate check on `peerDependencies` (#2039)Gravatar Alex Lam S.L 1-8/+7
fixes #2037
2023-02-08[install] pick `latest` tagged version by default (#2016)Gravatar Alex Lam S.L 2-17/+6
* [install] pick `latest` tagged version by default fixes #1993 * update `package.json` the same way as `npm
2023-02-08[install] assorted fixes & improvements (#2011)Gravatar Alex Lam S.L 6-211/+231
- take `peerDependencies` into account during package placement - do not recursively resolve `workspaces` (matches `npm`) - link binaries to non-root packages correctly - prune empty nodes during dependency tree construction - support non-standard `workspace:` specifier
2023-02-06cleanupGravatar Jarred Sumner 1-3/+9
2023-02-06minor cleanupGravatar Jarred Sumner 1-5/+8
2023-02-06Add bounds checkGravatar Jarred Sumner 1-1/+1
2023-02-06[WIP] fix corner cases with aliases dependencies (#2000)Gravatar Alex Lam S.L 4-345/+277
* fix corner cases with aliases dependencies * in-memory convert legacy `bun.lockb`
2023-02-01resolve duplicate npm dependencies correctly (#1970)Gravatar Alex Lam S.L 2-141/+89
* resolve duplicate npm dependencies correctly fixes #1952 * modify the correct reference
2023-01-31[bun add] various fixes (#1953)Gravatar Alex Lam S.L 2-42/+40
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 2-2/+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 2-28/+58
fixes #1921
2023-01-28normalise `bun add` package specifiers (#1924)Gravatar Alex Lam S.L 2-51/+87
- fix invalid buffer references fixes #1920
2023-01-28fix corner cases with aliased dependencies (#1927)Gravatar Alex Lam S.L 2-17/+19
2023-01-28[WIP] append GitHub package after fully parsed (#1911)Gravatar Alex Lam S.L 5-100/+108
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-26valgrindGravatar Jarred SUmner 2-12/+13
2023-01-26parse package-spec from CLI correctly (#1895)Gravatar Alex Lam S.L 2-79/+68
* 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] Include the resolved version for github dependencies in the hashGravatar Jarred Sumner 1-1/+4
2023-01-25[bun install] For `github` dependencies, write a `.bun-tag` to mark the revisionGravatar Jarred Sumner 2-0/+77
2023-01-25Fix "failed to resolve"Gravatar Jarred Sumner 2-30/+77
2023-01-25be more carefulGravatar Jarred Sumner 8-87/+177
2023-01-25Fix "failed to resolve" bug 🫠Gravatar Jarred Sumner 1-2/+1
2023-01-25Add logGravatar Jarred Sumner 1-0/+3
2023-01-24Add assertionGravatar Jarred Sumner 1-0/+18
2023-01-24one less allocGravatar Jarred Sumner 2-13/+37
2023-01-24More careful about the lifetime of aliasGravatar Jarred Sumner 1-4/+15
2023-01-24assert defined in developmentGravatar Jarred Sumner 1-6/+29
2023-01-24get cache key for github in one passGravatar Jarred Sumner 1-30/+65
2023-01-24support GitHub URLs as dependencies (#1875)Gravatar Alex Lam S.L 4-82/+431
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 5-40/+72
2023-01-21minor clean-ups (#1869)Gravatar Alex Lam S.L 2-14/+9
- use `Lockfile.str()` more - allow `child-process-stdio.test.js` to run with `bun-debug`