diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 381067e..2c4631c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,9 +35,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build Docs 📖 - run: | - sed -i '' '/docs/d' .prettierignore .gitignore - npm run docs + run: npm run docs - name: Clone V5 Docs 📖 run: | diff --git a/.prettierignore b/.prettierignore index e5753e1..0538acb 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,5 +1,3 @@ -dist/* -coverage/* -docs/* CHANGELOG.md pnpm-lock.yaml +package-lock.json diff --git a/package.json b/package.json index 8dc9b91..9ccefa8 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "lint": "eslint && prettier --check .", "lint:fix": "eslint --fix && prettier --write .", "ts-check": "tsc --noEmit", - "docs": "typedoc --options typedoc.json && prettier --write docs", + "docs": "typedoc --options typedoc.json && prettier --ignore-path .prettierignore --write docs", "test": "vitest", "test:coverage": "vitest --coverage", "test:ci": "vitest --coverage",