Skip to content

Commit 7a90b54

Browse files
authored
Merge pull request #95 from tkskto/develop
v 0.3.1
2 parents 3ac334b + 7ee7f09 commit 7a90b54

File tree

6 files changed

+5445
-518
lines changed

6 files changed

+5445
-518
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm exec lint-staged

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 0.3.1
4+
5+
### Bug Fixes
6+
7+
- \#94 exclude `node_modules`.
8+
9+
### Chores
10+
11+
- \#93 update `vue-eslint-parser` 7.6.0 to 7.7.2
12+
- \#91 update `commander` 7.2.0 to 8.0.0
13+
- \#89 update `globby` 11.0.3 to 11.0.4
14+
- \#88 update `ws` 7.4.6 to 7.5.2
15+
316
## 0.3.0
417

518
### Updates

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vue-component-analyzer
22

3-
This tool can Analyze dependency tree for Vue.js SFC (Single File Component).
3+
This tool can Analyze dependency tree for Vue.js SFC (Single File Component). You can see [GitHub Pages](https://tkskto.github.io/vue-component-analyzer/dist/) for a demo.
44

55
Also, you can see Props of Component.
66

@@ -12,9 +12,9 @@ or you can see simple text pattern.
1212

1313
## Why?
1414

15-
When you try to change the behavior of components, it will help you to investigate the influence range. Because it is hard to know where the component is used.
15+
When you try to change the behavior of components, it is hard to know where the component is used.
1616

17-
When you join a new big project using Vue.js, it will help you to understand dependencies.
17+
When you join a new big project using Vue.js, it is hard to understand dependencies.
1818

1919
## installation and usage
2020

@@ -32,18 +32,19 @@ Then put command on npm scripts.
3232
}
3333
```
3434

35-
Or you can use npx(after npm install):
35+
Or you can use npm exec(after npm install):
3636

3737
```
38-
npx vca --dir pages
38+
npm exec vca -- --dir .
3939
```
4040

4141
### CLI Options
4242

43-
- `--dir` : analyze target directory. default is `src`.
44-
- `-f` or `--format` : report type. choose one from [browser | json | both]. default is `browser`.
45-
- `-o` or `--out` : output directory. JSON file will output here.
46-
- `-p` or `--port` : select a port number for the local server.
43+
* `--dir` : analyze target directory. default is `src`. `node_modules` will be ignored by default.
44+
* `--silent` : running without almost logs.
45+
* `-f` or `--format` : report type. choose one from [browser | json | both]. default is `browser`.
46+
* `-o` or `--out` : output directory. JSON file will output here.
47+
* `-p` or `--port` : select a port number for the local server.
4748

4849
## License
4950

0 commit comments

Comments
 (0)