Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Cache Bun dependencies
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
frontend/node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('frontend/bun.lockb') }}
key: ${{ runner.os }}-bun-${{ hashFiles('frontend/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-

Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

- name: Install frontend dependencies
working-directory: ./frontend
run: bun install
run: bun install --frozen-lockfile --ignore-scripts

- name: Install Tauri CLI
run: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Cache Bun dependencies
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
frontend/node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('frontend/bun.lockb') }}
key: ${{ runner.os }}-bun-${{ hashFiles('frontend/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-

Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:

- name: Install frontend dependencies
working-directory: ./frontend
run: bun install
run: bun install --frozen-lockfile --ignore-scripts

- name: Cache Cargo bin (Tauri CLI)
uses: actions/cache@v4
Expand Down Expand Up @@ -136,4 +136,3 @@ jobs:
--allowedTools "Bash,Edit,Replace,NotebookEditCell,MultiEdit,Write,Read,Grep,Glob,LS,WebSearch,WebFetch,Task,TodoWrite,BashOutput,KillBash"
--max-turns 100
--model claude-sonnet-4-5-20250929

8 changes: 4 additions & 4 deletions .github/workflows/desktop-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Install frontend dependencies
working-directory: ./frontend
run: bun install
run: bun install --frozen-lockfile --ignore-scripts

- name: Configure sccache
run: |
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:

- name: Install frontend dependencies
working-directory: ./frontend
run: bun install
run: bun install --frozen-lockfile --ignore-scripts

- name: Install Tauri CLI
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Cache Bun dependencies
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
frontend/node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('frontend/bun.lockb') }}
key: ${{ runner.os }}-bun-${{ hashFiles('frontend/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-

- name: Install dependencies
working-directory: ./frontend
run: bun install
run: bun install --frozen-lockfile --ignore-scripts

- name: Format check
working-directory: ./frontend
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mobile-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

- name: Install frontend dependencies
working-directory: ./frontend
run: bun install
run: bun install --frozen-lockfile --ignore-scripts

- name: Cache ONNX Runtime iOS build
uses: actions/cache@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Get version
id: get_version
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:

- name: Install frontend dependencies
working-directory: ./frontend
run: bun install
run: bun install --frozen-lockfile --ignore-scripts

- name: Configure sccache
run: |
Expand Down Expand Up @@ -157,15 +157,15 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Cache Bun dependencies
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
frontend/node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('frontend/bun.lockb') }}
key: ${{ runner.os }}-bun-${{ hashFiles('frontend/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-

Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:

- name: Install frontend dependencies
working-directory: ./frontend
run: bun install
run: bun install --frozen-lockfile --ignore-scripts

- name: Install Tauri CLI
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testflight-on-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.2
bun-version: 1.3.5

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:

- name: Install frontend dependencies
working-directory: ./frontend
run: bun install
run: bun install --frozen-lockfile --ignore-scripts

- name: Cache ONNX Runtime iOS build
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Maple is a **Tauri-based AI chat application** that runs on desktop (macOS, Linu
- **Frontend**: TypeScript + React (Vite), Tailwind CSS, shadcn/ui components
- **Backend**: Rust (Tauri 2.x) with proxy and PDF extraction features
- **Auth**: OpenSecret (`@opensecret/react`)
- **Package Manager**: Bun (v1.2.2+)
- **Package Manager**: Bun (v1.3.5)

## Environment
The user typically runs `nix develop` (using `flake.nix`) before starting Claude. This means you're usually in a Nix shell with all required tools (bun, cargo, rustc, etc.) already available.
Expand Down
6 changes: 5 additions & 1 deletion frontend/bunfig.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[install]
frozenLockfile = true
minimumReleaseAge = 604800

[test]
preload = ["src/lib/test/preload.ts", "src/lib/test/der-loader.ts"]
root = "./src"
root = "./src"
4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"private": true,
"version": "3.0.1",
"type": "module",
"packageManager": "bun@1.3.5",
Comment thread
AnthonyRonning marked this conversation as resolved.
"trustedDependencies": [],
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
Expand All @@ -12,7 +14,7 @@
"test": "bun test",
"test:coverage": "bun test --coverage",
"preview": "vite preview",
"add": "bunx shadcn-ui@latest add",
"add": "echo \"Disabled: use a reviewed, pinned shadcn CLI version explicitly\" && exit 1",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\""
},
Expand Down
Loading