aboutsummaryrefslogtreecommitdiff
path: root/src/install/bin.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-26[install] support trustedDependencies (#3288)Gravatar Alex Lam S.L 1-1/+1
* [install] support trustedDependencies closes #2073 * use `strings.indexOfChar()` * use hashes instead of strings * utilise `inline else`
2023-06-21upgrade zig to `v0.11.0-dev.3737+9eb008717` (#3374)Gravatar Dylan Conway 1-15/+15
* progress * finish `@memset/@memcpy` update * Update build.zig * change `@enumToInt` to `@intFromEnum` and friends * update zig versions * it was 1 * add link to issue * add `compileError` reminder * fix merge * format * upgrade to llvm 16 * Revert "upgrade to llvm 16" This reverts commit cc930ceb1c5b4db9614a7638596948f704544ab8. --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-19Fix broken autocompleteGravatar Jarred Sumner 1-3/+3
2023-02-24prefer `bun.copy()` over `std.mem.copy()` (#2152)Gravatar Alex Lam S.L 1-18/+18
2023-02-23Upgrade Zig (#2151)Gravatar Dylan Conway 1-1/+1
* fixup * Upgrade Zig * Remove bad assertion * strings * bump * mode -> optimize * optimize * Linux build * Update bindgen.zig
2023-02-14[install] link network-delayed `.bin` scripts correctly (#2076)Gravatar Alex Lam S.L 1-11/+20
2023-02-08[install] assorted fixes & improvements (#2011)Gravatar Alex Lam S.L 1-11/+16
- 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-01-25be more carefulGravatar Jarred Sumner 1-4/+28
2023-01-16Fix `getFdPath` when `/proc/fd` is not mountedGravatar Jarred Sumner 1-4/+4
2022-12-30Make `NamesIterator` saferGravatar Jarred Sumner 1-9/+15
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-12/+12
* @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-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-3/+3
2022-10-07Fix nested modules bin executable issue (#1299)Gravatar zhiyuang 1-52/+25
2022-08-10[bun unlink] Partially implementGravatar Jarred Sumner 1-4/+5
2022-08-07[bun install] Implement `bun link`Gravatar Jarred Sumner 1-0/+154
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-4/+4
2022-02-27WASMGravatar Jarred Sumner 1-4/+4
2022-02-24[bun install] Print correct bin nameGravatar Jarred Sumner 1-1/+1
2022-02-12[bun install] Handle multiple files in directory bins to linkGravatar Jarred Sumner 1-2/+4
2022-02-12[bun install] Fix directory bin link bugGravatar Jarred Sumner 1-6/+9
2022-02-12Implement multiple `bin` links for `bun install -g`Gravatar Jarred Sumner 1-8/+81
2022-02-12[bun install] Print linked bin names and improve outputGravatar Jarred Sumner 1-137/+100
2022-02-11[bun install] Implement global installsGravatar Jarred Sumner 1-23/+154
2022-02-10[bun install] Continue linking bins if one failsGravatar Jarred Sumner 1-2/+2
2022-02-10[bun install] More reliably set permissions on `bin` linksGravatar Jarred Sumner 1-6/+25
2022-02-10[bun install] Fix bug when linking bins from scoped packages (e.g. ↵Gravatar Jarred Sumner 1-2/+13
`@babel/parser`)
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-1/+0
* 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-16[bun install] Support linking binaries & native binariesGravatar Jarred Sumner 1-1/+168
2021-12-16[bun install] move around some codeGravatar Jarred Sumner 1-0/+120