Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

[prop-types] v4.0.0 - #11

Merged
yungsters merged 1 commit into
mainfrom
nc/4.x
Dec 16, 2022
Merged

[prop-types] v4.0.0#11
yungsters merged 1 commit into
mainfrom
nc/4.x

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Upstream we renamed @react-native/normalize-color to @react-native/normalize-colors.
On nightlies we got a report that this is causing a package clash:
reactwg/react-native-releases#41 (comment)

This is needed for 0.72 and for nightlies.

@hoxyq

Copy link
Copy Markdown

FYI, after we publish these changes and will start to use deprecated-prop-types v4.0.1, we can remove this section from Verdaccio config: https://github.com/facebook/react-native/blob/main/.circleci/verdaccio.yml#L19-L22

@yungsters

Copy link
Copy Markdown
Contributor

We need to also update the yarn.lock file. Can you run yarn and include the changes there?

@cortinicocortinico changed the title [prop-types] v4.0.1[prop-types] v4.0.0Dec 13, 2022
Comment threadyarn.lock Outdated
Comment threaddeprecated-react-native-prop-types/package.json
Comment threaddeprecated-react-native-prop-types/CHANGELOG.md
Comment threaddeprecated-react-native-prop-types/CHANGELOG.md Outdated
@cortinico

Copy link
Copy Markdown
ContributorAuthor

@yungsters this is ready to go 👍

@yungsters
yungsters merged commit ced0bf6 into mainDec 16, 2022
@yungsters
yungsters deleted the nc/4.x branch December 16, 2022 00:24
facebook-github-bot pushed a commit to react/react-native that referenced this pull request Oct 14, 2023
Summary:
To address the root cause of a recurring issue (#40797, #39692) where breaking changes to `react-native/normalize-colors` would be pulled into old versions of `deprecated-react-native-prop-types`, we recently change the dependency in the latter to use a semver range (facebook/react-native-deprecated-modules#27, #40869).
For CI, we generally force `react-native/*` to be resolved only from Verdaccio locally published packages - ie, the current versions at source. The source version (currently `0.74.1`) isn't semver-compatible with `deprecated-react-native-prop-types`'s dependency (`^0.73.0`), so `npm install` was failing in CI with "no package found". We should be getting `0.73.2` from the public registry in this case.
This restores a previous workaround added in #34571 but not updated since facebook/react-native-deprecated-modules#11 meant the dependency was now on the pluralised package. We have no dependency on the old non-plural package any more.
## Changelog:
[INTERNAL] [FIXED] - CI/Verdaccio: Proxy `react-native/normalize-colors` from NPM for the `deprecated-react-native-prop-types` dependency.
Pull Request resolved: #40971
Test Plan: CI
Reviewed By: cipolleschi
Differential Revision: D50298291
Pulled By: robhogan
fbshipit-source-id: 4bf6503108335ffa52654346d1874c217071ff91
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@cortinico@hoxyq@yungsters@facebook-github-bot