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

chore(deps): pin dependencies #16

Open
wants to merge 116 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
c4ba32d
ORM (#31)
bastienrobert Apr 2, 2020
017c47f
merge(feat/typo): #34
bastienrobert Apr 3, 2020
120f806
merge(feat/auth): #32
bastienrobert Apr 6, 2020
b0ff151
fix(shared): package version was missing
bastienrobert Apr 6, 2020
dc36134
chore(license)
bastienrobert Apr 6, 2020
0812fd5
merge(feat/game): #40
bastienrobert Apr 8, 2020
f5524e2
hotfix(mobile): app name in camelcase
bastienrobert Apr 8, 2020
1526eee
merge(feat/game): #42
bastienrobert Apr 9, 2020
d21c94f
merge(feat/ui-kit): #43
bastienrobert Apr 15, 2020
aca3aee
feat(mobile): introduction page with motion (#44)
bastienrobert Apr 27, 2020
7c0288f
Feat/qr code (#45)
bastienrobert Apr 27, 2020
919935f
hotfix(mobile): pass tests
bastienrobert Apr 27, 2020
21dcb7e
merge(develop)
bastienrobert Apr 27, 2020
205a053
hotfix(mobile): mock for permissions and cheat for video test
bastienrobert Apr 27, 2020
0f2e079
feat(mobile): link qr-code to onboarding
bastienrobert Apr 27, 2020
7a9a32e
feat(components): typo presets
bastienrobert Apr 28, 2020
e91045d
feat(mobile): pending room page and theme provider
bastienrobert Apr 28, 2020
429c7a1
fix(components): line height issue on h2 style
bastienrobert Apr 28, 2020
ec0479f
feat(mobile): onboarding style wip
bastienrobert Apr 29, 2020
f4c7553
feat(mobile): remove useless loogs
bastienrobert Apr 29, 2020
b4b77ea
Feat/content (#48)
bastienrobert Apr 30, 2020
23209c8
Merge branch 'develop' of https://github.com/bastienrobert/la-ferme i…
bastienrobert Apr 30, 2020
125f066
feat(mobile): shape walkthrough card and start animated
mharribey May 2, 2020
46ff6b2
feat(mobile): add backcards behind walkthrough
mharribey May 2, 2020
c820bc1
feat(mobile): refacto card
mharribey May 4, 2020
b78b665
feat(mobile): add navigation buttons
mharribey May 5, 2020
8debd9b
feat(mobile): edit colors on walkthrough navigation and card
mharribey May 5, 2020
16eee1a
merge(feat/report): #65
bastienrobert May 7, 2020
c920b37
fix(server): reports check and set order fixed
bastienrobert May 7, 2020
79cd5e4
Feat/rewards (#69)
bastienrobert May 22, 2020
b5e75ca
Feat/report all (#70)
bastienrobert May 22, 2020
7f7d666
feat(mobile):add style and link front to back
mharribey May 25, 2020
e6d753b
feat(front): add webp integration
bastienrobert May 25, 2020
a79d621
feat(mobile): add Audio component
bastienrobert May 25, 2020
12cf625
feat(mobile): lottie test
bastienrobert May 25, 2020
02a5e13
feat(mobile): add Audio lib component and ComplexWebp for improved We…
bastienrobert May 25, 2020
0b5d8ee
feat(mobile): setup samples on router to add page integration
bastienrobert May 27, 2020
24b7d3b
feat(mobile): setup transitions on game sample
bastienrobert May 27, 2020
4e67d32
feat(mobile): add layer on round transition
bastienrobert May 28, 2020
bd2b178
feat(mobile): add SlideToAnswer
bastienrobert May 30, 2020
18f35c1
feat(mobile): add PlayerWithColor
bastienrobert May 30, 2020
c9aa23c
feat(mobile): add templating function
bastienrobert Jun 1, 2020
ce55ce9
feat(mobile): add cards and some animation fix
bastienrobert Jun 1, 2020
25d98eb
feat(mobile): add elements to pending page and merge with develop
mharribey Jun 4, 2020
7e79159
feat(onboarding): add images on onboarding
bastienrobert Jun 4, 2020
6e582cc
chore(all): merge Feat/walktrough #71
bastienrobert Jun 4, 2020
95d477b
feat(mobile): improve performances and integrations
bastienrobert Jun 5, 2020
5da169c
chore(mobile): fastlane for CD on iOS
bastienrobert Jun 7, 2020
af289dc
fix(mobile): development profile signing
bastienrobert Jun 7, 2020
3fb7b94
fix(mobile): remove useless OpenGL test page
bastienrobert Jun 7, 2020
8a4dd8d
feat(mobile): init NFC manager
bastienrobert Jun 7, 2020
f1e3fe1
feat(mobile): clean QRCode and add NFC tag reader
bastienrobert Jun 7, 2020
d8f5989
feat(shared): error handling
bastienrobert Jun 7, 2020
6cca771
feat(mobile): add utils to handle errors following current locale
bastienrobert Jun 7, 2020
faf984a
fix(mobile): mock react-native-nfc-manager to pass tests
bastienrobert Jun 8, 2020
4a95356
feat(mobile): pending integration
bastienrobert Jun 8, 2020
ad3281a
feat(mobile): add assets and start game integration
bastienrobert Jun 8, 2020
d76cbb2
chore(all): prepare to deploy server on Heroku
bastienrobert Jun 8, 2020
f82ec2b
chore(all): fix heroku scripts
bastienrobert Jun 8, 2020
2d1640b
chore(all): merge with develop
bastienrobert Jun 8, 2020
39d9e36
chore(server): use port defined by Heroku at runtime
bastienrobert Jun 8, 2020
854d0b8
feat(website): init website
bastienrobert Jun 10, 2020
2bbf052
feat(website): add favicons
bastienrobert Jun 11, 2020
ab7e5a8
feat(components): better typescript typings and exports
bastienrobert Jun 11, 2020
29305e0
feat(mobile): error handling
bastienrobert Jun 11, 2020
ff29f4d
feat(mobile): replace useContext with ThemeProvider by useTheme hook
bastienrobert Jun 11, 2020
71dd66c
feat(mobile): darker alert popup and overlay
bastienrobert Jun 11, 2020
e25071c
feat(mobile): externalize Transition on round and setup for data set
bastienrobert Jun 12, 2020
276890c
feat(mobile): game integration
bastienrobert Jun 18, 2020
092f441
chore(merge): dev
bastienrobert Jun 18, 2020
26e820d
chore(merge): feat/samples #72
bastienrobert Jun 18, 2020
6e8635b
fix(website): gsap-bonus import
bastienrobert Jun 18, 2020
e4112eb
refactor(mobile): remove old navigator
bastienrobert Jun 18, 2020
c05fa7d
docs(all): improve README
bastienrobert Jun 18, 2020
aa6ef77
feat(mobile): all samples are now ready to be connected
bastienrobert Jun 22, 2020
cea51fb
feat(mobile): improve compatibility with Android
bastienrobert Jun 22, 2020
8a0b829
feat(mobile): Android compat NFC and alerts
bastienrobert Jun 23, 2020
ef7fb46
feat(mobile): game, notifications and skill
bastienrobert Jun 25, 2020
1febb1b
add footer slices + made anchors in header + responsive
mharribey Jun 26, 2020
6134b3e
feat(website): fix responsive in footer
mharribey Jun 26, 2020
65d54a1
feat(server): statistics computing
bastienrobert Jun 26, 2020
43bdab0
feat(mobile): add audio hook
bastienrobert Jun 26, 2020
2c4f9a9
fix(mobile): pass react-native-sound tests and clean useAudio
bastienrobert Jun 26, 2020
183235c
feat(mobile): add statistics screens with content
bastienrobert Jun 26, 2020
c16a16f
feat(mobile): add image on statistics and test hashtags
bastienrobert Jun 26, 2020
acd64bc
feat(mobile): add win/loose assets and minigames
bastienrobert Jun 27, 2020
822354d
feat(website): fix responsive issues according to review on PR
mharribey Jun 27, 2020
ecf76f5
refactor(shared): rename enums for better TS<->GraphQL exchanges
bastienrobert Jun 27, 2020
f0ff791
feat(all): mini games implementation
bastienrobert Jun 28, 2020
0d61180
chore(all): prepare server CD and fastlane update for xcode 11.5
bastienrobert Jun 28, 2020
3821cd7
feat(server): add skill lastTargeter query
bastienrobert Jun 28, 2020
5a2c2ab
feat(website): add links in footer
mharribey Jun 28, 2020
fbcb170
feat(all): QA #1
bastienrobert Jun 28, 2020
f0fcd9d
feat(mobile): add audio effects
bastienrobert Jun 28, 2020
818c064
fix(server): reset minigame
bastienrobert Jun 28, 2020
160b356
feat(all): QA and reset minigame on server
bastienrobert Jun 29, 2020
25a78d0
fix(website): responsiveness, menu scroll
bastienrobert Jun 29, 2020
b51a5f5
chore(all): Merge pull request #81 from bastienrobert/la-ferme/feat/W…
bastienrobert Jun 29, 2020
4fba839
fix(mobile): pass tests
bastienrobert Jun 29, 2020
8298f32
feat(website): add custom player
bastienrobert Jun 29, 2020
1fdaba1
merge(feat/website): #80
bastienrobert Jun 29, 2020
7a15c8f
chore(website): add production command for website from .
bastienrobert Jun 29, 2020
a85dac1
fix(website): fix build script
bastienrobert Jun 29, 2020
4119ce9
chore(server): debug minigame
bastienrobert Jun 29, 2020
1071d0a
fix(all): server minigame and mobile malus gamecard animation
bastienrobert Jun 29, 2020
e874b16
fix(server): prevent mini games if MiniGamePlayers are not created
bastienrobert Jun 29, 2020
46ad127
feat(server): add env var to debug minigame
bastienrobert Jun 29, 2020
73b3fba
fix(server): remove env var and set each avg round val
bastienrobert Jun 29, 2020
d3323f8
fix(all): minigames issues and layout
bastienrobert Jun 29, 2020
6223440
chore(mobile): build and fix build command
bastienrobert Jun 30, 2020
efe4453
fix(website): text align left on footer titles
bastienrobert Jun 30, 2020
8511ff2
fix(server): minigame save score fallback
bastienrobert Jun 30, 2020
e3e00c9
fix(mobile): QA
bastienrobert Jun 30, 2020
0fe9c3a
fix(settings): change minigames avg round to smaller number
bastienrobert Jun 30, 2020
841ea84
fix(website): footer links for credits
bastienrobert Jun 30, 2020
5563c63
chore(deps): pin dependencies
renovate-bot May 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: 12.x
- name: Install
run: yarn
- name: Compile components
run: yarn build:components
- name: Setup tests
run: yarn test:setup
- name: Test
run: yarn test
4 changes: 4 additions & 0 deletions .slugignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.mp3
*.mp4
*.png
*.webp
23 changes: 18 additions & 5 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
Copyright © 2020, Bastien Robert and Mathieu Harribet
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
MIT License

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Copyright (c) 2020 Bastien Robert - Mathieu Harribey

The Software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders X be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the Software.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

Except as contained in this notice, the name of Bastien Robert and Mathieu Harribey shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from Bastien Robert and Mathieu Harribey.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: yarn server
35 changes: 25 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
# La Ferme
<h1 align="center">🐣 La Ferme</h1>

La Ferme is a mobile-app board game to denounce issues of everyday life.
<h4 align="center">Mobile-app game</h4>

## Install
<blockquote align="center">
<em>La Ferme is a mobile-app board game to denounce issues of everyday life.</em>
</blockquote>

<p align="center">
<a aria-label="maintainability" href="https://codeclimate.com/github/bastienrobert/la-ferme/maintainability">
<img alt="" src="https://api.codeclimate.com/v1/badges/d7e8617f37bcdd523191/maintainability">
</a>
<a aria-label="tests" href="https://github.com/bastienrobert/la-ferme/actions">
<img alt="" src="https://github.com/bastienrobert/la-ferme/workflows/test/badge.svg">
</a>
</p>

## 🐤 Install

Check **README.md** in both packages:

- [mobile](packages/mobile/README.md)
- [server](packages/server/README.md)
- [components](packages/components/README.md)

## Getting started
## 🐔 Getting started

You can use the `yarn dev` command in the root folder to start everything in the same time.

### Mobile
### 📱 Mobile

Use **yarn** as package manager. Then:

Expand All @@ -28,15 +43,15 @@ yarn dev

Or use your device as debugger using the **xcworkspace**

### Server
### 🚀 Server

```
yarn server
```

Server and iOS simulator should open.

## Managing dependencies
## 📦 Managing dependencies

To manage dependencies, please use the following command:

Expand All @@ -46,10 +61,10 @@ yarn lerna add YOUR_DEPENDENCY --scope=@la-ferme/TARGET

You should add dependency one by one until [this issue](https://github.com/lerna/lerna/issues/2004) has been reseolved.

Or you can add your packages using the `yarn add` command in the targetted package dir, but you should run `lerna clean`, `rm -rf node_modules` and `yarn` at root.
Or you can add your packages using the `yarn add` command in the targeted package dir, but you should run `lerna clean`, `rm -rf node_modules` and `yarn` at root.

## Workspaces
## 🏢 Workspaces

This repo is using Yarn Workspaces. Please see more [here](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md#how-can-i-use-autolinking-in-a-monorepo) about autolinking a monorepo with yarn workspaces.

To fix simlinks we used this solution [on facebook metro #1 issue](https://github.com/facebook/metro/issues/1#issuecomment-527863738).
To fix simlinks we use this solution [on facebook metro #1 issue](https://github.com/facebook/metro/issues/1#issuecomment-527863738).
94 changes: 94 additions & 0 deletions build/config.gypi
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Do not edit. File was generated by node-gyp's "configure" step
{
"target_defaults": {
"cflags": [],
"default_configuration": "Release",
"defines": [],
"include_dirs": [],
"libraries": []
},
"variables": {
"asan": 0,
"build_v8_with_gn": "false",
"coverage": "false",
"dcheck_always_on": 0,
"debug_nghttp2": "false",
"debug_node": "false",
"enable_lto": "false",
"enable_pgo_generate": "false",
"enable_pgo_use": "false",
"force_dynamic_crt": 0,
"host_arch": "x64",
"icu_data_in": "../../deps/icu-small/source/data/in/icudt67l.dat",
"icu_default_data": "",
"icu_endianness": "l",
"icu_gyp_path": "tools/icu/icu-generic.gyp",
"icu_locales": "en,root",
"icu_path": "deps/icu-small",
"icu_small": "true",
"icu_ver_major": "67",
"is_debug": 0,
"llvm_version": "0.0",
"napi_build_version": "6",
"node_byteorder": "little",
"node_debug_lib": "false",
"node_enable_d8": "false",
"node_install_npm": "true",
"node_module_version": 72,
"node_no_browser_globals": "false",
"node_prefix": "/",
"node_release_urlbase": "https://nodejs.org/download/release/",
"node_shared": "false",
"node_shared_brotli": "false",
"node_shared_cares": "false",
"node_shared_http_parser": "false",
"node_shared_libuv": "false",
"node_shared_nghttp2": "false",
"node_shared_openssl": "false",
"node_shared_zlib": "false",
"node_tag": "",
"node_target_type": "executable",
"node_use_bundled_v8": "true",
"node_use_dtrace": "true",
"node_use_etw": "false",
"node_use_node_code_cache": "true",
"node_use_node_snapshot": "true",
"node_use_openssl": "true",
"node_use_v8_platform": "true",
"node_with_ltcg": "false",
"node_without_node_options": "false",
"openssl_fips": "",
"openssl_is_fips": "false",
"shlib_suffix": "72.dylib",
"target_arch": "x64",
"v8_enable_gdbjit": 0,
"v8_enable_i18n_support": 1,
"v8_enable_inspector": 1,
"v8_no_strict_aliasing": 1,
"v8_optimized_debug": 1,
"v8_promise_internal_field_count": 1,
"v8_random_seed": 0,
"v8_trace_maps": 0,
"v8_use_siphash": 1,
"v8_use_snapshot": 1,
"want_separate_host_toolset": 0,
"xcode_version": "11.0",
"nodedir": "/Users/bastien/Library/Caches/node-gyp/12.18.0",
"standalone_static_library": 1,
"version_git_tag": "true",
"init_license": "MIT",
"registry": "https://registry.yarnpkg.com",
"version_commit_hooks": "true",
"bin_links": "true",
"wrap_output": "",
"save_prefix": "^",
"strict_ssl": "true",
"version_git_message": "v%s",
"ignore_scripts": "",
"user_agent": "yarn/1.22.4 npm/? node/v12.18.0 darwin x64",
"version_git_sign": "",
"init_version": "1.0.0",
"ignore_optional": "",
"version_tag_prefix": "v"
}
}
Binary file added gsap-bonus.tgz
Binary file not shown.
62 changes: 33 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,46 +10,50 @@
"scripts": {
"bootstrap": "lerna bootstrap",
"postinstall": "yarn bootstrap",
"heroku-postbuild": "yarn build:server",
"build": "run-p build:**",
"build:components": "yarn --cwd packages/components build",
"build:website": "yarn --cwd packages/website build",
"build:server": "yarn --cwd packages/server build",
"components": "yarn --cwd packages/components dev",
"dev": "run-p dev:**",
"dev:components": "yarn --cwd packages/components dev:compile",
"dev:mobile": "yarn --cwd packages/mobile dev",
"dev:server": "yarn --cwd packages/server dev",
"server": "yarn --cwd sources/server start",
"server": "yarn --cwd packages/server start",
"lint": "lerna run lint",
"test:setup": "lerna run test:setup",
"test": "lerna run test"
},
"dependencies": {
"@react-native-community/eslint-config": "^1.0.0",
"@types/jest": "^25.1.4",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard-react": "^9.2.0",
"eslint-loader": "^3.0.3",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^2.5.0",
"eslint-plugin-standard": "^4.0.1",
"jest": "^25.1.0",
"lerna": "^3.20.2",
"lodash.merge": "^4.6.2",
"npm-run-all": "^4.1.5",
"stylelint": "^13.2.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"typescript": "^3.7.3"
"@react-native-community/eslint-config": "1.0.0",
"@types/jest": "25.1.4",
"@typescript-eslint/eslint-plugin": "2.25.0",
"@typescript-eslint/parser": "2.25.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.1",
"eslint-config-standard": "14.1.1",
"eslint-config-standard-react": "9.2.0",
"eslint-loader": "3.0.3",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "2.5.1",
"eslint-plugin-standard": "4.0.1",
"jest": "25.2.3",
"lerna": "3.20.2",
"lodash.merge": "4.6.2",
"npm-run-all": "4.1.5",
"stylelint": "13.2.1",
"stylelint-config-prettier": "8.0.1",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"typescript": "3.8.3"
},
"authors": [
"Bastien Robert <[email protected]> (https://bastienrobert.fr)",
Expand Down
1 change: 1 addition & 0 deletions packages/components/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/assets/**
11 changes: 11 additions & 0 deletions packages/components/.storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
import React from 'react'
import ReactDOM from 'react-dom'

import { configure, addParameters, addDecorator } from '@storybook/react'
import { withInfo } from '@storybook/addon-info'
import { withKnobs } from '@storybook/addon-knobs'
import { withSmartKnobs } from 'storybook-addon-smart-knobs'

import GlobalStyle from '../styles/GlobalStyle'

const req = require.context('../src', true, /\.story\.tsx$/)
function loadStories() {
req.keys().forEach(req)
const globalStyleEl = (() => {
const el = document.createElement('div')
document.head.append(el)
return el
})()
ReactDOM.render(<GlobalStyle />, globalStyleEl)
}

addDecorator(withKnobs)
Expand Down
Binary file not shown.
Loading