Skip to content

Update dependencies - #771

Merged
thebuilder merged 1 commit into
mainfrom
agent/update-dependencies
Jul 30, 2026
Merged

Update dependencies#771
thebuilder merged 1 commit into
mainfrom
agent/update-dependencies

Conversation

@thebuilder

Copy link
Copy Markdown
Owner

Summary

  • update workspace, package, Storybook, docs, test, and build dependencies
  • keep the publishable package on TypeScript 6 because tsup@8.5.1 embeds a declaration bundler that crashes with TypeScript 7
  • remove the deprecated downlevelIteration option and acknowledge tsup's TypeScript 6 baseUrl deprecation
  • enable Biome's full Astro support so frontmatter variables used by templates are not reported as unused

Root cause

The dependency refresh moved the package to TypeScript 7 while leaving tsup at its latest 8.5.1 release. tsup's embedded rollup-plugin-dts@6.1.1 reads compiler internals that are no longer available in TypeScript 7, causing declaration generation to fail with useCaseSensitiveFileNames on undefined.

TypeScript 6 is the newest compatible compiler line for the current tsup build. It also reports the old downlevelIteration setting and tsup's internally supplied baseUrl as deprecated, so the obsolete project option was removed and the remaining tool-owned deprecation was acknowledged in the package tsconfig.

Impact

The updated dependency set now builds successfully on Node 24, produces valid CJS, ESM, and declaration artifacts, and lints Astro templates without false-positive unused-variable warnings.

Verification

  • pnpm lint
  • pnpm build
  • pnpm --filter react-intersection-observer typecheck
  • Are The Types Wrong package validation
  • Publint
  • Size Limit
  • git diff --check

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-intersection-observer Ready Ready Preview Jul 30, 2026 8:30am

@pkg-pr-new

pkg-pr-new Bot commented Jul 30, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/react-intersection-observer@771

commit: f1f85d0

@thebuilder
thebuilder marked this pull request as ready for review July 30, 2026 08:32
@thebuilder
thebuilder merged commit c8a9566 into main Jul 30, 2026
9 checks passed
@thebuilder
thebuilder deleted the agent/update-dependencies branch July 30, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant