aboutsummaryrefslogtreecommitdiff
path: root/test/cli/install (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-11add --save argument to install (#3277)Gravatar Keyhan Vakil 1-0/+45
2023-06-10[install] fix life cycle scripts execution (#3235)Gravatar Alex Lam S.L 2-14/+102
[install] fix life cycle scripts execution - scripts from dependencies did not run during re-installation - `bun.lockb` now contains data on life cycle scripts - handle prior lockfile format by reading missing info from every `package.json` - suppress spurious log output from tests
2023-06-09Fix to retain a newline after removing a package (#3231)Gravatar ytakhs 1-0/+288
2023-05-25[install] fix `.bin` linking (#3067)Gravatar Alex Lam S.L 2-3/+158
- causes intermittent `bun install` failures on `bun-types`
2023-05-24extend test time-outs (#3048)Gravatar Alex Lam S.L 2-7/+7
- avoid intermittent failures due to network latencies
2023-05-10`bun add` from root folder when call within workspaces (#2841)Gravatar Alex Lam S.L 2-7/+65
- ignore invalid `package.json` from parent directories - `echo` new lines from `make` targets correctly
2023-05-10[install] operator on root package of workspaces (#2834)Gravatar Alex Lam S.L 2-0/+224
- parse `bunfig.toml` from same directory as `package.json` - handle `--cwd` correctly fixes #2592
2023-05-01[install] handle `devDependencies` of local folders (#2781)Gravatar Alex Lam S.L 1-0/+106
fixes #2653
2023-04-30[install] handle repeated install of GitHub dependency correctly (#2780)Gravatar Alex Lam S.L 1-93/+402
fixes #2602
2023-04-24[install] fix `bun add` on non-aliased dependency (#2728)Gravatar Alex Lam S.L 1-0/+64
2023-04-03Use absolute paths morebun-v0.5.9Gravatar Jarred Sumner 2-6/+11
2023-04-03Fix test failureGravatar Jarred Sumner 1-15/+18
2023-03-30[install] fix stale pointer with tarball URLs (#2520)Gravatar Alex Lam S.L 1-0/+80
* [install] fix stale pointer with tarball URLs fixes #2512 * `alloc()` & `free()` instead of fixed-size buffer
2023-03-30[install] fix re-install of git dependency (#2519)Gravatar Alex Lam S.L 1-0/+464
- add tests for re-install of npm alias & GitHub URL
2023-03-29[install] fix re-run of tarball URL from lockfile (#2507)Gravatar Alex Lam S.L 2-2/+295
2023-03-28[install] support tarball URLs (#2497)Gravatar Alex Lam S.L 1-0/+190
closes #2448
2023-03-25[install] fix tests (#2488)Gravatar Alex Lam S.L 3-23/+33
- avoid creating spurious directories next to test scripts
2023-03-23Fixes #2462 (#2463)Gravatar Jarred Sumner 1-0/+58
2023-03-22Fix types (#2453)Gravatar Colin McDonnell 4-15/+27
* WIP * WIP * WIP * WIP * Improve typechecking in type files * Fix typechecking * Update * Update submodule * CI for typechecking * Add ci * Update commands * Format after build * Dont use bunx * Rename job * Use nodemodules prettier * Update workflow * Use symlink * Debug * Debug * Clean up and rename jobs
2023-03-20Implement simple `workspaces` glob support in bun install (#2435)Gravatar Jarred Sumner 3-9/+56
* [bun install] Implement `packages/*`-style globs * Fix incorrect assertion * :nail_care: * remove extraneous console.log * Fix pointer to stack memory * Add a test with a scoped package name from a glob workspace * Fixup --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-03-19Several bug fixes (#2427)Gravatar Jarred Sumner 1-3/+38
* Fix test * Fix segfault when unexpected type is passed in `expect().toThrow` * Fix issues with request constructor * Don't bother cloning headers when its empty * woops * more tests * fix incorrect test * Make the fetch error messages better * Update response.zig * Fix test that failed on macOS * Fix test * Remove extra hash table lookups * Support running dummy registry directly cc @alexlamsl * Update test * Update test * fixup * Workaround crash in test runner * Fixup test * Fixup test * Update os.test.js --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-03-15[install] sanitise against malformed `bun.lockb` (#2397)Gravatar Alex Lam S.L 2-17/+18
* [install] sanitise against malformed `bun.lockb` fixes #2392 * fix `prettier` checks in unrelated files
2023-03-07Reorganize tests (#2332)Gravatar Ashcon Partovi 11-0/+4666