aboutsummaryrefslogtreecommitdiff
path: root/test/cli/install/bun-add.test.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-10-05Use singular nouns when appropriate on install messages (#2543)Gravatar Jake Boone 1-19/+19
* Use singular nouns when appropriate on install messages * Fix one more pluralization * Fix bun-add tests for "1 package installed" * Fix bun install/remove/update tests for "1 package installed"
2023-09-28Add local tarball install #5812 (#6118)Gravatar axel escalada 1-1/+46
* check if the value passed for add command is a local tarball and install it, test for local tarball * use bunExe() * use absolute path to copy tarball * fmt ts
2023-09-20[bun install] Add `-E` as alias of `--exact` (#5104)Gravatar Jonah Snider 1-0/+55
* [bun install] Add `-E` as alias of `--exact` * Add test for -E flag
2023-09-19Get artifactory to work (#5744)Gravatar Jarred Sumner 1-9/+13
* Get artifactory to work * Cleanup url normalization a ltitle more * Clean up tests * prettier --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-09-18Encode slashes in package names in the registry manifest request (#5716)Gravatar Jarred Sumner 1-2/+2
* Encode slashes in package names in the registry manifest request Co-Authored-By: Max Brosnahan <1177034+gingermusketeer@users.noreply.github.com> * Update dummy.registry.ts * Fix tests * Add guide for Azure Artifacts * Update azure-artifacts.md * Update azure-artifacts.md * Typo --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Max Brosnahan <1177034+gingermusketeer@users.noreply.github.com>
2023-08-31`bun install` correctly join dependency URLs (#4421)Gravatar Julian 1-10/+8
* use WTF to join registry strings * show dependency error messages, better join error We actually report errors when enqueuing dependencies now. I also made the join URLs error message read better. It'd be cleaner to handle it all in one place, but there's currently no way to propagate the data up. * starting on registry URL tests * added more registry URL tests * [install] prevent optional/peer deps from failing builds Couldn't get the peer dependency test to work, but the code is there. * ran prettier * changed error note to use realname, updated tests * ran prettier again...
2023-08-06[install] handle `bun add` of existing `peerDependencies` correctly (#4028)Gravatar Alex Lam S.L 1-6/+60
2023-06-26[bun install] Implement `--exact` flag (#3409)Gravatar Jarred Sumner 1-0/+55
* [bun install] Implement `--exact` flag * Rename to --save-exact * Rename --exact to --save-exact * Update bun-add.test.ts * We're going with --exact as the flag name --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-06-11add --save argument to install (#3277)Gravatar Keyhan Vakil 1-0/+45
2023-05-24extend test time-outs (#3048)Gravatar Alex Lam S.L 1-1/+1
- 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 1-7/+8
- 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 1-0/+64
- parse `bunfig.toml` from same directory as `package.json` - handle `--cwd` correctly fixes #2592
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-03-22Fix types (#2453)Gravatar Colin McDonnell 1-3/+3
* 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 1-2/+2
* [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-07Reorganize tests (#2332)Gravatar Ashcon Partovi 1-0/+980