eas-cli 14.4.1 → 14.6.0

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 (58) hide show
  1. package/README.md +147 -91
  2. package/build/build/android/graphql.js +2 -0
  3. package/build/build/android/prepareJob.js +1 -0
  4. package/build/build/android/version.d.ts +1 -0
  5. package/build/build/android/version.js +5 -1
  6. package/build/build/build.js +4 -3
  7. package/build/build/configure.d.ts +11 -0
  8. package/build/build/configure.js +46 -1
  9. package/build/build/evaluateConfigWithEnvVarsAsync.js +2 -4
  10. package/build/build/ios/build.js +2 -0
  11. package/build/build/ios/graphql.js +2 -0
  12. package/build/build/ios/prepareJob.js +1 -0
  13. package/build/build/ios/version.js +4 -1
  14. package/build/build/local.js +1 -1
  15. package/build/build/metadata.js +0 -1
  16. package/build/build/runBuildAndSubmit.d.ts +12 -1
  17. package/build/build/runBuildAndSubmit.js +16 -13
  18. package/build/build/utils/environment.d.ts +4 -0
  19. package/build/build/utils/environment.js +20 -0
  20. package/build/commands/build/dev.d.ts +23 -0
  21. package/build/commands/build/dev.js +225 -0
  22. package/build/commands/build/index.js +9 -1
  23. package/build/commands/build/inspect.js +26 -18
  24. package/build/commands/build/internal.js +22 -14
  25. package/build/commands/build/list.d.ts +1 -0
  26. package/build/commands/build/list.js +4 -0
  27. package/build/commands/{worker → deploy}/alias.js +4 -4
  28. package/build/commands/{worker/deploy.js → deploy/index.js} +5 -5
  29. package/build/commands/fingerprint/compare.d.ts +14 -1
  30. package/build/commands/fingerprint/compare.js +192 -53
  31. package/build/commands/project/onboarding.js +23 -14
  32. package/build/commands/update/index.js +3 -6
  33. package/build/commands/update/roll-back-to-embedded.js +2 -2
  34. package/build/credentials/ios/appstore/ensureAppExists.d.ts +22 -1
  35. package/build/credentials/ios/appstore/ensureAppExists.js +73 -2
  36. package/build/credentials/ios/appstore/ensureTestFlightGroup.d.ts +7 -0
  37. package/build/credentials/ios/appstore/ensureTestFlightGroup.js +158 -0
  38. package/build/credentials/ios/appstore/provisioningProfile.js +1 -0
  39. package/build/credentials/ios/appstore/resolveCredentials.js +6 -1
  40. package/build/graphql/generated.d.ts +313 -3
  41. package/build/graphql/generated.js +11 -2
  42. package/build/graphql/queries/FingerprintQuery.d.ts +16 -0
  43. package/build/graphql/queries/FingerprintQuery.js +61 -0
  44. package/build/graphql/types/Fingerprint.js +18 -0
  45. package/build/project/ios/exemptEncryption.d.ts +7 -0
  46. package/build/project/ios/exemptEncryption.js +80 -0
  47. package/build/project/publish.d.ts +4 -4
  48. package/build/project/publish.js +9 -8
  49. package/build/project/resolveRuntimeVersionAsync.d.ts +4 -4
  50. package/build/project/resolveRuntimeVersionAsync.js +4 -4
  51. package/build/submit/ios/AppProduce.js +12 -23
  52. package/build/utils/fingerprintCli.d.ts +2 -1
  53. package/build/utils/fingerprintCli.js +11 -3
  54. package/build/worker/upload.js +19 -3
  55. package/oclif.manifest.json +217 -155
  56. package/package.json +6 -6
  57. /package/build/commands/{worker → deploy}/alias.d.ts +0 -0
  58. /package/build/commands/{worker/deploy.d.ts → deploy/index.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "14.4.1",
2
+ "version": "14.6.0",
3
3
  "commands": {
4
4
  "analytics": {
5
5
  "id": "analytics",
@@ -621,6 +621,46 @@
621
621
  "vcsClient": {}
622
622
  }
623
623
  },
624
+ "build:dev": {
625
+ "id": "build:dev",
626
+ "description": "run dev client simulator/emulator build with matching fingerprint or create a new one",
627
+ "strict": true,
628
+ "pluginName": "eas-cli",
629
+ "pluginAlias": "eas-cli",
630
+ "pluginType": "core",
631
+ "aliases": [],
632
+ "flags": {
633
+ "platform": {
634
+ "name": "platform",
635
+ "type": "option",
636
+ "char": "p",
637
+ "helpValue": "(ios|android)",
638
+ "multiple": false,
639
+ "options": [
640
+ "ios",
641
+ "android"
642
+ ]
643
+ },
644
+ "profile": {
645
+ "name": "profile",
646
+ "type": "option",
647
+ "char": "e",
648
+ "description": "Name of the build profile from eas.json. It must be a profile allowing to create emulator/simulator internal distribution dev client builds. The \"development-simulator\" build profile will be selected by default.",
649
+ "helpValue": "PROFILE_NAME",
650
+ "multiple": false
651
+ }
652
+ },
653
+ "args": {},
654
+ "contextDefinition": {
655
+ "loggedIn": {},
656
+ "getDynamicPublicProjectConfigAsync": {},
657
+ "getDynamicPrivateProjectConfigAsync": {},
658
+ "projectDir": {},
659
+ "vcsClient": {},
660
+ "analytics": {},
661
+ "projectId": {}
662
+ }
663
+ },
624
664
  "build": {
625
665
  "id": "build",
626
666
  "description": "start a build",
@@ -1038,6 +1078,12 @@
1038
1078
  "gitCommitHash"
1039
1079
  ]
1040
1080
  },
