-
Notifications
You must be signed in to change notification settings - Fork 25k
refactor(scripts): use forEachPackage instead of yarn workspaces info
#35633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…rcleci Summary: Changelog: [Internal] 1. Added `for-each-package.js` script. This can be used to iterate through all of the packages inside `/packages` with the access to package manifest. This soon can be used as a replacement for `yarn workspaces --info` 2. Added `find-and-publish-all-bumped-packages.js` script. This script iterates through all the packages and detects if the version was changed via `git log -p` (same as `git diff`). If so, it tries to publish it to npm. 3. Added corresponding job and workflow to CircleCI config, which will use this script Differential Revision: D41972733 fbshipit-source-id: 6a8b8c2995943d6c8421cbe19cd291069655183b
Summary: Changelog: [Internal] These changes add usage of `forEachPackage` as a replacement for `yarn --json workspaces info`. This is because at some point in release cycle there is a script which removed `workspaces` block from react-native's `package.json`, so `yarn --info workspaces info` produces an error Reviewed By: cortinico Differential Revision: D41996732 fbshipit-source-id: f1f89c6766aed213df6f1fb18305925ff2e4928c
|
This pull request was exported from Phabricator. Differential Revision: D41996732 |
Base commit: 455ca8c |
|
PR build artifact for 6ed631f is ready. |
Base commit: 455ca8c |
|
PR build artifact for 6ed631f is ready. |
|
This pull request has been merged in 7f29357. |
…o` (#35633) Summary: Pull Request resolved: #35633 Changelog: [Internal] These changes add usage of `forEachPackage` as a replacement for `yarn --json workspaces info`. This is because at some point in release cycle there is a script which removed `workspaces` block from react-native's `package.json`, so `yarn --info workspaces info` produces an error Reviewed By: cortinico Differential Revision: D41996732 fbshipit-source-id: 2c62c1a5eb41d711c563f9f7b0de3d67fc11823d # Conflicts: # .circleci/config.yml
…o` (#35633) Summary: Pull Request resolved: #35633 Changelog: [Internal] These changes add usage of `forEachPackage` as a replacement for `yarn --json workspaces info`. This is because at some point in release cycle there is a script which removed `workspaces` block from react-native's `package.json`, so `yarn --info workspaces info` produces an error Reviewed By: cortinico Differential Revision: D41996732 fbshipit-source-id: 2c62c1a5eb41d711c563f9f7b0de3d67fc11823d
…o` (facebook#35633) Summary: Pull Request resolved: facebook#35633 Changelog: [Internal] These changes add usage of `forEachPackage` as a replacement for `yarn --json workspaces info`. This is because at some point in release cycle there is a script which removed `workspaces` block from react-native's `package.json`, so `yarn --info workspaces info` produces an error Reviewed By: cortinico Differential Revision: D41996732 fbshipit-source-id: 2c62c1a5eb41d711c563f9f7b0de3d67fc11823d
Summary:
Changelog: [Internal]
These changes add usage of
forEachPackageas a replacement foryarn --json workspaces info.This is because at some point in release cycle there is a script which removed
workspacesblock from react-native'spackage.json, soyarn --info workspaces infoproduces an errorReviewed By: cortinico
Differential Revision: D41996732