Skip to content

chore: update dependencies#549

Merged
Brentlok merged 2 commits into
mainfrom
update-deps
May 25, 2026
Merged

chore: update dependencies#549
Brentlok merged 2 commits into
mainfrom
update-deps

Conversation

@Brentlok

@Brentlok Brentlok commented May 25, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores

    • Upgraded development dependencies (Babel, React Native tooling, Metro, SWC/Jest additions) and bumped root tooling/package manager
    • Updated testing configs for native and web to use newer presets/transforms
    • Adjusted iOS build settings and small runtime patches for improved build/test stability
    • Added CSS import type declarations for projects
  • Style

    • Added a global CSS theme variable for primary color and cleaned legacy auto-generated styles

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 25, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 31dd2762-bb5f-4303-93ed-f4bacbf35776

📥 Commits

Reviewing files that changed from the base of the PR and between 370a62d and 29b713b.

📒 Files selected for processing (2)
  • package.json
  • patches/react-native@0.83.2.patch
💤 Files with no reviewable changes (1)

📝 Walkthrough

Walkthrough

This PR bumps tooling and dependency versions across the monorepo, adjusts iOS build settings for the bare app, migrates Jest web tests from ts-jest to @swc/jest (and updates the native preset), and applies small type-safety and bundler patches.

Changes

Monorepo Tooling and Dependency Update

Layer / File(s) Summary
Bare App iOS Build Settings and Configuration
apps/bare/ios/bare.xcodeproj/project.pbxproj, apps/bare/package.json, apps/bare/src/global.css, apps/bare/src/global.d.ts
Adds -DRCT_REMOVE_LEGACY_ARCH=1 to OTHER_CFLAGS, removes it from OTHER_CPLUSPLUSFLAGS, sets SWIFT_ENABLE_EXPLICIT_MODULES = NO; bumps Bare app devDependencies; replaces global CSS content with a @theme and adds declare module '*.css'.
Root Workspace Catalog Update
package.json
Workspace catalog entries and root dev tooling versions bumped; packageManager updated to bun@1.3.14.
Expo Example App Updates
apps/expo-example/package.json, apps/expo-example/App.tsx, apps/expo-example/global.d.ts
Bumps @expo/metro-runtime and expo-status-bar; bumps Babel/dev tooling versions; removes unused default React import; adds declare module '*.css'.
Jest Testing Framework Migration to SWC
packages/uniwind/jest.config.native.js, packages/uniwind/jest.config.web.js, packages/uniwind/package.json
Switches web tests from ts-jest to @swc/jest (TS+TSX, automatic React runtime, CommonJS), updates native preset to @react-native/jest-preset, and updates devDependencies to add @swc/core/@swc/jest and remove ts-jest.
Type Safety and Compatibility Updates
packages/uniwind/src/bundler/adapters/metro/patches.ts, packages/uniwind/src/bundler/artifacts/css/themes.ts, patches/react-native@0.83.2.patch
Casts file.data when checking CSS skipCache; narrows dependency filter with a TypeScript type guard for import dependencies; guards RealComponent.prototype before accessing .constructor.

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Possibly related PRs:

    • uni-stack/uniwind#425: touches TV variants in packages/uniwind/src/css/variants.ts (related feature work).
    • uni-stack/uniwind#523: also modifies packages/uniwind/src/bundler/adapters/metro/patches.ts (related bundler/patch work).
  • Suggested reviewers:

    • jpudysz

🐰 Our tooling hops ahead with cheer,

deps climb higher, tests switch gear,
type guards snug where bugs might creep,
build flags moved so builds run deep,
a tiny rabbit dance — now clear! 🥕

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: update dependencies' accurately summarizes the primary change: a comprehensive update to dependencies across multiple files including Babel, React Native, Tailwind, and related tooling.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-deps

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 30: The patchedDependencies entry for react-native is still keyed to the
old version string "react-native@0.83.2" so the patch won't apply after bumping
"react-native" to 0.85.3; update the patchedDependencies key to match the new
version (e.g., "react-native@0.85.3" or an appropriate semver selector) so the
existing patch maps to the bumped package, and ensure the package name string
exactly matches the version format used elsewhere in package.json.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 392c2794-436c-4b7d-8064-c953274c14eb

📥 Commits

Reviewing files that changed from the base of the PR and between c8ed75f and 370a62d.

⛔ Files ignored due to path filters (2)
  • apps/bare/ios/Podfile.lock is excluded by !**/*.lock
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (14)
  • apps/bare/ios/bare.xcodeproj/project.pbxproj
  • apps/bare/package.json
  • apps/bare/src/global.css
  • apps/bare/src/global.d.ts
  • apps/expo-example/App.tsx
  • apps/expo-example/global.d.ts
  • apps/expo-example/package.json
  • package.json
  • packages/uniwind/jest.config.native.js
  • packages/uniwind/jest.config.web.js
  • packages/uniwind/package.json
  • packages/uniwind/src/bundler/adapters/metro/patches.ts
  • packages/uniwind/src/bundler/artifacts/css/themes.ts
  • packages/uniwind/tests/type-test/tsconfig.json
💤 Files with no reviewable changes (3)
  • packages/uniwind/tests/type-test/tsconfig.json
  • apps/bare/src/global.css
  • apps/expo-example/App.tsx

Comment thread package.json
@Brentlok Brentlok merged commit 6b6d1ef into main May 25, 2026
2 checks passed
@Brentlok Brentlok deleted the update-deps branch May 25, 2026 08:36
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

🚀 This pull request is included in v1.8.0. See Release v1.8.0 for release notes.

@coderabbitai coderabbitai Bot mentioned this pull request Jul 2, 2026
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