aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/install/bun-install.test.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-03-07Reorganize tests (#2332)Gravatar Ashcon Partovi 1-2758/+0
2023-03-05[install] fix connection error detection (#2307)Gravatar Alex Lam S.L 1-52/+113
2023-03-04[install] use `latest` tagged version if in range (#2302)Gravatar Alex Lam S.L 1-0/+62
2023-03-02add tests for scoped dependency aliasing (#2271)Gravatar Alex Lam S.L 1-14/+110
2023-02-27resolve duplicated dependency correctly (#2213)Gravatar Alex Lam S.L 1-0/+112
2023-02-21[install] support SCP-style `git` dependencies (#2124)Gravatar Alex Lam S.L 1-0/+61
- 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 1-1/+39
2023-02-17[install] support git dependencies (#2094)Gravatar Alex Lam S.L 1-1/+251
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-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 1-27/+27
2023-02-08[install] assorted fixes & improvements (#2011)Gravatar Alex Lam S.L 1-33/+204
- 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-06[WIP] fix corner cases with aliases dependencies (#2000)Gravatar Alex Lam S.L 1-0/+145
* fix corner cases with aliases dependencies * in-memory convert legacy `bun.lockb`
2023-01-31[bun add] various fixes (#1953)Gravatar Alex Lam S.L 1-617/+117
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-28[bun add] fix more corner cases (#1930)Gravatar Alex Lam S.L 1-23/+23
2023-01-28parse `git+https://github.com/` as GitHub URLs (#1926)Gravatar Alex Lam S.L 1-5/+68
fixes #1921
2023-01-28normalise `bun add` package specifiers (#1924)Gravatar Alex Lam S.L 1-125/+69
- fix invalid buffer references fixes #1920
2023-01-28[WIP] append GitHub package after fully parsed (#1911)Gravatar Alex Lam S.L 1-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 1-6/+15
* 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 1-3/+1
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 1-42/+209
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
2023-01-14support installation of NPM workspaces (#1764)Gravatar Alex Lam S.L 1-44/+300
2022-12-26[install] specify `auth-type` (#1667)Gravatar Alex Lam S.L 1-0/+4
2022-12-26[install] use specified base URL as default fallback within scopes (#1665)Gravatar Alex Lam S.L 1-0/+80