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

Update typescript-eslint monorepo to v5 (major) #237

Open
wants to merge 409 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
409 commits
Select commit Hold shift + click to select a range
fb78d0c
Update dependency @types/react-dom to v16.9.9
renovate-bot Oct 28, 2020
7c8a51a
Merge pull request #363 from chips-blockchain/renovate/howler-2.x
piggydoughnut Oct 28, 2020
97282fc
Merge pull request #359 from chips-blockchain/renovate/sentry-monorepo
piggydoughnut Oct 28, 2020
0f8e23a
Merge pull request #362 from chips-blockchain/renovate/electron-10.x
piggydoughnut Oct 28, 2020
2b06fdc
Merge pull request #360 from chips-blockchain/renovate/ts-jest-26.x
piggydoughnut Oct 28, 2020
bb92dc3
Merge pull request #366 from chips-blockchain/renovate/react-dom-16.x
piggydoughnut Oct 28, 2020
ea08cae
Update dependency eslint-config-prettier to v6.15.0
renovate-bot Oct 28, 2020
e3e3aba
game tutorial outline
piggydoughnut Oct 28, 2020
07080d5
Merge branch 'dev' of github.com:chips-blockchain/pangea-poker into dev
piggydoughnut Oct 28, 2020
da19a3e
corrected image path
piggydoughnut Oct 28, 2020
da47269
swapped steps around
piggydoughnut Oct 28, 2020
183b084
Update dependency @types/jsdom to v16.2.5
renovate-bot Oct 28, 2020
f43b063
Update dependency @types/enzyme to v3.10.8
renovate-bot Oct 28, 2020
fc244e1
Update dependency @types/react to v16.9.55
renovate-bot Oct 28, 2020
e9baed4
updated tutorial
piggydoughnut Oct 29, 2020
fb7e222
removed unused debug env vars
piggydoughnut Oct 29, 2020
a89cdc8
updated caniuse-lite
piggydoughnut Oct 29, 2020
ad9a15c
added link to the gui
piggydoughnut Oct 29, 2020
483a778
Update Tutorial.md
piggydoughnut Oct 29, 2020
7fce242
Merge branch 'dev' of github.com:chips-blockchain/pangea-poker into dev
piggydoughnut Oct 29, 2020
fdfe861
added player screens
piggydoughnut Oct 29, 2020
b280119
Update Tutorial.md
piggydoughnut Oct 29, 2020
7459fc2
Update dependency @sentry/browser to v5.27.2
renovate-bot Oct 29, 2020
4fdd9d3
Merge pull request #371 from chips-blockchain/renovate/jsdom-16.x
piggydoughnut Oct 30, 2020
2727279
Merge pull request #373 from chips-blockchain/renovate/react-16.x
piggydoughnut Oct 30, 2020
71ccfc1
Merge pull request #372 from chips-blockchain/renovate/enzyme-3.x
piggydoughnut Oct 30, 2020
4a13e3d
Merge pull request #374 from chips-blockchain/renovate/sentry-monorepo
piggydoughnut Oct 30, 2020
af41471
Merge pull request #365 from chips-blockchain/renovate/eslint-config-…
piggydoughnut Oct 30, 2020
3fb54f6
disable the cashier button until we get balance from the backend
piggydoughnut Oct 22, 2020
d216303
moved the tooltip style to the component it is being used by
piggydoughnut Oct 23, 2020
cb386ae
added latestTransactionId to the state
piggydoughnut Oct 23, 2020
6e06e02
the tooltip was moved
piggydoughnut Oct 23, 2020
8d6d55d
withdraw action
piggydoughnut Oct 23, 2020
aa7b6c8
moved the copy-element to a separate component, added a component for…
piggydoughnut Oct 23, 2020
6c73b23
tests
piggydoughnut Oct 23, 2020
d100ce2
lint
piggydoughnut Oct 28, 2020
ced64ee
arranged the Controls
piggydoughnut Oct 30, 2020
1e9344e
removed default values for IPs
piggydoughnut Oct 30, 2020
27f8035
changed max button alignment, updating fee difference
piggydoughnut Oct 30, 2020
f30fda9
moved initial walletInfo request
piggydoughnut Oct 30, 2020
5d31fbe
Merge branch '235_cashier_withdrawal' of github.com:chips-blockchain/…
piggydoughnut Oct 30, 2020
dbaf173
removed console logging
piggydoughnut Oct 30, 2020
1153af3
Merge pull request #369 from chips-blockchain/235_cashier_withdrawal
piggydoughnut Oct 30, 2020
158a325
Update dependency rc-slider to v9.6.1
renovate-bot Oct 31, 2020
464f76f
Update emotion monorepo
renovate-bot Nov 2, 2020
6236a28
Merge pull request #377 from chips-blockchain/renovate/emotion-monorepo
piggydoughnut Nov 3, 2020
a783c56
Merge pull request #375 from chips-blockchain/renovate/rc-slider-9.x
piggydoughnut Nov 3, 2020
debdf68
Update dependency @types/babel__core to v7.1.12
renovate-bot Nov 3, 2020
904e948
Update dependency @babel/preset-react to v7.12.5
renovate-bot Nov 3, 2020
1302dec
Merge pull request #376 from chips-blockchain/renovate/babel__core-7.x
piggydoughnut Nov 3, 2020
6942c85
Merge pull request #378 from chips-blockchain/renovate/babel-monorepo
piggydoughnut Nov 3, 2020
7853782
Update dependency eslint-config-airbnb to v18.2.1
renovate-bot Nov 6, 2020
eef847f
Update dependency ts-jest to v26.4.4
renovate-bot Nov 8, 2020
8c2e8dc
added a Dockerfile
piggydoughnut Nov 9, 2020
9b30957
Merge branch 'dev' of github.com:chips-blockchain/pangea-poker into dev
piggydoughnut Nov 9, 2020
90713ac
Update dependency @emotion/babel-preset-css-prop to v10.2.1
renovate-bot Nov 10, 2020
023e08b
Update dependency eslint-plugin-html to v6.1.1
renovate-bot Nov 11, 2020
c039fc9
Update dependency @types/react-dom to v16.9.10
renovate-bot Nov 20, 2020
7683fa7
Update dependency @types/react-test-renderer to v16.9.4
renovate-bot Nov 20, 2020
0dc57bc
Update dependency react-modal to v3.12.1
renovate-bot Nov 23, 2020
5ff2487
Update dependency @sentry/browser to v5.27.6
renovate-bot Nov 23, 2020
aea43c8
Update dependency @types/react to v16.14.2
renovate-bot Nov 23, 2020
812211a
Merge pull request #379 from chips-blockchain/renovate/sentry-monorepo
piggydoughnut Nov 26, 2020
8d8331f
Merge pull request #381 from chips-blockchain/renovate/eslint-config-…
piggydoughnut Nov 26, 2020
cf2d21d
Merge pull request #382 from chips-blockchain/renovate/emotion-monorepo
piggydoughnut Nov 26, 2020
ce5c0ef
Bump ini from 1.3.5 to 1.3.7
dependabot[bot] Dec 11, 2020
03b867b
Update babel monorepo
renovate-bot Dec 16, 2020
6336e17
Update dependency eslint-plugin-prettier to v3.3.1
renovate-bot Jan 4, 2021
be82ac2
Update dependency @types/jest to v26.0.20
renovate-bot Jan 7, 2021
631c2e8
Update dependency @sentry/browser to v5.30.0
renovate-bot Jan 13, 2021
8378ec7
Update dependency react-tooltip to v4.2.13
renovate-bot Jan 15, 2021
4f2c6e3
Merge pull request #380 from chips-blockchain/renovate/react-16.x
piggydoughnut Jan 24, 2021
b1e14b4
Merge pull request #383 from chips-blockchain/renovate/ts-jest-26.x
piggydoughnut Jan 24, 2021
3648722
Merge pull request #385 from chips-blockchain/renovate/babel-monorepo
piggydoughnut Jan 24, 2021
9feaf4f
Merge pull request #387 from chips-blockchain/renovate/eslint-plugin-…
piggydoughnut Jan 24, 2021
a62280b
Merge pull request #390 from chips-blockchain/renovate/react-test-ren…
piggydoughnut Jan 24, 2021
fbcfc92
Merge pull request #391 from chips-blockchain/renovate/react-tooltip-4.x
piggydoughnut Jan 24, 2021
46b6a93
Merge pull request #392 from chips-blockchain/renovate/react-modal-3.x
piggydoughnut Jan 24, 2021
45df590
Update dependency @types/parcel-bundler to v1.12.3
renovate-bot Jan 24, 2021
0e6a749
Merge pull request #393 from chips-blockchain/renovate/sentry-monorepo
piggydoughnut Jan 24, 2021
8d43eaa
Merge pull request #394 from chips-blockchain/renovate/jest-26.x
piggydoughnut Jan 24, 2021
735514b
Update dependency enzyme-adapter-react-16 to v1.15.6
renovate-bot Jan 24, 2021
bd61259
Merge pull request #395 from chips-blockchain/renovate/eslint-plugin-…
piggydoughnut Jan 24, 2021
01cd0fa
Merge branch 'dev' into renovate/react-dom-16.x
piggydoughnut Jan 24, 2021
b5ccc86
Update dependency husky to v4.3.8
renovate-bot Jan 24, 2021
b4d070b
Update dependency react-context-devtool to v2.0.3
renovate-bot Jan 24, 2021
245762a
Merge pull request #396 from chips-blockchain/dependabot/npm_and_yarn…
piggydoughnut Jan 24, 2021
f09ad2e
Merge pull request #399 from chips-blockchain/renovate/parcel-bundler…
piggydoughnut Jan 24, 2021
576721d
Update dependency eslint-plugin-react to v7.22.0
renovate-bot Jan 25, 2021
86fe5c3
Bump electron from 10.1.5 to 10.2.0
dependabot[bot] Jan 28, 2021
aa0c2e4
Update dependency @types/react-modal to v3.12.0
renovate-bot Feb 4, 2021
27c8e1d
Update dependency react-tabs to v3.2.0
renovate-bot Feb 6, 2021
2dd9014
removed sentry as not used
piggydoughnut Feb 8, 2021
2c726c2
Merge branch 'dev' of github.com:chips-blockchain/pangea-poker into dev
piggydoughnut Feb 8, 2021
6b1a5b0
Update dependency ts-jest to v26.5.1
renovate-bot Feb 9, 2021
c84f8fd
Merge pull request #410 from chips-blockchain/renovate/react-modal-3.x
piggydoughnut Feb 12, 2021
4710b09
Update dependency babel-plugin-emotion to v10.2.2
renovate-bot Feb 12, 2021
6175758
Merge pull request #405 from chips-blockchain/dependabot/npm_and_yarn…
piggydoughnut Feb 16, 2021
ac80a41
Merge pull request #414 from chips-blockchain/renovate/emotion-monorepo
piggydoughnut Feb 16, 2021
6d3aa81
Merge pull request #407 from chips-blockchain/renovate/ts-jest-26.x
piggydoughnut Feb 16, 2021
8843973
Merge pull request #404 from chips-blockchain/renovate/react-tabs-3.x
piggydoughnut Feb 16, 2021
561c8dc
Merge pull request #402 from chips-blockchain/renovate/husky-4.x
piggydoughnut Feb 16, 2021
306e727
Merge pull request #401 from chips-blockchain/renovate/eslint-plugin-…
piggydoughnut Feb 16, 2021
8f4ef27
Update dependency @types/react-test-renderer to v16.9.5
renovate-bot Feb 16, 2021
e2b353e
Merge pull request #389 from chips-blockchain/renovate/react-dom-16.x
piggydoughnut Feb 16, 2021
7d1bed8
Merge pull request #403 from chips-blockchain/renovate/react-context-…
piggydoughnut Feb 16, 2021
6bbb9e2
Merge pull request #400 from chips-blockchain/renovate/enzyme-adapter…
piggydoughnut Feb 16, 2021
c5fc983
Update dependency typescript to v3.9.9
renovate-bot Feb 16, 2021
ec51913
added a new component for copying text
piggydoughnut Feb 16, 2021
b53be69
added new copy component to the withdrawal result component
piggydoughnut Feb 16, 2021
88e6a32
lint
piggydoughnut Feb 16, 2021
46fe2ed
Update dependency react-tooltip to v4.2.14
renovate-bot Feb 16, 2021
422cec4
test adjustments
piggydoughnut Feb 18, 2021
d5a999a
separated a general component to its own place
piggydoughnut Feb 18, 2021
3a56ece
forgotten export file
piggydoughnut Feb 18, 2021
d813b70
simplified a selector
piggydoughnut Feb 18, 2021
ef53ad1
adjusted test
piggydoughnut Feb 18, 2021
bdb4c3e
extra style file removed
piggydoughnut Feb 18, 2021
8f4ab69
attachment to prev commit
piggydoughnut Feb 18, 2021
4fa5660
default state values
piggydoughnut Feb 18, 2021
4735f32
added 3 step process for withdrawal, created extra components to brea…
piggydoughnut Feb 23, 2021
9853e1b
lint
piggydoughnut Feb 23, 2021
ab4280f
fixed issues with numeric input
piggydoughnut Feb 23, 2021
01b5660
adjusted tests
piggydoughnut Feb 23, 2021
d9743fb
Merge pull request #419 from chips-blockchain/cashier_refactor
piggydoughnut Feb 23, 2021
0b6902f
Merge pull request #417 from chips-blockchain/renovate/react-tooltip-4.x
piggydoughnut Feb 23, 2021
e565200
Merge pull request #415 from chips-blockchain/renovate/react-test-ren…
piggydoughnut Feb 23, 2021
4d219c2
lint fix
piggydoughnut Feb 23, 2021
700d316
Update dependency ts-jest to v26.5.2
renovate-bot Feb 23, 2021
fb42363
styles for the confirmation step
piggydoughnut Feb 25, 2021
a33f4b6
grid style for withdrawal result
piggydoughnut Feb 25, 2021
a96fb69
adjustments in style on cashier
piggydoughnut Feb 25, 2021
72e7e1e
style adjustments for the tx result screen
piggydoughnut Feb 25, 2021
0f85fd8
Update dependency react-tooltip to v4.2.15
renovate-bot Feb 26, 2021
4dd23f2
Update dependency @types/react-dom to v16.9.11
renovate-bot Feb 28, 2021
43b9620
Update dependency electron-builder to v22.10.5
renovate-bot Mar 1, 2021
0626b88
lint
piggydoughnut Mar 4, 2021
a518317
Merge pull request #423 from chips-blockchain/renovate/react-tooltip-4.x
piggydoughnut Mar 4, 2021
c46fa2f
Merge pull request #424 from chips-blockchain/renovate/react-dom-16.x
piggydoughnut Mar 4, 2021
7c5acbd
Merge pull request #425 from chips-blockchain/renovate/electron-build…
piggydoughnut Mar 4, 2021
dd0b68c
Merge pull request #421 from chips-blockchain/renovate/ts-jest-26.x
piggydoughnut Mar 4, 2021
435b2f0
Merge pull request #418 from chips-blockchain/renovate/typescript-3.x
piggydoughnut Mar 4, 2021
1eaeedc
Merge pull request #422 from chips-blockchain/384_confirmation_on_wit…
piggydoughnut Mar 4, 2021
4cb11fd
Update dependency @types/react to v16.14.5
renovate-bot Mar 7, 2021
06af9d1
Update dependency @types/react-test-renderer to v17
renovate-bot Mar 8, 2021
238b130
Update dependency electron-is-dev to v2
renovate-bot Mar 8, 2021
712e75d
Bump elliptic from 6.5.3 to 6.5.4
dependabot[bot] Mar 9, 2021
b30c538
Merge pull request #439 from chips-blockchain/dependabot/npm_and_yarn…
piggydoughnut Mar 15, 2021
0452114
sit out option controls style added
piggydoughnut Mar 16, 2021
11e911f
removed code that was blocking the game
piggydoughnut Mar 16, 2021
1629b34
Merge branch 'dev' of github.com:chips-blockchain/pangea-poker into dev
piggydoughnut Mar 16, 2021
9cc0489
disabled unfinished changes
piggydoughnut Mar 16, 2021
1ca0358
lint
piggydoughnut Mar 16, 2021
96d8302
finalInfo linted
piggydoughnut Mar 16, 2021
ba72215
final Info was moved to a file of its own, sitout message has been in…
piggydoughnut Mar 16, 2021
a61c877
missing new state var
piggydoughnut Mar 16, 2021
31a0c0f
Merge pull request #443 from chips-blockchain/429_sitout
piggydoughnut Mar 16, 2021
7a7f95c
walletInfo is sent at the first seats message and only if there is no…
piggydoughnut Mar 16, 2021
dc93962
Merge pull request #444 from chips-blockchain/441_bug_walletInfo
piggydoughnut Mar 16, 2021
fc8eaaa
Update dependency ts-jest to v26.5.4
renovate-bot Mar 17, 2021
25bf6cb
Update dependency rc-slider to v9.7.2
renovate-bot Mar 25, 2021
0316f42
retaining the checkbox sitout value
piggydoughnut Mar 30, 2021
6c8e0fc
Update dependency y18n to 4.0.1 [SECURITY]
renovate-bot Mar 30, 2021
d890682
Bump y18n from 4.0.0 to 4.0.1
dependabot[bot] Mar 30, 2021
4574078
sitout updates, sending message at any time, checkbox value remains
piggydoughnut Apr 2, 2021
d747bf2
Merge pull request #447 from chips-blockchain/dependabot/npm_and_yarn…
piggydoughnut Apr 2, 2021
453f628
Merge pull request #446 from chips-blockchain/renovate/npm-y18n-vulne…
piggydoughnut Apr 2, 2021
20aef9a
Update dependency @types/babel__core to v7.1.14
renovate-bot Apr 2, 2021
6986f24
correct state update for the gameOption
piggydoughnut Apr 2, 2021
d397d1c
changed value being sent
piggydoughnut Apr 2, 2021
b62aeda
created context wrapper to separate the Table component from the stat…
piggydoughnut Apr 2, 2021
9d2e2ff
Update babel monorepo
renovate-bot Apr 8, 2021
53416c7
Update dependency jsdom to v16.5.3
renovate-bot Apr 11, 2021
3949510
Update dependency concurrently to v6
renovate-bot Apr 12, 2021
ddc6ae2
Options test
piggydoughnut Apr 13, 2021
b7650f2
Update dependency electron to v10.4.3
renovate-bot Apr 14, 2021
d7817d9
Merge pull request #448 from chips-blockchain/renovate/babel__core-7.x
piggydoughnut Apr 14, 2021
28dcb48
Merge pull request #427 from chips-blockchain/renovate/ts-jest-26.x
piggydoughnut Apr 14, 2021
73592b0
Merge pull request #416 from chips-blockchain/renovate/electron-10.x
piggydoughnut Apr 14, 2021
096786c
Merge pull request #409 from chips-blockchain/renovate/react-16.x
piggydoughnut Apr 14, 2021
31022da
Update dependency @types/jest to v26.0.22
renovate-bot Apr 14, 2021
9c382f1
Update dependency @types/react-dom to v16.9.12
renovate-bot Apr 14, 2021
017c6fa
Update dependency eslint-plugin-html to v6.1.2
renovate-bot Apr 14, 2021
f143b61
removed sentry dependency
piggydoughnut Apr 14, 2021
34ea5ef
Update dependency eslint-plugin-react to v7.23.2
renovate-bot Apr 14, 2021
048f78c
Merge pull request #386 from chips-blockchain/renovate/rc-slider-9.x
piggydoughnut Apr 14, 2021
139c879
Merge pull request #450 from chips-blockchain/renovate/jest-26.x
piggydoughnut Apr 14, 2021
b8f9a02
Merge pull request #408 from chips-blockchain/renovate/babel-monorepo
piggydoughnut Apr 14, 2021
0918d01
Update dependency react-modal to v3.13.1
renovate-bot Apr 14, 2021
54e7df2
Merge branch 'dev' into renovate/jsdom-16.x
piggydoughnut Apr 14, 2021
7a08ef9
Update dependency react-tooltip to v4.2.17
renovate-bot Apr 14, 2021
f991d0e
Merge pull request #451 from chips-blockchain/renovate/react-dom-16.x
piggydoughnut Apr 14, 2021
e9738ba
Merge pull request #438 from chips-blockchain/renovate/electron-is-de…
piggydoughnut Apr 14, 2021
26b7d06
Merge pull request #436 from chips-blockchain/renovate/concurrently-6.x
piggydoughnut Apr 14, 2021
0eeb13a
Merge pull request #398 from chips-blockchain/renovate/jsdom-16.x
piggydoughnut Apr 14, 2021
d072f1d
Merge pull request #452 from chips-blockchain/renovate/eslint-plugin-…
piggydoughnut Apr 14, 2021
89f1398
Merge pull request #453 from chips-blockchain/renovate/eslint-plugin-…
piggydoughnut Apr 14, 2021
df375c9
Merge pull request #435 from chips-blockchain/renovate/react-test-ren…
piggydoughnut Apr 14, 2021
f551695
Update dependency parcel-bundler to v1.12.5
renovate-bot Apr 14, 2021
0ac3a0a
Update dependency eslint-plugin-prettier to v3.4.0
renovate-bot Apr 15, 2021
a2b4f94
showing sitout checkbox for the player who is sitting out
piggydoughnut Apr 16, 2021
b6046cb
lint
piggydoughnut Apr 16, 2021
c3b063d
adding some docs on implementation and some flows
piggydoughnut Apr 16, 2021
403986b
Update README.md
piggydoughnut Apr 23, 2021
52e7b9b
Merge pull request #449 from chips-blockchain/445_sitout
piggydoughnut Apr 24, 2021
9175bd0
Merge pull request #454 from chips-blockchain/renovate/parcel-bundler…
piggydoughnut Apr 24, 2021
b3ad3ed
Merge pull request #455 from chips-blockchain/renovate/react-modal-3.x
piggydoughnut Apr 24, 2021
b204f88
Merge pull request #457 from chips-blockchain/renovate/react-tooltip-4.x
piggydoughnut Apr 24, 2021
626c9c6
Merge pull request #463 from chips-blockchain/renovate/eslint-plugin-…
piggydoughnut Apr 24, 2021
7346e8a
Update dependency @types/jest to v26.0.23
renovate-bot Apr 26, 2021
a51b348
Update dependency electron to v10.4.5
renovate-bot May 5, 2021
4f5a9d0
Update dependency ts-jest to v26.5.6
renovate-bot May 5, 2021
8747681
Update dependency react-tooltip to v4.2.19
renovate-bot May 6, 2021
4cf9e68
Update dependency hosted-git-info to 2.8.9 [SECURITY]
renovate-bot May 8, 2021
67926e4
Bump lodash from 4.17.19 to 4.17.21
dependabot[bot] May 9, 2021
74a90c1
Merge pull request #472 from chips-blockchain/renovate/npm-hosted-git…
piggydoughnut May 10, 2021
b506388
Merge pull request #469 from chips-blockchain/renovate/react-tooltip-4.x
piggydoughnut May 10, 2021
863bac8
Merge pull request #471 from chips-blockchain/renovate/electron-10.x
piggydoughnut May 10, 2021
79ad4fc
Update dependency @types/react to v16.14.6
renovate-bot May 10, 2021
b6cab37
Update dependency react-tabs to v3.2.2
renovate-bot May 10, 2021
cf3df0a
Update dependency concurrently to v6.1.0
renovate-bot May 10, 2021
332ce2e
player ticks leave table at next hand
piggydoughnut May 12, 2021
bc8096f
setting the automatic options values to the state values, only allowi…
piggydoughnut May 12, 2021
14e022d
updated the test
piggydoughnut May 12, 2021
bab59b8
Merge pull request #473 from chips-blockchain/dependabot/npm_and_yarn…
piggydoughnut May 12, 2021
24c3d7e
added a small timeout to allow for the socket to connect
piggydoughnut May 12, 2021
1753b07
hacky way to throw the user back to login if the socket fails
piggydoughnut May 12, 2021
34af07d
Update babel monorepo to v7.14.2
renovate-bot May 12, 2021
6a4ced5
Merge pull request #476 from chips-blockchain/428_quitting_the_game
piggydoughnut May 14, 2021
dbc7620
Merge pull request #475 from chips-blockchain/renovate/concurrently-6.x
piggydoughnut May 14, 2021
4f8adce
Merge pull request #474 from chips-blockchain/renovate/react-16.x
piggydoughnut May 14, 2021
cbd4c1f
Merge pull request #470 from chips-blockchain/renovate/jest-26.x
piggydoughnut May 14, 2021
ccefa1e
Merge pull request #468 from chips-blockchain/renovate/babel-monorepo
piggydoughnut May 14, 2021
18f8776
Update Tutorial.md
piggydoughnut May 20, 2021
62478b0
Update Tutorial.md
piggydoughnut May 20, 2021
e3afb47
Update Tutorial.md
piggydoughnut May 20, 2021
29f319e
Update Tutorial.md
piggydoughnut May 28, 2021
b1d7eae
Update dependency postcss to 7.0.36 [SECURITY]
renovate-bot Jun 16, 2021
57c60be
Merge pull request #484 from chips-blockchain/renovate/npm-postcss-vu…
piggydoughnut Jun 17, 2021
a465d91
Update dependency eslint-plugin-import to v2.24.0
renovate-bot Aug 8, 2021
c09a5af
Update dependency path-parse to 1.0.7 [SECURITY]
renovate-bot Aug 11, 2021
9fe7708
Bump path-parse from 1.0.6 to 1.0.7
dependabot[bot] Aug 11, 2021
f759b5f
Update dependency @types/react to v16.14.13
renovate-bot Aug 11, 2021
b8a36d6
Merge pull request #488 from chips-blockchain/dependabot/npm_and_yarn…
piggydoughnut Sep 10, 2021
69c1c41
Merge pull request #487 from chips-blockchain/renovate/npm-path-parse…
piggydoughnut Sep 10, 2021
f42565c
Merge pull request #485 from chips-blockchain/renovate/react-16.x
piggydoughnut Sep 10, 2021
23223cd
Merge pull request #465 from chips-blockchain/renovate/ts-jest-26.x
piggydoughnut Sep 10, 2021
3a28720
Merge pull request #456 from chips-blockchain/renovate/react-tabs-3.x
piggydoughnut Sep 10, 2021
1346696
Merge pull request #479 from chips-blockchain/renovate/eslint-plugin-…
piggydoughnut Sep 10, 2021
5accb9b
Update typescript-eslint monorepo to v5
renovate[bot] May 28, 2023
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
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
build
.dockerignore
Dockerfile
Dockerfile.prod
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
.DS_Store

