@expo/config-types 48.0.0 → 49.0.0-alpha.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.
- package/build/ExpoConfig.d.ts +23 -15
- package/package.json +5 -4
package/build/ExpoConfig.d.ts
CHANGED
|
@@ -19,11 +19,11 @@ export interface ExpoConfig {
|
|
|
19
19
|
*/
|
|
20
20
|
owner?: string;
|
|
21
21
|
/**
|
|
22
|
-
* The auto generated Expo account name and slug used for display purposes. Formatted like `@username/slug`. When unauthenticated, the username is `@anonymous`. For published projects, this value may change when a project is transferred between accounts or renamed.
|
|
22
|
+
* The auto generated Expo account name and slug used for display purposes. It is not meant to be set directly. Formatted like `@username/slug`. When unauthenticated, the username is `@anonymous`. For published projects, this value may change when a project is transferred between accounts or renamed.
|
|
23
23
|
*/
|
|
24
24
|
currentFullName?: string;
|
|
25
25
|
/**
|
|
26
|
-
* The auto generated Expo account name and slug used for services like Notifications and AuthSession proxy. Formatted like `@username/slug`. When unauthenticated, the username is `@anonymous`. For published projects, this value will not change when a project is transferred between accounts or renamed.
|
|
26
|
+
* The auto generated Expo account name and slug used for services like Notifications and AuthSession proxy. It is not meant to be set directly. Formatted like `@username/slug`. When unauthenticated, the username is `@anonymous`. For published projects, this value will not change when a project is transferred between accounts or renamed.
|
|
27
27
|
*/
|
|
28
28
|
originalFullName?: string;
|
|
29
29
|
/**
|
|
@@ -154,15 +154,11 @@ export interface ExpoConfig {
|
|
|
154
154
|
silentLaunch?: boolean;
|
|
155
155
|
};
|
|
156
156
|
/**
|
|
157
|
-
* **
|
|
157
|
+
* **Custom Builds Only**. URL scheme(s) to link into your app. For example, if we set this to `'demo'`, then demo:// URLs would open your app when tapped.
|
|
158
158
|
*/
|
|
159
|
-
scheme?: string;
|
|
160
|
-
/**
|
|
161
|
-
* @deprecated Use a `main` field in the project `package.json` instead.
|
|
162
|
-
*/
|
|
163
|
-
entryPoint?: string;
|
|
159
|
+
scheme?: string | string[];
|
|
164
160
|
/**
|
|
165
|
-
* Any extra fields you want to pass to your experience. Values are accessible via `
|
|
161
|
+
* 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/#constantsmanifest))
|
|
166
162
|
*/
|
|
167
163
|
extra?: {
|
|
168
164
|
[k: string]: any;
|
|
@@ -182,9 +178,9 @@ export interface ExpoConfig {
|
|
|
182
178
|
*/
|
|
183
179
|
enabled?: boolean;
|
|
184
180
|
/**
|
|
185
|
-
* By default, Expo will check for updates every time the app is loaded. Set this to `ON_ERROR_RECOVERY` to disable automatic checking unless recovering from an error. Must be one of `ON_LOAD`
|
|
181
|
+
* By default, Expo will check for updates every time the app is loaded. Set this to `ON_ERROR_RECOVERY` to disable automatic checking unless recovering from an error. Set this to `NEVER` to completely disable automatic checking. Must be one of `ON_LOAD` (default value), `ON_ERROR_RECOVERY`, `WIFI_ONLY`, or `NEVER`
|
|
186
182
|
*/
|
|
187
|
-
checkAutomatically?: 'ON_ERROR_RECOVERY' | 'ON_LOAD';
|
|
183
|
+
checkAutomatically?: 'ON_ERROR_RECOVERY' | 'ON_LOAD' | 'WIFI_ONLY' | 'NEVER';
|
|
188
184
|
/**
|
|
189
185
|
* How long (in ms) to allow for fetching OTA updates before falling back to a cached version of the app. Defaults to 0. Must be between 0 and 300000 (5 minutes).
|
|
190
186
|
*/
|
|
@@ -216,6 +212,10 @@ export interface ExpoConfig {
|
|
|
216
212
|
requestHeaders?: {
|
|
217
213
|
[k: string]: any;
|
|
218
214
|
};
|
|
215
|
+
/**
|
|
216
|
+
* Whether to use deprecated Classic Updates when developing with the local Expo CLI and creating builds. Omitting this or setting it to false affects the behavior of APIs like `Constants.manifest`. SDK 49 is the last SDK version that supports Classic Updates.
|
|
217
|
+
*/
|
|
218
|
+
useClassicUpdates?: boolean;
|
|
219
219
|
};
|
|
220
220
|
/**
|
|
221
221
|
* Provide overrides by locale for System Dialog prompts like Permissions Boxes
|
|
@@ -262,6 +262,10 @@ export interface ExpoConfig {
|
|
|
262
262
|
* Enable experimental features that may be unstable, unsupported, or removed without deprecation notices.
|
|
263
263
|
*/
|
|
264
264
|
experiments?: {
|
|
265
|
+
/**
|
|
266
|
+
* Enable tsconfig/jsconfig `compilerOptions.paths` and `compilerOptions.baseUrl` support for import aliases in Metro.
|
|
267
|
+
*/
|
|
268
|
+
tsconfigPaths?: boolean;
|
|
265
269
|
/**
|
|
266
270
|
* Enables Turbo Modules, which are a type of native modules that use a different way of communicating between JS and platform code. When installing a Turbo Module you will need to enable this experimental option (the library still needs to be a part of Expo SDK already, like react-native-reanimated v2). Turbo Modules do not support remote debugging and enabling this option will disable remote debugging.
|
|
267
271
|
*/
|
|
@@ -333,7 +337,7 @@ export interface IOS {
|
|
|
333
337
|
*/
|
|
334
338
|
appStoreUrl?: string;
|
|
335
339
|
/**
|
|
336
|
-
* Enable iOS Bitcode optimizations in the native build. Accepts the name of an iOS build configuration to enable for a single configuration and disable for all others, e.g. Debug, Release. Not available in
|
|
340
|
+
* Enable iOS Bitcode optimizations in the native build. Accepts the name of an iOS build configuration to enable for a single configuration and disable for all others, e.g. Debug, Release. Not available in Expo Go. Defaults to `undefined` which uses the template's predefined settings.
|
|
337
341
|
*/
|
|
338
342
|
bitcode?: boolean | string;
|
|
339
343
|
/**
|
|
@@ -459,7 +463,7 @@ export interface IOS {
|
|
|
459
463
|
[k: string]: any;
|
|
460
464
|
};
|
|
461
465
|
/**
|
|
462
|
-
* Specifies the JavaScript engine for iOS apps. Supported only on EAS Build. Defaults to `
|
|
466
|
+
* Specifies the JavaScript engine for iOS apps. Supported only on EAS Build. Defaults to `hermes`. Valid values: `hermes`, `jsc`.
|
|
463
467
|
*/
|
|
464
468
|
jsEngine?: 'hermes' | 'jsc';
|
|
465
469
|
/**
|
|
@@ -580,7 +584,7 @@ export interface Android {
|
|
|
580
584
|
*/
|
|
581
585
|
permissions?: string[];
|
|
582
586
|
/**
|
|
583
|
-
* List of permissions to block in the final `AndroidManifest.xml`. This is useful for removing permissions that are added by native package `AndroidManifest.xml` files which are merged into the final manifest. Internally this feature uses the `tools:node="remove"` XML attribute to remove permissions. Not available in
|
|
587
|
+
* List of permissions to block in the final `AndroidManifest.xml`. This is useful for removing permissions that are added by native package `AndroidManifest.xml` files which are merged into the final manifest. Internally this feature uses the `tools:node="remove"` XML attribute to remove permissions. Not available in Expo Go.
|
|
584
588
|
*/
|
|
585
589
|
blockedPermissions?: string[];
|
|
586
590
|
/**
|
|
@@ -735,7 +739,7 @@ export interface Android {
|
|
|
735
739
|
*/
|
|
736
740
|
softwareKeyboardLayoutMode?: 'resize' | 'pan';
|
|
737
741
|
/**
|
|
738
|
-
* Specifies the JavaScript engine for Android apps. Supported only on EAS Build and in Expo Go. Defaults to `
|
|
742
|
+
* Specifies the JavaScript engine for Android apps. Supported only on EAS Build and in Expo Go. Defaults to `hermes`. Valid values: `hermes`, `jsc`.
|
|
739
743
|
*/
|
|
740
744
|
jsEngine?: 'hermes' | 'jsc';
|
|
741
745
|
/**
|
|
@@ -782,6 +786,10 @@ export interface AndroidIntentFiltersData {
|
|
|
782
786
|
* Configuration that is specific to the web platform.
|
|
783
787
|
*/
|
|
784
788
|
export interface Web {
|
|
789
|
+
/**
|
|
790
|
+
* Sets the rendering 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. Defaults to `single`.
|
|
791
|
+
*/
|
|
792
|
+
output?: 'single' | 'static';
|
|
785
793
|
/**
|
|
786
794
|
* Relative path of an image to use for your app's favicon.
|
|
787
795
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/config-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "49.0.0-alpha.1",
|
|
4
4
|
"description": "Types for the Expo config object app.config.ts",
|
|
5
5
|
"types": "build/ExpoConfig.d.ts",
|
|
6
6
|
"main": "build/ExpoConfig.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"generate": "ts-node ./scripts/generate.ts",
|
|
11
11
|
"prepare": "yarn run clean && yarn build",
|
|
12
12
|
"clean": "rimraf build ./tsconfig.tsbuildinfo",
|
|
13
|
-
"lint": "eslint .",
|
|
13
|
+
"lint": "eslint . && npx prettier --write src/ExpoConfig.ts",
|
|
14
14
|
"test": "jest"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
@@ -35,11 +35,12 @@
|
|
|
35
35
|
"build"
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
|
+
"@expo/babel-preset-cli": "^0.2.24",
|
|
38
39
|
"json-schema-to-typescript": "^10.0.0",
|
|
39
|
-
"
|
|
40
|
+
"ts-node": "^10.9.1"
|
|
40
41
|
},
|
|
41
42
|
"publishConfig": {
|
|
42
43
|
"access": "public"
|
|
43
44
|
},
|
|
44
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "b8be1f6c8dc273698908751db0555049866d899b"
|
|
45
46
|
}
|