Skip to content

Bump TypeScript to 6.0.3#4311

Open
m-bert wants to merge 1 commit into
mainfrom
@mbert/bump-ts
Open

Bump TypeScript to 6.0.3#4311
m-bert wants to merge 1 commit into
mainfrom
@mbert/bump-ts

Conversation

@m-bert

@m-bert m-bert commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Description

Currently we use TypeScript 5. Starting from 0.87, React Native uses TyoeScript 6. I think it is good time to adapt to these changes and bump it in our repository.

I've left docs since they are not part of workspaces.

Test plan

  • yarn ts-check
  • Installed Gesture Handler from generated package

Copilot AI review requested due to automatic review settings July 10, 2026 10:18

@m-bert m-bert left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if you prefer to revert Podfile locks changes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repo to TypeScript 6.0.3 to align with React Native (>= 0.87) moving to TS 6, and adjusts TypeScript configuration and lockfiles accordingly across the monorepo workspaces and example apps.

Changes:

  • Bump TypeScript to ~6.0.3 in the root and workspace package.json files and refresh yarn.lock.
  • Switch the root TS config to moduleResolution: "bundler" and adjust per-workspace TS build config (rootDir).
  • Refresh iOS/macOS CocoaPods lockfiles (notably RNReanimated patch updates).

Reviewed changes

Copilot reviewed 9 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
yarn.lock Updates locked dependency graph to reflect TypeScript 6 and related resolution changes.
tsconfig.json Switches TS module resolution to bundler (TS6-friendly for RN) and adjusts shared compiler options.
packages/react-native-gesture-handler/tsconfig.build.json Sets rootDir for package build compilation.
packages/react-native-gesture-handler/package.json Bumps workspace devDependency TypeScript version.
package.json Bumps root devDependency TypeScript version.
apps/macos-example/package.json Bumps TypeScript version used by the macOS example app.
apps/macos-example/macos/Podfile.lock Updates CocoaPods lockfile (RNReanimated patch/version checksum changes).
apps/expo-example/package.json Bumps TypeScript version used by the Expo example app.
apps/common-app/tsconfig.json Adjusts app TS config in response to shared TS config changes.
apps/common-app/package.json Bumps TypeScript version used by the shared example app sources.
apps/basic-example/tsconfig.json Adjusts basic-example TS config formatting/options.
apps/basic-example/package.json Bumps TypeScript version used by the basic example app.
apps/basic-example/ios/Podfile.lock Updates CocoaPods lockfile (RNReanimated patch/version checksum changes).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/common-app/tsconfig.json
Comment thread apps/basic-example/tsconfig.json
@m-bert m-bert requested a review from j-piasecki July 10, 2026 10:27
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.

2 participants