@expo/config-types 58.0.1 → 58.0.3

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.
@@ -176,6 +176,10 @@ export interface ExpoConfig {
176
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.
177
177
  */
178
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;
179
183
  };
180
184
  /**
181
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.
@@ -279,6 +283,15 @@ export interface ExpoConfig {
279
283
  */
280
284
  xcodeProjectTargets?: string[];
281
285
  };
286
+ /**
287
+ * Configure how JavaScript is split for async routes in production web apps. Requires `asyncRoutes` to be enabled.
288
+ */
289
+ chunking?: {
290
+ /**
291
+ * The strategy used to split JavaScript for async routes. Use `granular` to group shared dependencies by the async routes that need them. Defaults to `legacy` when `chunking` is omitted.
292
+ */
293
+ mode: 'legacy' | 'granular';
294
+ };
282
295
  };
283
296
  /**
284
297
  * Internal properties for developer tools
@@ -636,7 +649,7 @@ export interface AndroidIntentFiltersData {
636
649
  */
637
650
  export interface Web {
638
651
  /**
639
- * 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` outputs static HTML, and API Routes for hosting with a custom Node.js server. Defaults to `single`.
652
+ * 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`.
640
653
  */
641
654
  output?: 'single' | 'static' | 'server';
642
655
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/config-types",
3
- "version": "58.0.1",
3
+ "version": "58.0.3",
4
4
  "description": "Types for the Expo config object app.config.ts",
5
5
  "keywords": [
6
6
  "app.config.js",
@@ -40,15 +40,14 @@
40
40
  "access": "public"
41
41
  },
42
42
  "devDependencies": {
43
+ "@expo/internal-scripts": "58.0.1",
43
44
  "@types/node": "^22.14.0",
44
45
  "chalk": "^4.1.2",
45
46
  "commander": "^12.1.0",
46
- "expo-module-scripts": "56.0.3",
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": "318c3739de0698ae5dc8620766c1bab5193555a4",
52
51
  "scripts": {
53
52
  "build": "expo-build cjs:src",
54
53
  "clean": "expo-module clean",