Skip to content

Commit 3bb0ed8

Browse files
authored
Native: scripts clean up (#1626)
1 parent 0166c9e commit 3bb0ed8

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

apps/expo/eas.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"build": {
33
"development": {
4+
"developmentClient": true,
45
"distribution": "internal",
56
"android": {
67
"buildType": "apk"
@@ -10,6 +11,9 @@
1011
"image": "latest"
1112
}
1213
},
14+
"preview": {
15+
"distribution": "internal"
16+
},
1317
"production": {
1418
"distribution": "store",
1519
"android": {

apps/expo/package.json

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,10 @@
1414
"expo:prebuild": "yarn with-env yarn expo prebuild --skip-dependency-update react-native,react",
1515
"android": "yarn with-env expo run:android",
1616
"ios": "yarn with-env expo run:ios",
17-
"eas:build:dev:simulator:ios:local": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas build --profile development:simulator --platform ios --local",
18-
"eas:build:dev:simulator:ios": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas build --profile development:simulator --platform ios",
19-
"eas:build:dev:simulator:android": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas build --profile development:simulator --platform android",
20-
"eas:build:dev:device:ios": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas build --profile development:device --platform ios",
21-
"eas:build:dev:device:android": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas build --profile development:device --platform android",
2217
"eas:build:dev:android": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas build --profile development --platform android",
2318
"eas:build:dev:ios": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas build --profile development --platform ios",
24-
"eas:build:staging:android": "cross-env NODE_ENV=staging APP_ENV=staging yarn with-env eas build --profile staging --platform android",
25-
"eas:build:staging:ios": "cross-env NODE_ENV=staging APP_ENV=staging yarn with-env eas build --profile staging --platform ios",
26-
"eas:submit:dev:android": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas submit --profile staging --platform android",
27-
"eas:submit:staging:android": "cross-env NODE_ENV=staging APP_ENV=staging yarn with-env eas submit --profile staging --platform android",
28-
"eas:submit:dev:ios": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas submit --profile staging --platform ios",
29-
"eas:submit:staging:ios": "cross-env NODE_ENV=staging APP_ENV=staging yarn with-env eas submit --profile staging --platform ios",
30-
"eas:update:dev:android": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas update --channel staging --platform android",
31-
"eas:update:staging:android": "cross-env NODE_ENV=staging APP_ENV=staging yarn with-env eas update --channel staging --platform android",
32-
"eas:update:dev:ios": "cross-env NODE_ENV=development APP_ENV=development yarn with-env eas update --channel staging --platform ios",
33-
"eas:update:staging:ios": "cross-env NODE_ENV=staging APP_ENV=staging yarn with-env eas update --channel staging --platform ios"
19+
"eas:build:preview:android": "cross-env NODE_ENV=preview APP_ENV=preview yarn with-env eas build --profile preview --platform android",
20+
"eas:build:preview:ios": "cross-env NODE_ENV=preview APP_ENV=preview yarn with-env eas build --profile preview --platform ios"
3421
},
3522
"dependencies": {
3623
"@babel/runtime": "^7.27.3",
@@ -87,6 +74,7 @@
8774
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
8875
"babel-preset-expo": "~12.0.4",
8976
"cross-env": "^7.0.3",
77+
"dotenv-cli": "^7.3.0",
9078
"eslint-config-custom": "workspace:*",
9179
"metro-minify-terser": "^0.74.1",
9280
"react-native-clean-project": "^4.0.3",

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19244,6 +19244,7 @@ __metadata:
1924419244
burnt: "npm:^0.12.1"
1924519245
cbor2: "npm:^1.12.0"
1924619246
cross-env: "npm:^7.0.3"
19247+
dotenv-cli: "npm:^7.3.0"
1924719248
eslint-config-custom: "workspace:*"
1924819249
eslint-plugin-import: "npm:^2.29.1"
1924919250
expo: "npm:~52.0.23"

0 commit comments

Comments
 (0)