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
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache: npm

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: npm ci

- name: Build web UI
run: pnpm build:web
run: npm run build:web
13 changes: 5 additions & 8 deletions .github/workflows/desktop-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,30 +64,27 @@ jobs:
- os: macos-15
name: macos-arm64
target: aarch64-apple-darwin
build_command: pnpm build:web && cd src/apps/desktop && pnpm tauri build --target aarch64-apple-darwin --bundles dmg
build_command: npm run build:web && cd src/apps/desktop && npm exec -- tauri build --target aarch64-apple-darwin --bundles dmg
- os: macos-15-intel
name: macos-x64
target: x86_64-apple-darwin
build_command: pnpm desktop:build:x86_64
build_command: npm run desktop:build:x86_64
- os: windows-latest
name: windows-x64
target: x86_64-pc-windows-msvc
build_command: pnpm desktop:build:nsis
build_command: npm run desktop:build:nsis

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ needs.prepare.outputs.release_tag }}

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache: npm

- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -100,7 +97,7 @@ jobs:
shared-key: "package-${{ matrix.platform.name }}"

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: npm ci

- name: Build desktop app
run: ${{ matrix.platform.build_command }}
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,27 +73,24 @@ jobs:
- os: macos-15
name: macos-arm64
target: aarch64-apple-darwin
build_command: pnpm build:web && cd src/apps/desktop && pnpm tauri build --target aarch64-apple-darwin --bundles dmg
build_command: npm run build:web && cd src/apps/desktop && npm exec -- tauri build --target aarch64-apple-darwin --bundles dmg
- os: macos-15-intel
name: macos-x64
target: x86_64-apple-darwin
build_command: pnpm desktop:build:x86_64
build_command: npm run desktop:build:x86_64
- os: windows-latest
name: windows-x64
target: x86_64-pc-windows-msvc
build_command: pnpm desktop:build:nsis
build_command: npm run desktop:build:nsis

steps:
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache: npm

- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -106,7 +103,7 @@ jobs:
shared-key: "nightly-${{ matrix.platform.name }}"

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: npm ci

- name: Patch nightly version
shell: bash
Expand Down
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ Be respectful, kind, and constructive. We welcome contributors of all background
### Prerequisites

- Node.js (LTS recommended)
- pnpm (run `corepack enable`)
- Rust toolchain (install via [rustup](https://rustup.rs/))
- [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) for desktop development

### Install dependencies

```bash
pnpm install
npm install
```

### Common commands
Expand Down
3 changes: 1 addition & 2 deletions CONTRIBUTING_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
### 环境准备

- Node.js(建议 LTS 版本)
- pnpm(执行 `corepack enable`)
- Rust toolchain(通过 rustup 安装)
- 桌面端开发需准备 Tauri 依赖

### 安装依赖

```bash
pnpm install
npm install
```

### 常用命令
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,12 @@ Other form factors are currently only specification drafts and not yet developed
Make sure you have the following prerequisites installed:

- Node.js (LTS recommended)
- pnpm (run `corepack enable`)
- Rust toolchain (install via [rustup](https://rustup.rs/))
- [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) for desktop development

```bash
# Install dependencies
pnpm install
npm install

# Run desktop app in development mode
npm run desktop:dev
Expand Down
3 changes: 1 addition & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,12 @@ BitFun 是一款代理式开发环境(ADE,Agentic Development Environment)
请确保已安装以下前置依赖:

- Node.js(推荐 LTS 版本)
- pnpm(执行 `corepack enable`)
- Rust 工具链(通过 [rustup](https://rustup.rs/) 安装)
- [Tauri 前置依赖](https://v2.tauri.app/start/prerequisites/)(桌面端开发需要)

```bash
# 安装依赖
pnpm install
npm install

# 以开发模式运行桌面端
npm run desktop:dev
Expand Down
104 changes: 52 additions & 52 deletions package-lock.json

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

Loading
Loading