mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Upgrade formatting to Prettier 3.10.0 (#60005)
Summary: X-link: https://github.com/react/metro/pull/2226 Upgrade non-WWW formatter dependencies, canonical installed payloads and retained locks to Prettier 3.10.0, together with the exported-source compatibility and formatting changes required by those owners. Preserve runtime behavior, Flow types, and parser/style policy. Changelog: [Internal] Reviewed By: panagosg7, jcperez-ch Differential Revision: D131782725 Pull Request resolved: https://github.com/react/react-native/pull/60005
This commit is contained in:
1 parent
7540fc95ad
commit
0d8a1b1047
5 files changed
+8
-9
No files matched your search
+1
-1
@@ -122,7 +122,7 @@
|
||||
"nullthrows": "^1.1.1",
|
||||
"pixelmatch": "5.3.0",
|
||||
"pngjs": "7.0.0",
|
||||
"prettier": "3.9.4",
|
||||
"prettier": "3.10.0",
|
||||
"react": "19.3.0",
|
||||
"react-test-renderer": "19.3.0",
|
||||
"rimraf": "^3.0.2",
|
||||
|
||||
@@ -44,6 +44,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.57.0",
|
||||
"prettier": "3.9.4"
|
||||
"prettier": "3.10.0"
|
||||
}
|
||||
}
|
||||
@@ -47,7 +47,7 @@
|
||||
"@babel/preset-env": "^7.25.3",
|
||||
"flow-estree": "0.340.0",
|
||||
"micromatch": "^4.0.4",
|
||||
"prettier": "3.9.4",
|
||||
"prettier": "3.10.0",
|
||||
"rimraf": "^3.0.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -15,8 +15,7 @@ import {useState} from 'react';
|
||||
import {StyleSheet, Text, View} from 'react-native';
|
||||
|
||||
const PANGRAMS = {
|
||||
arabic:
|
||||
'صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت — يَحظى الضَجيعُ بِها نَجلاءَ مِعطارِ',
|
||||
arabic: 'صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت — يَحظى الضَجيعُ بِها نَجلاءَ مِعطارِ',
|
||||
chinese: 'Innovation in China 中国智造,慧及全球 0123456789',
|
||||
english: 'The quick brown fox jumps over the lazy dog.',
|
||||
emoji: '🙏🏾🚗💩😍🤯👩🏽🔧🇨🇦💯',
|
||||
|
||||
@@ -7858,10 +7858,10 @@ prelude-ls@^1.2.1:
|
||||
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
|
||||
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
|
||||
|
||||
prettier@3.9.4:
|
||||
version "3.9.4"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.9.4.tgz#a9c477cf1614376bd1f6bbc593d8c0d414bcec87"
|
||||
integrity sha512-yWG/o/4oJfo036EKAfK6ACAoDOfHeRHx4tuxkfBZiauURiaSmYwlpOr5LQqKtIkRD2z1PLteme2WoxEnj4tHTg==
|
||||
prettier@3.10.0:
|
||||
version "3.10.0"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.10.0.tgz#b546ab979f85b850be17ed5e41ea6719e3be8681"
|
||||
integrity sha512-mBi4765LgjO1PFjlEs7pUeK0nb1bw71c+N4/ItfeUWNdY5cV2pRKaFpbbFRYmDJMO+5ZwzGxHRqHxFZna7iv5w==
|
||||
|
||||
pretty-format@^29.0.0, pretty-format@^29.7.0:
|
||||
version "29.7.0"
|
||||
|
||||
Reference in new issue
Block a user