From 902cbf31d4ce727daff208cfcb329765582fd67a Mon Sep 17 00:00:00 2001 From: Trey Cucco Date: Fri, 25 Aug 2023 09:41:08 -0600 Subject: [PATCH] Break docs to check GH action --- package.json | 2 +- sample/src/Card.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4fdd6fa..b192fd5 100644 --- a/package.json +++ b/package.json @@ -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/", diff --git a/sample/src/Card.tsx b/sample/src/Card.tsx index f65596e..3edb04c 100644 --- a/sample/src/Card.tsx +++ b/sample/src/Card.tsx @@ -15,7 +15,7 @@ const Card = ({ title, body }: CardProps) => {

{title}

{/* @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) &&

{body}

} {/* @BestPractice.end */}