aboutsummaryrefslogtreecommitdiff
path: root/src/install (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-04Mildly faster startup timeGravatar Jarred Sumner 1-7/+7
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 8-39/+39
2022-11-23possibly more reliable Bun.spawn (#1547)Gravatar Jarred Sumner 1-1/+0
* wip * wip * Fix bug with stdin * zig fmt * seems to work! * Update streams.test.js Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-11-20Print a countGravatar Jarred Sumner 1-4/+4
2022-11-20[fetch] Add optimization for chunked encodingGravatar Jarred Sumner 1-1/+1
2022-11-10[bun install] Support implicit pre tags in dependency versionsGravatar Jarred Sumner 1-3/+38
2022-11-08[bun install] Support `bin` with `bun link`Gravatar Jarred Sumner 1-0/+122
2022-11-08Install optional dependencies for auto-installGravatar Jarred Sumner 1-12/+27
2022-11-07clean up some reliability issues with automatic installGravatar Jarred Sumner 1-11/+11
2022-11-06Automatically install npm packages when running a script in Bun's runtime ↵Gravatar Jarred Sumner 7-222/+1363
(#1459) * Update bundler.zig * WIP * Update README.md * Update README.md * wip * Support running scripts without package.json * Add `--no-auto-install` and `--prefer-offline` flags * WIP * wip * Update headers-handwritten.h * WIP * Build fixes * Fix UAF * Update install.zig * Must call .allocate() * Micro-optimization: only call .timestamp() once per tick when installing packages * Support progress bar * Extend the timestamp for package staleness checks to 1 day * Add `--prefer-latest`, `-i` CLI Flags * Fix crash * Support line text manually being set on an Error instance * Add a few more fields for error messages * Fix bug when counting 8 character strings in string builder * Implement error handling for automatic package installs! * Fix crash * Make it say module when there's a slash * Update module_loader.zig * Ban dependency versions in import specifiers when a package.json is present * Remove unused field * Update README.md * Update README.md * Update README.md * Update README.md Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-10-23Preserve trailing newline when updating package.jsonGravatar Jarred Sumner 1-0/+8
Fixes https://github.com/oven-sh/bun/issues/1375
2022-10-19Cache dir loader: Prefer `$BUN_INSTALL` and `$XDG_CACHE_HOME` to `$HOME`. ↵Gravatar Lucas Garron 1-5/+5
(#1351) This partially addresses https://github.com/oven-sh/bun/issues/696 , by using `$XDG_CACHE_HOME` for those of us who already have that env var set.
2022-10-08fix: install error when node_modules already in npm package (#1301)Gravatar zhiyuan 1-0/+2
2022-10-07Fix nested modules bin executable issue (#1299)Gravatar zhiyuang 1-52/+25
2022-09-17[bun install] Add a package index via symlinks to ~/.bun/install/cacheGravatar Jarred Sumner 1-0/+14
2022-09-17Fix crash when specifying same package name twice in `bun add`Gravatar Jarred Sumner 1-2/+7
Fixes https://github.com/oven-sh/bun/issues/1202
2022-09-16[bun install] Remove spinloopGravatar Jarred Sumner 1-26/+11
2022-09-16Make new HTTP client more stableGravatar Jarred Sumner 1-4/+2
2022-09-11New HTTP client (#1231)Gravatar Jarred Sumner 1-10/+14
* wip * It mostly works! * Support `bun install` * Support `bun create` * Support chunked transfer encoding * Handle Keep Alive when redirecting to a different domain Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-08-13Improve event loop reliability on LinuxGravatar Jarred SUmner 1-10/+39
2022-08-10[bun unlink] Partially implementGravatar Jarred Sumner 2-7/+130
2022-08-08fix compiling error on linux (#1027)Gravatar Zilin Zhu 1-1/+2
2022-08-08refactor(src/install): clap readability fixes (#1024)Gravatar Ryan Russell 1-6/+6
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-08-07[bun install] Increase "slow filesystem detected" noticeGravatar Jarred Sumner 1-1/+1
2022-08-07[bun install] Implement `bun link`Gravatar Jarred Sumner 6-74/+748
2022-08-07[bun install] Implement `symlink` backendGravatar Jarred Sumner 1-49/+200
Fixes https://github.com/oven-sh/bun/issues/1017
2022-08-05[BREAKING][bun install] Invalidate all the lockfilesGravatar Jarred Sumner 1-1/+5
2022-08-05[bun install] Support authenticated registriesGravatar Jarred Sumner 1-4/+6
2022-08-05[bun install] Support private registries & private scopesGravatar Jarred Sumner 6-43/+124
2022-08-05Fix of panic in threads while downloading scoped packages (#992)Gravatar Soney Mathew 1-118/+120
2022-08-03[bun install] Include scripts when lockfile doesn't changeGravatar Jarred Sumner 1-1/+1
2022-08-03[bun install] Support lifecycle hooks for cwd's package.jsonGravatar Jarred Sumner 2-3/+162
`bun install` will now run prepare & install `"scripts"` for the root package.json (not dependencies) This makes things like `husky` work and possibly `patch-package`
2022-07-27[bun install] Fix missing lockfile data for tarballsGravatar Jarred Sumner 1-16/+16
2022-07-22[bun install] Fix issue with URL path when sending requestGravatar Jarred Sumner 1-1/+55
2022-07-22`bun install` use custom BUN_CONFIG_REGISTRY port (#823)Gravatar SheetJSDev 1-1/+1
2022-07-17[bun install] Implement `--no-verify` flag to skip verifying integrity of ↵Gravatar Jarred Sumner 1-2/+16
downloaded packages
2022-07-17[bun install] Rename `skip_verify` -> `skip_verify_installed_version_number`Gravatar Jarred Sumner 1-8/+8
2022-07-17[bun install] Implement `--no-progress` to disable the progress barGravatar Jarred Sumner 1-1/+35
2022-07-17[bun install] Improve performance of integrity hashingGravatar Jarred Sumner 2-15/+20
By using optimized BoringSSL implementations
2022-07-17fix scoped packages name resolution (#760)Gravatar Alexander Kuznetsov 1-2/+8
2022-07-12[bun install] Handle case that should really never happenGravatar Jarred Sumner 1-10/+12
2022-07-12[bun install] Fix NotSameFileSystem error (for real this time)Gravatar Jarred Sumner 1-3/+6
2022-07-11Revert "Fix: NotSameFileSystem at clonefile (#546)" (#581)Gravatar Jarred Sumner 1-1/+1
This reverts commit 2659febd1b74e8215ff7dbfb2d1b19f4b4f8a71a.
2022-07-11Fix: NotSameFileSystem at clonefile (#546)Gravatar Aditya Gupta 1-1/+1
Fixes issue #531 Before this, using 'bun install' on a directory in different filesystem such as tmpfs (/tmp) would have caused "Error: NotSameFileSystem". This commit fixes that by handling this error, and at end of function it will fall back to use copyfile (same as --backend=copyfile)
2022-07-10Update GitHub URL to match new repo URL (#547)Gravatar Aurora Luna Takemi 1-1/+1
* Update repo URLs * GitHub URL update * Revert accidental URL changes
2022-07-10Remove unnecessary `Output.flush`s before `Global.exit` and `Global.crash` ↵Gravatar r00ster91 3-33/+0
(#535) * fix: add missing newline * refactor: std.process.exit -> Global.exit * fix: std.os.abort -> Global.exit I'm not sure about this one. Please verify. * cleanup: remove unnecessary `Output.flush`s
2022-07-09fix: update build files to latest Zig versionGravatar sno2 2-2/+2
2022-07-09typoGravatar Pavlos Vinieratos 1-2/+2
2022-07-07[install] Use an identifier for the accept header valueGravatar Jarred Sumner 1-3/+9
2022-07-07Fixes https://github.com/Jarred-Sumner/bun/issues/341Gravatar Jarred Sumner 1-1/+1