Skip to content

sort package.json files#878

Merged
ndelangen merged 1 commit intonextfrom
norbert/sort-package-json
Apr 16, 2026
Merged

sort package.json files#878
ndelangen merged 1 commit intonextfrom
norbert/sort-package-json

Conversation

@ndelangen
Copy link
Copy Markdown
Member

@ndelangen ndelangen commented Apr 16, 2026

What I did

I formatted all package.json files sorting their keys.

Copilot AI review requested due to automatic review settings April 16, 2026 12:43
@ndelangen ndelangen requested a review from dannyhw as a code owner April 16, 2026 12:43
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 16, 2026

⚠️ No Changeset found

Latest commit: 54a7cd7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes/sorts key ordering across multiple package.json files in the repo to keep manifests consistent and reduce noisy diffs in future changes.

Changes:

  • Reordered scripts entries (and some top-level fields) across packages to a consistent sorted order.
  • Moved blocks like devDependencies, files, engines, and packageManager to match the chosen ordering without changing values.
  • Reordered pnpm.overrides keys in the root package.json.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/package.json Sorts scripts ordering.
packages/react-native/package.json Reorders main/bin placement and sorts scripts.
packages/react-native-ui/package.json Reorders metadata fields and moves devDependencies block.
packages/react-native-ui-lite/package.json Reorders metadata fields and moves devDependencies block.
packages/react-native-ui-common/package.json Reorders metadata fields and moves devDependencies block.
packages/react-native-theming/package.json Moves files block earlier and sorts scripts.
packages/ondevice-notes/package.json Sorts scripts ordering.
packages/ondevice-controls/package.json Sorts scripts ordering.
packages/ondevice-backgrounds/package.json Sorts scripts ordering.
packages/ondevice-actions/package.json Sorts scripts ordering.
package.json Sorts root scripts, relocates engines/packageManager, and reorders pnpm.overrides.
examples/expo-example/package.json Sorts scripts ordering.
docs/package.json Sorts scripts and moves browserslist block earlier.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
@ndelangen ndelangen merged commit d9f6ef4 into next Apr 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants