From 33acfe5e3c9753517ef16eb8f6b3e8b8733eab0d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 30 Mar 2026 19:46:00 +0000 Subject: [PATCH] fix(publish): exclude angular-pacer and pacer-devtools from fork publishing These packages have no fork-specific modifications: - angular-pacer: fork doesn't update the Angular adapter - pacer-devtools: upstream devtools works as-is with the maxWait feature Excluding them fixes ENEEDAUTH failures (they were never published to @klinking so had no OIDC trust relationship) and avoids unnecessary publishes. https://claude.ai/code/session_01SS17WVK4qWuwuiaeyD4fHb --- .github/workflows/publish-fork.yml | 4 ++++ scripts/publish-fork.mjs | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-fork.yml b/.github/workflows/publish-fork.yml index 8fc371d36..adbcd3bb4 100644 --- a/.github/workflows/publish-fork.yml +++ b/.github/workflows/publish-fork.yml @@ -32,11 +32,15 @@ jobs: id: changes run: | changed="" + # Packages we don't publish (no fork-specific changes) + skip="angular-pacer pacer-devtools" for dir in packages/*/; do dir_name=$(basename "$dir") pkg_file="$dir/package.json" # Skip dirs without package.json [ -f "$pkg_file" ] || continue + # Skip packages not published by the fork + echo "$skip" | grep -qw "$dir_name" && continue old_version=$(git show HEAD~1:"$pkg_file" 2>/dev/null | jq -r '.version // empty' 2>/dev/null || true) new_version=$(jq -r '.version // empty' "$pkg_file") diff --git a/scripts/publish-fork.mjs b/scripts/publish-fork.mjs index f4502c967..c946a2d6d 100644 --- a/scripts/publish-fork.mjs +++ b/scripts/publish-fork.mjs @@ -43,20 +43,22 @@ const __dirname = dirname(fileURLToPath(import.meta.url)) const ROOT = resolve(__dirname, '..') const PACKAGES_DIR = join(ROOT, 'packages') -// These are the 10 packages in this repo that we publish under @klinking. +// These are the packages in this repo that we publish under @klinking. // Everything else under @tanstack/* (store, react-store, devtools-ui, etc.) // is an external dependency published by TanStack — we leave those as-is. +// +// Excluded from publishing: +// - @tanstack/angular-pacer: fork doesn't modify the Angular adapter +// - @tanstack/pacer-devtools: upstream devtools works as-is with maxWait const INTERNAL_PACKAGES = new Set([ '@tanstack/pacer', '@tanstack/pacer-lite', - '@tanstack/pacer-devtools', '@tanstack/react-pacer', '@tanstack/react-pacer-devtools', '@tanstack/solid-pacer', '@tanstack/solid-pacer-devtools', '@tanstack/preact-pacer', '@tanstack/preact-pacer-devtools', - '@tanstack/angular-pacer', ]) /** @tanstack/react-pacer → @klinking/react-pacer */