跳到主要内容

开发指南

本地开发

在仓库根目录下:

npm install
npm run build

常用命令:

npm run dev:relay
npm run dev:cli
npm run dev:ext
npm run e2e:manual

必需验证序列

任何代码修改后,按顺序运行:

npm run check
npm run lint
npm run build
npm run -ws --if-present test

文档编写

  • 文档站点源码位于 website
  • 保持章节布局与入门指南、指南、参考、技术、贡献对齐。
  • 保持安全敏感材料脱敏,避免包含凭据示例。