expo-dev-client 5.2.4 → 6.0.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.
package/CHANGELOG.md CHANGED
@@ -10,23 +10,33 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
- ## 5.2.4 — 2025-07-03
13
+ ## 6.0.0 — 2025-08-13
14
+
15
+ ### 🎉 New features
16
+
17
+ - [iOS] Partial support for Apple TV. ([#38388](https://github.com/expo/expo/pull/38388) by [@douglowder](https://github.com/douglowder))
18
+
19
+ ### 💡 Others
20
+
21
+ - fix TS error when running tests ([#38660](https://github.com/expo/expo/pull/38660) by [@vonovak](https://github.com/vonovak))
22
+
23
+ ## 5.2.4 - 2025-07-03
14
24
 
15
25
  _This version does not introduce any user-facing changes._
16
26
 
17
- ## 5.2.3 2025-07-02
27
+ ## 5.2.3 - 2025-07-02
18
28
 
19
29
  _This version does not introduce any user-facing changes._
20
30
 
21
- ## 5.2.2 2025-06-26
31
+ ## 5.2.2 - 2025-06-26
22
32
 
23
33
  _This version does not introduce any user-facing changes._
24
34
 
25
- ## 5.2.1 2025-06-18
35
+ ## 5.2.1 - 2025-06-18
26
36
 
27
37
  _This version does not introduce any user-facing changes._
28
38
 
29
- ## 5.2.0 2025-06-04
39
+ ## 5.2.0 - 2025-06-04
30
40
 
31
41
  ### 💡 Others
32
42
 
@@ -8,13 +8,13 @@ expoModule {
8
8
  }
9
9
 
10
10
  group = "host.exp.exponent"
11
- version = "5.2.4"
11
+ version = "6.0.0"
12
12
 
13
13
  android {
14
14
  namespace "expo.modules.devclient"
15
15
  defaultConfig {
16
16
  versionCode 1
17
- versionName "5.2.4"
17
+ versionName "6.0.0"
18
18
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
19
19
  }
20
20
 
@@ -1,3 +1,2 @@
1
- export * from 'expo-dev-launcher';
2
1
  export * from 'expo-dev-menu';
3
2
  //# sourceMappingURL=DevClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DevClient.d.ts","sourceRoot":"","sources":["../src/DevClient.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"DevClient.d.ts","sourceRoot":"","sources":["../src/DevClient.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,3 +1,2 @@
1
- export * from 'expo-dev-launcher';
2
1
  export * from 'expo-dev-menu';
3
2
  //# sourceMappingURL=DevClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DevClient.js","sourceRoot":"","sources":["../src/DevClient.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC","sourcesContent":["export * from 'expo-dev-launcher';\nexport * from 'expo-dev-menu';\n"]}
1
+ {"version":3,"file":"DevClient.js","sourceRoot":"","sources":["../src/DevClient.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from 'expo-dev-menu';\n"]}
@@ -11,7 +11,8 @@ Pod::Spec.new do |s|
11
11
  s.author = package['author']
12
12
  s.homepage = package['homepage']
13
13
  s.platforms = {
14
- :ios => '15.1'
14
+ :ios => '15.1',
15
+ :tvos => '15.1'
15
16
  }
16
17
  s.source = { git: 'https://github.com/expo/expo.git' }
17
18
  s.static_framework = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-dev-client",
3
- "version": "5.2.4",
3
+ "version": "6.0.0",
4
4
  "description": "Expo Development Client",
5
5
  "main": "build/DevClient.js",
6
6
  "types": "build/DevClient.d.ts",
@@ -32,15 +32,15 @@
32
32
  "license": "MIT",
33
33
  "homepage": "https://docs.expo.dev/versions/latest/sdk/dev-client/",
34
34
  "dependencies": {
35
- "expo-dev-launcher": "5.1.16",
36
- "expo-dev-menu": "6.1.14",
37
- "expo-dev-menu-interface": "1.10.0",
38
- "expo-manifests": "~0.16.6",
39
- "expo-updates-interface": "~1.1.0"
35
+ "expo-dev-launcher": "6.0.0",
36
+ "expo-dev-menu": "7.0.0",
37
+ "expo-dev-menu-interface": "2.0.0",
38
+ "expo-manifests": "~1.0.0",
39
+ "expo-updates-interface": "~2.0.0"
40
40
  },
41
41
  "devDependencies": {
42
- "expo-module-scripts": "^4.1.9",
43
- "expo-test-runner": "0.2.5"
42
+ "expo-module-scripts": "^5.0.0",
43
+ "expo-test-runner": "0.3.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "expo": "*"
@@ -48,5 +48,5 @@
48
48
  "jest": {
49
49
  "preset": "expo-module-scripts"
50
50
  },
51
- "gitHead": "1c4a89b0c0adebb53ef84b4a6ac25864e4652917"
51
+ "gitHead": "cb7062e2c17d1fb09522834aaaac0e19b766df62"
52
52
  }
@@ -1,5 +1,4 @@
1
- import type { PluginConfigType } from 'expo-dev-launcher/plugin/build/pluginConfig';
2
- type DevClientPluginConfigType = PluginConfigType & {
1
+ type DevClientPluginConfigType = {
3
2
  addGeneratedScheme?: boolean;
4
3
  };
5
4
  declare const _default: import("expo/config-plugins").ConfigPlugin<DevClientPluginConfigType>;
@@ -5,15 +5,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const config_plugins_1 = require("expo/config-plugins");
7
7
  // @ts-expect-error missing types
8
- const app_plugin_1 = __importDefault(require("expo-dev-launcher/app.plugin"));
9
- // @ts-expect-error missing types
10
- const app_plugin_2 = __importDefault(require("expo-dev-menu/app.plugin"));
8
+ const app_plugin_1 = __importDefault(require("expo-dev-menu/app.plugin"));
11
9
  const withGeneratedAndroidScheme_1 = require("./withGeneratedAndroidScheme");
12
10
  const withGeneratedIosScheme_1 = require("./withGeneratedIosScheme");
13
11
  const pkg = require('expo-dev-client/package.json');
14
12
  function withDevClient(config, props) {
15
- config = (0, app_plugin_2.default)(config);
16
- config = (0, app_plugin_1.default)(config, props);
13
+ config = (0, app_plugin_1.default)(config);
17
14
  const mySchemeProps = { addGeneratedScheme: true, ...props };
18
15
  if (mySchemeProps.addGeneratedScheme) {
19
16
  config = (0, withGeneratedAndroidScheme_1.withGeneratedAndroidScheme)(config);
@@ -1,9 +1,6 @@
1
1
  import type { ExpoConfig } from 'expo/config';
2
2
  import { createRunOncePlugin } from 'expo/config-plugins';
3
3
  // @ts-expect-error missing types
4
- import withDevLauncher from 'expo-dev-launcher/app.plugin';
5
- import type { PluginConfigType } from 'expo-dev-launcher/plugin/build/pluginConfig';
6
- // @ts-expect-error missing types
7
4
  import withDevMenu from 'expo-dev-menu/app.plugin';
8
5
 
9
6
  import { withGeneratedAndroidScheme } from './withGeneratedAndroidScheme';
@@ -11,13 +8,12 @@ import { withGeneratedIosScheme } from './withGeneratedIosScheme';
11
8
 
12
9
  const pkg = require('expo-dev-client/package.json');
13
10
 
14
- type DevClientPluginConfigType = PluginConfigType & {
11
+ type DevClientPluginConfigType = {
15
12
  addGeneratedScheme?: boolean;
16
13
  };
17
14
 
18
15
  function withDevClient(config: ExpoConfig, props: DevClientPluginConfigType) {
19
16
  config = withDevMenu(config);
20
- config = withDevLauncher(config, props);
21
17
 
22
18
  const mySchemeProps = { addGeneratedScheme: true, ...props };
23
19
 
package/src/DevClient.ts CHANGED
@@ -1,2 +1 @@
1
- export * from 'expo-dev-launcher';
2
1
  export * from 'expo-dev-menu';
package/src/types.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ // dev-client imports code that ends up using `react-native` globals, but it doesn't import `react-native` directly.
2
+ // TS therefore doesn't recognize the RN globals, which is what this is for.
3
+ /// <reference types="react-native/src/types/globals" />