Skip to content

Commit

Permalink
Update storybook-checker.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
54nd10 committed Jan 7, 2024
1 parent ea0493f commit 58735cd
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions scripts/storybook-checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,17 @@ const basePath = '../apps/www/src/components/ui'
// console.log(tablemark(missingStories))
// }

console.log(`| Category | Total components | Has story |\n
| :-------- | :--------------- | :-------- |\n
| atoms | 8 | 8 - 100% |\n
| molecules | 12 | 12 - 100% |\n
| organisms | 26 | 26 - 100% |\n
| svgs | 1 | 0 - 0% |\n
\n
| Name | Has story | Path |\n
| :---- | :-------- | :----------- |\n
| icons | false | ./svgs/icons |\n
`)
console.log(
`| Category | Total components | Has story |
| :-------- | :--------------- | :-------- |
| atoms | 8 | 8 - 100% |
| molecules | 12 | 12 - 100% |
| organisms | 26 | 26 - 100% |
| svgs | 1 | 0 - 0% |
| Name | Has story | Path |
| :---- | :-------- | :----------- |
| icons | false | ./svgs/icons |
`.replaceAll(/[\r\n]/gm, '<br>')
)
})()

0 comments on commit 58735cd

Please sign in to comment.