Skip to content

Conversation

@hoxyq
Copy link
Contributor

@hoxyq hoxyq commented Dec 13, 2022

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

Ruslan Lesiutin and others added 2 commits December 13, 2022 14:04
…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
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Dec 13, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D41996732

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,777,821 +0
android hermes armeabi-v7a 7,097,486 +0
android hermes x86 8,252,262 +0
android hermes x86_64 8,110,357 +0
android jsc arm64-v8a 8,970,479 +0
android jsc armeabi-v7a 7,703,402 +0
android jsc x86 9,034,226 +0
android jsc x86_64 9,511,764 +0

Base commit: 455ca8c
Branch: main

@pull-bot
Copy link

PR build artifact for 6ed631f is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 455ca8c
Branch: main

@pull-bot
Copy link

PR build artifact for 6ed631f is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 7f29357.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 14, 2022
kelset pushed a commit that referenced this pull request Dec 19, 2022
…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
kelset added a commit that referenced this pull request Dec 19, 2022
kelset pushed a commit that referenced this pull request Dec 19, 2022
…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
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants