Skip to content

Commit 582503a

Browse files
committed
fix(example): use proper build:example in EAS post install hook
1 parent 521d179 commit 582503a

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
- name: 👷 Build packages for example
4141
run: pnpm run -w build:example
4242

43-
# You can remove this step if you already configured this
44-
# This project shouldn't be pre-configured with this ID, that's why its omitted
43+
# Remove this step and configure the app to contain your own project and bundle identifiers.
44+
# This is intentionally omitted in the template repository to guide users through the setup when cloning.
4545
- name: 👷 Configure project
4646
if: ${{ github.repository == 'byCedric/expo-monorepo-example' }}
4747
working-directory: apps/example

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
working-directory: apps/example
4343
run: pnpm expo export --platform web --output-dir ./build
4444

45-
# You can remove this step if you already configured this
46-
# This project shouldn't be pre-configured with this ID, that's why its omitted
45+
# Remove this step and configure the app to contain your own project and bundle identifiers.
46+
# This is intentionally omitted in the template repository to guide users through the setup when cloning.
4747
- name: 👷 Configure project
4848
if: ${{ github.repository == 'byCedric/expo-monorepo-example' }}
4949
working-directory: apps/example

.github/workflows/preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: 👷 Build packages
2727
run: pnpm run -w build:example
2828

29-
# You can remove this step if you already configured this
30-
# This project shouldn't be pre-configured with this ID, that's why its omitted
29+
# Remove this step and configure the app to contain your own project and bundle identifiers.
30+
# This is intentionally omitted in the template repository to guide users through the setup when cloning.
3131
- name: 👷 Configure project
3232
if: ${{ github.repository == 'byCedric/expo-monorepo-example' }}
3333
working-directory: apps/example

apps/example/app.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"supportsTablet": true
1313
},
1414
"android": {
15+
"package": "dev.cedric.monorepo",
1516
"adaptiveIcon": {
1617
"foregroundImage": "./assets/images/adaptive-icon.png",
1718
"backgroundColor": "#ffffff"
@@ -36,6 +37,15 @@
3637
],
3738
"experiments": {
3839
"typedRoutes": true
39-
}
40+
},
41+
"extra": {
42+
"router": {
43+
"origin": false
44+
},
45+
"eas": {
46+
"projectId": "d202a56f-0162-450d-af3b-a2d2e0678594"
47+
}
48+
},
49+
"owner": "bycedric"
4050
}
4151
}

apps/example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"android": "expo run:android",
1313
"ios": "expo run:ios",
1414
"web": "expo start --web",
15-
"eas-build-post-install": "pnpm run -w build:mobile"
15+
"eas-build-post-install": "pnpm run -w build:example"
1616
},
1717
"dependencies": {
1818
"@acme/feature-home": "workspace:*",

0 commit comments

Comments
 (0)