-
-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
1,547 additions
and
723 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
'@react-docgen/cli': major | ||
--- | ||
|
||
Introducing the new CLI package `@react-docgen/cli` which was extracted from `react-docgen` and is a complete rewrite. | ||
Compared to the old CLI these are some of the major differences: | ||
|
||
- Does not support input via stdin anymore | ||
- The path argument is now a glob | ||
- `-x, --extension` was removed in favor of globs | ||
- `-e, --exclude` was removed | ||
- `-i, --ignore` now accepts a glob | ||
- `--handler` added | ||
- `--importer` added | ||
- `--failOnWarning` added | ||
|
||
Check out https://react-docgen.dev/cli for the documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'react-docgen': major | ||
--- | ||
|
||
The CLi was removed from `react-docgen` into its own package `@react-docgen/cli`. | ||
|
||
Check out https://react-docgen.dev/cli for the documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
dist | ||
node_modules/ | ||
dist/ | ||
**/node_modules/* | ||
!**/__fixtures__/**/node_modules/* | ||
.idea/ | ||
coverage/ | ||
yarn-error.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"packages/react-docgen": "6.0.0-alpha.3", | ||
"packages/react-docgen-cli": "6.0.0-alpha.3" | ||
"packages/react-docgen-cli": "1.0.0-alpha.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
packages/react-docgen-cli/src/__tests__/__fixtures__/Component.js
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
packages/react-docgen-cli/src/__tests__/__fixtures__/customResolver.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.