From 6e5bc33b3c9cd0ce2c30c7689982c6fb16ef4e3b Mon Sep 17 00:00:00 2001 From: Luna Wei Date: Tue, 2 Jan 2024 13:02:29 -0800 Subject: [PATCH] Remove caret from monorepo dependencies (#42086) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42086 Changelog: [General][Changed] - Update monorepo dependency versions to remove ^ This change will remove the caret for now as we already perform an "align" step everytime we bump a monorepo library. This prevents monorepo library updates to affect existing releases. The "align" step updates all monorepo libraries to use the updated bumped version: https://fburl.com/code/xfistiph Reviewed By: huntie Differential Revision: D52440454 fbshipit-source-id: ff071032f04bc554903dde153c594991163dfe2f --- package.json | 4 ++-- packages/community-cli-plugin/package.json | 4 ++-- packages/dev-middleware/package.json | 2 +- packages/eslint-config-react-native/package.json | 2 +- packages/metro-config/package.json | 4 ++-- packages/react-native/package.json | 14 +++++++------- packages/react-native/template/package.json | 8 ++++---- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 974c8f7ba18..83a9a25254c 100644 --- a/package.json +++ b/package.json @@ -56,8 +56,8 @@ "@definitelytyped/dtslint": "^0.0.127", "@jest/create-cache-key-function": "^29.6.3", "@pkgjs/parseargs": "^0.11.0", - "@react-native/metro-babel-transformer": "^0.74.0", - "@react-native/metro-config": "^0.74.0", + "@react-native/metro-babel-transformer": "0.74.0", + "@react-native/metro-config": "0.74.0", "@tsconfig/node18": "1.0.1", "@types/react": "^18.0.18", "@typescript-eslint/parser": "^6.7.4", diff --git a/packages/community-cli-plugin/package.json b/packages/community-cli-plugin/package.json index b5b6be8419b..f8830e9d86c 100644 --- a/packages/community-cli-plugin/package.json +++ b/packages/community-cli-plugin/package.json @@ -22,10 +22,10 @@ "dist" ], "dependencies": { - "@react-native/dev-middleware": "^0.74.0", + "@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/metro-babel-transformer": "^0.74.0", + "@react-native/metro-babel-transformer": "0.74.0", "chalk": "^4.0.0", "execa": "^5.1.1", "metro": "^0.80.0", diff --git a/packages/dev-middleware/package.json b/packages/dev-middleware/package.json index af46b4c9427..bb2de19e4db 100644 --- a/packages/dev-middleware/package.json +++ b/packages/dev-middleware/package.json @@ -23,7 +23,7 @@ ], "dependencies": { "@isaacs/ttlcache": "^1.4.1", - "@react-native/debugger-frontend": "^0.74.0", + "@react-native/debugger-frontend": "0.74.0", "@rnx-kit/chromium-edge-launcher": "^1.0.0", "chrome-launcher": "^0.15.2", "connect": "^3.6.5", diff --git a/packages/eslint-config-react-native/package.json b/packages/eslint-config-react-native/package.json index fca80d6d354..7edb68a00af 100644 --- a/packages/eslint-config-react-native/package.json +++ b/packages/eslint-config-react-native/package.json @@ -22,7 +22,7 @@ "dependencies": { "@babel/core": "^7.20.0", "@babel/eslint-parser": "^7.20.0", - "@react-native/eslint-plugin": "^0.74.0", + "@react-native/eslint-plugin": "0.74.0", "@typescript-eslint/eslint-plugin": "^6.7.4", "@typescript-eslint/parser": "^6.7.4", "eslint-config-prettier": "^8.5.0", diff --git a/packages/metro-config/package.json b/packages/metro-config/package.json index 5b02773a5a0..1a8339e643f 100644 --- a/packages/metro-config/package.json +++ b/packages/metro-config/package.json @@ -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", + "@react-native/js-polyfills": "0.74.0", "metro-config": "^0.80.0", "metro-runtime": "^0.80.0" } diff --git a/packages/react-native/package.json b/packages/react-native/package.json index f43e512be94..ed9c1d58bb8 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -98,13 +98,13 @@ "@react-native-community/cli": "13.0.0", "@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/gradle-plugin": "^0.74.0", - "@react-native/js-polyfills": "^0.74.0", - "@react-native/normalize-colors": "^0.74.0", - "@react-native/virtualized-lists": "^0.74.0", + "@react-native/assets-registry": "0.74.0", + "@react-native/community-cli-plugin": "0.74.0", + "@react-native/codegen": "0.74.0", + "@react-native/gradle-plugin": "0.74.0", + "@react-native/js-polyfills": "0.74.0", + "@react-native/normalize-colors": "0.74.1", + "@react-native/virtualized-lists": "0.74.0", "abort-controller": "^3.0.0", "anser": "^1.4.9", "ansi-regex": "^5.0.0", diff --git a/packages/react-native/template/package.json b/packages/react-native/template/package.json index 88c4f9b645e..232831747e7 100644 --- a/packages/react-native/template/package.json +++ b/packages/react-native/template/package.json @@ -17,10 +17,10 @@ "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", - "@react-native/babel-preset": "^0.74.0", - "@react-native/eslint-config": "^0.74.0", - "@react-native/metro-config": "^0.74.0", - "@react-native/typescript-config": "^0.74.0", + "@react-native/babel-preset": "0.74.0", + "@react-native/eslint-config": "0.74.0", + "@react-native/metro-config": "0.74.0", + "@react-native/typescript-config": "0.74.0", "@types/react": "^18.2.6", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.6.3",