Conversation
|
There was a problem hiding this comment.
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
scriptsentries (and some top-level fields) across packages to a consistent sorted order. - Moved blocks like
devDependencies,files,engines, andpackageManagerto match the chosen ordering without changing values. - Reordered
pnpm.overrideskeys in the rootpackage.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.
What I did
I formatted all
package.jsonfiles sorting their keys.