Skip to content

Commit

Permalink
0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
moroshko committed Feb 20, 2021
1 parent 77bd162 commit ea956fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Here are all the available config options:
| `components` | object | Components to report. Omit to report all components. |
| `includeSubComponents` | boolean | Whether to report subcomponents or not.<br>When `false`, `Footer` will be reported, but `Footer.Content` will not.<br>When `true`, `Footer.Content` will be reported, as well as `Footer.Content.Legal`, etc.<br>Default: `false` |
| `importedFrom` | string or regex | Before reporting a component, we'll check if it's imported from a module name matching `importedFrom` and, only if there is a match, the component will be reported.<br>When omitted, this check is bypassed. |
| `getComponentName` | function | This function is called to determine the component name to be used in the report based on the `import` declaration.<br>Default: `({ imported, local, moduleName, importType }) => imported \|\| local` |
| `getComponentName` | function | This function is called to determine the component name to be used in the report based on the `import` declaration.<br>Default: `({ imported, local, moduleName, importType }) => imported \|\| local` |
| `processors` | array | See [Processors](#processors).<br>Default: `["count-components-and-props"]` |
## Processors
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-scanner",
"version": "0.6.0",
"version": "0.7.0",
"description": "Extract React components and props usage from code.",
"bin": "bin/react-scanner",
"scripts": {
Expand Down

0 comments on commit ea956fa

Please sign in to comment.