Jarred Sumner
d1e9b33cac
On Linux, respect memory limit from cgroups ( #5849 )
...
* Implement `process.constrainedMemory()`
* Add a comment
* Handle max
* Missing header
* We can use WTF::ramSize now
* Update WebKit
* Update ZigGlobalObject.cpp
* WebKit
* ✂️
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-09-21 07:25:18 -07:00
Jarred Sumner
a18ef053a4
Don't await plugins
2023-09-21 06:16:31 -07:00
Colin McDonnell
19151bb1d2
Update env doc
2023-09-20 13:04:03 -07:00
Colin McDonnell
f8343f25b8
Clarify hot mode
2023-09-20 13:04:02 -07:00
Lucas Coratger
aa3355dc82
feat: switch disableTelemetry to bunfig ( #5690 )
...
* feat: switch disableTelemetry to bunfig
* feat: zig fmt
* revert: the env variable and invert the logic of telemetry
---------
Co-authored-by: MrPalixir <73360179+MrPalixir@users.noreply.github.com >
2023-09-20 10:13:31 -07:00
h2210316651
53fd9ff4bf
Updated modules.md to address issue #5420 ( #5456 )
...
* Update modules.md
Updated docs to address `The ES modules aren't always asynchronous. #5420` Issue.
- Included an elaborate explanation citing the difference between CommonJS and ES Modules,
- Added a summary
* Tweaks
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-09-19 21:39:22 -07:00
Colin McDonnell
4fce34854b
Doc updates ( #5759 )
...
* WIP
* WIP
2023-09-19 16:31:38 -07:00
Weyert de Boer
f4e7f6db7c
docs: update node compability ( #5562 )
2023-09-19 13:26:50 -07:00
Zong
575a85a3fd
docs(runtime): fix some typo. ( #5451 )
2023-09-15 14:10:04 -07:00
dave caruso
29b22175bf
feat(runtime): add process.binding uv/natives/config + make global object properties lazy ( #5355 )
...
* binding uv
* we did that
* some more bindings
* fix doc
* fix uv
* yo
* static hash table nonsense <3
* huge refactor to the global object i am not ready for merge conflicts
* it works part 3
* lose
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-09-15 08:22:06 -07:00
Colin McDonnell
b262b0153a
Clean up bunfig.md
2023-09-14 21:25:57 -07:00
Colin McDonnell
75e68e356b
Mention dotenv
2023-09-14 21:09:14 -07:00
Colin McDonnell
31691e3898
Fix links
2023-09-14 21:02:52 -07:00
Colin McDonnell
332141a6f2
Rework bunfig docs
2023-09-14 20:54:53 -07:00
Nathan Hammond
8ae9aeea6b
Remove the ability to configure lockfile. ( #5335 )
2023-09-13 22:32:03 -07:00
Colin McDonnell
66c0401426
Make TypeScript instructions easier to find
2023-09-13 21:22:41 -07:00
miccou
cf834964a6
modules documentation didn't have correct import example ( #5225 )
2023-09-13 20:50:21 -07:00
Colin McDonnell
c99caccdb2
More docs & helptext cleanup ( #5229 )
...
* wip
* Flesh out resolution docs
* Polish
* More
* WIP
* WIP
* WIP
* Document --watch
2023-09-13 20:43:39 -07:00
Steven
64033f11cc
chore(docs): include missing links to Node.js APIs ( #5281 )
...
These links make it easy to click and jump to another section.
2023-09-13 14:08:28 -07:00
Zong
9a0ea00705
docs(runtime): fix plugins loader extensions typo ( #5250 )
2023-09-13 02:00:11 -07:00
Zong
eeb790a2f1
docs(runtime): fix jsx FragmentFactory output example ( #5243 )
2023-09-13 01:47:54 -07:00
Colin McDonnell
18b521d9b8
Various docs ( #5201 )
...
* Updates
* Improve jest guide
* Improve
2023-09-12 21:51:49 -07:00
Nazeel
8d3829114e
Update hot.md ( #4990 )
2023-09-12 18:54:23 -07:00
Diogo Goncalves
b910db74be
Add missing full stop on nodejs-apis.md ( #5072 )
2023-09-12 18:51:15 -07:00
Samuel Rigaud
263382103f
docs: fix typos ( #5151 )
2023-09-12 18:50:05 -07:00
Colin McDonnell
996491f719
Clean up Modules doc
2023-09-12 16:54:07 -07:00
Matthew Yu
9d6a8ee79d
Fix punctuation ( #4870 )
2023-09-11 08:50:39 -07:00
Jeroen van Rensen
7121c1d6ab
Update modules.md - Explain case-insensitivity ( #4782 )
2023-09-10 11:33:39 -07:00
Ed Knowles
60dc76676c
docs: remove duplicate sentence from debugger ( #4807 )
2023-09-10 11:33:04 -07:00
Robert Soriano
4280f74429
docs: fix wasi-js link ( #4741 )
2023-09-09 19:03:46 -07:00
Colin McDonnell
088491cb59
Add extension guide
2023-09-08 13:49:12 -07:00
Colin McDonnell
6d02b18680
Remove await plugin
2023-09-08 11:42:27 -07:00
Dan Fabulich
989dd92ea8
Move "Importing CJS from CJS" back out of low-level details section ( #4600 )
...
This section appears to have been accidentally moved into the low-level details section in 5424ea3403 .
This fixes the example in the low-level details section, because the "Importing CJS from CJS" section is not the example code that the low-level details section is intended to provide.
2023-09-08 11:18:52 -07:00
Colin McDonnell
5424ea3403
Doc updates for v1.0 ( #4485 )
...
* Remove v0.x messages
* Add windows section to Installatino
* update
* update
* Update
* Comment out windows
2023-09-07 10:09:09 -07:00
dave caruso
57a06745a4
Progress for Next.js ( #4468 )
...
* 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-09-07 04:58:44 -07:00
Birk Skyum
3b9829f171
Update nodejs compat docs cp/cpSync/watchFile/unwatchFile ( #4525 )
2023-09-06 14:04:07 -07:00
Ai Hoshino
5f34c44ec6
chore: fix typo ( #4476 )
...
Close : #4377
2023-09-04 12:35:08 -07:00
Jarred Sumner
d98a93c318
Automatically hot reload Bun.serve() ( #4344 )
...
* Automatically hot reload Bun.serve()
* Update doc
* Update example
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-25 21:08:41 -07:00
Colin McDonnell
b70210a005
Use noEmit
2023-08-24 19:51:14 -07:00
Colin McDonnell
aa08c35c06
Add Debugger docs and a couple guides ( #4281 )
...
* Add debugger docs. Add guides.
* Add files
2023-08-23 18:15:21 -07:00
xxxhussein
b01764b31e
Fix more types. ( #4273 )
2023-08-23 10:35:51 -07:00
Colin McDonnell
3a45f2c71b
Docs and types for v0.8.0 ( #4199 )
...
* Improve test documentation
* Update nodejs compat docs with tty
* Add debugger guide
* Document Bun.inspect.custom, improve bun test nav
* Address reviews
* Update Bun.file types
* Add Nuxt guide
* Add tty types
2023-08-21 21:34:03 -07:00
Colin McDonnell
f629365cb7
Fix typo
2023-08-21 17:48:48 -07:00
dave caruso
67a8b75183
fix this page ( #4172 )
2023-08-15 19:02:46 -07:00
Colin McDonnell
0b183beb51
Improve plugin docs
2023-08-07 14:02:43 -07:00
Colin McDonnell
9222316101
Update Node.js compat docs
2023-08-03 17:48:18 -07:00
Colin McDonnell
76fa3076cd
Add type tests, update modules.md
2023-08-03 17:41:47 -07:00
Colin McDonnell
112030481f
More guides and fixing links ( #3960 )
...
* More guides
* WIP
* Updates
* Fix
2023-08-03 16:31:05 -07:00
dave caruso
aaaaf744a8
Remove module and browser conditions ( #3935 )
...
* fix astro compiler
* clean this up
* Update options.zig
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2023-08-02 18:46:57 -07:00
Colin McDonnell
8589ba2f17
Update stricjs
2023-07-31 17:07:01 -07:00