Skip to content
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

Upgrade sample readmes with new CLI commnads #951

Merged
merged 7 commits into from
Jul 31, 2024

Conversation

jonthysell
Copy link
Contributor

@jonthysell jonthysell commented Jul 31, 2024

Description

This updates the various steps in our sample readme's with the CLI commands going forward with RN 0.75.

Why

Starting with RN 0.75, the preference is to call npx @react-native-community/cli instead of npx react-native and also we're deprecating the npx react-native-windows-init command in favor of npx @react-native-community/cli init-windows.

Resolves microsoft/react-native-windows#13464

Screenshots

N/A

Microsoft Reviewers: Open in CodeFlow

@jonthysell jonthysell requested a review from a team as a code owner July 31, 2024 19:44
@jonthysell jonthysell enabled auto-merge (squash) July 31, 2024 19:52
jonthysell and others added 6 commits July 31, 2024 14:03
Co-authored-by: Marlene Cota <1422161+marlenecota@users.noreply.github.com>
Co-authored-by: Marlene Cota <1422161+marlenecota@users.noreply.github.com>
Co-authored-by: Marlene Cota <1422161+marlenecota@users.noreply.github.com>
Co-authored-by: Marlene Cota <1422161+marlenecota@users.noreply.github.com>
Co-authored-by: Marlene Cota <1422161+marlenecota@users.noreply.github.com>
Co-authored-by: Marlene Cota <1422161+marlenecota@users.noreply.github.com>
@jonthysell jonthysell enabled auto-merge (squash) July 31, 2024 21:04
@jonthysell jonthysell merged commit 6d2dc5a into microsoft:main Jul 31, 2024
29 checks passed
@jonthysell jonthysell deleted the sampleupgradesteps branch July 31, 2024 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update samples upgrade steps / CI to use the new react-native init-windows
3 participants