Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo 50 #84

Merged
merged 3 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
5 changes: 2 additions & 3 deletions data/questions/en/monkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,16 +344,15 @@ export default [
{
id: 109,
category: Categories.CONTINUATION,
question:
"I am on offense. I call 'foul' on the throw. It is not contested, however my pass is caught. What happens?",
question: "I am on offense. I call 'foul' on the throw. It is accepted, however my pass is caught. What happens?",
image: undefined,
answerChoices: {
a: "The game continues if the thrower calls 'play on'",
b: "The game continues even if the thrower does not call 'play on' and the defense has stopped",
c: 'Play stops, possession of the disc is returned to the thrower and play resumes at (1) with a check',
d: 'Play stops, possession remains with the receiver and play resumes at (1) with a check',
},
correctAnswers: ['a'],
correctAnswers: ['a', 'c'],
explanation: undefined,
rules: ['16.2.4.', '16.2.4.1.', '16.2.4.2.', '16.2.4.2.1.'],
source: 'Monkeys - Pierre Gruau',
Expand Down
4 changes: 2 additions & 2 deletions data/questions/fr/monkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,15 +342,15 @@ export default [
{
category: Categories.CONTINUATION,
question:
'Je suis en attaque. J’appelle « faute » au moment du lancer. Elle n’est pas contestée, néanmoins ma passe est réceptionnée. Que se passe t-il?',
'Je suis en attaque. J’appelle « faute » au moment du lancer. Mon défeseur accepte, néanmoins ma passe est réceptionnée. Que se passe t-il ?',
image: undefined,
answerChoices: {
a: 'Le jeu continue si le lanceur appelle « play on »',
b: "Le jeu continue même si le lanceur n'appelle pas « play on » et que la défense s'est arrêtée",
c: "Le jeu s'arrête, la possession du disque revient au lanceur et le jeu reprend à (1) par un check",
d: "Le jeu s'arrête, la possession reste au receveur et le jeu reprend à (1) par un check",
},
correctAnswers: ['a'],
correctAnswers: ['a', 'c'],
explanation: `La réponse se trouve dans:
-rules of Ultimate, paragraphe 16.2.4
-official annotations 16.6`,
Expand Down
13 changes: 0 additions & 13 deletions metro.config.js

This file was deleted.

46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,42 @@
"test-ci": "jest --ci --coverage=true --reporters=default --reporters=jest-junit",
"extractor-rules": "node scripts/rulesExtractor.js",
"extractor-annotations": "node scripts/annotationsExtractor.js",
"prepare": "husky install"
"prepare": "husky"
},
"dependencies": {
"@react-native-async-storage/async-storage": "1.18.2",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.17",
"expo": "^49.0.21",
"expo-clipboard": "~4.3.1",
"expo-localization": "~14.3.0",
"expo-mail-composer": "~12.3.0",
"expo-splash-screen": "~0.20.5",
"expo-status-bar": "~1.6.0",
"expo-updates": "~0.18.17",
"@react-native-async-storage/async-storage": "1.21.0",
"@react-navigation/native": "^6.1.12",
"@react-navigation/native-stack": "^6.9.20",
"expo": "^50.0.0",
"expo-clipboard": "~5.0.1",
"expo-localization": "~14.8.3",
"expo-mail-composer": "~12.7.1",
"expo-splash-screen": "~0.26.4",
"expo-status-bar": "~1.11.1",
"expo-updates": "~0.24.11",
"highlight-words-core": "^1.2.2",
"i18n-js": "^4.3.2",
"i18n-js": "^4.4.3",
"pdf.js-extract": "^0.2.1",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native-elements": "^3.4.2",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native": "0.73.4",
"react-native-elements": "^3.4.3",
"react-native-safe-area-context": "4.8.2",
"react-native-screens": "~3.29.0",
"react-native-toast-message": "^2.1.7"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@testing-library/react-native": "^12.4.1",
"eslint": "^8.55.0",
"@babel/core": "^7.23.9",
"@testing-library/react-native": "^12.4.3",
"eslint": "^8.57.0",
"eslint-config-universe": "^12.0.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.1.0",
"husky": "^8.0.2",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-expo": "^49.0.0",
"jest-expo": "~50.0.2",
"jest-junit": "^16.0.0",
"lint-staged": ">=15.1.0",
"prettier": "^3.1.0"
"lint-staged": ">=15.2.2",
"prettier": "^3.2.5"
},
"private": true,
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ The deployment of Timeout Ultimate on the stores is partly funded by Paris Unive
}
>
2021 -
2023
2024
</Text>
<Text
style={
Expand Down
7 changes: 0 additions & 7 deletions src/screens/__tests__/__snapshots__/QuizzScreen.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -946,13 +946,6 @@ exports[`<QuizzScreen /> renders correctly 2`] = `
</View>
</View>
</View>
<Modal
animationType="slide"
hardwareAccelerated={false}
onRequestClose={[Function]}
transparent={true}
visible={false}
/>
<View
style={
[
Expand Down
9 changes: 1 addition & 8 deletions src/screens/__tests__/__snapshots__/RulesScreen.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ exports[`<RulesScreen /> renders correctly 1`] = `
onScrollEndDrag={[Function]}
removeClippedSubviews={false}
renderItem={[Function]}
scrollEventThrottle={50}
scrollEventThrottle={0.0001}
stickyHeaderIndices={[]}
viewabilityConfigCallbackPairs={[]}
>
Expand Down Expand Up @@ -660,12 +660,5 @@ exports[`<RulesScreen /> renders correctly 1`] = `
/>
</View>
</RCTScrollView>
<Modal
animationType="slide"
hardwareAccelerated={false}
onRequestClose={[Function]}
transparent={true}
visible={false}
/>
</View>
`;
Loading
Loading