You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add shared jest tests for demo apps
* feat: use correct version for yarn
* feat: add change set
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* feat: add required globals
* feat: add ci workflow
---------
Co-authored-by: Nicolay Arefyeu <n.arefyev91@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ We use [changesets](https://github.com/changesets/changesets) to make it easier
19
19
-`lint` - runs linting on all JS/TS source files in the monorepo _[Turbo]_
20
20
-`gradle-plugin:lint` - runs linting on the Brownfield Gradle plugin source code
21
21
-`typecheck` - runs TypeScript type checking on all TS source files in the monorepo _[Turbo]_
22
+
-`test:apps` - runs Jest for the React Native example apps under `apps/` (Expo 54, Expo 55, plain RN) _[Turbo]_
22
23
-`build` - runs all `build*` tasks in the Turbo repo - see below for more details _[Turbo]_
23
24
-`dev` - runs all `dev` tasks in all workspaces
24
25
-`brownfield:plugin:publish:local` - publishes the Brownfield Gradle plugin to your local Maven repository for testing purposes
@@ -27,8 +28,30 @@ We use [changesets](https://github.com/changesets/changesets) to make it easier
27
28
-`build:example:android-rn` - builds the example React Native app for Android (`apps/RNApp/android`)
28
29
-`build:example:ios-rn` - builds the example React Native app for iOS (`apps/RNApp/ios`)
29
30
-`build:example:android-consumer:expo55` - builds the example native Android consumer (`apps/AndroidApp`) app's flavor consuming the Expo 55 RN app (`apps/ExpoApp55`) artifact
30
-
--`build:example:android-consumer:expo54` - builds the example native Android consumer (`apps/AndroidApp`) app's flavor consuming the Expo 54 RN app (`apps/ExpoApp54`) artifact
31
-
--`build:example:android-consumer:vanilla` - builds the example native Android consumer (`apps/AndroidApp`) app's flavor consuming the vanilla RN app (`apps/RNApp`) artifact
31
+
-`build:example:android-consumer:expo54` - builds the example native Android consumer (`apps/AndroidApp`) app's flavor consuming the Expo 54 RN app (`apps/ExpoApp54`) artifact
32
+
-`build:example:android-consumer:vanilla` - builds the example native Android consumer (`apps/AndroidApp`) app's flavor consuming the vanilla RN app (`apps/RNApp`) artifact
32
33
-`build:example:ios-consumer:expo55` - builds the example native iOS consumer app (`apps/AppleApp`) consuming the Expo 55 RN app (`apps/ExpoApp55`) artifact
33
34
-`build:example:ios-consumer:expo54` - builds the example native iOS consumer app (`apps/AppleApp`) consuming the Expo 54 RN app (`apps/ExpoApp54`) artifact
34
35
-`build:example:ios-consumer:vanilla` - builds the example native iOS consumer (`apps/AppleApp`) app's flavor consuming the vanilla RN app (`apps/RNApp`) artifact
36
+
37
+
## Example app tests
38
+
39
+
The React Native example apps share Jest utilities and test suites from `apps/brownfield-example-shared-tests`. Tests exercise integration with `@callstack/react-native-brownfield`, `@callstack/brownfield-navigation`, and `@callstack/brownie` as used in each demo.
40
+
41
+
From the repository root:
42
+
43
+
| Command | Description |
44
+
| --- | --- |
45
+
|`yarn test:apps`| Runs `test` in all workspaces under `apps/` that define it (via Turbo). |
0 commit comments