Skip to content

Commit 8a481b6

Browse files
authored
chore(config): clean up bun, turbo, and next.js config (#3788)
* chore(config): clean up bun, turbo, and next.js config * chore(ci): bump bun to 1.3.11 in dockerfiles and workflows
1 parent bc4b7f5 commit 8a481b6

File tree

17 files changed

+19
-42
lines changed

17 files changed

+19
-42
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM oven/bun:1.3.10-alpine
1+
FROM oven/bun:1.3.11-alpine
22

33
# Install necessary packages for development
44
RUN apk add --no-cache \

.github/workflows/docs-embeddings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Bun
2121
uses: oven-sh/setup-bun@v2
2222
with:
23-
bun-version: 1.3.10
23+
bun-version: 1.3.11
2424

2525
- name: Setup Node
2626
uses: actions/setup-node@v4

.github/workflows/i18n.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Bun
2424
uses: oven-sh/setup-bun@v2
2525
with:
26-
bun-version: 1.3.10
26+
bun-version: 1.3.11
2727

2828
- name: Cache Bun dependencies
2929
uses: actions/cache@v4
@@ -122,7 +122,7 @@ jobs:
122122
- name: Setup Bun
123123
uses: oven-sh/setup-bun@v2
124124
with:
125-
bun-version: 1.3.10
125+
bun-version: 1.3.11
126126

127127
- name: Cache Bun dependencies
128128
uses: actions/cache@v4

.github/workflows/migrations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Bun
2020
uses: oven-sh/setup-bun@v2
2121
with:
22-
bun-version: 1.3.10
22+
bun-version: 1.3.11
2323

2424
- name: Cache Bun dependencies
2525
uses: actions/cache@v4

.github/workflows/publish-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Bun
2020
uses: oven-sh/setup-bun@v2
2121
with:
22-
bun-version: 1.3.10
22+
bun-version: 1.3.11
2323

2424
- name: Setup Node.js for npm publishing
2525
uses: actions/setup-node@v4

.github/workflows/publish-ts-sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Bun
2020
uses: oven-sh/setup-bun@v2
2121
with:
22-
bun-version: 1.3.10
22+
bun-version: 1.3.11
2323

2424
- name: Setup Node.js for npm publishing
2525
uses: actions/setup-node@v4

.github/workflows/test-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Bun
2020
uses: oven-sh/setup-bun@v2
2121
with:
22-
bun-version: 1.3.10
22+
bun-version: 1.3.11
2323

2424
- name: Setup Node
2525
uses: actions/setup-node@v4

apps/sim/next.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
const nextConfig: NextConfig = {
1212
devIndicators: false,
1313
images: {
14+
formats: ['image/avif', 'image/webp'],
1415
remotePatterns: [
1516
{
1617
protocol: 'https',

bunfig.toml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,5 @@
1-
# Bun Configuration File
2-
31
[install]
4-
# Recommend using exact versions for better reproducibility
52
exact = true
6-
# Auto-detect lockfile and registry changes
7-
registry = "https://registry.npmjs.org/"
8-
# Cache binaries for faster install
9-
cache = true
10-
# Strict mode for more reliable dependency resolution
11-
strict = false
12-
# Enables frozen lockfile by default to prevent accidental changes
13-
frozen = false
14-
15-
# Configure workspaces for monorepo
16-
workspaces = ["apps/*", "packages/*"]
17-
18-
[test]
19-
# Test configuration
20-
preload = "./apps/sim/test/setup.ts"
21-
extensions = [".test.ts", ".test.tsx"]
22-
timeout = 10000
233

244
[run]
25-
# Environment setting for running scripts
265
env = { NEXT_PUBLIC_APP_URL = "http://localhost:3000" }
27-
28-
[build]
29-
# Build configuration
30-
minify = true
31-
32-
[debug]
33-
# Configure debug mode
34-
inject-preload = true

docker/app.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ========================================
22
# Base Stage: Debian-based Bun with Node.js 22
33
# ========================================
4-
FROM oven/bun:1.3.10-slim AS base
4+
FROM oven/bun:1.3.11-slim AS base
55

66
# Install Node.js 22 and common dependencies once in base stage
77
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \

0 commit comments

Comments
 (0)