aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar dave caruso <me@paperdave.net> 2023-05-23 15:02:39 -0700
committerGravatar GitHub <noreply@github.com> 2023-05-23 15:02:39 -0700
commit5b0fea7093e53cf1aa7022bbe1f5dc1ed1f4af74 (patch)
treeb58d8afbc7b3c5e3b4d5e0d0885fc6d7d742a55b
parent21002ed4055ddfec8413c56672839f2a02843894 (diff)
downloadbun-5b0fea7093e53cf1aa7022bbe1f5dc1ed1f4af74.tar.gz
bun-5b0fea7093e53cf1aa7022bbe1f5dc1ed1f4af74.tar.zst
bun-5b0fea7093e53cf1aa7022bbe1f5dc1ed1f4af74.zip
fix bun init and update node vm docs (#3014)
-rw-r--r--docs/runtime/nodejs-apis.md4
-rw-r--r--src/__global.zig2
-rw-r--r--src/cli/tsconfig-for-init.json5
3 files changed, 5 insertions, 6 deletions
diff --git a/docs/runtime/nodejs-apis.md b/docs/runtime/nodejs-apis.md
index cbb264486..a4256077c 100644
--- a/docs/runtime/nodejs-apis.md
+++ b/docs/runtime/nodejs-apis.md
@@ -236,8 +236,8 @@ This page is updated regularly to reflect compatibility status of the latest ver
---
- {% anchor id="node_vm" %} [`node:vm`](https://nodejs.org/api/vm.html) {% /anchor %}
-- 🔴
-- Not implemented.
+- 🟡
+- Partially implemented.
---
diff --git a/src/__global.zig b/src/__global.zig
index 9e2887cce..e426cd595 100644
--- a/src/__global.zig
+++ b/src/__global.zig
@@ -49,7 +49,7 @@ pub inline fn getStartTime() i128 {
pub const version: @import("./install/semver.zig").Version = .{
.major = 0,
- .minor = 5,
+ .minor = 6,
.patch = build_id,
};
diff --git a/src/cli/tsconfig-for-init.json b/src/cli/tsconfig-for-init.json
index b8cfbf636..29f8aa003 100644
--- a/src/cli/tsconfig-for-init.json
+++ b/src/cli/tsconfig-for-init.json
@@ -1,8 +1,6 @@
{
"compilerOptions": {
- "lib": [
- "ESNext"
- ],
+ "lib": ["ESNext"],
"module": "esnext",
"target": "esnext",
"moduleResolution": "bundler",
@@ -15,6 +13,7 @@
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
+ "noEmit": true,
"types": [
"bun-types" // add Bun global
]