Skip to content

Commit

Permalink
docs: update comment
Browse files Browse the repository at this point in the history
atlj committed Dec 16, 2024
1 parent 3f7aaf9 commit 0751382
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -237,7 +237,8 @@ export default async function generateExampleApp({
});
}

// Sort the deps by name
// Sort the deps by name to match behavior of package managers
// This way the package.json doesn't get updated when installing deps
for (const field of ['dependencies', 'devDependencies']) {
if (pkg[field]) {
pkg[field] = sortObjectKeys(pkg[field]);

0 comments on commit 0751382

Please sign in to comment.