This is a rich text editor project built with Turborepo.
The project contains the following packages:
editor
: Editor core packageui
: Shared React component libraryextension-paragraph
: Paragraph extension packageextension-table
: Table extension packageextension-table-handler
: Table handler extension package
typescript-config
: Shared TypeScript configurationeslint-config
: Shared ESLint configuration
The project uses the following technologies:
- TypeScript - Static type checking
- ESLint - Code linting
- Prettier - Code formatting
- Turborepo - Monorepo build system
pnpm install
pnpm dev
pnpm build
The project uses Turborepo's caching feature to improve build speed. Local caching is used by default.
- Login to Vercel:
npx turbo login
- Link to remote cache:
npx turbo link
这是一个基于 Turborepo 构建的富文本编辑器项目。
该项目包含以下包:
editor
: 编辑器核心包ui
: 共享的 React 组件库extension-paragraph
: 段落扩展包extension-table
: 表格扩展包extension-table-handler
: 表格处理器扩展包
typescript-config
: 项目共享的 TypeScript 配置eslint-config
: 项目共享的 ESLint 配置
项目使用以下技术:
- TypeScript - 静态类型检查
- ESLint - 代码检查
- Prettier - 代码格式化
- Turborepo - Monorepo 构建系统
pnpm install
pnpm dev
pnpm build
项目使用 Turborepo 的缓存功能来提升构建速度。默认情况下使用本地缓存。
- 登录 Vercel:
npx turbo login
- 链接到远程缓存:
npx turbo link