From e32e12281237d15059aa4daa3087b4712423551c Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Fri, 13 Dec 2024 12:55:15 +0000 Subject: [PATCH] Allow typechecking and building docs to continue past build failures These changes are not good, but allow the ts code to be typechecked and the docs to be built until https://github.com/SkipLabs/skip/issues/595 is fixed. --- Makefile | 7 ++++--- bin/check-ts.sh | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) 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