diff --git a/Makefile b/Makefile index e0a5d2538..c489d513a 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ check: .PHONY: check-ts check-ts: - bun install + npm install bin/check-ts.sh .PHONY: clean @@ -107,8 +107,9 @@ check-fmt: fmt # regenerate api docs served by docs-run from ts sources .PHONY: docs docs: - bun install && npm run build - cd www && bun install && npx docusaurus generate-typedoc + npm install + -npm run build + cd www && npm install && npx docusaurus generate-typedoc # run the docs site locally at http://localhost:3000 .PHONY: docs-run diff --git a/bin/check-ts.sh b/bin/check-ts.sh index aa79589d9..eb4fa3fa6 100755 --- a/bin/check-ts.sh +++ b/bin/check-ts.sh @@ -12,5 +12,5 @@ DIRS=$( jq --raw-output ".workspaces[]" package.json ) for dir in $DIRS do - "$SCRIPT_DIR"/cd_sh "$dir" "npm run build --if-present && npm run lint --if-present" + "$SCRIPT_DIR"/cd_sh "$dir" "npm run build --if-present ; npm run lint --if-present" done