aboutsummaryrefslogtreecommitdiff
path: root/src/cli/init_command.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-09-07fix(cli): final touches for 1.0 (#4538)Gravatar dave caruso 1-23/+21
* better * cli * remove submodule --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-09-07Progress for Next.js (#4468)Gravatar dave caruso 1-1/+1
* L * ipc * asdfghjkl * dfghjk * it works! * types * patches for next.js * sdfghj * wsdfgn,./ * this * yolo * okay loser * asdfghjk * add some more APIs * MESS * sdfghjkl * remove native events from streams * stuff * remove lazy(primordials) test * debugging * okay * less fake extensions object * fix `Buffer.toString()` args logic * fix deserialize * make tests work * add test for `Buffer.toString` args * Update server.zig * remove test * update test * Update spawn-streaming-stdin.test.ts * fix linux build * Update fs.test.ts * cli message improvements * dfshaj * Fix fs.watch bug maybe? * remove --------- Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2023-08-28just kernel32 things (#4354)Gravatar Jarred Sumner 1-5/+18
* just kernel32 things * more * Update linux_c.zig * Update windows_c.zig * Add workaround Workaround https://github.com/ziglang/zig/issues/16980 * Rename http.zig to bun_dev_http_server.zig * Rename usages * more * more * more * thanks tigerbeetle * Rename `JSC.Node.Syscall` -> `bun.sys` * more * woops * more! * hmm * it says there are only 37 errors, but that's not true * populate argv * it says 32 errors! * 24 errors * fix regular build * 12 left! * Still 12 left! * more * 2 errors left... * 1 more error * Add link to Tigerbeetle * Fix the remainign error * Fix test timeout * Update syscall.zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-08-05Fix(cli/init): support subpath entrypoint. (#4002)Gravatar Ai Hoshino 1-1/+8
2023-06-21upgrade zig to `v0.11.0-dev.3737+9eb008717` (#3374)Gravatar Dylan Conway 1-1/+1
* 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-06-13`mock` type changes (#3305)Gravatar Colin McDonnell 1-7/+1
* Update mock types and set bun-types@latest in bun init * Remove mockfn methods from toplevel mock * Remove comments
2023-04-22Make `Bun.build` more reliable (#2718)Gravatar Jarred Sumner 1-1/+1
* One possible implementation to make `Bun.build` work better * Pass allocator in * Make our temporary buffers a little safer * rename * Fix memory corruption in symbol table * Add support for deferred idle events in ThreadPool * Free more memory * Use a global allocator FS cache * more `inline` * Make duping keys optional in StringMap * Close file handles more often * Update router.zig * wip possibly delete this commit * Fix memory issues and reduce memory usage * > 0.8 * Switch to AsyncIO.Waker and fix memory leak in JSBundleCompletionTask * We don't need to clone this actually * Fix error * Format * Fixup * Fixup --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-21Add `tsconfig.json` to `bun-types` (#2587)Gravatar Colin McDonnell 1-0/+22
* Add tsconfig.json to bun-types. Document 'extends' pattern. * Updates * Update bun init to use extends:bun-types * Update type:module recommendation * Add note about transpilation. Closes #2553 * Make typescript a peer dep * Revert changes to docs * Revert tsconfig extends * Update readme * FMC * Undo changed
2023-04-19Fix broken autocompleteGravatar Jarred Sumner 1-2/+2
2023-02-23Upgrade Zig (#2151)Gravatar Dylan Conway 1-2/+2
* fixup * Upgrade Zig * Remove bad assertion * strings * bump * mode -> optimize * optimize * Linux build * Update bindgen.zig
2023-01-13move more thingsGravatar Jarred SUmner 1-4/+4
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-1/+1
* @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-2/+2
2022-08-05Fix https://github.com/oven-sh/bun/issues/996Gravatar Jarred Sumner 1-6/+4
2022-08-04Implement `bun init` subcommandGravatar Jarred Sumner 1-0/+402
2021-10-23[internal] Remove more dead code, add script to find .zig files that aren't ↵Gravatar Jarred Sumner 1-26/+0
imported by other .zig files
2021-08-17log error on respondWith rejection,Gravatar Jarred Sumner 1-1/+3
Former-commit-id: 8f6312a17dc9811d54e4dc31d9ada68e98bae891
2021-08-17alright thats the renameGravatar Jarred Sumner 1-0/+24
Former-commit-id: 0faf61249e76382dfb1aa8721249474eae920753