eas-cli 12.5.0 → 12.5.1

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 (48) hide show
  1. package/README.md +66 -62
  2. package/build/build/evaluateConfigWithEnvVarsAsync.d.ts +1 -4
  3. package/build/build/evaluateConfigWithEnvVarsAsync.js +3 -6
  4. package/build/build/runBuildAndSubmit.d.ts +0 -2
  5. package/build/build/runBuildAndSubmit.js +0 -1
  6. package/build/commandUtils/flags.d.ts +0 -3
  7. package/build/commandUtils/flags.js +1 -15
  8. package/build/commands/build/index.d.ts +0 -2
  9. package/build/commands/build/index.js +0 -2
  10. package/build/commands/build/resign.d.ts +0 -1
  11. package/build/commands/build/resign.js +0 -2
  12. package/build/commands/build/version/get.d.ts +0 -1
  13. package/build/commands/build/version/get.js +0 -2
  14. package/build/commands/build/version/set.d.ts +0 -1
  15. package/build/commands/build/version/set.js +0 -3
  16. package/build/commands/build/version/sync.d.ts +0 -1
  17. package/build/commands/build/version/sync.js +0 -3
  18. package/build/commands/config.d.ts +0 -1
  19. package/build/commands/config.js +0 -2
  20. package/build/commands/env/exec.d.ts +23 -0
  21. package/build/commands/env/exec.js +124 -0
  22. package/build/commands/update/republish.d.ts +2 -0
  23. package/build/commands/update/republish.js +34 -4
  24. package/build/commands/worker/deploy.js +13 -10
  25. package/build/credentials/manager/Actions.d.ts +4 -2
  26. package/build/credentials/manager/Actions.js +2 -0
  27. package/build/credentials/manager/AndroidActions.js +5 -0
  28. package/build/credentials/manager/IosActions.js +5 -0
  29. package/build/credentials/manager/ManageAndroid.js +3 -0
  30. package/build/credentials/manager/ManageIos.js +3 -0
  31. package/build/graphql/generated.d.ts +16 -7
  32. package/build/graphql/types/Submission.js +1 -1
  33. package/build/project/publish.js +3 -2
  34. package/build/submit/utils/logs.js +16 -17
  35. package/build/update/getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.d.ts +5 -0
  36. package/build/update/{getBranchNameFromChannelNameAsync.js → getBranchFromChannelNameAndCreateAndLinkIfNotExistsAsync.js} +8 -7
  37. package/build/update/republish.js +2 -2
  38. package/build/utils/prompts.js +3 -3
  39. package/build/worker/assets.d.ts +1 -1
  40. package/build/worker/assets.js +4 -2
  41. package/build/worker/deployment.d.ts +10 -0
  42. package/build/worker/deployment.js +33 -22
  43. package/build/worker/upload.js +4 -6
  44. package/build/worker/utils/logs.d.ts +14 -13
  45. package/build/worker/utils/logs.js +18 -18
  46. package/oclif.manifest.json +60 -79
  47. package/package.json +2 -2
  48. package/build/update/getBranchNameFromChannelNameAsync.d.ts +0 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "12.5.0",
2
+ "version": "12.5.1",
3
3
  "commands": {
4
4
  "analytics": {
5
5
  "id": "analytics",
@@ -54,19 +54,6 @@
54
54
  "hidden": true,
55
55
  "allowNo": false
56
56
  },
57
- "environment": {
58
- "name": "environment",
59
- "type": "option",
60
- "description": "Environment variable's environment",
61
- "hidden": true,
62
- "helpValue": "(development|preview|production)",
63
- "multiple": false,
64
- "options": [
65
- "development",
66
- "preview",
67
- "production"
68
- ]
69
- },
70
57
  "json": {
71
58
  "name": "json",
72
59
  "type": "boolean",
@@ -787,19 +774,6 @@
787
774
  "type": "boolean",
788
775
  "description": "Run the command in non-interactive mode.",
789
776
  "allowNo": false
790
- },
791
- "environment": {
792
- "name": "environment",
793
- "type": "option",
794
- "description": "Environment variable's environment",
795
- "hidden": true,
796
- "helpValue": "(development|preview|production)",
797
- "multiple": false,
798
- "options": [
799
- "development",
800
- "preview",
801
- "production"
802
- ]
803
777
  }
804
778
  },
805
779
  "args": {},
@@ -1182,19 +1156,6 @@
1182
1156
  "type": "boolean",
1183
1157
  "description": "Run the command in non-interactive mode.",
1184
1158
  "allowNo": false
1185
- },
1186
- "environment": {
1187
- "name": "environment",
1188
- "type": "option",
1189
- "description": "Environment variable's environment",
1190
- "hidden": true,
1191
- "helpValue": "(development|preview|production)",
1192
- "multiple": false,
1193
- "options": [
1194
- "development",
1195
- "preview",
1196
- "production"
1197
- ]
1198
1159
  }
1199
1160
  },
1200
1161
  "args": {},
@@ -2026,6 +1987,47 @@
2026
1987
  "privateProjectConfig": {}
