Skip to content

Commit fdb0637

Browse files
prc5cursoragent
andcommitted
chore: exclude documentation from build, lint, and typecheck targets
The documentation site has its own build pipeline. Excluding it from the root nx run-many commands prevents CI and pre-commit failures caused by the Docusaurus build. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent a09030e commit fdb0637

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.husky/pre-commit

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
. "$(dirname "$0")/_/husky.sh"
33

44
pnpm commitlint --edit "$1"
5-
pnpm nx reset
6-
pnpm nx run-many --target=build --all
7-
pnpm nx run-many --target=lint --parallel=3 --all
8-
pnpm nx run-many --target=typecheck --parallel=2 --all
5+
pnpm build
6+
pnpm lint
7+
pnpm typecheck

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"private": true,
66
"scripts": {
77
"postinstall": "husky install",
8-
"build": "nx run-many --target=build --all --parallel=2 --skip-nx-cache",
8+
"build": "nx run-many --target=build --all --parallel=2 --skip-nx-cache --exclude=documentation",
99
"build:watch": "nx run-many --target=start --all --parallel=20",
1010
"build:docs": "cd documentation && pnpm install && pnpm build",
1111
"test": "nx run-many --target=test --all --parallel=1 --skip-nx-cache",

0 commit comments

Comments
 (0)