aboutsummaryrefslogtreecommitdiff
path: root/src/install/npm.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-26/+31
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-12-26[install] use specified base URL as default fallback within scopes (#1665)Gravatar Alex Lam S.L 1-2/+2
2022-12-25[install] use default URL when only auth token is specified (#1664)Gravatar Alex Lam S.L 1-13/+8
Previously it would default to `http://localhost/` which was inconsistent with the case sans token. Use official `npm` registry as fallback in both cases.
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-6/+6
2022-11-06Automatically install npm packages when running a script in Bun's runtime ↵Gravatar Jarred Sumner 1-3/+3
(#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-08-05[bun install] Support authenticated registriesGravatar Jarred Sumner 1-4/+6
2022-08-05[bun install] Support private registries & private scopesGravatar Jarred Sumner 1-3/+37
2022-08-05Fix of panic in threads while downloading scoped packages (#992)Gravatar Soney Mathew 1-118/+120
2022-05-05E.String gets a RopeGravatar Jarred Sumner 1-4/+4
2022-03-17query_string_map -> urlGravatar Jarred Sumner 1-1/+1
2022-03-04upgrade zigjarred/upgrade-zig-2Gravatar Jarred Sumner 1-32/+28
2022-02-27[JSON] Use UTF-8 JSON parser when it's not for JavaScriptGravatar Jarred Sumner 1-1/+1
2022-02-21Wrap some usages of `assert` in a conditionalGravatar Jarred Sumner 1-1/+1
See https://github.com/ziglang/zig/issues/10942
2022-02-12[bun install] When both `directories` and `bin` is specified, prefer `bin`Gravatar Jarred Sumner 1-1/+10
This is for performance.
2022-02-12Implement multiple `bin` links for `bun install -g`Gravatar Jarred Sumner 1-24/+68
2022-02-11[bun install] Implement private registry support & scoped packagesGravatar Jarred Sumner 1-0/+83
Fixes https://github.com/Jarred-Sumner/bun/issues/112
2022-02-04Several reliability improvements to HTTPGravatar Jarred SUmner 1-10/+11
2022-02-01Limit the number of pooled objectsGravatar Jarred Sumner 1-1/+1
2022-01-28Update AST layout to store capacity for itemsGravatar Jarred Sumner 1-16/+18
We want to be able to push to the list
2022-01-02[bun install] Fix `RenameAcrossMountPoints` errorGravatar Jarred Sumner 1-3/+1
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-16/+8
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
2021-12-19Remove duplicate codeGravatar Jarred Sumner 1-45/+1
2021-12-17packagingGravatar Jarred Sumner 1-1/+1
2021-12-16[bun install] Fix edgecase with optional peer depsGravatar Jarred Sumner 1-60/+41
2021-12-16[bun install] Fix bug with optional peer depsGravatar Jarred Sumner 1-4/+39
2021-12-16Track peer dependencies but don't install themGravatar Jarred Sumner 1-5/+86
2021-12-16Update npm.zigGravatar Jarred Sumner 1-1/+2
2021-12-16CLI flagsGravatar Jarred Sumner 1-1/+14
2021-12-16[bun install] Start add/remove commandGravatar Jarred Sumner 1-0/+12
2021-12-16[bun install] move around some codeGravatar Jarred Sumner 1-0/+1260