/src/config/local.json
/coverage/*
.vscode
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Tutorial https://mherman.org/blog/dockerizing-a-react-app/
FROM node:14

WORKDIR /src

ENV PATH /node_modules/.bin:$PATH

COPY package.json ./
COPY package-lock.json ./
RUN npm install --silent

COPY . ./

# start app
CMD ["npm", "run", "dev"]
31 changes: 14 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,31 @@ We hope to release a publicly playable version in April. You can find the latest

Currently, to play, you will need to run your own back-end nodes. We are working on a Docker container to make this easy, which is expected to ship in April. [Here](https://github.com/NOCTLJRNE/CHIPS-tuto/blob/master/README.md) you can find the old, complicated way of setting up the back-end nodes.

## Start the game

- `npm install && npm start`

## Development

- Run `npm install` and `npm start` in the root folder This will fire up a web server and you can try the app via http://localhost:1234
Server runs at port 1234 - http://localhost:1234

- Run `npm run electron-dev` to start the Electron app in development.
- `npm install && npm run dev` - start with `NODE_ENV=development`

Run `npm electron-pack` to package the app with electron-builder for MacOS, Windows and Linux.
- `npm run electron-dev` to start the Electron app in development.

### Pre-push GitHook
- `npm electron-pack` to package the app with electron-builder for MacOS, Windows and Linux.

In order not to fail Gitub CI all the time, set up a local git hook to check lint and run tests before a push to the repo.
### Debugging

[Pre push Github docs](https://www.git-scm.com/docs/githooks#_pre_push)
browser plugin [React Context Dev Tools](https://github.com/deeppatel234/react-context-devtool)

### Sockets

`nano ./.git/hooks/pre-push`
When the player enters the game he opens two socket connections:

```
set -e
node_modules/eslint/bin/eslint.js './src/' --ext .js,.ts,.tsx
npm run test
```
- for writing `playerWrite`

`sudo chmod +x ./.git/hooks/pre-push`
- for reading `playerRead`

### State Management

Expand All @@ -42,10 +43,6 @@ https://blog.logrocket.com/use-hooks-and-context-not-react-and-redux/
Good video explaining redux vs context state management approach
https://www.youtube.com/watch?time_continue=134&v=eBYJ7O482Dc&feature=emb_title

### Developer Mode

You can activate developer mode and skip the startup modal by adjusting the `src/config/local.json`.

### Environment variables in scripts

REDUCER - adds extra logging from reducer to the console output.
Expand Down
Binary file added docs/assets/Sitout_Flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions docs/sitout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Sitout

# Implementation

<img src="assets/Sitout_Flow.png" width="800">

The dealer should be allowed to set the table number.
E.g they set 6/9 (max of 9 players, minimum of 6).
If there are 5 players, the hand doesn't start. If there are 6,7,8,9 players, the hand starts.
This # of players does not include players that are 'sitting out'.

A player should only be able to sit out for a set amount of hands/time. People should have the option to sit out for comfort breaks. But people shouldn't be allowed to sit out for prolonged periods of time.


## Alpha (Current implementation, showcase)

The hand is in progress. Player 1 checks "Sitout the next hand". After the hand finishes, Player1 sits out. Currently the seat is not reserved by the player 1, that will be included in the beta version. Technically player 1 is out of the game, but their node is not disconnected, it is waiting for them to decide to join again. Their seat is available for other player to join. Player 3 joins the game, takes the vacant seat, the game starts again, since the condition of minimum of 2 players has been met.

If the player 2 wants to join the game again he needs to wait for player 3 to sitout.

This current implementation is more of a showcase that it is implementable.


## Beta

Player's seat is reserved by the player when he sits out. The hand starts if the minimum number of players not including the ones sitting out is met. Player can join back in the game when he decides to stop sitting out.



13 changes: 13 additions & 0 deletions docs/testcases/Sitout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Sitout testcase

1. Run notaries, dealer, 2 players. Make sure the dealer is configured for 2 players and the players have your notaries in their configuration.

2. Run GUI x 3 times

3. Enter the game as a dealer -> Private -> dealer.

4. Enter the game as each player -> Private -> player.

5. The game starts after each player takes a seat. Dealer does not have to do anything.

6. Make a bet, then check "sitout at the next hand"
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module.exports = {
// A map from regular expressions to module names that allow to stub out resources with a single module
moduleNameMapper: {
"\\.(css|less|sass|scss)$": "<rootDir>/__mocks__/styleMock.js",
"\\.(gif|ttf|eot|svg|mp3)$": "<rootDir>/__mocks__/fileMock.js"
"\\.(gif|ttf|eot|svg|jpg|png|mp3)$": "<rootDir>/__mocks__/fileMock.js"
},

// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
Expand Down
Loading