Skip to content

fix(init): harden npm project creation flow#1370

Merged
jbroma merged 5 commits intomainfrom
codex/fix-init-npm-create-flow
Mar 12, 2026
Merged

fix(init): harden npm project creation flow#1370
jbroma merged 5 commits intomainfrom
codex/fix-init-npm-create-flow

Conversation

@jbroma
Copy link
Member

@jbroma jbroma commented Mar 12, 2026

Summary

Closes #1366

  • switch the npm create-project path from nested npx to explicit npm exec ... -- rnc-cli
  • normalize the React Native version passed to the RN CLI to a fully qualified patch version
  • move the regression into a new tests/init artifact-level smoke test package

Test Plan

  • pnpm --filter init-test test
  • pnpm --filter @callstack/repack-init typecheck

@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
repack-website Ready Ready Preview, Comment Mar 12, 2026 4:32pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Mar 12, 2026

🦋 Changeset detected

Latest commit: 1a450a2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@callstack/repack-init Patch
@callstack/repack Patch
@callstack/repack-dev-server Patch
@callstack/repack-plugin-reanimated Patch
@callstack/repack-plugin-nativewind Patch
@callstack/repack-plugin-expo-modules Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jbroma jbroma merged commit 84acbdd into main Mar 12, 2026
5 checks passed
@jbroma jbroma deleted the codex/fix-init-npm-create-flow branch March 12, 2026 16:36
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.

Failed to create a new project using '@react-native-community/cli'

1 participant