dave caruso
fa3cfd34cb
yeah ( #3229 )
2023-06-06 23:48:13 -07:00
dave caruso
7d8b6d487b
make hardcoded -> make esm + document needing bun to build bun ( #3188 )
2023-06-03 16:38:33 -07:00
dave caruso
f798a0cfe8
fix readableStreamToArrayBuffer ( #3181 )
...
* fix discord.js again
* remove one of the async hooks warnings
* clarify hardcoded modules docs
2023-06-02 19:03:16 -07:00
Colin McDonnell
c4f237572d
Update macro/test docs ( #3180 )
...
* Add test and fix plugin type
* Update docs and config pages
2023-06-02 17:43:51 -07:00
Ashcon Partovi
bfd315fc72
Support NO_COLOR environment variable ( #3055 )
2023-06-02 14:24:16 -07:00
dave caruso
4df1d37ddc
Bundle and minify .exports.js files. ( #3036 )
...
* move all exports.js into src/js
* finalize the sort of this
* and it works
* add test.ts to gitignore
* okay
* convert some to ts just to show
* finish up
* fixup makefile
* minify syntax in dev
* finish rebase
* dont minify all modules
* merge
* finish rebase merge
* flaky test that hangs
2023-06-01 18:16:47 -07:00
Derrick Farris
c366b62160
Update macros.md ( #3165 )
...
Fix a repeated "for"
2023-06-01 17:25:28 -07:00
dave caruso
2c1694f63b
Fix streams breaking on reverted EventEmitter / Make Discord.js work ( #2913 )
...
* Revert "Revert "use a lazyily initialized stream for `node:crypto` `createHash` (#2652 )""
This reverts commit 613bb4822e .
* Revert "Revert "implement `node:events` in javascript (#2604 )""
This reverts commit a4d0a1961a .
* oops
* fix entrypoints stuff
* fix hash copy
* use native events for node streams and crypto
* requested changes
* oops
* make discord.js work
* fix webkit hash
* headers tojson
2023-06-01 14:31:36 -07:00
Noah Chase
be1833898e
fix typo in documentation ("the today" -> "today") ( #3160 )
2023-06-01 13:34:09 -07:00
Colin McDonnell
176fade220
Remove bun-macro-relay and update docs ( #3145 )
...
* Update macro docs
* Remove bun-macro-relay
2023-05-31 19:51:08 -07:00
Mike Roelens
a7c7128cd7
Fix typo in macro docs ( #3144 )
2023-05-31 18:15:49 -07:00
Colin McDonnell
68c1568075
Update macro doc
2023-05-31 13:58:38 -07:00
Colin McDonnell
4b34a7ce2a
Update macro serialization doc
2023-05-31 13:43:08 -07:00
Colin McDonnell
b284e09ce5
Update doc
2023-05-31 13:35:11 -07:00
Colin McDonnell
8f55f05871
Add macro docs ( #3139 )
...
* Add macro doc
* Updates
* Tweaks
2023-05-31 13:34:35 -07:00
Jarred Sumner
7376ae6980
Update modules.md
2023-05-30 15:52:21 -07:00
Jarred Sumner
aa6801d5df
Update index.md
2023-05-29 12:22:13 -07:00
Jarred Sumner
d0185925ff
Update modules.md
2023-05-29 12:15:33 -07:00
Colin McDonnell
9b6913e1a6
More/better docs for JSX, utils, binary data, streams, hashing, bun test, Bun.serve ( #3005 )
...
* WIP
* Updates
* Document deepEquals
* WIP
* Update typeS
* Update TLS docs for Bun.serve
* Update types for tls
* Draft binary data page. Add Streams page.
* Update test runner docs
* Add hashing, flesh out utils
* Grammar
* Update types
* Fix
* Add import.meta docs
* Tee
2023-05-29 11:49:51 -07:00
Jiri Spac
1f7ad0cc37
add a bit more info on Elysia ( #3062 )
2023-05-25 22:04:07 -07:00
Jarred Sumner
7b4bba787d
prettier
2023-05-25 18:14:01 -07:00
Jarred Sumner
50bad43dbe
Remove paragraph that has incorrect information in the docs
2023-05-25 16:16:16 -07:00
Dialga
48997eaeba
Update sqlite.md ( #3063 )
...
fix serialize example
2023-05-25 10:14:29 -07:00
Kruithne
d9bdfcf131
Fix incorrect URL in loaders.md ( #3025 )
2023-05-23 18:08:24 -07:00
dave caruso
5b0fea7093
fix bun init and update node vm docs ( #3014 )
2023-05-23 15:02:39 -07:00
dave caruso
2e54601a2d
document arch linux workaround, see #2664 ( #2997 )
2023-05-22 10:10:04 -07:00
Jarred Sumner
12b34c6258
Add watch mode page
2023-05-21 01:29:57 -07:00
Jarred Sumner
34af34db9f
Update extending.md
2023-05-21 01:21:13 -07:00
Jarred Sumner
a29ee9f9a2
Update extending.md
2023-05-21 01:20:21 -07:00
Jarred Sumner
7ad1fc4f8f
Update extending.md
2023-05-21 01:18:43 -07:00
Jarred Sumner
40ee435a4b
More documentation
2023-05-21 01:17:21 -07:00
Jarred Sumner
ae8fc25b58
Update extending.md
2023-05-21 00:57:44 -07:00
Jarred Sumner
ef9555b9e1
Update extending.md
2023-05-21 00:56:13 -07:00
Jarred Sumner
3c2ac63d6e
Update extending.md
2023-05-21 00:56:05 -07:00
Jarred Sumner
fdd5d49fe3
Update extending.md
2023-05-21 00:55:03 -07:00
Jarred Sumner
b27f4ceb9c
Update extending.md
2023-05-21 00:53:50 -07:00
Jarred Sumner
1888c2df22
Update extending.md
2023-05-21 00:53:00 -07:00
Jarred Sumner
08043c5274
Update extending.md
2023-05-21 00:50:25 -07:00
Jarred Sumner
40de6d8cda
Update extending.md
2023-05-21 00:49:55 -07:00
Jarred Sumner
d5c9e5ee79
Add --preload docs
2023-05-21 00:48:25 -07:00
e3dio
4101eeabde
update docs hot.md ( #2954 )
...
* Update hot.md
* Update hot.md
2023-05-19 15:23:24 -07:00
Jarred Sumner
21086c3a78
Update benchmarking.md
2023-05-17 18:52:29 -07:00
Harry Yep
2f4162e692
fix: broken link ( #2897 )
2023-05-16 17:08:45 -07:00
Colin McDonnell
366eba78f0
Tweaks to bundler docs ( #2867 )
...
* WIP
* Fix typo
* Updates
* Document --compile
* Add bundler benchmark
* Remove esbuild
* Add bench to docs
* Add buttons
* Updates
2023-05-16 10:47:00 -07:00
Jarred Sumner
893f70fee4
Single-file standalone Bun executables ( #2879 )
...
* Add LIEF
* Compile LIEF
* Implement support for embedding files on macOS
* proof of concept
* Add zstd
* Implement runtime support
* Move some code around
* Update .gitmodules
* Upgrade zig
https://github.com/ziglang/zig/pull/15278
* leftover
* leftover
* delete dead code
* Fix extname
* Revert "Upgrade zig"
This reverts commit dd968f30bf .
* Revert "leftover"
This reverts commit 7664de7686 .
* Revert "leftover"
This reverts commit 498005be06 .
* various fixes
* it works!
* leftover
* Make `zig build` a little faster
* give up on code signing support
* Support Linux & macOS
* Finish removing LIEF
* few more
* Add zstd to list of deps
* make it pretty
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-05-14 06:13:39 -07:00
dave caruso
dfd0f3e252
Allow reading config from within plugins, and partially implement esbuild initialOptions ( #2861 )
...
* Implement plugin build.config and initialOptions
* update types
* default initialoptions entrypoints
2023-05-11 22:58:41 -04:00
dave caruso
6a163cf933
bundler tests and improve Bun.build return type ( #2833 )
...
* importstar_ts
* tests
* run acorn test suite
* bench tweaks
* test
* bun.build tests very incomplete
* remove dataurl and base64 loaders from tests since they dont work yet
* tests
* stuff
* stuff
* add errors and array of blobs
* work so far
* docs
* requested changes
* fix overwrite docs
* remove this file
2023-05-11 14:42:54 -07:00
dave caruso
5e366872f6
implement build api define and loaders ( #2805 )
...
* parse error logs
* clean up types
* remove --jsx-production. use NODE_ENV instead
* add define to js api
* add loaders to js api
* fixups
* sourcemap
* typo fix
* remove label, comment dir just for now
* test tweaks
* test work
* make optional enums actually optional.
allows `sourcemap: undefined`
* overload host ram test
* string tests
* tests
* test for 2815
* requested changes
* sort this list
* remove this test file now that it passes
* oops
* add --format
* finish ts tests
* doc typos related to define and loader
2023-05-08 21:55:21 -07:00
Jarred Sumner
3bc02e48ca
Comment out buchta from docs
...
The repo is archived, so it should not appear in our docs
2023-05-06 12:41:03 -07:00
Kruithne
e00017f7b8
Add missing JSON API to Web APIs page ( #2799 )
...
* Add missing JSON API to Web APIs page
Unless I'm missing something obvious, it appears that Bun has the JSON API (`stringify`/`parse`) but is not listed anywhere in the documentation.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON
* Include JSON in global docs
2023-05-05 12:54:54 -07:00