Skip to content

Commit

Permalink
Merge branch 'main' into chore/typos-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
jbergstroem authored Jan 22, 2025
2 parents 091b525 + b0c5a76 commit 2b6f245
Show file tree
Hide file tree
Showing 987 changed files with 136,756 additions and 62,922 deletions.
3 changes: 3 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ CompileFlags:

Diagnostics:
UnusedIncludes: None

HeaderInsertion:
IncludeBlocks: Preserve # Do not auto-include headers.
2 changes: 1 addition & 1 deletion .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
merge_group:

env:
BUN_VERSION: "1.1.27"
BUN_VERSION: "1.1.44"
LLVM_VERSION: "18.1.8"
LLVM_VERSION_MAJOR: "18"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
merge_group:

env:
BUN_VERSION: "1.1.27"
BUN_VERSION: "1.1.44"
LLVM_VERSION: "18.1.8"
LLVM_VERSION_MAJOR: "18"

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/labeled.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Issue Labeled
env:
BUN_VERSION: 1.1.13
BUN_VERSION: 1.1.44

on:
issues:
Expand All @@ -23,7 +23,7 @@ jobs:
# - name: Setup Bun
# uses: ./.github/actions/setup-bun
# with:
# bun-version: "1.1.24"
# bun-version: ${{ env.BUN_VERSION }}
# - name: "categorize bug"
# id: add-labels
# env:
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Setup Bun
uses: ./.github/actions/setup-bun
with:
bun-version: "1.1.13"
bun-version: ${{ env.BUN_VERSION }}
- name: "add platform and command label"
id: add-labels
if: github.event.label.name == 'crash'
Expand All @@ -72,7 +72,7 @@ jobs:
echo "labels=$LABELS" >> $GITHUB_OUTPUT
bun scripts/is-outdated.ts
if [[ -f "is-outdated.txt" ]]; then
if [[ -f "is-outdated.txt" ]]; then
echo "is-outdated=true" >> $GITHUB_OUTPUT
fi
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Thank you for reporting this crash.
Thank you for reporting this crash.
For Bun's internal tracking, this issue is [${{ steps.generate-comment-text.outputs.sentry-id }}](${{ steps.generate-comment-text.outputs.sentry-link }}).
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:

env:
BUN_VERSION: "1.1.38"
BUN_VERSION: "1.1.44"
OXLINT_VERSION: "0.15.0"

jobs:
Expand All @@ -20,7 +20,3 @@ jobs:
bun-version: ${{ env.BUN_VERSION }}
- name: Lint
run: bunx oxlint --config oxlint.json --quiet --format github




2 changes: 1 addition & 1 deletion .github/workflows/prettier-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
merge_group:

env:
BUN_VERSION: "1.1.27"
BUN_VERSION: "1.1.44"

jobs:
prettier-format:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Setup Bun
uses: ./.github/actions/setup-bun
with:
bun-version: "1.1.20"
bun-version: "1.1.44"
- name: Install Dependencies
run: bun install
- name: Sign Release
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Setup Bun
uses: ./.github/actions/setup-bun
with:
bun-version: "1.1.20"
bun-version: "1.1.44"
- name: Install Dependencies
run: bun install
- name: Release
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
if: ${{ env.BUN_VERSION != 'canary' }}
uses: ./.github/actions/setup-bun
with:
bun-version: "1.1.20"
bun-version: "1.1.44"
- name: Setup Bun
if: ${{ env.BUN_VERSION == 'canary' }}
uses: ./.github/actions/setup-bun
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
- name: Setup Bun
uses: ./.github/actions/setup-bun
with:
bun-version: "1.1.20"
bun-version: "1.1.44"
- name: Install Dependencies
run: bun install
- name: Release
Expand Down Expand Up @@ -309,7 +309,7 @@ jobs:
uses: ./.github/actions/setup-bun
if: ${{ env.BUN_LATEST == 'true' }}
with:
bun-version: "1.1.12"
bun-version: "1.1.44"
- name: Bump version
uses: ./.github/actions/bump
if: ${{ env.BUN_LATEST == 'true' }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/run-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ permissions:
contents: read
env:
LLVM_VERSION: 16
BUN_VERSION: "1.1.44"

on:
workflow_call:
Expand All @@ -22,7 +23,7 @@ jobs:
- name: Setup Bun
uses: ./.github/actions/setup-bun
with:
bun-version: "1.1.3"
bun-version: ${{ env.BUN_VERSION }}
- name: Install Dependencies
run: |
bun --cwd=packages/bun-internal-test install
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
description: What is the release tag? (e.g. "1.0.2", "canary")
required: true

env:
BUN_VERSION: "1.1.44"

jobs:
bump:
name: "Bump version"
Expand All @@ -21,7 +24,7 @@ jobs:
- name: Setup Bun
uses: ./.github/actions/setup-bun
with:
bun-version: "1.1.12"
bun-version: ${{ env.BUN_VERSION }}
- name: Bump version
uses: ./.github/actions/bump
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zig-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
merge_group:

env:
BUN_VERSION: "1.1.27"
BUN_VERSION: "1.1.44"

jobs:
zig-format:
Expand Down
18 changes: 11 additions & 7 deletions .vscode/launch.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ $ git clone https://github.com/oven-sh/WebKit vendor/WebKit

# Make a debug build of JSC. This will output build artifacts in ./vendor/WebKit/WebKitBuild/Debug
# Optionally, you can use `make jsc` for a release build
$ make jsc-debug && rm vendor/WebKit/WebKitBuild/Debug/JavaScriptCore/DerivedSources/inspector/InspectorProtocolObjects.h
$ make jsc-debug

# Build bun with the local JSC build
$ bun run build:local
Expand Down
2 changes: 1 addition & 1 deletion LATEST
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.43
1.2.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

Bun is an all-in-one toolkit for JavaScript and TypeScript apps. It ships as a single executable called `bun`.

At its core is the _Bun runtime_, a fast JavaScript runtime designed as a drop-in replacement for Node.js. It's written in Zig and powered by JavaScriptCore under the hood, dramatically reducing startup times and memory usage.
At its core is the _Bun runtime_, a fast JavaScript runtime designed as **a drop-in replacement for Node.js**. It's written in Zig and powered by JavaScriptCore under the hood, dramatically reducing startup times and memory usage.

```bash
bun run index.tsx # TS and JSX supported out-of-the-box
Expand Down
Loading

0 comments on commit 2b6f245

Please sign in to comment.