Skip to content

Commit

Permalink
Upgrade RN Storybook/addons from next(v6.0.1-alpha.7) to v6.0.1-beta.6
Browse files Browse the repository at this point in the history
Fix: #616

Some left on `@next` if Yarn unable to find v6.0.1-beta.6

Note RN Storybook
- v5.3: /stories, w static analysis (remove or refactor)
- v6: .storybook, w minimal config w/o stories

Note Jest setup mocks
- @storybook/addon-ondevice-notes/register parsing issue
- @storybook/addon-actions ES forEach proto parsing issue

StorybookUIRoot
- static analysis passing
- Jest snapshot passing w StorybookUIRoot and mocks
  • Loading branch information
leotm committed Jul 12, 2022
1 parent 53b736c commit 6b52057
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 40 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@
"@storybook/addon-knobs": "6.4.0",
"@storybook/addon-links": "6.5.9",
"@storybook/addon-notes": "next",
"@storybook/addon-ondevice-actions": "next",
"@storybook/addon-ondevice-backgrounds": "next",
"@storybook/addon-ondevice-controls": "next",
"@storybook/addon-ondevice-actions": "6.0.1-beta.6",
"@storybook/addon-ondevice-backgrounds": "6.0.1-beta.6",
"@storybook/addon-ondevice-controls": "6.0.1-beta.6",
"@storybook/addon-ondevice-knobs": "next",
"@storybook/addon-ondevice-notes": "next",
"@storybook/addon-ondevice-notes": "6.0.1-beta.6",
"@storybook/addons": "6.5.9",
"@storybook/eslint-config-storybook": "3.1.2",
"@storybook/linter-config": "3.1.2",
"@storybook/react-native": "next",
"@storybook/react-native": "6.0.1-beta.6",
"@storybook/react-native-server": "next",
"@swc/core": "1.2.212",
"@swc/wasm": "1.2.212",
Expand Down
71 changes: 36 additions & 35 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2816,9 +2816,9 @@ __metadata:
languageName: node
linkType: hard

"@storybook/addon-ondevice-actions@npm:next":
version: 6.0.1-alpha.7
resolution: "@storybook/addon-ondevice-actions@npm:6.0.1-alpha.7"
"@storybook/addon-ondevice-actions@npm:6.0.1-beta.6":
version: 6.0.1-beta.6
resolution: "@storybook/addon-ondevice-actions@npm:6.0.1-beta.6"
dependencies:
"@storybook/addons": ~6.3
"@storybook/core-events": ~6.3
Expand All @@ -2827,13 +2827,13 @@ __metadata:
"@storybook/addon-actions": ~6.3
react: "*"
react-native: "*"
checksum: 70d5cdadf6ead849aba01c6c3e9e15413c34c87285cbcf6ec5716982b7f1e5fbe0b670365a108144a00df0c71da786eaada95d674d33df3ba467245794dfecfa
checksum: 552adfd54e6ef95fdeea26654be11f77007841e7a3e43109013630aebb414a82d954e616218bad1d5a50908a1db7252841ce994c3670e82b6267fd70c121986a
languageName: node
linkType: hard

"@storybook/addon-ondevice-backgrounds@npm:next":
version: 6.0.1-alpha.7
resolution: "@storybook/addon-ondevice-backgrounds@npm:6.0.1-alpha.7"
"@storybook/addon-ondevice-backgrounds@npm:6.0.1-beta.6":
version: 6.0.1-beta.6
resolution: "@storybook/addon-ondevice-backgrounds@npm:6.0.1-beta.6"
dependencies:
"@storybook/addons": ~6.3
"@storybook/api": ~6.3
Expand All @@ -2843,13 +2843,13 @@ __metadata:
peerDependencies:
react: "*"
react-native: "*"
checksum: 2a96d800130397b555052949cec1d30ccb831a83d5cda8f97e1af00ccfc7da0261e117ab9121fdaaa5287cf0625b0b04b2411366dbb655396b41281ea999af92
checksum: aa5f37320191d2b686db758c83ab896e7f5f7823394f6080563d9661927f596f1a1ccce52c7eb7bfce0d4e11bf1d07e79929e70fc9da47835ab83d391929bf5a
languageName: node
linkType: hard

"@storybook/addon-ondevice-controls@npm:next":
version: 6.0.1-alpha.7
resolution: "@storybook/addon-ondevice-controls@npm:6.0.1-alpha.7"
"@storybook/addon-ondevice-controls@npm:6.0.1-beta.6":
version: 6.0.1-beta.6
resolution: "@storybook/addon-ondevice-controls@npm:6.0.1-beta.6"
dependencies:
"@emotion/native": ^10.0.14
"@storybook/addons": ~6.3
Expand All @@ -2858,16 +2858,16 @@ __metadata:
core-js: ^3.0.1
deep-equal: ^1.0.1
prop-types: ^15.7.2
react-native-modal-datetime-picker: ^10.1.0
react-native-modal-selector: ^2.0.2
react-native-modal-datetime-picker: ^13.0.1
react-native-modal-selector: ^2.1.0
tinycolor2: ^1.4.1
peerDependencies:
"@react-native-community/datetimepicker": "*"
"@react-native-community/slider": "*"
"@storybook/addon-controls": ~6.3
react: "*"
react-native: "*"
checksum: 5850c3d01730358b7fa78e96fc4ff56d5635c6ae6d0f4b1927706557b7108890f541d7bc62dc77b65dc3a34757bb33f119dc8c9e50a0fa51bdd1b3945c5e7cfd
checksum: 839d107869f374447b8f4af35d8229d537c72109c533ec65badc098d71562b9f6fe288ffdcce3ec0d0cbeafd309f3e7c83dfb5b09f3dde09e5d93061dec25f4d
languageName: node
linkType: hard

