aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/install (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-03-07Reorganize tests (#2332)Gravatar Ashcon Partovi 11-4672/+0
2023-03-05consider current working directory when resolving relative paths (#2313)Gravatar Alex Lam S.L 1-1/+29
* consider current working directory when resolving relative paths fixes #2298 * comment test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-03-05[install] fix connection error detection (#2307)Gravatar Alex Lam S.L 6-81/+144
2023-03-04[install] use `latest` tagged version if in range (#2302)Gravatar Alex Lam S.L 1-0/+62
2023-03-04fix(bunx): can't resolve executable for scoped packages (#2293)Gravatar Fran Zekan 1-1/+40
Fixes #2292
2023-03-03fix(bunx): Show usage when calling bunx without arguments (#2295)Gravatar Fran Zekan 1-0/+19
* Make sure to return a helpful error message if no args are passed to bunx * Add tests for bunx without args
2023-03-02add tests for scoped dependency aliasing (#2271)Gravatar Alex Lam S.L 3-15/+111
2023-02-27resolve duplicated dependency correctly (#2213)Gravatar Alex Lam S.L 2-0/+232
2023-02-25improve `bun pm ls` (#2192)Gravatar Alex Lam S.L 1-0/+248
2023-02-24prefer `bun.copy()` over `std.mem.copy()` (#2152)Gravatar Alex Lam S.L 1-1/+2
2023-02-23fix illegal memory reference in `bun link` (#2147)Gravatar Alex Lam S.L 1-9/+133
2023-02-21[install] support SCP-style `git` dependencies (#2124)Gravatar Alex Lam S.L 2-3/+160
- try HTTPS first before SSH - improve package name resolution - improve report messages fixes #2119
2023-02-21Update test runner output with colors and diffs (#2122)Gravatar Dylan Conway 1-2/+2
* add zig-diff * move diff functions * toHaveProperty diff for objects * use formatter * format labels * move work to format, diff when it makes sense * remove comptime, dim equal slices * order before diff * line diffs * add diffz * switch to diffz * add `diffLines()` function * small `prettyFmt()` bug fix * test runner color output * update `toBe()` error output * fix test * diff method, fix crash * fix link test * remove `isRegex`
2023-02-17use `bun.logger` instead of `bun.Output` (#2099)Gravatar Alex Lam S.L 1-1/+39
2023-02-17[install] support git dependencies (#2094)Gravatar Alex Lam S.L 1-1/+251
2023-02-17allow `bun add` of packages with capital letters (#2095)Gravatar Alex Lam S.L 2-1/+50
2023-02-16Support yarn-like `"workspaces"."packages": string[]` (#2086)Gravatar Jarred Sumner 1-2/+47
* [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-14[install] link network-delayed `.bin` scripts correctly (#2076)Gravatar Alex Lam S.L 1-1/+1
2023-02-14[install] improve `package.json` validation (#2074)Gravatar Alex Lam S.L 1-0/+196
- report error and exit gracefully instead of crashing
2023-02-12[install] support `git://github.com/` dependencies (#2059)Gravatar Alex Lam S.L 1-0/+69
2023-02-11fix string corruption in FS entry cache (#2055)Gravatar Alex Lam S.L 1-2/+41
2023-02-11fix segfault during non-install script execution (#2045)Gravatar Alex Lam S.L 1-1/+32
2023-02-10[install] fix duplicate check on `peerDependencies` (#2039)Gravatar Alex Lam S.L 1-1/+46
fixes #2037
2023-02-09[install] fix flaky tests (#2032)Gravatar Alex Lam S.L 2-37/+37
2023-02-08[install] pick `latest` tagged version by default (#2016)Gravatar Alex Lam S.L 2-6/+117
* [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 7-67/+245
- 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-06Fix test failing on macOSGravatar Jarred Sumner 1-1/+2
2023-02-06[WIP] fix corner cases with aliases dependencies (#2000)Gravatar Alex Lam S.L 2-3/+150
* fix corner cases with aliases dependencies * in-memory convert legacy `bun.lockb`
2023-01-31Re-run prettier after changesGravatar Jarred Sumner 3-71/+79
2023-01-31[bun add] various fixes (#1953)Gravatar Alex Lam S.L 3-789/+312
2023-01-30Fix crash in `bun install <package-name>` (#1947)Gravatar Jarred Sumner 1-129/+355
* 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-0/+64
2023-01-28[bun add] fix more corner cases (#1930)Gravatar Alex Lam S.L 2-26/+187
2023-01-28parse `git+https://github.com/` as GitHub URLs (#1926)Gravatar Alex Lam S.L 2-5/+164
fixes #1921
2023-01-28normalise `bun add` package specifiers (#1924)Gravatar Alex Lam S.L 3-134/+361
- fix invalid buffer references fixes #1920
2023-01-28[WIP] append GitHub package after fully parsed (#1911)Gravatar Alex Lam S.L 4-75/+123
2023-01-27prettierGravatar Jarred Sumner 1-156/+245
2023-01-27Fix flakinessGravatar Jarred Sumner 1-2/+3
2023-01-26parse package-spec from CLI correctly (#1895)Gravatar Alex Lam S.L 3-8/+135
* 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-24support GitHub URLs as dependencies (#1875)Gravatar Alex Lam S.L 1-31/+364
2023-01-24support `bun link` of scoped packages (#1892)Gravatar Alex Lam S.L 2-3/+202
2023-01-21[semver] parse `^` & `~` expressions correctly (#1854)Gravatar Alex Lam S.L 1-34/+401
* [semver] parse `^` & `~` expressions correctly * handle semver ranges correctly against build tags
2023-01-19repopulate `alias_map` correctly (#1847)Gravatar Alex Lam S.L 3-42/+210
2023-01-19Improve error message when a workspace is not foundGravatar Jarred Sumner 1-0/+37
2023-01-19parse dependency specifier correctly (#1840)Gravatar Alex Lam S.L 1-3/+45
2023-01-18support npm dependency aliasing (#1837)Gravatar Alex Lam S.L 1-10/+144
* support npm dependency aliasing * fix variable name
2023-01-17[test] Add helper for bun envGravatar Jarred Sumner 1-6/+2
2023-01-17bun install tests shouldn't fail due to terminal colorsGravatar Jarred Sumner 1-38/+35
2023-01-16[bun install] Make it print `workspace:` instead of `workspace://`Gravatar Jarred Sumner 1-143/+231
2023-01-14fix life-cycle script execution (#1799)Gravatar Alex Lam S.L 1-25/+90
- change current working directory for workspaces - add `node_modules/.bin` to `PATH` before running