Skip to content
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

读取局部安装的 makit #16

Open
harttle opened this issue Jan 2, 2020 · 0 comments
Open

读取局部安装的 makit #16

harttle opened this issue Jan 2, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@harttle
Copy link
Collaborator

harttle commented Jan 2, 2020

全局安装的 makit 读取局部安装的 makit 并替换掉自己。这样总是可以全局安装一个,并且遵守本地安装的版本。可以用 child_process 的 exec 来实现。具体俩功能:

  1. 全局 makit 尝试调用本地 makit
  2. 本地 makit 不存在时提示(参考 mocha、eslint)
@harttle harttle added the enhancement New feature or request label Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant