diff --git a/scripts/mockTemplates.mts b/scripts/mockTemplates.mts index dbc0c581..d23c2e5d 100755 --- a/scripts/mockTemplates.mts +++ b/scripts/mockTemplates.mts @@ -86,7 +86,7 @@ const allTemplates = { 'cra-template-redux': `npx create-react-app@latest example --template file:${workspaces.get('cra-template-redux')}`, 'cra-template-redux-typescript': `npx create-react-app@latest example --template file:${workspaces.get('cra-template-redux-typescript')}`, 'expo-template-redux-typescript': `npx create-expo@latest example --template file:${workspaces.get('expo-template-redux-typescript')} && cd example && npm install`, - 'react-native-template-redux-typescript': `npx react-native@latest init app --template file:${workspaces.get('react-native-template-redux-typescript')} --pm=npm --directory example`, + 'react-native-template-redux-typescript': `npx @react-native-community/cli@latest init app --template file:${workspaces.get('react-native-template-redux-typescript')} --pm=npm --directory example`, 'vite-template-redux': `rm -rf ~/.degit && npx -y tiged@rc -D ${gitHubUrl.remoteUrl}/packages/vite-template-redux#${gitHubUrl.currentBranch} example -v && cd example && npm install`, };