code-scope

2.1.1 • Public • Published

代码影响范围工具

使用

2、需要在node>=8版本中运行

Usage
  $ npx code-scope <converter> <...options>
  or code-scope <converter> <...options>

  converter     One of the choices from under.

  - file-scope: 以文件粒度收集当前指定修改集的依赖目录与文件
  - page-scope: 以页面粒度收集当前指定修改集的依赖目录与文件(该功能需要code-scope.json的配置)

Common Options:

  --help           help.

Path Command Options:

  --file,-f        included files deps, Higher priority.
  --path,-p        included path deps.

Git Command Options:

  --branch,-b      diff between current branch and target branch, Higher priority.
  --commit-id,-m   diff between current branch and commit-id.

功能说明

1、对某一个或者多个文件进行依赖检测 输入:一个或者多个文件名 输出:文件或者目录范围

第三方

Package Sidebar

Install

npm i code-scope

Weekly Downloads

1

Version

2.1.1

License

MIT

Unpacked Size

32.2 kB

Total Files

14

Last publish

Collaborators

  • drugs