Skip to content

Commit

Permalink
docs(config): activate generated readme (#1208)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Oct 9, 2023
1 parent 628f499 commit 7aded78
Show file tree
Hide file tree
Showing 14 changed files with 657 additions and 34 deletions.
2 changes: 1 addition & 1 deletion scripts/actions.commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const messagesList = parsedMessages =>
const { trimmedMessage = null, typeScope = null, issueNumber = null, description = null } = message;

const issueNumberException =
/(^chore\([\d\D]+\))|(^fix\([\d\D]+\))|(^perf\([\d\D]+\))|(^build\([\d\D]+\))|(^[\d\D]+\(build\))/.test(
/(^chore\([\d\D]+\))|(^fix\([\d\D]+\))|(^perf\([\d\D]+\))|(^docs\([\d\D]+\))|(^build\([\d\D]+\))|(^[\d\D]+\(build\))/.test(
typeScope
) || /\(#[\d\D]+\)$/.test(description);

Expand Down
2 changes: 1 addition & 1 deletion scripts/readme.docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const generateReadMe = ({ input, output } = {}) => {
{ input: './src/*.js', output: './src/README.md' },
{ input: './src/common/*.js', output: './src/common/README.md' },
{ input: './src/components/*/*.js', output: './src/components/README.md' },
// { input: './src/config/*/*.js', output: './src/config/README.md' },
{ input: './src/config/*.js', output: './src/config/README.md' },
{ input: './src/hooks/*.js', output: './src/hooks/README.md' },
{ input: './src/redux/**/*.js', output: './src/redux/README.md' },
{ input: './src/services/**/*.js', output: './src/services/README.md' }
Expand Down
Loading

0 comments on commit 7aded78

Please sign in to comment.