@expo/config-types 58.0.0 → 58.0.2
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/build/ExpoConfig.d.ts +12 -10
- package/package.json +2 -3
package/build/ExpoConfig.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface ExpoConfig {
|
|
|
37
37
|
policy: 'nativeVersion' | 'sdkVersion' | 'appVersion' | 'fingerprint';
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
|
-
* Your app version. In addition to this field, you'll also use `ios.buildNumber` and `android.versionCode` — read more about how to version your app [here](https://docs.expo.dev/
|
|
40
|
+
* Your app version. In addition to this field, you'll also use `ios.buildNumber` and `android.versionCode` — read more about how to version your app [here](https://docs.expo.dev/build-reference/app-versions/). On iOS this corresponds to `CFBundleShortVersionString`, and on Android, this corresponds to `versionName`. The required format can be found [here](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring).
|
|
41
41
|
*/
|
|
42
42
|
version?: string;
|
|
43
43
|
/**
|
|
@@ -69,7 +69,7 @@ export interface ExpoConfig {
|
|
|
69
69
|
*/
|
|
70
70
|
icon?: string;
|
|
71
71
|
/**
|
|
72
|
-
* Configuration for the status bar on Android. For more details navigate to [Configuring StatusBar](https://docs.expo.dev/
|
|
72
|
+
* Configuration for the status bar on Android. For more details navigate to [Configuring StatusBar](https://docs.expo.dev/develop/user-interface/system-bars/).
|
|
73
73
|
* @deprecated Use the `expo-status-bar` plugin configuration instead
|
|
74
74
|
*/
|
|
75
75
|
androidStatusBar?: {
|
|
@@ -104,7 +104,7 @@ export interface ExpoConfig {
|
|
|
104
104
|
*/
|
|
105
105
|
scheme?: string | string[];
|
|
106
106
|
/**
|
|
107
|
-
* Any extra fields you want to pass to your experience. Values are accessible via `Constants.expoConfig.extra` ([Learn more](https://docs.expo.dev/versions/latest/sdk/constants/#
|
|
107
|
+
* Any extra fields you want to pass to your experience. Values are accessible via `Constants.expoConfig.extra` ([Learn more](https://docs.expo.dev/versions/latest/sdk/constants/#nativeconstants))
|
|
108
108
|
*/
|
|
109
109
|
extra?: {
|
|
110
110
|
[k: string]: any;
|
|
@@ -173,11 +173,13 @@ export interface ExpoConfig {
|
|
|
173
173
|
*/
|
|
174
174
|
enableBsdiffPatchSupport?: boolean;
|
|
175
175
|
/**
|
|
176
|
-
* Whether to exclude the expo-updates directory from device backups (iCloud). Defaults to false. When set to true, downloaded updates are not included in backups, which can significantly shrink backup size for apps with large updates. On restore the device has no cached update and runs the embedded update until the latest update is downloaded again.
|
|
177
|
-
*
|
|
178
|
-
* @platform ios
|
|
176
|
+
* iOS only. Whether to exclude the expo-updates directory from device backups (iCloud). Defaults to false. When set to true, downloaded updates are not included in backups, which can significantly shrink backup size for apps with large updates. On restore the device has no cached update and runs the embedded update until the latest update is downloaded again.
|
|
179
177
|
*/
|
|
180
178
|
excludeFromBackup?: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* Number of updates to keep, including the one currently running. For example, 3 keeps the running update and up to two older updates. Updates that match the manifest filters take priority, with the newest updates kept first. Defaults to 2. This value controls how many older updates to keep alongside the running update. Cleanup leaves updates from other scopes and updates with the same or a newer commit time than the running update untouched, so the cache can contain more updates than this value.
|
|
181
|
+
*/
|
|
182
|
+
maxUpdatesToKeep?: number;
|
|
181
183
|
};
|
|
182
184
|
/**
|
|
183
185
|
* Provide per-locale values for System Dialog prompts such as Permissions Boxes, and create Localizable.strings file to localize (for example) push notifications. Platform-specific locale strings should be nested under `ios` and `android` keys.
|
|
@@ -192,7 +194,7 @@ export interface ExpoConfig {
|
|
|
192
194
|
*/
|
|
193
195
|
assetBundlePatterns?: string[];
|
|
194
196
|
/**
|
|
195
|
-
* Config plugins for adding extra functionality to your project. [Learn more](https://docs.expo.dev/
|
|
197
|
+
* Config plugins for adding extra functionality to your project. [Learn more](https://docs.expo.dev/config-plugins/introduction/).
|
|
196
198
|
*/
|
|
197
199
|
plugins?: (string | [] | [string] | [string, any])[];
|
|
198
200
|
/**
|
|
@@ -452,7 +454,7 @@ export interface IOS {
|
|
|
452
454
|
policy: 'nativeVersion' | 'sdkVersion' | 'appVersion' | 'fingerprint';
|
|
453
455
|
};
|
|
454
456
|
/**
|
|
455
|
-
* Your iOS app version. Takes precedence over the root `version` field. In addition to this field, you'll also use `ios.buildNumber` — read more about how to version your app [here](https://docs.expo.dev/
|
|
457
|
+
* Your iOS app version. Takes precedence over the root `version` field. In addition to this field, you'll also use `ios.buildNumber` — read more about how to version your app [here](https://docs.expo.dev/build-reference/app-versions/). This corresponds to `CFBundleShortVersionString`. The required format can be found [here](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring).
|
|
456
458
|
*/
|
|
457
459
|
version?: string;
|
|
458
460
|
}
|
|
@@ -587,7 +589,7 @@ export interface Android {
|
|
|
587
589
|
policy: 'nativeVersion' | 'sdkVersion' | 'appVersion' | 'fingerprint';
|
|
588
590
|
};
|
|
589
591
|
/**
|
|
590
|
-
* Your android app version. Takes precedence over the root `version` field. In addition to this field, you'll also use `android.versionCode` — read more about how to version your app [here](https://docs.expo.dev/
|
|
592
|
+
* Your android app version. Takes precedence over the root `version` field. In addition to this field, you'll also use `android.versionCode` — read more about how to version your app [here](https://docs.expo.dev/build-reference/app-versions/). This corresponds to `versionName`. The required format can be found [here](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring).
|
|
591
593
|
*/
|
|
592
594
|
version?: string;
|
|
593
595
|
/**
|
|
@@ -638,7 +640,7 @@ export interface AndroidIntentFiltersData {
|
|
|
638
640
|
*/
|
|
639
641
|
export interface Web {
|
|
640
642
|
/**
|
|
641
|
-
* Sets the export method for the web app for both `expo start` and `expo export`. `static` statically renders HTML files for every route in the `app/` directory, which is available only in Expo Router apps. `single` outputs a Single Page Application (SPA), with a single `index.html` in the output folder, and has no statically indexable HTML. `server`
|
|
643
|
+
* Sets the export method for the web app for both `expo start` and `expo export`. `static` statically renders HTML files for every route in the `app/` directory, which is available only in Expo Router apps. `single` outputs a Single Page Application (SPA), with a single `index.html` in the output folder, and has no statically indexable HTML. `server` renders HTML pages on each request and supports API routes, requiring deployment to a server. Defaults to `single`.
|
|
642
644
|
*/
|
|
643
645
|
output?: 'single' | 'static' | 'server';
|
|
644
646
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/config-types",
|
|
3
|
-
"version": "58.0.
|
|
3
|
+
"version": "58.0.2",
|
|
4
4
|
"description": "Types for the Expo config object app.config.ts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app.config.js",
|
|
@@ -43,12 +43,11 @@
|
|
|
43
43
|
"@types/node": "^22.14.0",
|
|
44
44
|
"chalk": "^4.1.2",
|
|
45
45
|
"commander": "^12.1.0",
|
|
46
|
-
"expo-module-scripts": "56.0.
|
|
46
|
+
"expo-module-scripts": "56.0.4",
|
|
47
47
|
"json-schema-to-typescript": "^15.0.0",
|
|
48
48
|
"prettier": "^3.8.3",
|
|
49
49
|
"semver": "^7.7.4"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "c543a7181fc32e14f42d89550087b80ac5c490f2",
|
|
52
51
|
"scripts": {
|
|
53
52
|
"build": "expo-build cjs:src",
|
|
54
53
|
"clean": "expo-module clean",
|