From 4848e0d4eb07fc0177d234cfd4d0cdd2135269b8 Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Fri, 1 Nov 2024 14:31:17 -0400 Subject: [PATCH] chore: Fix build checks Signed-off-by: Austin Ziegler --- .github/workflows/typescript.yml | 6 ++++++ ts/package.json | 3 +-- ts/packages/core/package.json | 1 - ts/packages/node/package.json | 1 - ts/packages/suite/package.json | 1 - 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index d8b72b7..5a3f2f5 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -47,6 +47,12 @@ jobs: - run: pnpm build:all working-directory: ./ts + - name: Check the publications status + run: | + pnpm exec publint run + pnpm recursive --stream exec publint run + working-directory: ./ts + - name: self-test run: | pnpm --silent cli:generate | pnpm --silent cli:run --strict diff --git a/ts/package.json b/ts/package.json index 0b91950..17979be 100644 --- a/ts/package.json +++ b/ts/package.json @@ -16,9 +16,8 @@ "build:all": "pnpm recursive run build:all", "build:docs": "pnpm recursive run build:docs", "build:watch": "pnpm recursive run --stream build:watch", - "check": "pnpm biome check . && pnpm recursive run --stream check && pnpm recursive run --stream check:package && pnpm run check:package", + "check": "pnpm biome check . && pnpm recursive run --stream check", "check:fix": "pnpm biome check --write . && pnpm recursive run --stream check:fix", - "check:package": "pnpm exec publint run", "cli": "pnpm --silent exec tsx packages/suite/src/index.ts", "cli:generate": "pnpm --silent run cli generate", "cli:run": "pnpm --silent run cli run", diff --git a/ts/packages/core/package.json b/ts/packages/core/package.json index a5dcaa0..e481513 100644 --- a/ts/packages/core/package.json +++ b/ts/packages/core/package.json @@ -34,7 +34,6 @@ "build:watch": "concurrently 'pkgroll --watch' 'typedoc --watch --preserveWatchOutput'", "check": "biome check .", "check:fix": "biome check --write .", - "check:package": "pnpm exec publint run", "prepack": "pnpm build", "test": "vitest run", "test:coverage": "vitest --coverage", diff --git a/ts/packages/node/package.json b/ts/packages/node/package.json index dad4b5c..ab2bec5 100644 --- a/ts/packages/node/package.json +++ b/ts/packages/node/package.json @@ -34,7 +34,6 @@ "build:watch": "concurrently 'pkgroll --watch' 'typedoc --watch --preserveWatchOutput'", "check": "biome check .", "check:fix": "biome check --write .", - "check:package": "pnpm exec publint run", "prepack": "pnpm build" }, "engines": { diff --git a/ts/packages/suite/package.json b/ts/packages/suite/package.json index a99dc70..f0538b4 100644 --- a/ts/packages/suite/package.json +++ b/ts/packages/suite/package.json @@ -24,7 +24,6 @@ "build:watch": "concurrently 'pkgroll --watch' 'typedoc --watch --preserveWatchOutput'", "check": "biome check .", "check:fix": "biome check --write .", - "check:package": "pnpm exec publint run", "cli": "tsx src/index.ts", "cli:generate": "pnpm run cli generate", "cli:run": "pnpm run cli run",