Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/publish-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
8 changes: 5 additions & 3 deletions scripts/publish-fork.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
Loading