Skip to content

Commit

Permalink
Break docs to check GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
treycucco committed Aug 25, 2023
1 parent caae484 commit 902cbf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:cjs": "tsc -p ./configs/tsconfig.cjs.lib.json",
"build:esm": "tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"check": "npm run test:typecheck && npm run test:prettier && npm run test:eslint && npm run test:best-practices && npm run test",
"check": "npm run build && npm run test:typecheck && npm run test:prettier && npm run test:eslint && npm run test:best-practices && npm run test",
"clean": "rm -rf ./lib",
"prepack": "npm run build",
"prettier:fix": "prettier --fix src/ tests/",
Expand Down
2 changes: 1 addition & 1 deletion sample/src/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Card = ({ title, body }: CardProps) => {
<h2>{title}</h2>
{/* @BestPractice React Components */}
{/* @BestPractice.subtitle Conditional Rendering */}
{/* @BestPractice.description Make sure your conditional render checks are booleans. */}
{/* @BestPractice.description Make sure your conditional render checks are booleans */}
{Boolean(body) && <p>{body}</p>}
{/* @BestPractice.end */}
</div>
Expand Down

0 comments on commit 902cbf3

Please sign in to comment.