Code Monkey home page Code Monkey logo

doctor's Introduction

💡Contribution:

进入项目仓库

# 请使用pnpm 8进行安装,避免依赖结构问题导致后续命令无法执行
pnpm i
npm run build:all

windows 下开发时,安装依赖如果出现问题,请参考windows 开发注意事项

目前没有 example 目录 ,直接在 packages/core 里面新建了 .doctor.ts 配置文件,用来调试 doctor web-tools 命令

已有 examples/web-tools 进行调试

cd examples/web-tools
npm run doctor:webtools

如果想要 编写新的 feature
新开启一个终端

因为 monorepo 的缘故 无需手动 link,修改源码后 examples 中即可查看效果

cd packages/web-tools
npm run dev

npm run doctor:webtools //记得回到 examples/web-tools 中

文档贡献指南:

位于 website 目录下 使用的是 dumi + antd 的主题包
1.主要修改 .dumirc.ts 配置文件 即可 powered by antd 主题包
2.md 编写 powered by dumi

npm run start

windows 开发注意事项:

windows 环境下开发可能会遇到一些问题,可以参考:

  1. 确保 node 版本为 16+,pnpm 版本为 8+
  2. 部分命令报错时(如sh, rm -rf等)请使用能够支持这些 shell 的终端运行命令,比如git-bashzsh
  3. 依赖下载失败时,考虑切换下载源,开启管理员模式后重试
  4. 提示doctor等依赖缺失时,请尝试 pnpm i, doctor命令由本地的 @doctors/core 提供,请检查是否正确使用 monorepo 模式开发

doctor's People

Contributors

boyyangzai avatar cjhw avatar coderserio avatar cwrv07 avatar mijiacoding avatar situ2001 avatar sk-luffa avatar tobyhhw avatar yixiaojiu avatar zhangmingyuan666 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.