Skip to content

feat(align-deps): export catalogs#3812

Merged
tido64 merged 1 commit intomainfrom
tido/align-deps/export-catalogs
Oct 14, 2025
Merged

feat(align-deps): export catalogs#3812
tido64 merged 1 commit intomainfrom
tido/align-deps/export-catalogs

Conversation

@tido64
Copy link
Member

@tido64 tido64 commented Oct 13, 2025

Description

Added command for exporting catalogs.

Partially resolves #3221

Test plan

  1. Build and export catalogs:
    yarn build-scope @rnx-kit/align-deps
    node packages/align-deps/lib/cli.js --export-catalogs .yarnrc.yml
  2. Modify test-app to consume catalogs:
    diff --git a/packages/test-app/package.json b/packages/test-app/package.json
    index 794bc85ea..50be928ac 100644
    --- a/packages/test-app/package.json
    +++ b/packages/test-app/package.json
    @@ -38,8 +38,8 @@
       },
       "dependencies": {
         "@react-native-webapis/web-storage": "workspace:*",
    -    "react": "19.1.0",
    -    "react-native": "^0.81.0"
    +    "react": "catalog:0.81",
    +    "react-native": "catalog:0.81"
       },
       "devDependencies": {
         "@babel/core": "^7.20.0",
  3. Verify yarn install works and that yarn.lock does not contain new packages

@github-actions github-actions bot added the feature: align-deps This is related to align-deps label Oct 13, 2025
@tido64 tido64 mentioned this pull request Oct 13, 2025
5 tasks
@tido64 tido64 merged commit d55311e into main Oct 14, 2025
15 checks passed
@tido64 tido64 deleted the tido/align-deps/export-catalogs branch October 14, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: align-deps This is related to align-deps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

align-deps: pnpm catalogs

2 participants