Skip to content

refactor(react): move worklet runtime lib outputs under runtime#2422

Merged
Yradex merged 1 commit intolynx-family:mainfrom
Yradex:wt/move-mts-runtime-3-20260401
Apr 7, 2026
Merged

refactor(react): move worklet runtime lib outputs under runtime#2422
Yradex merged 1 commit intolynx-family:mainfrom
Yradex:wt/move-mts-runtime-3-20260401

Conversation

@Yradex
Copy link
Copy Markdown
Collaborator

@Yradex Yradex commented Apr 3, 2026

Summary by CodeRabbit

  • Refactor
    • Reorganized worklet-runtime package exports to leverage optimized build outputs and structure.
    • Updated type definition paths for worklet-runtime, worklet-dev-runtime, and bindings exports to resolve correctly from new locations.
    • Added new ./dev export path providing access to development build outputs.
    • Improved package configuration consistency across export targets and path mappings.

Summary

  • route the React worklet runtime type and bindings exports to runtime-owned lib outputs while keeping the dist shell entrypoints unchanged
  • update testing utilities and config assertions to consume runtime/lib/worklet-runtime instead of package-local worklet-runtime/lib outputs
  • trim the shell package metadata now that the worklet runtime package only needs to publish dist bundles

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).
  • Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 3, 2026

⚠️ No Changeset found

Latest commit: 6ce192a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 3, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9141cc75-0996-4b2a-8267-1006da097faa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 3, 2026

Merging this PR will improve performance by 37.04%

⚡ 1 improved benchmark
✅ 71 untouched benchmarks
⏩ 21 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
002-hello-reactLynx-destroyBackground 930.3 µs 678.8 µs +37.04%

Comparing Yradex:wt/move-mts-runtime-3-20260401 (6ce192a) with main (d80a5cf)

Open in CodSpeed

Footnotes

  1. 21 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@relativeci
Copy link
Copy Markdown

relativeci Bot commented Apr 3, 2026

React External

#187 Bundle Size — 591.44KiB (0%).

6ce192a(current) vs d80a5cf main#184(baseline)

Bundle metrics  no changes
                 Current
#187
     Baseline
#184
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
No change  Cache Invalidation 0% 0%
No change  Chunks 0 0
No change  Assets 3 3
No change  Modules 17 17
No change  Duplicate Modules 5 5
No change  Duplicate Code 8.59% 8.59%
No change  Packages 0 0
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#187
     Baseline
#184
No change  Other 591.44KiB 591.44KiB

Bundle analysis reportBranch Yradex:wt/move-mts-runtime-3-202...Project dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link
Copy Markdown

relativeci Bot commented Apr 3, 2026

React Example

#7068 Bundle Size — 237.81KiB (0%).

6ce192a(current) vs d80a5cf main#7065(baseline)

Bundle metrics  no changes
                 Current
#7068
     Baseline
#7065
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
No change  Cache Invalidation 0% 0%
No change  Chunks 0 0
No change  Assets 4 4
No change  Modules 180 180
No change  Duplicate Modules 71 71
No change  Duplicate Code 46.39% 46.39%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#7068
     Baseline
#7065
No change  IMG 145.76KiB 145.76KiB
No change  Other 92.05KiB 92.05KiB

Bundle analysis reportBranch Yradex:wt/move-mts-runtime-3-202...Project dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link
Copy Markdown

relativeci Bot commented Apr 3, 2026

Web Explorer

#8643 Bundle Size — 728.84KiB (0%).

6ce192a(current) vs d80a5cf main#8640(baseline)

Bundle metrics  no changes
                 Current
#8643
     Baseline
#8640
No change  Initial JS 43.31KiB 43.31KiB
No change  Initial CSS 2.16KiB 2.16KiB
No change  Cache Invalidation 0% 0%
No change  Chunks 8 8
No change  Assets 10 10
No change  Modules 149 149
No change  Duplicate Modules 11 11
No change  Duplicate Code 34.69% 34.69%
No change  Packages 3 3
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#8643
     Baseline
#8640
No change  Other 384.62KiB 384.62KiB
No change  JS 342.07KiB 342.07KiB
No change  CSS 2.16KiB 2.16KiB

Bundle analysis reportBranch Yradex:wt/move-mts-runtime-3-202...Project dashboard


Generated by RelativeCIDocumentationReport issue

@relativeci
Copy link
Copy Markdown

relativeci Bot commented Apr 3, 2026

React MTF Example

#201 Bundle Size — 207.38KiB (0%).

6ce192a(current) vs d80a5cf main#198(baseline)

Bundle metrics  no changes
                 Current
#201
     Baseline
#198
No change  Initial JS 0B 0B
No change  Initial CSS 0B 0B
No change  Cache Invalidation 0% 0%
No change  Chunks 0 0
No change  Assets 3 3
No change  Modules 174 174
No change  Duplicate Modules 68 68
No change  Duplicate Code 46.08% 46.08%
No change  Packages 2 2
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#201
     Baseline
#198
No change  IMG 111.23KiB 111.23KiB
No change  Other 96.15KiB 96.15KiB

Bundle analysis reportBranch Yradex:wt/move-mts-runtime-3-202...Project dashboard


Generated by RelativeCIDocumentationReport issue

@Yradex Yradex marked this pull request as ready for review April 7, 2026 06:08
Comment thread packages/react/worklet-runtime/package.json
Comment thread packages/react/worklet-runtime/tsconfig.json
@Yradex Yradex merged commit 5f2cea3 into lynx-family:main Apr 7, 2026
78 of 80 checks passed
@Yradex Yradex deleted the wt/move-mts-runtime-3-20260401 branch April 7, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants