chore(deps-dev): bump @react-native-community/cli from 19.1.1 to 20.0.0 in /samples/react-native#5344
Conversation
Bumps [@react-native-community/cli](https://github.com/react-native-community/cli/tree/HEAD/packages/cli) from 19.1.1 to 20.0.0. - [Release notes](https://github.com/react-native-community/cli/releases) - [Changelog](https://github.com/react-native-community/cli/blob/main/packages/cli/CHANGELOG.md) - [Commits](https://github.com/react-native-community/cli/commits/v20.0.0/packages/cli) --- updated-dependencies: - dependency-name: "@react-native-community/cli" dependency-version: 20.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
| "@react-native-community/cli": "20.0.0", | ||
| "@react-native-community/cli-platform-android": "19.1.1", | ||
| "@react-native-community/cli-platform-ios": "19.1.1", |
There was a problem hiding this comment.
Bug: CLI v20.0.0 requires react-native ^0.81.0 or ^0.82.0, but the app uses 0.80.2.
Severity: HIGH | Confidence: 0.95
🔍 Detailed Analysis
The @react-native-community/cli package was updated to version 20.0.0, but this version requires react-native version ^0.81.0 or ^0.82.0. The sample application's package.json specifies react-native version 0.80.2. This version mismatch will prevent the CLI from functioning correctly when executing commands like npm run ios or npm run android within the sample application.
💡 Suggested Fix
Update the react-native dependency in samples/react-native/package.json to a version compatible with @react-native-community/cli 20.0.0, such as ^0.81.0 or ^0.82.0. Alternatively, downgrade @react-native-community/cli to a version compatible with react-native@0.80.2.
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: samples/react-native/package.json#L54-L56
Potential issue: The `@react-native-community/cli` package was updated to version
20.0.0, but this version requires `react-native` version `^0.81.0` or `^0.82.0`. The
sample application's `package.json` specifies `react-native` version `0.80.2`. This
version mismatch will prevent the CLI from functioning correctly when executing commands
like `npm run ios` or `npm run android` within the sample application.
Did we get this right? 👍 / 👎 to inform future reviews.
|
Superseded by #5345. |
Bumps @react-native-community/cli from 19.1.1 to 20.0.0.
Commits
eea99b9v20.0.0e2888d2v20.0.0-alpha.20bfd21fv20.0.0-alpha.13614a01v20.0.0-alpha.1f417120fix: output codegen'd code in the ios folder (#2694)b683e70v20.0.0-alpha.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.