1081
+ "fingerprint-hash": {
1082
+ "name": "fingerprint-hash",
1083
+ "type": "option",
1084
+ "description": "Filter only builds with the specified fingerprint hash",
1085
+ "multiple": false
1086
+ },
1041
1087
  "offset": {
1042
1088
  "name": "offset",
1043
1089
  "type": "option",
@@ -1760,6 +1806,157 @@
1760
1806
  "vcsClient": {}
1761
1807
  }
1762
1808
  },
1809
+ "deploy:alias": {
1810
+ "id": "deploy:alias",
1811
+ "description": "Assign deployment aliases.",
1812
+ "strict": true,
1813
+ "pluginName": "eas-cli",
1814
+ "pluginAlias": "eas-cli",
1815
+ "pluginType": "core",
1816
+ "state": "preview",
1817
+ "aliases": [
1818
+ "worker:alias",
1819
+ "deploy:promote"
1820
+ ],
1821
+ "flags": {
1822
+ "prod": {
1823
+ "name": "prod",
1824
+ "type": "boolean",
1825
+ "description": "Promote an existing deployment to production.",
1826
+ "allowNo": false,
1827
+ "aliases": [
1828
+ "production"
1829
+ ]
1830
+ },
1831
+ "alias": {
1832
+ "name": "alias",
1833
+ "type": "option",
1834
+ "description": "Custom alias to assign to the existing deployment.",
1835
+ "required": false,
1836
+ "helpValue": "name",
1837
+ "multiple": false
1838
+ },
1839
+ "id": {
1840
+ "name": "id",
1841
+ "type": "option",
1842
+ "description": "Unique identifier of an existing deployment.",
1843
+ "required": false,
1844
+ "helpValue": "xyz123",
1845
+ "multiple": false
1846
+ },
1847
+ "json": {
1848
+ "name": "json",
1849
+ "type": "boolean",
1850
+ "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
1851
+ "allowNo": false,
1852
+ "dependsOn": [
1853
+ "non-interactive"
1854
+ ]
1855
+ },
1856
+ "non-interactive": {
1857
+ "name": "non-interactive",
1858
+ "type": "boolean",
1859
+ "description": "Run the command in non-interactive mode.",
1860
+ "allowNo": false
1861
+ }
1862
+ },
1863
+ "args": {},
1864
+ "contextDefinition": {
1865
+ "getDynamicPublicProjectConfigAsync": {},
1866
+ "getDynamicPrivateProjectConfigAsync": {},
1867
+ "projectDir": {},
1868
+ "loggedIn": {}
1869
+ }
1870
+ },
1871
+ "deploy": {
1872
+ "id": "deploy",
1873
+ "description": "Deploy your Expo Router web build and API Routes.",
1874
+ "strict": true,
1875
+ "usage": [
1876
+ "deploy [options]",
1877
+ "deploy --prod"
1878
+ ],
1879
+ "pluginName": "eas-cli",
1880
+ "pluginAlias": "eas-cli",
1881
+ "pluginType": "core",
1882
+ "state": "preview",
1883
+ "aliases": [
1884
+ "worker:deploy"
1885
+ ],
1886
+ "flags": {
1887
+ "prod": {
1888
+ "name": "prod",
1889
+ "type": "boolean",
1890
+ "description": "Create a new production deployment.",
1891
+ "allowNo": false,
1892
+ "aliases": [
1893
+ "production"
1894
+ ]
1895
+ },
1896
+ "alias": {
1897
+ "name": "alias",
1898
+ "type": "option",
1899
+ "description": "Custom alias to assign to the new deployment.",
1900
+ "helpValue": "name",
1901
+ "multiple": false
1902
+ },
1903
+ "id": {
1904
+ "name": "id",
1905
+ "type": "option",
1906
+ "description": "Custom unique identifier for the new deployment.",
1907
+ "helpValue": "xyz123",
1908
+ "multiple": false
1909
+ },
1910
+ "export-dir": {
1911
+ "name": "export-dir",
1912
+ "type": "option",
1913
+ "description": "Directory where the Expo project was exported.",
1914
+ "helpValue": "dir",
1915
+ "multiple": false,
1916
+ "default": "dist"
1917
+ },
1918
+ "dry-run": {
1919
+ "name": "dry-run",
1920
+ "type": "boolean",
1921
+ "description": "Outputs a tarball of the new deployment instead of uploading it.",
1922
+ "allowNo": false
1923
+ },
1924
+ "environment": {
1925
+ "name": "environment",
1926
+ "type": "option",
1927
+ "description": "Environment variable's environment",
1928
+ "helpValue": "(development|preview|production)",
1929
+ "multiple": false,
1930
+ "options": [
1931
+ "development",
1932
+ "preview",
1933
+ "production"
1934
+ ]
1935
+ },
1936
+ "json": {
1937
+ "name": "json",
1938
+ "type": "boolean",
1939
+ "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
1940
+ "allowNo": false,
1941
+ "dependsOn": [
1942
+ "non-interactive"
1943
+ ]
1944
+ },
1945
+ "non-interactive": {
1946
+ "name": "non-interactive",
1947
+ "type": "boolean",
1948
+ "description": "Run the command in non-interactive mode.",
1949
+ "allowNo": false
1950
+ }
1951
+ },
1952
+ "args": {},
1953
+ "contextDefinition": {
1954
+ "getDynamicPublicProjectConfigAsync": {},
1955
+ "getDynamicPrivateProjectConfigAsync": {},
1956
+ "projectDir": {},
1957
+ "loggedIn": {}
1958
+ }
1959
+ },
1763
1960
  "device:create": {
1764
1961
  "id": "device:create",
1765
1962
  "description": "register new Apple Devices to use for internal distribution",
@@ -2570,12 +2767,17 @@
2570
2767
  "fingerprint:compare": {
2571
2768
  "id": "fingerprint:compare",
2572
2769
  "description": "compare fingerprints of the current project, builds and updates",
2573
- "strict": true,
2770
+ "strict": false,
2574
2771
  "pluginName": "eas-cli",
2575
2772
  "pluginAlias": "eas-cli",
2576
2773
  "pluginType": "core",
2577
- "hidden": true,
2578
2774
  "aliases": [],
2775
+ "examples": [
2776
+ "$ eas fingerprint:compare \t # Compare fingerprints in interactive mode",
2777
+ "$ eas fingerprint:compare c71a7d475aa6f75291bc93cd74aef395c3c94eee \t # Compare fingerprint against local directory",
2778
+ "$ eas fingerprint:compare c71a7d475aa6f75291bc93cd74aef395c3c94eee f0d6a916e73f401d428e6e006e07b12453317ba2 \t # Compare provided fingerprints",
2779
+ "$ eas fingerprint:compare --build-id 82bc6456-611a-48cb-8db4-5f9eb2ca1003 \t # Compare fingerprint from build against local directory"
2780
+ ],
2579
2781
  "flags": {
2580
2782
  "build-id": {
2581
2783
  "name": "build-id",
@@ -2602,7 +2804,18 @@
2602
2804
  "allowNo": false
2603
2805
  }
2604
2806
  },
2605
- "args": {},
2807
+ "args": {
2808
+ "hash1": {
2809
+ "name": "hash1",
2810
+ "description": "If provided alone, HASH1 is compared against the current project's fingerprint.",
2811
+ "required": false
2812
+ },
2813
+ "hash2": {
2814
+ "name": "hash2",
2815
+ "description": "If two hashes are provided, HASH1 is compared against HASH2.",
2816
+ "required": false
2817
+ }
2818
+ },
2606
2819
  "contextDefinition": {
2607
2820
  "projectId": {},
2608
2821
  "loggedIn": {},
@@ -3699,157 +3912,6 @@
3699
3912
  "loggedIn": {}
3700
3913
  }
3701
3914
  },
3702
- "worker:alias": {
3703
- "id": "worker:alias",
3704
- "description": "Assign deployment aliases",
3705
- "strict": true,
3706
- "pluginName": "eas-cli",
3707
- "pluginAlias": "eas-cli",
3708
- "pluginType": "core",
3709
- "state": "beta",
3710
- "aliases": [
3711
- "deploy:alias",
3712
- "deploy:promote"
3713
- ],
3714
- "flags": {
3715
- "prod": {
3716
- "name": "prod",
3717
- "type": "boolean",
3718
- "description": "Promote an existing deployment to production.",
3719
- "allowNo": false,
3720
- "aliases": [
3721
- "production"
3722
- ]
3723
- },
3724
- "alias": {
3725
- "name": "alias",
3726
- "type": "option",
3727
- "description": "Custom alias to assign to the existing deployment.",
3728
- "required": false,
3729
- "helpValue": "name",
3730
- "multiple": false
3731
- },
3732
- "id": {
3733
- "name": "id",
3734
- "type": "option",
3735
- "description": "Unique identifier of an existing deployment.",
3736
- "required": false,
3737
- "helpValue": "xyz123",
3738
- "multiple": false
3739
- },
3740
- "json": {
3741
- "name": "json",
3742
- "type": "boolean",
3743
- "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
3744
- "allowNo": false,
3745
- "dependsOn": [
3746
- "non-interactive"
3747
- ]
3748
- },
3749
- "non-interactive": {
3750
- "name": "non-interactive",
3751
- "type": "boolean",
3752
- "description": "Run the command in non-interactive mode.",
3753
- "allowNo": false
3754
- }
3755
- },
3756
- "args": {},
3757
- "contextDefinition": {
3758
- "getDynamicPublicProjectConfigAsync": {},
3759
- "getDynamicPrivateProjectConfigAsync": {},
3760
- "projectDir": {},
3761
- "loggedIn": {}
3762
- }
3763
- },
3764
- "worker:deploy": {
3765
- "id": "worker:deploy",
3766
- "description": "Deploy your Expo web build",
3767
- "strict": true,
3768
- "usage": [
3769
- "deploy [options]",
3770
- "deploy --prod"
3771
- ],
3772
- "pluginName": "eas-cli",
3773
- "pluginAlias": "eas-cli",
3774
- "pluginType": "core",
3775
- "state": "beta",
3776
- "aliases": [
3777
- "deploy"
3778
- ],
3779
- "flags": {
3780
- "prod": {
3781
- "name": "prod",
3782
- "type": "boolean",
3783
- "description": "Create a new production deployment.",
3784
- "allowNo": false,
3785
- "aliases": [
3786
- "production"
3787
- ]
3788
- },
3789
- "alias": {
3790
- "name": "alias",
3791
- "type": "option",
3792
- "description": "Custom alias to assign to the new deployment.",
3793
- "helpValue": "name",
3794
- "multiple": false
3795
- },
3796
- "id": {
3797
- "name": "id",
3798
- "type": "option",
3799
- "description": "Custom unique identifier for the new deployment.",
3800
- "helpValue": "xyz123",
3801
- "multiple": false
3802
- },
3803
- "export-dir": {
3804
- "name": "export-dir",
3805
- "type": "option",
3806
- "description": "Directory where the Expo project was exported.",
3807
- "helpValue": "dir",
3808
- "multiple": false,
3809
- "default": "dist"
3810
- },
3811
- "dry-run": {
3812
- "name": "dry-run",
3813
- "type": "boolean",
3814
- "description": "Outputs a tarball of the new deployment instead of uploading it.",
3815
- "allowNo": false
3816
- },
3817
- "environment": {
3818
- "name": "environment",
3819
- "type": "option",
3820
- "description": "Environment variable's environment",
3821
- "helpValue": "(development|preview|production)",
3822
- "multiple": false,
3823
- "options": [
3824
- "development",
3825
- "preview",
3826
- "production"
3827
- ]
3828
- },
3829
- "json": {
3830
- "name": "json",
3831
- "type": "boolean",
3832
- "description": "Enable JSON output, non-JSON messages will be printed to stderr.",
3833
- "allowNo": false,
3834
- "dependsOn": [
3835
- "non-interactive"
3836
- ]
3837
- },
3838
- "non-interactive": {
3839
- "name": "non-interactive",
3840
- "type": "boolean",
3841
- "description": "Run the command in non-interactive mode.",
3842
- "allowNo": false
3843
- }
3844
- },
3845
- "args": {},
3846
- "contextDefinition": {
3847
- "getDynamicPublicProjectConfigAsync": {},
3848
- "getDynamicPrivateProjectConfigAsync": {},
3849
- "projectDir": {},
3850
- "loggedIn": {}
3851
- }
3852
- },
3853
3915
  "workflow:create": {
3854
3916
  "id": "workflow:create",
3855
3917
  "description": "create a new workflow configuration YAML file",
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "14.4.1",
4
+ "version": "14.6.0",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
8
8
  },
9
9
  "bugs": "https://github.com/expo/eas-cli/issues",
10
10
  "dependencies": {
11
- "@expo/apple-utils": "2.1.5",
11
+ "@expo/apple-utils": "2.1.6",
12
12
  "@expo/code-signing-certificates": "0.0.5",
13
13
  "@expo/config": "10.0.6",
14
14
  "@expo/config-plugins": "9.0.12",
15
- "@expo/eas-build-job": "1.0.156",
16
- "@expo/eas-json": "14.3.1",
15
+ "@expo/eas-build-job": "1.0.165",
16
+ "@expo/eas-json": "14.5.0",
17
17
  "@expo/env": "^1.0.0",
18
18
  "@expo/json-file": "8.3.3",
19
19
  "@expo/logger": "1.0.117",
@@ -28,7 +28,7 @@
28
28
  "@expo/results": "1.0.0",
29
29
  "@expo/rudder-sdk-node": "1.1.1",
30
30
  "@expo/spawn-async": "1.7.2",
31
- "@expo/steps": "1.0.161",
31
+ "@expo/steps": "1.0.166",
32
32
  "@expo/timeago.js": "1.0.0",
33
33
  "@oclif/core": "^1.26.2",
34
34
  "@oclif/plugin-autocomplete": "^2.3.10",
@@ -237,5 +237,5 @@
237
237
  "node": "20.11.0",
238
238
  "yarn": "1.22.21"
239
239
  },
240
- "gitHead": "e7b48949db63972808a8278d443dfa8e34b76457"
240
+ "gitHead": "58917ecbb44a5006adeac57c3ab023f25d7bff26"
241
241
  }
File without changes