@ohos-ports/react-native-navigation 8.9.0-beta.11 → 8.9.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,17 +8,17 @@ React Native Navigation — truly native navigation for iOS and Android, ported
8
8
  npm install @ohos-ports/react-native-navigation @ohos-ports/react-native react
9
9
  ```
10
10
 
11
- And add this to your project's `package.json`:
11
+ The `react-native` overrides (mapping all `react-native` references to `@ohos-ports/react-native`) are **automatically configured** by the package's postinstall script. If the script does not run (e.g. install scripts are disabled), add this to your project's `package.json` manually:
12
12
 
13
13
  ```json
14
14
  {
15
15
  "overrides": {
16
- "react-native": "npm:@ohos-ports/react-native@^0.87.1-beta.1"
16
+ "react-native": "npm:@ohos-ports/react-native@^0.87.1-beta.2"
17
17
  }
18
18
  }
19
19
  ```
20
20
 
21
- The `overrides` field ensures that all `react-native` references (including transitive peer dependencies) resolve to `@ohos-ports/react-native`, preventing the original facebook `react-native` (with Flow syntax) from being installed.
21
+ This ensures that all `react-native` references (including transitive dependencies) resolve to `@ohos-ports/react-native`, preventing the original Facebook `react-native` (with Flow syntax) from being installed.
22
22
 
23
23
  ## Requirements
24
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohos-ports/react-native-navigation",
3
- "version": "8.9.0-beta.11",
3
+ "version": "8.9.0-beta.12",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android (HarmonyOS port)",
5
5
  "license": "MIT",
6
6
  "publishConfig": {