Skip to content

chore: switch to Bun workspaces - #1168

Open
krozniata wants to merge 1 commit into
mainfrom
chore/workspaces
Open

krozniata wants to merge 1 commit into
mainfrom
chore/workspaces

Conversation

@krozniata

Copy link
Copy Markdown
Member

Summary

Test Plan

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS ✅❌
Android ✅❌

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I updated the typed files (TS and Flow)

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.

🟡 Changes recommended

Package-manager compatibility and native workflow trigger gaps must be addressed.

2 open findings
What changed in this PR

Migrates the repository’s library, example app, and e2e suite to a unified Bun workspace with hoisted dependencies.

Changes:

  • Adds Bun workspaces and consolidates lockfiles.
  • Updates native and Metro paths for hoisted dependencies.
  • Simplifies bootstrap and CI installation steps.
File Description
package.json Defines workspaces and shared linking.
example/​package.json Removes duplicated tooling configuration.
example/​metro.config.js Resolves the local library through workspace linking.
example/​ios/​Podfile.lock Updates pods for hoisted dependencies.
example/​ios/​PagerViewExample.xcodeproj/​project.pbxproj Updates React Native paths.
example/​android/​settings.gradle Updates Gradle plugin paths.
example/​android/​app/​build.gradle Configures hoisted React Native tooling.
e2e/​README.md Documents root workspace installation.
e2e/​bun.lock Removes the redundant e2e lockfile.
CONTRIBUTING.md Documents unified installation.
bunfig.toml Enables hoisted linking.
bun.lock Consolidates workspace dependencies.
.github/​workflows/​main.yml Uses one root install.
.github/​workflows/​ios.yml Uses workspace-installed dependencies.
.github/​workflows/​android.yml Uses workspace-installed dependencies.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json
"overrides": {
"eslint-plugin-ft-flow": "^3.0.11"
"eslint-plugin-ft-flow": "^3.0.11",
"react-native-pager-view": "link:."
Comment thread package.json
Comment on lines +23 to +25
"workspaces": [
"example",
"e2e"
@krozniata
krozniata marked this pull request as ready for review October 9, 2026 13:34
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