2027
1988
  }
2028
1989
  },
1990
+ "env:exec": {
1991
+ "id": "env:exec",
1992
+ "description": "execute a bash command with environment variables from the selected environment",
1993
+ "strict": true,
1994
+ "pluginName": "eas-cli",
1995
+ "pluginAlias": "eas-cli",
1996
+ "pluginType": "core",
1997
+ "hidden": true,
1998
+ "aliases": [],
1999
+ "flags": {
2000
+ "environment": {
2001
+ "name": "environment",
2002
+ "type": "option",
2003
+ "description": "Environment variable's environment",
2004
+ "helpValue": "(development|preview|production)",
2005
+ "multiple": false,
2006
+ "options": [
2007
+ "development",
2008
+ "preview",
2009
+ "production"
2010
+ ]
2011
+ },
2012
+ "non-interactive": {
2013
+ "name": "non-interactive",
2014
+ "type": "boolean",
2015
+ "description": "Run the command in non-interactive mode.",
2016
+ "allowNo": false
2017
+ }
2018
+ },
2019
+ "args": {
2020
+ "BASH_COMMAND": {
2021
+ "name": "BASH_COMMAND",
2022
+ "description": "bash command to execute with the environment variables from the environment",
2023
+ "required": true
2024
+ }
2025
+ },
2026
+ "contextDefinition": {
2027
+ "loggedIn": {},
2028
+ "privateProjectConfig": {}
2029
+ }
2030
+ },
2029
2031
  "env:get": {
2030
2032
  "id": "env:get",
2031
2033
  "description": "get environment variable",
@@ -3060,6 +3062,24 @@
3060
3062
  "channel"
3061
3063
  ]
3062
3064
  },
3065
+ "destination-channel": {
3066
+ "name": "destination-channel",
3067
+ "type": "option",
3068
+ "description": "Channel name to select a branch to republish to if republishing to a different branch",
3069
+ "multiple": false,
3070
+ "exclusive": [
3071
+ "destination-branch"
3072
+ ]
3073
+ },
3074
+ "destination-branch": {
3075
+ "name": "destination-branch",
3076
+ "type": "option",
3077
+ "description": "Branch name to republish to if republishing to a different branch",
3078
+ "multiple": false,
3079
+ "exclusive": [
3080
+ "destination-channel"
3081
+ ]
3082
+ },
3063
3083
  "message": {
3064
3084
  "name": "message",
3065
3085
  "type": "option",
@@ -3591,19 +3611,6 @@
3591
3611
  "helpValue": "PROFILE_NAME",
3592
3612
  "multiple": false
3593
3613
  },
3594
- "environment": {
3595
- "name": "environment",
3596
- "type": "option",
3597
- "description": "Environment variable's environment",
3598
- "hidden": true,
3599
- "helpValue": "(development|preview|production)",
3600
- "multiple": false,
3601
- "options": [
3602
- "development",
3603
- "preview",
3604
- "production"
3605
- ]
3606
- },
3607
3614
  "json": {
3608
3615
  "name": "json",
3609
3616
  "type": "boolean",
@@ -3656,19 +3663,6 @@
3656
3663
  "description": "Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.",
3657
3664
  "helpValue": "PROFILE_NAME",
3658
3665
  "multiple": false
3659
- },
3660
- "environment": {
3661
- "name": "environment",
3662
- "type": "option",
3663
- "description": "Environment variable's environment",
3664
- "hidden": true,
3665
- "helpValue": "(development|preview|production)",
3666
- "multiple": false,
3667
- "options": [
3668
- "development",
3669
- "preview",
3670
- "production"
3671
- ]
3672
3666
  }
3673
3667
  },
3674
3668
  "args": {},
@@ -3708,19 +3702,6 @@
3708
3702
  "description": "Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.",
3709
3703
  "helpValue": "PROFILE_NAME",
3710
3704
  "multiple": false
3711
- },
3712
- "environment": {
3713
- "name": "environment",
3714
- "type": "option",
3715
- "description": "Environment variable's environment",
3716
- "hidden": true,
3717
- "helpValue": "(development|preview|production)",
3718
- "multiple": false,
3719
- "options": [
3720
- "development",
3721
- "preview",
3722
- "production"
3723
- ]
3724
3705
  }
3725
3706
  },
3726
3707
  "args": {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "12.5.0",
4
+ "version": "12.5.1",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
@@ -228,5 +228,5 @@
228
228
  "node": "20.11.0",
229
229
  "yarn": "1.22.21"
230
230
  },
231
- "gitHead": "981f7c97279e9848f0b3dd6a82140db8f8d735fa"
231
+ "gitHead": "01676a4f8821e46215f236f2a105d820e6df2872"
232
232
  }
@@ -1,2 +0,0 @@
1
- import { ExpoGraphqlClient } from '../commandUtils/context/contextUtils/createGraphqlClient';
2
- export declare function getBranchNameFromChannelNameAsync(graphqlClient: ExpoGraphqlClient, projectId: string, channelName: string): Promise<string>;