-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task: Presets in doctors #1
Comments
浇我啊 |
带带我 |
1 similar comment
带带我 |
洋哥c我 |
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('不支持的操作系统');
} |
我是菜鸟,让我水个pr(不是) |
想做@doctors/core |
想做 @doctors/webtools feature 开发 |
申请 @doctors/webtools feature 开发😘 |
想做 @doctors/webtools feature 开发😘 |
申请 @doctors/webtools feature 开发 |
想参与 create-doctor(doctor preset 模板的 cli) |
想做 @doctors/webtools feature 开发😘 |
想做 @doctors/webtools feature 开发 |
想做 @doctors/webtools feature 开发😘 |
想做 @doctors/webtools feature 开发 |
试试CLI |
想参与 cli开发 |
想做 cli |
想参与 CLI |
想做 @doctors/webtools feature 开发 |
参与cli |
想试试cli |
想做 @doctors/webtools feature 开发 |
想做cli |
做 create-doctor 快速生成一个开发 doctor preset 模板的 cli |
想做cli |
领取 @doctors/npm-pkg rules |
想做 @doctors/webtools feature 开发 |
带带 @doctors/npm-pkg rules |
想试试cli |
玉玉 @doctors/npm-pkg rules |
想做 @doctors/webtools feature 开发 |
想做CLI |
想做cli |
给个思路 ESLint 和 Prettier 实际流程都是 code -> ast -> code 的过程,是否有冲突的检测很简单,只需要执行两次判断两次结果是否有 diff 就好了 |
想做 CLI |
想参与 cli开发 |
想参与终端美化 |
带带 @doctors/npm-pkg rules、cli |
想参与@doctors/eslint |
想参与 @doctors/vue3 |
申请 @doctors/webtools feature 开发😘 |
@doctors/webtools feature 还能参加吗🥺 |
当然 |
core 提供插件api 功能扩展能力 + features
面向普通项目配置的: tips:建议选用当下最火的 common 类脚手架配置做参考
💡最好能给抽象出来一层 @doctors/common-app(包含 @doctors/eslint 幽灵依赖检测等) 的预设
面向企业级项目配置的: 与其配置紧密相关的
可扩展类:
Others:
参考 astro https://github.com/withastro/cli-kit
@CoderSerio
The text was updated successfully, but these errors were encountered: