Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion boilerplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"expo": {
"install": {
"exclude": [
"react-native-worklets@~0.7.0-nightly-20251001-14eca5b4c"
"react-native-worklets"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ module.exports = {
// find "expo-localization" line and append "expo-router" line after it
packageJsonRaw = packageJsonRaw.replace(
/"expo-localization": ".*",/g,
`"expo-localization": "${packageJsonParsed.dependencies["expo-localization"]}",${EOL} "expo-router": "~5.0.7",`,
`"expo-localization": "${packageJsonParsed.dependencies["expo-localization"]}",${EOL} "expo-router": "~6.0.10",`,
)

// replace "main" entry point from App.js to "expo-router/entry"
Expand Down
2 changes: 1 addition & 1 deletion src/tools/packager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function installCmd(options: PackageRunOptions) {
} else if (options.packagerName === "yarn") {
return `yarn install${silent}`
} else if (options.packagerName === "npm") {
return `npm install${silent}`
return `npm install${silent} --legacy-peer-deps`
} else if (options.packagerName === "bun") {
return `bun install${silent}`
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/react-native.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("react native", () => {

const results = filesystem.read(readmePath)
const expectedResults = `
npm install
npm install --legacy-peer-deps
npm run start
npm run build:ios:sim
npm run build:ios:device
Expand Down