GeezerVison is showing github.com — upgrade to bun 1.3.0 · steipete/opencode@9da95cb
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/workflows/deploy.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 17 | 17 |
| 18 | 18 | - uses: oven-sh/setup-bun@v1 | 19 | 19 | with: | 20 | | - bun-version: 1.2.21 | | 20 | + bun-version: 1.3.0 | 21 | 21 |
| 22 | 22 | - run: bun install | 23 | 23 |
| |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/format.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 22 | 22 | - name: Setup Bun | 23 | 23 | uses: oven-sh/setup-bun@v1 | 24 | 24 | with: | 25 | | - bun-version: 1.2.21 | | 25 | + bun-version: 1.3.0 | 26 | 26 |
| 27 | 27 | - name: run | 28 | 28 | run: | | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/publish-vscode.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 21 | 21 |
| 22 | 22 | - uses: oven-sh/setup-bun@v2 | 23 | 23 | with: | 24 | | - bun-version: 1.2.21 | | 24 | + bun-version: 1.3.0 | 25 | 25 |
| 26 | 26 | - run: git fetch --force --tags | 27 | 27 | - run: bun install -g @vscode/vsce | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/publish.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -37,16 +37,16 @@ jobs: | 37 | 37 |
| 38 | 38 | - uses: oven-sh/setup-bun@v2 | 39 | 39 | with: | 40 | | - bun-version: 1.2.21 | | 40 | + bun-version: 1.3.0 | 41 | 41 |
| 42 | 42 | - name: Cache ~/.bun | 43 | 43 | id: cache-bun | 44 | 44 | uses: actions/cache@v3 | 45 | 45 | with: | 46 | 46 | path: ~/.bun | 47 | | - key: ${{ runner.os }}-bun-1-2-21-${{ hashFiles('bun.lock') }} | | 47 | + key: ${{ runner.os }}-bun-1-3-0-${{ hashFiles('bun.lock') }} | 48 | 48 | restore-keys: | | 49 | | - ${{ runner.os }}-bun-1-2-21- | | 49 | + ${{ runner.os }}-bun-1-3-0- | 50 | 50 |
| 51 | 51 | - name: Install makepkg | 52 | 52 | run: | | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/snapshot.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -26,16 +26,16 @@ jobs: | 26 | 26 |
| 27 | 27 | - uses: oven-sh/setup-bun@v2 | 28 | 28 | with: | 29 | | - bun-version: 1.2.21 | | 29 | + bun-version: 1.3.0 | 30 | 30 |
| 31 | 31 | - name: Cache ~/.bun | 32 | 32 | id: cache-bun | 33 | 33 | uses: actions/cache@v3 | 34 | 34 | with: | 35 | 35 | path: ~/.bun | 36 | | - key: ${{ runner.os }}-bun-1-2-21-${{ hashFiles('bun.lock') }} | | 36 | + key: ${{ runner.os }}-bun-1-3-0-${{ hashFiles('bun.lock') }} | 37 | 37 | restore-keys: | | 38 | | - ${{ runner.os }}-bun-1-2-21- | | 38 | + ${{ runner.os }}-bun-1-3-0- | 39 | 39 |
| 40 | 40 | - name: Install dependencies | 41 | 41 | run: bun install | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/test.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 20 | 20 | - name: Setup Bun | 21 | 21 | uses: oven-sh/setup-bun@v1 | 22 | 22 | with: | 23 | | - bun-version: 1.2.21 | | 23 | + bun-version: 1.3.0 | 24 | 24 |
| 25 | 25 | - name: run | 26 | 26 | run: | | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/typecheck.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 15 | 15 | - name: Setup Bun | 16 | 16 | uses: oven-sh/setup-bun@v1 | 17 | 17 | with: | 18 | | - bun-version: 1.2.21 | | 18 | + bun-version: 1.3.0 | 19 | 19 |
| 20 | 20 | - name: Install dependencies | 21 | 21 | run: bun install | |
Collapse file Copy file name to clipboardExpand all lines: bun.lock +7-2Lines changed: 7 additions & 2 deletions Collapse file Copy file name to clipboardExpand all lines: package.json +5-2Lines changed: 5 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 3 | 3 | "name": "opencode", | 4 | 4 | "private": true, | 5 | 5 | "type": "module", | 6 | | - "packageManager": "bun@1.2.21", | | 6 | + "packageManager": "bun@1.3.0", | 7 | 7 | "scripts": { | 8 | 8 | "dev": "bun run packages/opencode/src/index.ts", | 9 | 9 | "typecheck": "bun turbo typecheck", | | 16 | 16 | "packages/sdk/js" | 17 | 17 | ], | 18 | 18 | "catalog": { | 19 | | - "@types/bun": "1.2.21", | | 19 | + "@types/bun": "1.3.0", | 20 | 20 | "@hono/zod-validator": "0.4.2", | 21 | 21 | "@kobalte/core": "0.13.11", | 22 | 22 | "@types/node": "22.13.9", | | 56 | 56 | ], | 57 | 57 | "patchedDependencies": { | 58 | 58 | | | 59 | + }, | | 60 | + "overrides": { | | 61 | + "@types/bun": "catalog:" | 59 | 62 | } | 60 | 63 | } |
Collapse file Copy file name to clipboardExpand all lines: packages/opencode/src/config/config.ts +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -691,10 +691,10 @@ export namespace Config { | 691 | 691 | } | 692 | 692 | const data = parsed.data | 693 | 693 | if (data.plugin) { | 694 | | - for (let i = 0; i < data.plugin?.length; i++) { | | 694 | + for (let i = 0; i < data.plugin.length; i++) { | 695 | 695 | const plugin = data.plugin[i] | 696 | 696 | try { | 697 | | - data.plugin[i] = import.meta.resolve(plugin, configFilepath) | | 697 | + data.plugin[i] = import.meta.resolve!(plugin, configFilepath) | 698 | 698 | } catch (err) {} | 699 | 699 | } | 700 | 700 | } | |
|