Skip to content

Commit

Permalink
Format package.json files in the monorepo (#42256)
Browse files Browse the repository at this point in the history
Summary:
Over in React Native macOS land, I opened microsoft#2030 to update our mono repo to use Yarn 4. As a side effect, all the `package.json` files are formatted as a side effect of running `yarn install`. So that React Native macOS doesn't maintain this diff (and because they should only be good / no harm), let's upstream the formatting changes.

## Changelog:

[INTERNAL] [CHANGED] - Format package.json files in the monorepo

Pull Request resolved: #42256

Test Plan: This change should be a no-op, CI should pass.

Reviewed By: cortinico

Differential Revision: D52727623

Pulled By: huntie

fbshipit-source-id: 67862b16d576b0903abd91e016d7add4c19853dc
  • Loading branch information
Saadnajmi authored and facebook-github-bot committed Jan 22, 2024
1 parent c92f7e5 commit 6d77d7b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/community-cli-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"dist"
],
"dependencies": {
"@react-native/dev-middleware": "0.74.0",
"@react-native-community/cli-server-api": "13.0.0",
"@react-native-community/cli-tools": "13.0.0",
"@react-native/dev-middleware": "0.74.0",
"@react-native/metro-babel-transformer": "0.74.0",
"chalk": "^4.0.0",
"execa": "^5.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
},
"exports": "./index.js",
"dependencies": {
"@react-native/metro-babel-transformer": "0.74.0",
"@react-native/js-polyfills": "0.74.0",
"@react-native/metro-babel-transformer": "0.74.0",
"metro-config": "^0.80.3",
"metro-runtime": "^0.80.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@babel/plugin-proposal-async-generator-functions": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.18.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.18.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.20.0",
"@babel/plugin-proposal-optional-catch-binding": "^7.0.0",
Expand Down
4 changes: 1 addition & 3 deletions packages/react-native-gradle-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,5 @@
"gradlew.bat",
"src/main",
"README.md"
],
"dependencies": {},
"devDependencies": {}
]
}
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@
"@react-native-community/cli-platform-android": "13.0.0",
"@react-native-community/cli-platform-ios": "13.0.0",
"@react-native/assets-registry": "0.74.0",
"@react-native/community-cli-plugin": "0.74.0",
"@react-native/codegen": "0.74.0",
"@react-native/community-cli-plugin": "0.74.0",
"@react-native/gradle-plugin": "0.74.0",
"@react-native/js-polyfills": "0.74.0",
"@react-native/normalize-colors": "0.74.1",
Expand Down
16 changes: 8 additions & 8 deletions packages/rn-tester-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
"description": "React Native E2E tester app.",
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/rn-tester-e2e",
"repository": {
"type": "git",
"url": "[email protected]:facebook/react-native.git",
"directory": "packages/rn-tester-e2e"
"type": "git",
"url": "[email protected]:facebook/react-native.git",
"directory": "packages/rn-tester-e2e"
},
"scripts": {
"test-e2e": "node ./../../scripts/e2e/run-e2e-tests.js"
},
"devDependencies": {
"eslint": "^8.19.0",
"jest": "^29.6.3",
"webdriverio": "^7.32.0",
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
"@types/jest": "^29.5.3"
"@babel/preset-env": "^7.20.0",
"@types/jest": "^29.5.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"webdriverio": "^7.32.0"
}
}

0 comments on commit 6d77d7b

Please sign in to comment.