Skip to content

读取局部安装的 makit #16

@harttle

Description

@harttle

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

  1. 全局 makit 尝试调用本地 makit
  2. 本地 makit 不存在时提示(参考 mocha、eslint)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions