Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(align-deps): add profile for 0.74 (#2992)
- Loading branch information
Showing
9 changed files
with
223 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rnx-kit/align-deps": patch | ||
--- | ||
|
||
Added profile for react-native 0.74 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127 changes: 127 additions & 0 deletions
127
packages/align-deps/src/presets/microsoft/react-native/profile-0.74.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
import type { Package, Profile } from "../../../types"; | ||
import { profile as profile_0_73 } from "./profile-0.73"; | ||
|
||
const reactNative: Package = { | ||
name: "react-native", | ||
version: "^0.74.0", | ||
capabilities: ["react", "core/metro-config"], | ||
}; | ||
|
||
export const profile: Profile = { | ||
...profile_0_73, | ||
react: { | ||
name: "react", | ||
version: "18.2.0", | ||
}, | ||
"react-dom": { | ||
name: "react-dom", | ||
version: "^18.2.0", | ||
capabilities: ["react"], | ||
}, | ||
"react-test-renderer": { | ||
name: "react-test-renderer", | ||
version: "18.2.0", | ||
capabilities: ["react"], | ||
devOnly: true, | ||
}, | ||
|
||
core: reactNative, | ||
"core-android": reactNative, | ||
"core-ios": reactNative, | ||
"core-macos": { | ||
name: "react-native-macos", | ||
version: "^0.74.0", | ||
capabilities: ["react"], | ||
}, | ||
"core-windows": { | ||
name: "react-native-windows", | ||
version: "^0.74.0", | ||
capabilities: ["core"], | ||
}, | ||
"core/metro-config": { | ||
name: "@react-native/metro-config", | ||
version: "^0.74.0", | ||
devOnly: true, | ||
}, | ||
|
||
"babel-preset-react-native": { | ||
name: "@react-native/babel-preset", | ||
version: "^0.74.0", | ||
devOnly: true, | ||
}, | ||
"community/cli": { | ||
name: "@react-native-community/cli", | ||
version: "^13.6.4", | ||
capabilities: ["community/cli-android", "community/cli-ios"], | ||
devOnly: true, | ||
}, | ||
"community/cli-android": { | ||
name: "@react-native-community/cli-platform-android", | ||
version: "^13.6.4", | ||
devOnly: true, | ||
}, | ||
"community/cli-ios": { | ||
name: "@react-native-community/cli-platform-ios", | ||
version: "^13.6.4", | ||
devOnly: true, | ||
}, | ||
metro: { | ||
name: "metro", | ||
version: "^0.80.3", | ||
devOnly: true, | ||
}, | ||
"metro-config": { | ||
name: "metro-config", | ||
version: "^0.80.3", | ||
devOnly: true, | ||
}, | ||
"metro-core": { | ||
name: "metro-core", | ||
version: "^0.80.3", | ||
devOnly: true, | ||
}, | ||
"metro-react-native-babel-transformer": { | ||
name: "@react-native/metro-babel-transformer", | ||
version: "^0.74.0", | ||
devOnly: true, | ||
}, | ||
"metro-resolver": { | ||
name: "metro-resolver", | ||
version: "^0.80.3", | ||
devOnly: true, | ||
}, | ||
"metro-runtime": { | ||
name: "metro-runtime", | ||
version: "^0.80.3", | ||
devOnly: true, | ||
}, | ||
|
||
"datetime-picker": { | ||
name: "@react-native-community/datetimepicker", | ||
version: "^7.6.4", | ||
}, | ||
netinfo: { | ||
name: "@react-native-community/netinfo", | ||
version: "^11.3.1", | ||
}, | ||
screens: { | ||
name: "react-native-screens", | ||
version: "^3.31.0", | ||
}, | ||
storage: { | ||
name: "@react-native-async-storage/async-storage", | ||
version: "^1.22.3", | ||
}, | ||
svg: { | ||
name: "react-native-svg", | ||
version: "^15.2.0", | ||
}, | ||
"test-app": { | ||
name: "react-native-test-app", | ||
version: "^3.5.0", | ||
}, | ||
webview: { | ||
name: "react-native-webview", | ||
version: "^13.8.4", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters