Skip to content

Commit

Permalink
feat: support packageJson.overrides field as ascending order (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Dec 11, 2023
1 parent 72c9401 commit 8011bcc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/configs/sort.ts
Expand Up @@ -74,11 +74,7 @@ export async function sortPackageJson(): Promise<FlatConfigItem[]> {
},
{
order: { type: 'asc' },
pathPattern: '^resolutions$',
},
{
order: { type: 'asc' },
pathPattern: '^pnpm.overrides$',
pathPattern: '^(?:resolutions|overrides|pnpm.overrides)$',
},
{
order: [
Expand Down

0 comments on commit 8011bcc

Please sign in to comment.