Andreas Pfurtscheller
b691212c6e
Update module resolution order docs ( #3372 )
...
If I'm reading and interpreting [these lines](69f558db8e/src/options.zig (L605-L627) ) correct, the module resolution order [in the current docs](https://bun.sh/docs/runtime/modules#resolution ) is outdated.
This change will fix the order.
2023-06-21 12:08:05 -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
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
Jarred Sumner
7376ae6980
Update modules.md
2023-05-30 15:52:21 -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
dave caruso
5b0fea7093
fix bun init and update node vm docs ( #3014 )
2023-05-23 15:02:39 -07:00
e3dio
4101eeabde
update docs hot.md ( #2954 )
...
* Update hot.md
* Update hot.md
2023-05-19 15:23:24 -07: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
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
Colin McDonnell
386639a4c5
Start esbuild migration guide. More docs. ( #2787 )
...
* Bundler docs updates. Start esbuild migration guide.
* Updates
* Add JS API comp
* Tweaks
* Updates
* Updates
* Updates
2023-05-05 12:53:38 -07:00
Colin McDonnell
8ba13f273c
Add bundler documentation ( #2753 )
...
* WIP
* WIP
* WIP
* Document API
* Updates
* Polish bundler docs
* Tweaks
* Tweak
2023-04-26 20:07:30 -07:00
Colin McDonnell
caa90ba98e
Update TS docs for bun-types changes ( #2590 )
...
* Update TS docs for bun-types changes
* Update typescript, remove extends guidance
* Updates
* Tweaks
* Tweaks
2023-04-21 11:35:42 -07:00
Jarred Sumner
a4d0a1961a
Revert "implement node:events in javascript ( #2604 )"
...
This reverts commit 96a2ed1040 .
2023-04-21 07:16:23 -07:00
dave caruso
96a2ed1040
implement node:events in javascript ( #2604 )
...
* initial event emitter reimplementation
* implement most of node:events. tests passing
* work on emitter
* fix importing node:events
* work on event emitter tests
* event work
* event work
* event stuff and experimenting with a lazy createHash
* cleanup crypto stuff i had on this branch
* finish event stuff up
* fix error monitor
* validate listeners are functions
* changes requested
2023-04-18 14:59:51 -07:00
Simon Legner
93a43c8fc1
docs: fix code block ( #2662 )
2023-04-17 13:01:08 -07:00
Colin McDonnell
1a7c3cdf3b
Add .txt loader docs
2023-04-15 11:52:39 -07:00
Colin McDonnell
267a38f6fc
Remove Bun.dns docs
2023-04-13 18:32:22 -07:00
Colin McDonnell
011e157cac
Docs restructuring ( #2638 )
...
* Restructure
* Update nav
* Reorg
* Reshuffle ecosystem pages
* Split up runtime/runtime
* Back to runtime/index
* Fix issue
* Split up runtime/index
* Add Writing Tests page
* Prettier matcher table
* More updates
2023-04-13 18:26:45 -07:00
Lawlzer
f7d0eee0ac
In Documentation, move --watch before the script name ( #2569 )
...
Related message by Jarred: https://discord.com/channels/876711213126520882/876711213126520885/1093286199369682944
If you put `--watch` after the script name, it will not work.
2023-04-05 15:02:08 -07:00
Colin McDonnell
b0e0853360
Update vscode auto save mention
2023-03-29 17:27:13 -07:00
Colin McDonnell
f16995910a
Update vscode auto save mention
2023-03-29 17:26:52 -07:00
Colin McDonnell
b2f3dbfd43
Typo
2023-03-29 17:12:06 -07:00
Colin McDonnell
546f78a49e
Update --watch docs
2023-03-29 17:02:16 -07:00
Jarred Sumner
f0def8c770
Add doc on watch mode ( #2502 )
...
* Add doc on watch mode
* Update hot.md
* Update hot.md
* More words
* Update hot.md
* Update hot.md
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-03-28 23:26:43 -07:00
Colin McDonnell
95b59ea0ef
Document openInEditor
2023-03-07 21:05:44 -08:00
Colin McDonnell
6505e5c3a4
Fix typo
2023-03-07 18:07:53 -08:00
Colin McDonnell
9bf4d9b8a2
Improve Benchmarking page, small fixes ( #2339 )
...
* Improve benchmarking page
* WIP
* Add typescript instructions to hot
* Document preload in Plugins. Fix loader in plugin types.
2023-03-07 17:44:05 -08:00
pfg
45ddf321b1
fix the wrong thing being incremented in hmr example ( #2334 )
2023-03-07 13:11:54 -08:00
cunzaizhuyi
f89c4c3a0d
Update hot.md ( #2198 )
2023-02-26 00:23:58 -08:00
Florian Dreier
45f4353453
fix: Broken link to Node.js support status page ( #2183 )
...
Co-authored-by: Derrick Farris <mr.dcfarris@gmail.com >
2023-02-25 10:57:26 -06:00
Charlie Marsh
735d48190d
Replace docs/runtime/nodejs with docs/ecosystem/nodejs ( #2185 )
...
* Replace docs/runtime/nodejs with docs/ecosystem/nodejs
* Replace a few more usages
2023-02-25 10:54:29 -06:00
Tommaso A
8e09b1afff
docs: improved language in yaml loader example ( #2172 )
...
* docs: improved language in yaml loader example
* docs(api/http): fix typo
* docs(api/spawn): fix typo
* docs(api/transpiler): fix typo
2023-02-25 09:47:11 -06:00
Colin McDonnell
1836250542
Docs tweaks ( #2160 )
...
* Tweaks
* Add ecosystem. Add bunx. Flesh out install.
* Tweaks
* Add TS to installation
* Tweaks
* New readme
* Write new readme
* Tweak
* Center header
* Bun
* tweaks
* No dollar sign
* Fix links
* Update
* Tweak
2023-02-24 16:33:53 -08:00
Charlie Marsh
7455f385ec
Add missing "that" in modules.md ( #2167 )
2023-02-24 15:47:04 -08:00
Colin McDonnell
f54300578b
Add documentation ( #2148 )
...
* Add documentation
* Tweaks
* Fixes
* Rearrange
* Update
2023-02-23 17:13:30 -08:00
Jarred Sumner
3719c3b736
Update & configure SSL a little
2022-09-17 21:45:03 -07:00