-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(snackager): add e2e bundling test for `[email protected]…
….5` (#621) * test(snackager): add e2e bundling test for `[email protected]` * fix(snackager): add `babel-plugin-syntax-hermes-parser` to parse newer Flow syntax * fix(snackager): update failing `git` E2E snapshots for SDK 52 * test(snackager): update snapshot sizes after babel flow change * test(snackager): add test for `@draftbit/[email protected]` * chore(snackager): bump shards to 5 to redistribute tests equally * chore(snackager): increase E2E timeout with 1 minute
- Loading branch information
Showing
16 changed files
with
2,069 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,748 changes: 1,748 additions & 0 deletions
1,748
snackager/src/__e2e__/__snapshots__/lockfiles/@draftbit/[email protected]
Large diffs are not rendered by default.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
snackager/src/__e2e__/__snapshots__/lockfiles/[email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|
||
"@babel/[email protected]": | ||
version "7.23.9" | ||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.9.tgz#47791a15e4603bb5f905bc0753801cf21d6345f7" | ||
integrity sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw== | ||
dependencies: | ||
regenerator-runtime "^0.14.0" | ||
|
||
escape-string-regexp@^4.0.0: | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" | ||
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== | ||
|
||
[email protected]: | ||
version "2.2.4" | ||
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" | ||
integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== | ||
dependencies: | ||
loose-envify "^1.0.0" | ||
|
||
"js-tokens@^3.0.0 || ^4.0.0": | ||
version "4.0.0" | ||
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" | ||
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== | ||
|
||
loose-envify@^1.0.0: | ||
version "1.4.0" | ||
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" | ||
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== | ||
dependencies: | ||
js-tokens "^3.0.0 || ^4.0.0" | ||
|
||
regenerator-runtime@^0.14.0: | ||
version "0.14.1" | ||
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" | ||
integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,178 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`creates bundle for @draftbit/[email protected] 1`] = ` | ||
{ | ||
"files": { | ||
"android": { | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_arrowdown.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_arrowup.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_close.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_tick.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_arrowdown.png": { | ||
"size": 0, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_arrowup.png": { | ||
"size": 0, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_close.png": { | ||
"size": 0, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_tick.png": { | ||
"size": 0, | ||
}, | ||
"bundle.js": { | ||
"externals": [ | ||
"@expo/vector-icons", | ||
"AssetRegistry", | ||
"expo", | ||
"expo-av", | ||
"expo-camera", | ||
"expo-constants", | ||
"expo-file-system", | ||
"expo-linear-gradient", | ||
"expo-modules-core", | ||
"lottie-react-native", | ||
"react", | ||
"react-native", | ||
"react-native-gesture-handler", | ||
"react-native-reanimated", | ||
"react-native-safe-area-context", | ||
"react-native-svg", | ||
"react-native/Libraries/BatchedBridge/BatchedBridge", | ||
"react-native/Libraries/Image/resolveAssetSource", | ||
"react-native/Libraries/NativeComponent/NativeComponentRegistry", | ||
"react-native/Libraries/NativeComponent/ViewConfigIgnore", | ||
"react-native/Libraries/ReactNative/RendererProxy", | ||
"react-native/Libraries/Utilities/codegenNativeCommands", | ||
"react-native/Libraries/Utilities/codegenNativeComponent", | ||
"react/jsx-runtime", | ||
"util", | ||
], | ||
"size": 1275000, | ||
}, | ||
}, | ||
"ios": { | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_arrowdown.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_arrowup.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_close.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_tick.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_arrowdown.png": { | ||
"size": 0, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_arrowup.png": { | ||
"size": 0, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_close.png": { | ||
"size": 0, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_tick.png": { | ||
"size": 0, | ||
}, | ||
"bundle.js": { | ||
"externals": [ | ||
"@expo/vector-icons", | ||
"AssetRegistry", | ||
"expo", | ||
"expo-av", | ||
"expo-camera", | ||
"expo-constants", | ||
"expo-file-system", | ||
"expo-linear-gradient", | ||
"expo-modules-core", | ||
"lottie-react-native", | ||
"react", | ||
"react-native", | ||
"react-native-gesture-handler", | ||
"react-native-reanimated", | ||
"react-native-safe-area-context", | ||
"react-native-svg", | ||
"react-native/Libraries/Image/resolveAssetSource", | ||
"react-native/Libraries/NativeComponent/NativeComponentRegistry", | ||
"react-native/Libraries/NativeComponent/ViewConfigIgnore", | ||
"react-native/Libraries/ReactNative/RendererProxy", | ||
"react-native/Libraries/Utilities/codegenNativeCommands", | ||
"react-native/Libraries/Utilities/codegenNativeComponent", | ||
"react/jsx-runtime", | ||
"util", | ||
], | ||
"size": 1275000, | ||
}, | ||
}, | ||
"web": { | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_arrowdown.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_arrowup.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_close.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_dark_icons_tick.png": { | ||
"size": 15000, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_arrowdown.png": { | ||
"size": 0, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_arrowup.png": { | ||
"size": 0, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_close.png": { | ||
"size": 0, | ||
}, | ||
"assets/node_modules_reactnativedropdownpicker_src_themes_light_icons_tick.png": { | ||
"size": 0, | ||
}, | ||
"bundle.js": { | ||
"externals": [ | ||
"@expo/vector-icons", | ||
"AssetRegistry", | ||
"expo", | ||
"expo-av", | ||
"expo-camera", | ||
"expo-file-system", | ||
"expo-linear-gradient", | ||
"expo-modules-core", | ||
"lottie-react-native", | ||
"react", | ||
"react-dom", | ||
"react-native", | ||
"react-native-gesture-handler", | ||
"react-native-reanimated", | ||
"react-native-safe-area-context", | ||
"react-native-svg", | ||
"react-native-web", | ||
"react/jsx-runtime", | ||
"util", | ||
], | ||
"size": 2601000, | ||
}, | ||
}, | ||
}, | ||
"name": "@draftbit/ui", | ||
"peerDependencies": { | ||
"react-native-reanimated": "~3.16.1", | ||
}, | ||
"version": "52.0.5", | ||
} | ||
`; | ||
|
||
exports[`externalizes package-externals of dependencies 1`] = ` | ||
{ | ||
"files": { | ||
|
@@ -54,7 +227,7 @@ exports[`externalizes package-externals of dependencies 1`] = ` | |
"react-native-svg", | ||
"react/jsx-runtime", | ||
], | ||
"size": 699000, | ||
"size": 696000, | ||
}, | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ exports[`creates bundle for [email protected] 1`] = ` | |
"react-native", | ||
"react/jsx-runtime", | ||
], | ||
"size": 609000, | ||
"size": 612000, | ||
}, | ||
}, | ||
}, | ||
|
@@ -76,7 +76,7 @@ exports[`creates bundle for [email protected] 1`] = ` | |
"react", | ||
"react-native", | ||
], | ||
"size": 873000, | ||
"size": 876000, | ||
}, | ||
}, | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`creates bundle for react-native-webview 1`] = ` | ||
exports[`creates bundle for react-native-webview@13.7.0 1`] = ` | ||
{ | ||
"files": { | ||
"android": { | ||
|
@@ -53,3 +53,57 @@ exports[`creates bundle for react-native-webview 1`] = ` | |
"version": "13.7.0", | ||
} | ||
`; | ||
|
||
exports[`creates bundle for [email protected] 1`] = ` | ||
{ | ||
"files": { | ||
"android": { | ||
"bundle.js": { | ||
"externals": [ | ||
"react", | ||
"react-native", | ||
"react-native/Libraries/BatchedBridge/BatchedBridge", | ||
"react-native/Libraries/NativeComponent/NativeComponentRegistry", | ||
"react-native/Libraries/NativeComponent/ViewConfigIgnore", | ||
"react-native/Libraries/ReactNative/RendererProxy", | ||
"react-native/Libraries/Utilities/codegenNativeCommands", | ||
"react-native/Libraries/Utilities/codegenNativeComponent", | ||
"react/jsx-runtime", | ||
], | ||
"size": 21000, | ||
}, | ||
}, | ||
"ios": { | ||
"bundle.js": { | ||
"externals": [ | ||
"react", | ||
"react-native", | ||
"react-native/Libraries/NativeComponent/NativeComponentRegistry", | ||
"react-native/Libraries/NativeComponent/ViewConfigIgnore", | ||
"react-native/Libraries/ReactNative/RendererProxy", | ||
"react-native/Libraries/Utilities/codegenNativeCommands", | ||
"react-native/Libraries/Utilities/codegenNativeComponent", | ||
"react/jsx-runtime", | ||
], | ||
"size": 18000, | ||
}, | ||
}, | ||
"web": { | ||
"bundle.js": { | ||
"externals": [ | ||
"react", | ||
"react-native", | ||
"react/jsx-runtime", | ||
], | ||
"size": 0, | ||
}, | ||
}, | ||
}, | ||
"name": "react-native-webview", | ||
"peerDependencies": { | ||
"react": "*", | ||
"react-native": "*", | ||
}, | ||
"version": "13.12.5", | ||
} | ||
`; |
Oops, something went wrong.