Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.

Commit c56de28

Browse files
tcdavisexpbot
authored andcommitted
Upgrade snack-sdk to 2.1.0
- adds support for typescript projects (targetting SDKs >= 31) - add support for Expo SDK 32 fbshipit-source-id: cce2c5d
1 parent a4bb84e commit c56de28

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "snack-sdk",
3-
"version": "2.0.0",
3+
"version": "2.1.0-rc.1",
44
"description": "The Expo Snack SDK",
55
"main": "dist/snack.js",
66
"module": "esm/snack.js",

src/configs/preloadedModules.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,4 +395,17 @@ export const dependencies = {
395395
'react-native': '0.57.1',
396396
react: '16.5.0',
397397
},
398+
'32.0.0': {
399+
'@expo/vector-icons': '8.1.0',
400+
expo: '32.0.0',
401+
'lottie-react-native': '2.5.0',
402+
'react-native-maps': '0.22.1',
403+
'react-native-screens': '1.0.0-alpha.19',
404+
'react-native-gesture-handler': '1.0.12',
405+
'react-native-reanimated': '1.0.0-alpha.19',
406+
'react-native-svg': '8.0.10',
407+
'react-native-vector-icons': 'expo/vector-icons#8.1.0',
408+
'react-native': '0.57.1',
409+
react: '16.5.0',
410+
},
398411
};

src/configs/sdkVersions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ export const versions = {
1717
'29.0.0': [],
1818
'30.0.0': [],
1919
'31.0.0': [],
20+
'32.0.0': [],
2021
};
2122

22-
export const defaultSDKVersion = '31.0.0';
23+
export const defaultSDKVersion = '32.0.0';
2324

2425
export type Feature = $Keys<typeof minFeatureVersion>;
2526
export type SDKVersion = $Keys<typeof versions>;

0 commit comments

Comments
 (0)