Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/actions/setup-js/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Setup JS (Bun & Node)
description: Sets up Bun 1.4.0 and Node with frozen dependencies and caching
description: Sets up Bun 1.4.4 and Node with frozen dependencies and caching
runs:
using: "composite"
steps:
Expand All @@ -11,7 +11,7 @@ runs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
with:
bun-version: 1.4.0
bun-version: 1.4.4

# Saved from main only: a cache saved on a PR ref is invisible to every
# other PR and still counts against the repository cache quota.
Expand All @@ -20,9 +20,9 @@ runs:
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830
with:
path: ${{ runner.temp }}/bun-cache
key: ${{ runner.os }}-${{ runner.arch }}-bun-1.4.0-${{ hashFiles('bun.lock') }}
key: ${{ runner.os }}-${{ runner.arch }}-bun-1.4.4-${{ hashFiles('bun.lock') }}
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-bun-1.4.0-
${{ runner.os }}-${{ runner.arch }}-bun-1.4.4-

- name: Install frontend dependencies
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: "1.4.0"
bun-version: "1.4.4"
- run: bun install --frozen-lockfile
- run: bun run --cwd apps/status test
- run: bun run --cwd apps/status build
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Additionally, `unused_must_use = "deny"` applies to all Rust code: every `Result
- TypeScript / JS / JSON / CSS: **tab indent** and **double-quoted** strings, enforced by Biome (see `biome.json`). Do not configure per-file overrides.
- Rust: `rustfmt` default style + the denied clippy lints in the Pre-Generation Invariants above.
- Naming: files kebab‑case (`user-menu.tsx`); React/Solid components PascalCase; hooks `useX`; Rust modules snake_case; crates kebab‑case.
- Runtime: Node 20, Bun 1.4.0, Rust 1.88+, Docker for MySQL/MinIO.
- Runtime: Node 20, Bun 1.4.4, Rust 1.88+, Docker for MySQL/MinIO.

(See **Pre-Generation Invariants** at the top of this file for the comments policy and the denied clippy/Biome patterns. Those are the source of truth — do not duplicate or weaken them here.)

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Before anything else, make sure you have the following installed:

- Node Version 20+
- Rust 1.88.0+
- Bun 1.4.0
- Bun 1.4.4
- Docker ([OrbStack](https://orbstack.dev/) recommended)

### General Setup
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Cap is a Turborepo monorepo with Rust, TypeScript, Tauri, SolidStart, Next.js, D
Requirements:

- Node.js 20 or newer
- Bun 1.4.0
- Bun 1.4.4
- Rust 1.88 or newer
- Docker for MySQL, MinIO, and local services

Expand Down
2 changes: 1 addition & 1 deletion apps/media-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oven/bun:1.4.0
FROM oven/bun:1.4.4

RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
Expand Down
2 changes: 1 addition & 1 deletion apps/media-server/Dockerfile.standalone
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oven/bun:1.4.0
FROM oven/bun:1.4.4

RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
Expand Down
6 changes: 3 additions & 3 deletions apps/media-server/bun.lock

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

2 changes: 1 addition & 1 deletion apps/media-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"zod": "^3.24.2"
},
"devDependencies": {
"@types/bun": "latest"
"@types/bun": "1.4.4"
},
"trustedDependencies": [
"node-av"
Expand Down
2 changes: 1 addition & 1 deletion apps/media-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"isolatedModules": true,
"types": ["bun-types"]
"types": ["bun"]
},
"include": ["src/**/*.ts"]
}
6 changes: 3 additions & 3 deletions apps/mobile/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
"ios": {
"simulator": true
},
"bun": "1.4.0"
"bun": "1.4.4"
},
"preview": {
"channel": "preview",
"distribution": "internal",
"environment": "preview",
"bun": "1.4.0"
"bun": "1.4.4"
},
"production": {
"autoIncrement": true,
"channel": "production",
"credentialsSource": "remote",
"distribution": "store",
"environment": "production",
"bun": "1.4.0"
"bun": "1.4.4"
}
},
"submit": {
Expand Down
2 changes: 1 addition & 1 deletion apps/render-farm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ENV CARGO_PROFILE_RELEASE_LTO=false \
RUN cargo build --release --locked -p cap-render-farm \
&& install -Dm755 target/release/cap-render-farm /out/cap-render-farm

FROM oven/bun:1.4.0 AS bun
FROM oven/bun:1.4.4 AS bun

FROM debian:trixie-slim
RUN apt-get update \
Expand Down
2 changes: 1 addition & 1 deletion apps/render-farm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@types/bun": "1.4.0"
"@types/bun": "1.4.4"
}
}
2 changes: 1 addition & 1 deletion apps/render-farm/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"strict": true,
"noUncheckedIndexedAccess": true,
"skipLibCheck": true,
"types": ["bun-types"],
"types": ["bun"],
"noEmit": true
},
"include": ["src"]
Expand Down
2 changes: 1 addition & 1 deletion apps/status/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ An independent Next.js app for `status.cap.so`. It reuses the current landing pa

## Deploy on Vercel

1. Import this repository into a **separate Vercel project**, with root directory **`apps/status`**, framework **Next.js**, and build command **`bun run build`**. Keep access to the repository root enabled so Vercel uses the existing Bun workspace and lockfile. Use Bun 1.4.0. Do not attach the main site’s environment variables.
1. Import this repository into a **separate Vercel project**, with root directory **`apps/status`**, framework **Next.js**, and build command **`bun run build`**. Keep access to the repository root enabled so Vercel uses the existing Bun workspace and lockfile. Use Bun 1.4.4. Do not attach the main site’s environment variables.
2. Attach a dedicated Upstash Redis database through the Vercel Marketplace. Set `UPSTASH_REDIS_REST_URL` and `UPSTASH_REDIS_REST_TOKEN` on the production environment. Keep preview data in a separate database, or leave preview storage unconfigured.
3. Set a random `CRON_SECRET` of at least 32 bytes on production. Vercel sends it as the cron’s Bearer token. Do not prefix any of these variables with `NEXT_PUBLIC_`.
4. Configure the production service URLs below. Deploy on a plan supporting **five-minute cron jobs** (Vercel Pro or higher), then add `status.cap.so` to this project and point its DNS at Vercel. The page starts with honest “no data” states until checks run.
Expand Down
4 changes: 2 additions & 2 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker.io/docker/dockerfile:1

FROM oven/bun:1.4.0-alpine AS bun
FROM oven/bun:1.4.4-alpine AS bun

FROM node:24-alpine AS base

Expand All @@ -9,7 +9,7 @@ WORKDIR /app
COPY --from=bun /usr/local/bin/bun /usr/local/bin/bun
COPY . .

RUN --mount=type=cache,id=bun-1.4.0,target=/root/.bun/install/cache bun install --frozen-lockfile
RUN --mount=type=cache,id=bun-1.4.4,target=/root/.bun/install/cache bun install --frozen-lockfile

ARG NEXT_PUBLIC_DOCKER_BUILD=true
ENV NEXT_PUBLIC_WEB_URL=http://localhost:3000
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/mcp-card-html.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/web/public/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Early-adopter pricing is locked in for the lifetime of the subscription. Trusted
- Web: Next.js 16, React 19, TypeScript; Effect (`@effect/platform` HttpApi) and `@ts-rest/core` (no tRPC); Drizzle ORM on MySQL (PlanetScale); NextAuth + WorkOS auth; TanStack Query.
- Media: native hardware encoders, FFmpeg, WGPU compositor, WebCodecs; HLS playback via Mux.
- Infrastructure: AWS S3 + CloudFront + MediaConvert, Mux, PlanetScale, Vercel, Stripe, OpenPanel (self-hosted), Resend; AssemblyAI + Groq/OpenAI for AI.
- Runtime: Node 20, Bun 1.4.0, Rust 1.88+, Turborepo monorepo.
- Runtime: Node 20, Bun 1.4.4, Rust 1.88+, Turborepo monorepo.

## Free Web Tools

Expand Down
4 changes: 2 additions & 2 deletions apps/web/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"memory": 3009
}
},
"installCommand": "cd ../.. && bunx bun@1.4.0 install --frozen-lockfile",
"buildCommand": "cd ../.. && bunx bun@1.4.0 run build --filter=@cap/web"
"installCommand": "cd ../.. && bunx bun@1.4.4 install --frozen-lockfile",
"buildCommand": "cd ../.. && bunx bun@1.4.4 run build --filter=@cap/web"
}
Loading