mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 14:41:24 +08:00
docs: update CLAUDE.md with current project requirements (#8729)
- Update Node.js version requirement to v22.x.x or higher - Update Yarn version to 4.9.1 - Add electron-vite version (v4.0.0) to build system docs - Note usage of experimental rolldown-vite
This commit is contained in:
parent
c76aa03566
commit
e76a68ee0d
@ -5,8 +5,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|||||||
## Development Commands
|
## Development Commands
|
||||||
|
|
||||||
### Environment Setup
|
### Environment Setup
|
||||||
- **Prerequisites**: Node.js v20.x.x, Yarn 4.6.0
|
- **Prerequisites**: Node.js v22.x.x or higher, Yarn 4.9.1
|
||||||
- **Setup Yarn**: `corepack enable && corepack prepare yarn@4.6.0 --activate`
|
- **Setup Yarn**: `corepack enable && corepack prepare yarn@4.9.1 --activate`
|
||||||
- **Install Dependencies**: `yarn install`
|
- **Install Dependencies**: `yarn install`
|
||||||
|
|
||||||
### Development
|
### Development
|
||||||
@ -61,7 +61,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|||||||
- **Loaders**: Support for various file formats (PDF, DOCX, EPUB, etc.)
|
- **Loaders**: Support for various file formats (PDF, DOCX, EPUB, etc.)
|
||||||
|
|
||||||
### Build System
|
### Build System
|
||||||
- **Electron-Vite**: Development and build tooling
|
- **Electron-Vite**: Development and build tooling (v4.0.0)
|
||||||
|
- **Rolldown-Vite**: Using experimental rolldown-vite instead of standard vite
|
||||||
- **Workspaces**: Monorepo structure with `packages/` directory
|
- **Workspaces**: Monorepo structure with `packages/` directory
|
||||||
- **Multiple Entry Points**: Main app, mini window, selection toolbar
|
- **Multiple Entry Points**: Main app, mini window, selection toolbar
|
||||||
- **Styled Components**: CSS-in-JS styling with SWC optimization
|
- **Styled Components**: CSS-in-JS styling with SWC optimization
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user