Jarred Sumner
e5421c56b1
feat: Support import db from './my.db' with {type: "sqlite"} ( #8178 )
...
* Support SQLite imports
* Docs
* Update executables.md
* Update loaders.md
* Update js_parser.zig
* Update loaders.md
* Update CMakeLists.txt
* Update Module.ts
* JSC got rid of `$trunc`?
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-01-15 17:56:02 -08:00
Aarvin R
6e1ef49ad4
fix #8067 plugin fileapis ( #8068 )
...
- use Bun.file() instead of readFileSync
2024-01-09 13:00:31 -08:00
Markus Ekholm
9a0dadad24
feat: implemented assert.doesNotMatch ( #8008 )
...
* implemented assert.doesNotMatch
* fixed assert.match and assert.doesNotMatch tests and ensure it throws when actual is not a string
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-08 17:31:54 -08:00
Aarvin R
0a7bbcb9a6
finish docs for env quotes ( #7895 )
...
- added template literal backticks to sentence
- added example of quotes in .env files
2023-12-28 16:17:16 -08:00
Aarvin R
107015fd48
fix example syntax for plugins ( #7894 )
...
- updated docs/runtime/plugins.md to use plugin()
- update docs/runtime/plugins.md to use "loaded" instead of "registered" for clarity
2023-12-28 16:14:56 -08:00
Risu
98242fa10d
Add node:test to Node.js compatibility docs ( #7779 )
2023-12-22 09:21:35 -08:00
SirHyperNova
0f8bcfdc53
Remove "not production ready" from WebSocket ( #7760 )
2023-12-20 23:31:48 -08:00
Osmose
adcad39e1d
Update install.dryRun docs to be accurate. ( #7275 )
...
The previous line appeared to be copied from `install.optional`.
2023-12-14 15:44:13 -08:00
Jarred Sumner
0c532eac7b
Make tsc --help 2x faster ( #7365 )
2023-12-01 22:56:40 +01:00
Dylan Conway
d79fa7ac1a
remove bun.parseargs and update docs
2023-11-30 18:04:48 -08:00
Michael H
6517252153
Environment Variables ( #7306 )
...
* Environment variables
* .
2023-11-24 18:25:34 -08:00
Jarred Sumner
d8be3e51b4
Support glob.scan(string) ( #7279 )
...
* Support `glob.scan(string)`
* Create glob.md
* Update glob.md
* fixup
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-11-22 16:12:28 -08:00
Jarred Sumner
6851a57ebd
Update nodejs-apis.md
2023-10-28 20:17:20 -07:00
Susheel Thapa
2327737b14
docs: fixed typo in guides, install and runtime folder ( #6718 )
2023-10-25 18:27:05 -07:00
Dylan Conway
4b2cdc4fc1
respect optional peer dependencies and update docs ( #6615 )
...
* update docs
* optional peer dependencies
* rename offset variable name, cache invalidation time
* Update install.zig
* install more peer dependencies
2023-10-20 03:27:10 -07:00
Jarred Sumner
6a17ebe669
Update nodejs-apis.md
2023-10-11 01:59:56 -07:00
Dylan Conway
05781dd91e
make peer dependencies install by default ( #6396 )
...
* peer dependencies
* default true
* add test
* cleanup
* some tests
* skip peer deps if they are non optional
* remove debug print, fix build
* iterate peer dependencies
2023-10-10 20:05:58 -07:00
Colin McDonnell
323ae0f2a3
Update Node.js compat docs ( #6282 )
...
* Update nodejs-apis
* No commas
* Updates
2023-10-05 16:03:21 -07:00
Gavin John
c5c7934ebc
Update preload documentation to make applicability to plugins more obvious ( #6298 )
2023-10-04 21:29:54 -07:00
Colin McDonnell
63a00791fa
Update development and document env var expansion
2023-10-02 17:52:29 -07:00
Jarred Sumner
a97847a494
Implement virtual module support in Bun.plugin ( #6167 )
...
* Add support for `build.module` in `Bun.plugin`
* Another test
* Update docs
* Update isBuiltinModule.cpp
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2023-09-29 16:34:20 -07:00
Devin Johw
315125c43a
docs (runtime): the order of checking files when using bare impoort ( #5919 )
2023-09-28 22:13:52 -07:00
Colin McDonnell
640b0b4df9
Improve docs
2023-09-28 14:14:44 -07:00
0xflotus
549d01a4d6
docs: fixed small error ( #6077 )
2023-09-26 16:13:27 -07:00
Vlad
cd09bb0e9b
Add fs.statfs{Sync} to missing fs apis ( #6030 )
2023-09-25 10:55:55 -07:00
Jarred Sumner
7027493196
Update nodejs-apis.md
2023-09-25 00:39:53 -07:00
Jarred Sumner
bd4523798f
Clarify
2023-09-24 23:47:20 -07:00
asrar
ef7f679edf
Fix link to vitejs ( #5959 )
2023-09-24 08:49:14 -07:00
Colin McDonnell
66cdb077ad
Add docs for extending process.env
2023-09-21 12:35:41 -07:00
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