Skip to content

Commit 06fbbb1

Browse files
authored
fix: remove unnecessary peer dependencies (#468)
1 parent 08072ae commit 06fbbb1

File tree

5 files changed

+3296
-3624
lines changed

5 files changed

+3296
-3624
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
# - rn/yarn_install
2626
# fails with Error untarring cache: Error extracting tarball /var/folders/bq/mjrgbpkx5h1g_b22fpv0tlzc0000gn/T/cache376822577 : tmp/yarn/: Cannot extract through symlink tmp/yarn tmp/yarn/v6/: Cannot extract through symlink tmp/yarn/v6 tmp/yarn/v6/.tmp/: Cannot extract through symlink tmp/yarn/v6/.tmp tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel/: Cannot extract through symlink tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel tmp/yarn/v6/npm-@babel-code-frame-7.8.3-33e25903d7481181534e12ec0a25f16b6fcf419e-integrity/node_modules/@babel/code-frame/: Cannot extract: exit status 1
2727
- run:
28-
command: yarn install --frozen-lockfile
28+
command: yarn install --frozen-lockfile --ignore-engines
2929
name: yarn install
3030
- run:
3131
command: yarn lint

example/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const App = () => {
112112
return (
113113
<SafeAreaView style={[backgroundStyle, {flex: 1}]}>
114114
<StatusBar barStyle="dark-content" />
115-
<ScrollView>
115+
<ScrollView testID="DateTimePickerScrollView">
116116
{global.HermesInternal != null && (
117117
<View style={styles.engine}>
118118
<Text testID="hermesIndicator" style={styles.footer}>

example/e2e/detoxTest.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ describe('Example', () => {
166166
});
167167

168168
it('setTz should change time text when setTzOffsetInMinutes is 60 minutes', async () => {
169+
await element(by.id('DateTimePickerScrollView')).scrollTo('bottom');
169170
await userOpensPickerSetTimeZoneOffset({
170171
mode: 'time',
171172
display: 'default',

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@
8383
"react-test-renderer": "16.11.0",
8484
"semantic-release": "^17.1.1"
8585
},
86-
"peerDependencies": {
87-
"react": ">=16.8.3",
88-
"react-native": ">=0.60",
89-
"react-native-windows": ">=0.62"
90-
},
9186
"dependencies": {
9287
"invariant": "^2.2.4"
9388
},

0 commit comments

Comments
 (0)