Align directory name for normalize-colors (#40934)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/40934

The previous `packages/normalize-color` directory name could be confusing, given we have previously published a `react-native/normalize-color` package in addition to the current `react-native/normalize-colors`. After this change, the directory name and `package.json` `"name"` field are aligned.

Changelog: [Internal]

Reviewed By: cortinico, NickGerleman

Differential Revision: D50229030

fbshipit-source-id: 63854140bf61d7d1d3f1270ed05a2ba76f8c5b0f
This commit is contained in:
Alex Hunt 2023-10-13 10:11:21 -07:00 коммит произвёл Facebook GitHub Bot
Родитель ab3506e609
Коммит c5abe1e9f0
8 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -18,4 +18,4 @@ yarn add --dev @react-native/normalize-colors
To run the tests in this package, run the following commands from the React Native root folder:
1. `yarn` to install the dependencies. You just need to run this once
2. `yarn jest packages/normalize-color`.
2. `yarn jest packages/normalize-colors`.

Просмотреть файл

Просмотреть файл

@ -6,9 +6,9 @@
"repository": {
"type": "git",
"url": "https://github.com/facebook/react-native.git",
"directory": "packages/normalize-color"
"directory": "packages/normalize-colors"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/normalize-color#readme",
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/normalize-colors#readme",
"keywords": [
"color",
"normalization",

Просмотреть файл

@ -22,7 +22,7 @@ const config = {
watchFolders: [
path.resolve(__dirname, '../../node_modules'),
path.resolve(__dirname, '../assets'),
path.resolve(__dirname, '../normalize-color'),
path.resolve(__dirname, '../normalize-colors'),
path.resolve(__dirname, '../polyfills'),
path.resolve(__dirname, '../virtualized-lists'),
],

Просмотреть файл

@ -26,7 +26,7 @@ const config = {
path.resolve(__dirname, '../assets'),
path.resolve(__dirname, '../community-cli-plugin'),
path.resolve(__dirname, '../dev-middleware'),
path.resolve(__dirname, '../normalize-color'),
path.resolve(__dirname, '../normalize-colors'),
path.resolve(__dirname, '../polyfills'),
path.resolve(__dirname, '../react-native'),
path.resolve(__dirname, '../virtualized-lists'),