We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbf8735 commit 6dd41fbCopy full SHA for 6dd41fb
packages/create-react-native-library/src/exampleApp/generateExampleApp.ts
@@ -237,7 +237,8 @@ export default async function generateExampleApp({
237
});
238
}
239
240
- // Sort the deps by name
+ // Sort the deps by name to match behavior of package managers
241
+ // This way the package.json doesn't get updated when installing deps
242
for (const field of ['dependencies', 'devDependencies']) {
243
if (pkg[field]) {
244
pkg[field] = sortObjectKeys(pkg[field]);
0 commit comments