Expand All @@ -2893,9 +2893,9 @@ __metadata:
languageName: node
linkType: hard

"@storybook/addon-ondevice-notes@npm:next":
version: 6.0.1-alpha.7
resolution: "@storybook/addon-ondevice-notes@npm:6.0.1-alpha.7"
"@storybook/addon-ondevice-notes@npm:6.0.1-beta.6":
version: 6.0.1-beta.6
resolution: "@storybook/addon-ondevice-notes@npm:6.0.1-beta.6"
dependencies:
"@emotion/core": ^10.0.20
"@storybook/addons": ~6.3
Expand All @@ -2909,7 +2909,7 @@ __metadata:
peerDependencies:
react: "*"
react-native: "*"
checksum: 8a471ca788ae26912df924e3b84a4979b5c64ff7813ce4c0bb596917bb6d46f6ef822058ec07f5114b34ac6cb29391cdad5a0323c4a544cb0fa39a6b8b39aa22
checksum: 66dc368e5bf3517b187ad018d296e247ff3cfdd2ecd7724b6907a946490b8fb845aa411e7b21d0cd179f96311c373c7984d98194b17fe97c9a7a18e24cadb1e5
languageName: node
linkType: hard

Expand Down Expand Up @@ -3737,9 +3737,9 @@ __metadata:
languageName: node
linkType: hard

"@storybook/react-native@npm:next":
version: 6.0.1-alpha.7
resolution: "@storybook/react-native@npm:6.0.1-alpha.7"
"@storybook/react-native@npm:6.0.1-beta.6":
version: 6.0.1-beta.6
resolution: "@storybook/react-native@npm:6.0.1-beta.6"
dependencies:
"@emotion/core": ^10.0.20
"@emotion/native": ^10.0.14
Expand All @@ -3765,7 +3765,7 @@ __metadata:
bin:
sb-rn-get-stories: bin/get-stories.js
sb-rn-watcher: bin/watcher.js
checksum: 9f283f4a98c33e84708b9e8b04d12ed0ca93ad43d456e5f2a2c319560763ebdaaf412c73bfcbdae9d623c9236f2b8f1bac81ef4ade27f43452d6fca23226c0ba
checksum: 1328912781b8a683b02ee8731a7977462efd7c331b06020c1218da0812d870a1c02b14b97df880194d135edebc11f592e3bc3619e8d3b38654b42a93a23f7dad
languageName: node
linkType: hard

Expand Down Expand Up @@ -14879,15 +14879,15 @@ fsevents@^1.2.7:
"@storybook/addon-knobs": 6.4.0
"@storybook/addon-links": 6.5.9
"@storybook/addon-notes": next
"@storybook/addon-ondevice-actions": next
"@storybook/addon-ondevice-backgrounds": next
"@storybook/addon-ondevice-controls": next
"@storybook/addon-ondevice-actions": 6.0.1-beta.6
"@storybook/addon-ondevice-backgrounds": 6.0.1-beta.6
"@storybook/addon-ondevice-controls": 6.0.1-beta.6
"@storybook/addon-ondevice-knobs": next
"@storybook/addon-ondevice-notes": next
"@storybook/addon-ondevice-notes": 6.0.1-beta.6
"@storybook/addons": 6.5.9
"@storybook/eslint-config-storybook": 3.1.2
"@storybook/linter-config": 3.1.2
"@storybook/react-native": next
"@storybook/react-native": 6.0.1-beta.6
"@storybook/react-native-server": next
"@swc/core": 1.2.212
"@swc/wasm": 1.2.212
Expand Down Expand Up @@ -16915,14 +16915,15 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"react-native-modal-datetime-picker@npm:^10.1.0":
version: 10.2.0
resolution: "react-native-modal-datetime-picker@npm:10.2.0"
"react-native-modal-datetime-picker@npm:^13.0.1":
version: 13.1.2
resolution: "react-native-modal-datetime-picker@npm:13.1.2"
dependencies:
prop-types: ^15.7.2
peerDependencies:
"@react-native-community/datetimepicker": ">=3.0.0"
checksum: 2c073ab7c3f0d1597ed4876a7c4300968bb2b4f82abf8c046f3fd38f9bafa49ee2303dcef953ed59fd809a752bf03deefb06946f006eb24b64418e364d85ae35
react-native: ">=0.65.0"
checksum: 70a7875dbeb550f97aa26786262a434a5c88dfd048e642fa6e4a7e0b8411c8ff191463a5bb4a82bb18d603cc3b2ef60891bfcaa3144b9e0a40cd756bf662b4a1
languageName: node
linkType: hard

Expand All @@ -16945,12 +16946,12 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"react-native-modal-selector@npm:^2.0.2":
version: 2.0.3
resolution: "react-native-modal-selector@npm:2.0.3"
"react-native-modal-selector@npm:^2.1.0":
version: 2.1.1
resolution: "react-native-modal-selector@npm:2.1.1"
dependencies:
prop-types: ^15.5.10
checksum: 065476da330208a52be912df391b4fefce8692381f6444315ee95d23e607a9e4b4c6928a724b3eebc697a9a5a6a4e1c093b82859a82f1f712069237b9f383110
checksum: bba33dfe55c7aae05cf07ace5c759fa5932fc5a79c29235bd4abbb6e34ccc11baf5f82513a47cd4e77cd3d3f1126e3d2bf2833c7e867e024e11da49cfc75bc50
languageName: node
linkType: hard

Expand Down

0 comments on commit 6b52057

Please sign in to comment.