FE-Struggler / doctor

Doctors for web development
https://doctor-delta.vercel.app/
75 stars 46 forks source link

Task: Presets in doctors #1

Open BoyYangzai opened 1 year ago

BoyYangzai commented 1 year ago

core 提供插件api 功能扩展能力 + features

面向普通项目配置的: tips:建议选用当下最火的 common 类脚手架配置做参考

💡最好能给抽象出来一层 @doctors/common-app(包含 @doctors/eslint 幽灵依赖检测等) 的预设

面向企业级项目配置的: 与其配置紧密相关的

可扩展类:

Others:

WindRunnerMax commented 1 year ago

浇我啊

CoderSerio commented 1 year ago

带带我

ChelesteWang commented 1 year ago

带带我

djjhelloworld commented 1 year ago

洋哥c我

ChelesteWang commented 1 year ago

NodeJS 检测 VSCode 是否安装

const os = require('os');
const { exec } = require('child_process');

if (os.platform() === 'win32' || os.platform() === 'darwin' || os.platform() === 'linux') {
  exec('code --version', (error, stdout, stderr) => {
    if (error) {
      console.error(`执行命令出错: ${error}`);
      return;
    }
    if (stderr) {
      console.error(`命令输出错误: ${stderr}`);
      return;
    }
    if (stdout.includes('1.')) {
      console.log('VS Code已安装');
    } else {
      console.log('VS Code未安装');
    }
  });
} else {
  console.log('不支持的操作系统');
}
HCYETY commented 1 year ago

我是菜鸟,让我水个pr(不是)

SnowingFox commented 1 year ago

想做@doctors/core

aaaaa-pi commented 1 year ago

想做 @doctors/webtools feature 开发

CoderSerio commented 1 year ago

申请 @doctors/webtools feature 开发😘

ChickenTreasure commented 1 year ago

想做 @doctors/webtools feature 开发😘

wanyue01 commented 1 year ago

申请 @doctors/webtools feature 开发

CoderSerio commented 1 year ago

想参与 create-doctor(doctor preset 模板的 cli)

TOBYhhw commented 1 year ago

想做 @doctors/webtools feature 开发😘

bcyangxu commented 1 year ago

想做 @doctors/webtools feature 开发

rainnoon commented 1 year ago

想做 @doctors/webtools feature 开发😘

233333-doge commented 1 year ago

想做 @doctors/webtools feature 开发

HCYETY commented 1 year ago

试试CLI

yetToBeTested commented 1 year ago

想参与 cli开发

huangyf31 commented 1 year ago

想做 cli

yixiaojiu commented 1 year ago

想参与 CLI

wsmhzxx commented 1 year ago

想做 @doctors/webtools feature 开发

Ykkwen commented 1 year ago

参与cli

liliphoenix commented 1 year ago

想试试cli

jianyi-gronk commented 1 year ago

想做 @doctors/webtools feature 开发

shiqifriend commented 1 year ago

想做cli

MiJiaCoding commented 1 year ago

做 create-doctor 快速生成一个开发 doctor preset 模板的 cli

vacshuwang commented 1 year ago

想做cli

cjhw commented 1 year ago

领取 @doctors/npm-pkg rules

liudicheng0908 commented 1 year ago

想做 @doctors/webtools feature 开发

MiJiaCoding commented 1 year ago

带带 @doctors/npm-pkg rules

szmsxm commented 1 year ago

想试试cli

leslieCHUENGT commented 1 year ago

玉玉 @doctors/npm-pkg rules

floatGray commented 1 year ago

想做 @doctors/webtools feature 开发

etheral12138 commented 1 year ago

想做CLI

deerrrrr commented 1 year ago

想做cli

ChelesteWang commented 1 year ago

给个思路 ESLint 和 Prettier 实际流程都是 code -> ast -> code 的过程,是否有冲突的检测很简单,只需要执行两次判断两次结果是否有 diff 就好了

xzch-124 commented 1 year ago

想做 CLI

Jomorx commented 1 year ago

想参与 cli开发

CoderSerio commented 1 year ago

想参与终端美化

hangangan commented 1 year ago

带带 @doctors/npm-pkg rules、cli

1584965284 commented 1 year ago

想参与@doctors/eslint

yangxiuxiu1115 commented 1 year ago

想参与 @doctors/vue3

Evan-WH commented 1 year ago

申请 @doctors/webtools feature 开发😘

Linxae030 commented 1 year ago

@doctors/webtools feature 还能参加吗🥺

BoyYangzai commented 1 year ago

@doctors/webtools feature 还能参加吗🥺

当然~欢迎贡献~