@hedia/recommendation-screen 4.4.0-alpha.887 → 4.4.0-alpha.889

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 +5 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,16 +11,18 @@ yarn validate # dedupe check, tsc, eslint, package.json lint, prettier, jest (
11
11
 
12
12
  `react-native` and the other React Native packages are dev dependencies here so the source can be type-checked, linted and unit-tested. They are not bundled into `lib/`; the host app provides them at runtime.
13
13
 
14
- ### Seeing the screen on a simulator, device or browser
14
+ ### Seeing the screen on a simulator or device
15
15
 
16
16
  The screen is rendered inside [hedia-app](https://github.com/hedia-team/hedia-app). To develop against a local checkout of this repo with hot reload:
17
17
 
18
- 1. In `hedia-app/packages/mobile`, start Metro with the checkout path:
18
+ 1. In `hedia-app/packages/mobile`, start Metro against this checkout:
19
19
 
20
20
  ```sh
21
- RECOMMENDATION_SCREEN_SRC=/path/to/hedia-recommendation-screen yarn start
21
+ yarn start:recommendation-dev
22
22
  ```
23
23
 
24
+ This repo must be cloned next to hedia-app (same parent folder).
25
+
24
26
  2. Run the app as usual (`yarn ios`, `yarn ios:device`, `yarn android`). Metro bundles this repo's `src/` instead of the installed npm package and hot reloads on edits.
25
27
  3. Open the dev screen from `hedia-app/packages/mobile` (debug builds only, while logged in and on the Dashboard):
26
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/recommendation-screen",
3
- "version": "4.4.0-alpha.887",
3
+ "version": "4.4.0-alpha.889",
4
4
  "description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "types": "lib/typescript/index.d.ts",