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

Merge from main to stable #557

Merged
merged 287 commits into from
Aug 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
cba4c13
Bump express from 4.17.2 to 4.17.3
dependabot[bot] Mar 19, 2022
8437fa3
Bump ava from 4.0.1 to 4.1.0
dependabot[bot] Mar 19, 2022
2683e7f
Bump ts-loader from 9.2.6 to 9.2.8
dependabot[bot] Mar 23, 2022
f84e4df
Bump minimist from 1.2.5 to 1.2.6
dependabot[bot] Mar 25, 2022
8dcb5c5
Bump typescript from 4.6.2 to 4.6.3
dependabot[bot] Mar 25, 2022
4e83ba0
Bump autoprefixer from 10.4.2 to 10.4.4
dependabot[bot] Mar 27, 2022
8aea4a5
Bump mini-css-extract-plugin from 2.5.3 to 2.6.0
dependabot[bot] Mar 30, 2022
3d9f710
Bump prettier from 2.5.1 to 2.6.2
dependabot[bot] Apr 5, 2022
72b3ac5
Bump concurrently from 7.0.0 to 7.1.0
dependabot[bot] Apr 5, 2022
fd48397
Bump body-parser from 1.19.2 to 1.20.0
dependabot[bot] Apr 6, 2022
5fdfad6
Bump @babel/core from 7.17.5 to 7.17.9
dependabot[bot] Apr 7, 2022
e22a9fb
Bump webpack from 5.70.0 to 5.72.0
dependabot[bot] Apr 12, 2022
c0c06b3
Bump postcss from 8.4.6 to 8.4.12
dependabot[bot] Apr 12, 2022
3466d61
Bump babel-loader from 8.2.3 to 8.2.5
dependabot[bot] Apr 25, 2022
339c523
Bump sass from 1.49.9 to 1.51.0
dependabot[bot] Apr 26, 2022
3097f3e
Bump css-loader from 6.6.0 to 6.7.1
dependabot[bot] Apr 27, 2022
1b3aa11
Bump lint-staged from 12.3.4 to 12.4.1
dependabot[bot] Apr 27, 2022
84cefec
Bump @types/node from 17.0.21 to 17.0.31
dependabot[bot] May 2, 2022
0a9e641
Bump @types/lodash.merge from 4.6.6 to 4.6.7
dependabot[bot] May 4, 2022
5266b39
Bump typescript from 4.6.3 to 4.6.4
dependabot[bot] May 5, 2022
1b839a5
Bump @types/node from 17.0.31 to 17.0.35
dependabot[bot] May 20, 2022
f6f95dc
Bump postcss from 8.4.12 to 8.4.14
dependabot[bot] May 20, 2022
0d9d043
added mostly updated packages, ones that could automatically update
YashdalfTheGray Jun 1, 2022
c916ff6
added a bunch of updated webpack packages
YashdalfTheGray Jun 1, 2022
ad6e51a
updated some more of the dev dependency packages
YashdalfTheGray Jun 1, 2022
932ac69
added all of the updated packages besides chalk
YashdalfTheGray Jun 1, 2022
a3b277e
removed the carets and replaced them with tildes
YashdalfTheGray Jun 1, 2022
406bfa1
Bump aws-actions/amazon-ecr-login from 1.3.3 to 1.4.0
dependabot[bot] May 24, 2022
347d8ac
Bump ts-node from 10.8.0 to 10.8.1
dependabot[bot] Jun 6, 2022
2b022ab
Bump ava from 4.2.0 to 4.3.0
dependabot[bot] Jun 6, 2022
6a3663c
updated some packages because there were a lot of them outdated
YashdalfTheGray Jun 29, 2022
23af09b
added the generated license file to the ignore list
YashdalfTheGray Jun 29, 2022
4130855
added puppeteer to the project so that we can write some integration …
YashdalfTheGray Jul 1, 2022
ecf80ad
added an example env file, for now only containing a couple of things
YashdalfTheGray Jul 1, 2022
cfc4fc9
added some basic puppeteer launch code, need to singleton it though
YashdalfTheGray Jul 1, 2022
4a2915e
added some basic puppeteer launch code, need to singleton it though
YashdalfTheGray Jul 1, 2022
02ed18c
added a slowdown in milliseconds to slow down the operations for debu…
YashdalfTheGray Jul 1, 2022
07c92b3
set up a singleton browser instance that all tests can use, untested
YashdalfTheGray Jul 2, 2022
1e469d0
added a function to get a card from the host to render it
YashdalfTheGray Jul 2, 2022
c8c1505
Bump jsdom from 16.3.0 to 16.5.0 in /docs
dependabot[bot] Jun 24, 2022
50d34dd
added some constants for viewport height and width as well
YashdalfTheGray Jul 4, 2022
5f676c6
regenerated the lock file after removing all the carets
YashdalfTheGray Jul 4, 2022
5300a61
Bump aws-actions/amazon-ecr-login from 1.4.0 to 1.5.0
dependabot[bot] Jun 28, 2022
081c0d1
added a with page macro to help bring up pages through puppeteer
YashdalfTheGray Jul 6, 2022
68abfb3
added a factory function that takes a page url
YashdalfTheGray Jul 7, 2022
bf5c543
added a simple test as a canary
YashdalfTheGray Jul 8, 2022
211cd12
renamed the one test that exists to make it more reasonable
YashdalfTheGray Jul 9, 2022
fd3b1ab
added separate config files for each type of test and a base one
YashdalfTheGray Jul 10, 2022
a5eecee
added another test to check for the generate button
YashdalfTheGray Jul 11, 2022
6adbd79
added the right configuration for the unit tests to the command
YashdalfTheGray Jul 11, 2022
c2b3498
renamed the integration tests config to functional test
YashdalfTheGray Jul 11, 2022
52b5e0f
think we can just use the built in fetch function
YashdalfTheGray Jul 11, 2022
02f3013
added a non-coverage triggering functional test thing
YashdalfTheGray Jul 11, 2022
cd088d0
fixed the integ rests so that they run at least some of the time
YashdalfTheGray Jul 12, 2022
3ab0fb4
use the environment variable for the test host
YashdalfTheGray Jul 14, 2022
c124bed
added getting one bingo card to the test setup
YashdalfTheGray Jul 14, 2022
ef8b288
added a test to check that a bingo card shows up
YashdalfTheGray Jul 14, 2022
b8971fd
added a new file for card view tests and check for the right renders
YashdalfTheGray Jul 14, 2022
b9139cf
maybe because ava spawns threads, we don't pass in the env vars
YashdalfTheGray Jul 16, 2022
82f97b3
set the viewport properties directly on the new page
YashdalfTheGray Jul 16, 2022
f8cb63f
added a function that returns the base url from the environment varia…
YashdalfTheGray Jul 16, 2022
45010a4
added a function that returns the url for a particular card id
YashdalfTheGray Jul 16, 2022
4b76019
added a basic card view test that looks at the rendered numbers
YashdalfTheGray Jul 16, 2022
13bdff8
fixed the rest of the tests so that they work
YashdalfTheGray Jul 16, 2022
9f77d45
removed soem unused functionality
YashdalfTheGray Jul 17, 2022
ddce80a
added puppeteer to istanbul coverage package
YashdalfTheGray Jul 17, 2022
f60dea1
added some basic typings for puppeteer-to-istanbul because they don't…
YashdalfTheGray Jul 17, 2022
46cbb9e
added a declared value of type in the typings
YashdalfTheGray Jul 17, 2022
5d0a958
properly instrumented the coverage bit, with typings
YashdalfTheGray Jul 17, 2022
fcbe8b6
added a coverage output path environment variable
YashdalfTheGray Jul 19, 2022
84d4819
added coverage enabled and disabled versions of the integ tests
YashdalfTheGray Jul 19, 2022
d3e30d9
added a function that figured out if coverage is enabled or not
YashdalfTheGray Jul 19, 2022
9d08fd6
added conditionals to enable and disable coverage
YashdalfTheGray Jul 19, 2022
304eb37
coverage stuff doesn't work, ripping it all out
YashdalfTheGray Jul 21, 2022
ed35df7
ripped out puppeteer to istanbul as well
YashdalfTheGray Jul 21, 2022
25b2894
fixed an audit issue with terser
YashdalfTheGray Jul 21, 2022
f5ea955
removed the last remnants of the coverage for functional tests
YashdalfTheGray Jul 22, 2022
262258a
added some more specific commands for testing
YashdalfTheGray Jul 22, 2022
ddde305
added a test that generates some cards and counts them
YashdalfTheGray Jul 23, 2022
0a9b594
added a test that checks that the card rows have links
YashdalfTheGray Jul 23, 2022
d886a4f
added another test that checks for the card share buttons
YashdalfTheGray Jul 23, 2022
2e49520
added a test to check for the done icon
YashdalfTheGray Jul 24, 2022
911b72f
refactored the tests a little bit
YashdalfTheGray Jul 24, 2022
0b96243
reduced the concurrency to the minimum possible
YashdalfTheGray Jul 24, 2022
1285fdd
this test should work but it doesn't 😤
YashdalfTheGray Jul 24, 2022
660f66f
Bump postcss-loader from 7.0.0 to 7.0.1
dependabot[bot] Jul 18, 2022
ab335e6
added some functional test detail to the readme
YashdalfTheGray Jul 26, 2022
c706b4e
more detail on the various npm commands
YashdalfTheGray Jul 27, 2022
f8f0e02
added a test that checks just one number container, which works
YashdalfTheGray Jul 28, 2022
a864f9d
changed the timeout to 15 seconds in case a test takes a bit longer
YashdalfTheGray Jul 28, 2022
274a3bb
Bump ava from 4.3.0 to 4.3.1
dependabot[bot] Jul 22, 2022
0b5eb1a
increased the timeout to 30 seconds
YashdalfTheGray Jul 29, 2022
162e133
added a test that tries to cross all the numbers
YashdalfTheGray Jul 29, 2022
0eced03
refactored out a little utility function that gets the bingo card points
YashdalfTheGray Jul 29, 2022
7eb8a6b
added another test that clicks on the header and expects nothing
YashdalfTheGray Jul 29, 2022
7c2566a
refactored out a little utility function that gets the bingo header p…
YashdalfTheGray Jul 29, 2022
9854bbf
added a test to make sure that the generator doesn't generate cards w…
YashdalfTheGray Jul 30, 2022
10b77ee
added logic to look for validation error in the input
YashdalfTheGray Jul 30, 2022
f3bf033
added another test to make sure that user gets notified of a bad link
YashdalfTheGray Jul 30, 2022
729495e
added a test that checks the basic bits of the page
YashdalfTheGray Jul 30, 2022
489685c
updated packages that could be automatically updated
YashdalfTheGray Jul 31, 2022
620183f
manually updated the remaining packages
YashdalfTheGray Jul 31, 2022
dc0c9fd
regenerated the lock file after removing all the carets
YashdalfTheGray Jul 31, 2022
753a815
nvmrc now uses node 18
YashdalfTheGray Aug 1, 2022
ffb5cd9
added config to the tests file to use both lts and latest node
YashdalfTheGray Aug 1, 2022
2e62569
added more paths to the ignore key so that we're not deploying the sa…
YashdalfTheGray Aug 1, 2022
1a4b230
added yet more paths to the deploy action ignore list
YashdalfTheGray Aug 1, 2022
e0ea565
added a class to the invalid card container so we can easily select it
YashdalfTheGray Aug 2, 2022
0692f30
added the right selector to the functional tests
YashdalfTheGray Aug 2, 2022
8e330b8
removed some dead code from the tests
YashdalfTheGray Aug 2, 2022
ef5369a
Bump node-fetch from 3.2.9 to 3.2.10
dependabot[bot] Aug 1, 2022
2d57c9e
Bump actions/setup-node from 2 to 3
dependabot[bot] Aug 2, 2022
fc03bfa
Bump puppeteer from 15.5.0 to 16.1.0
dependabot[bot] Aug 8, 2022
1af8753
Bump @types/node from 18.6.3 to 18.6.4
dependabot[bot] Aug 8, 2022
24fb130
Bump aws-actions/amazon-ecr-login from 1.5.0 to 1.5.1
dependabot[bot] Aug 9, 2022
2b8e527
Bump aws-actions/configure-aws-credentials from 1.6.1 to 1.7.0
dependabot[bot] Aug 9, 2022
f6600ad
Bump sass from 1.54.0 to 1.54.4
dependabot[bot] Aug 14, 2022
497c509
Bump cssnano from 5.1.12 to 5.1.13
dependabot[bot] Aug 14, 2022
1adf6c0
regenerated the lock file after removing all the carets
YashdalfTheGray Aug 21, 2022
fb0c322
Bump @types/webpack-env from 1.17.0 to 1.18.0
dependabot[bot] Aug 22, 2022
e50b435
Bump @types/node from 18.6.5 to 18.7.9
dependabot[bot] Aug 22, 2022
543eb0d
Bump puppeteer from 16.1.1 to 16.2.0
dependabot[bot] Aug 26, 2022
1647f23
Bump puppeteer from 16.2.0 to 17.1.1
dependabot[bot] Sep 5, 2022
3397543
Bump helmet from 5.1.1 to 6.0.0
dependabot[bot] Aug 29, 2022
85e2475
Bump ava from 4.3.1 to 4.3.3
dependabot[bot] Sep 10, 2022
1d899b1
Bump autoprefixer from 10.4.8 to 10.4.12
dependabot[bot] Sep 27, 2022
32b74d5
Bump @babel/core from 7.18.10 to 7.19.3
dependabot[bot] Oct 3, 2022
76c3001
Bump aws-actions/amazon-ecs-deploy-task-definition from 1.4.9 to 1.4.10
dependabot[bot] Oct 4, 2022
8f2f01e
Bump core-js from 3.24.1 to 3.25.5
dependabot[bot] Oct 7, 2022
2e93f00
updated package versions in the lockfile
YashdalfTheGray Oct 24, 2022
15cc062
updated the package versions to the latest
YashdalfTheGray Oct 24, 2022
e381409
fixed a type mistake because the validation error type now requires s…
YashdalfTheGray Oct 24, 2022
8cf9585
needed extends object annotations on the props and state for component
YashdalfTheGray Oct 24, 2022
3d09b57
put in a type hack for the webpack configuration getter function
YashdalfTheGray Oct 24, 2022
05f8f08
Bump aws-actions/amazon-ecr-login from 1.5.1 to 1.5.2
dependabot[bot] Oct 18, 2022
d2fe040
Bump babel-loader from 8.2.5 to 9.0.0
dependabot[bot] Oct 31, 2022
8ac9b3c
Bump cssnano from 5.1.13 to 5.1.14
dependabot[bot] Oct 31, 2022
b402919
Bump aws-actions/amazon-ecs-render-task-definition from 1.1.1 to 1.1.2
dependabot[bot] Nov 1, 2022
a305a7c
Bump loader-utils from 1.4.0 to 1.4.2
dependabot[bot] Nov 12, 2022
7887ebc
Bump aws-actions/amazon-ecr-login from 1.5.2 to 1.5.3
dependabot[bot] Nov 1, 2022
d88c7f3
Bump @babel/preset-env from 7.19.4 to 7.20.2
dependabot[bot] Nov 7, 2022
a458a0f
Bump puppeteer from 19.1.1 to 19.2.2
dependabot[bot] Nov 7, 2022
f0919c1
Bump @types/node from 18.11.4 to 18.11.9
dependabot[bot] Nov 16, 2022
299a14f
Bump lint-staged from 13.0.3 to 13.1.0
dependabot[bot] Dec 5, 2022
9c59905
Bump webpack-hot-middleware from 2.25.2 to 2.25.3
dependabot[bot] Nov 21, 2022
54d8c28
regenerated the package-lock file after some updates
YashdalfTheGray Dec 22, 2022
f3f9c7b
updated all of the packages, regenerated the lock file again
YashdalfTheGray Dec 22, 2022
3f44a07
Bump @types/express from 4.17.14 to 4.17.15
dependabot[bot] Dec 19, 2022
103f9e7
Bump @types/node from 18.11.17 to 18.11.18
dependabot[bot] Jan 2, 2023
9590501
Bump json5 from 1.0.1 to 1.0.2
dependabot[bot] Jan 5, 2023
d93395d
Bump core-js from 3.26.1 to 3.27.1
dependabot[bot] Jan 2, 2023
6e5d86e
Bump @types/morgan from 1.9.3 to 1.9.4
dependabot[bot] Jan 2, 2023
cc90e10
Bump postcss from 8.4.20 to 8.4.21
dependabot[bot] Jan 9, 2023
cd9586a
Bump @babel/core from 7.20.7 to 7.20.12
dependabot[bot] Jan 9, 2023
89ce176
Bump babel-loader from 9.1.0 to 9.1.2
dependabot[bot] Jan 9, 2023
ba970f8
Bump husky from 8.0.2 to 8.0.3
dependabot[bot] Jan 9, 2023
eb3d6ca
Bump puppeteer from 19.4.1 to 19.5.2
dependabot[bot] Jan 16, 2023
1319445
Bump aws-actions/amazon-ecs-deploy-task-definition from 1.4.10 to 1.4.11
dependabot[bot] Jan 10, 2023
4f4ddb1
Bump ava from 5.1.0 to 5.1.1
dependabot[bot] Jan 16, 2023
4e9abf4
Bump prettier from 2.8.1 to 2.8.3
dependabot[bot] Jan 21, 2023
7c66e09
Bump core-js from 3.27.1 to 3.27.2
dependabot[bot] Jan 23, 2023
9c78cf7
Bump aws-actions/amazon-ecs-render-task-definition from 1.1.2 to 1.1.3
dependabot[bot] Jan 24, 2023
21d8ff4
Bump @types/express from 4.17.15 to 4.17.16
dependabot[bot] Jan 30, 2023
e522a5a
Bump puppeteer from 19.5.2 to 19.6.2
dependabot[bot] Jan 30, 2023
4dd322f
Bump @types/express from 4.17.16 to 4.17.17
dependabot[bot] Feb 6, 2023
1d4f364
Bump puppeteer from 19.6.2 to 19.6.3
dependabot[bot] Feb 6, 2023
a9d0230
Bump typescript from 4.9.4 to 4.9.5
dependabot[bot] Feb 6, 2023
21fe0a1
Bump puppeteer from 19.6.3 to 19.7.0
dependabot[bot] Feb 13, 2023
4f6dcc0
Bump @types/node from 18.11.18 to 18.13.0
dependabot[bot] Feb 11, 2023
57304c4
Bump sass from 1.57.1 to 1.58.3
dependabot[bot] Feb 20, 2023
8b2b3e8
Bump cssnano from 5.1.14 to 5.1.15
dependabot[bot] Feb 20, 2023
7b18a0d
Bump core-js from 3.27.2 to 3.29.0
dependabot[bot] Feb 27, 2023
1fca56c
Bump lint-staged from 13.1.0 to 13.1.2
dependabot[bot] Feb 26, 2023
2c2b0fb
Bump ava from 5.1.1 to 5.2.0
dependabot[bot] Feb 27, 2023
80ae0f8
Bump prettier from 2.8.3 to 2.8.4
dependabot[bot] Feb 23, 2023
ea21445
Bump body-parser from 1.20.1 to 1.20.2
dependabot[bot] Feb 27, 2023
88c0221
Bump @types/node from 18.13.0 to 18.14.6
dependabot[bot] Mar 6, 2023
ef669d0
Bump @babel/core from 7.20.12 to 7.21.0
dependabot[bot] Mar 6, 2023
b3edb56
Bump puppeteer from 19.7.0 to 19.7.3
dependabot[bot] Mar 6, 2023
95a7448
Bump aws-actions/configure-aws-credentials from 1.7.0 to 2.0.0
dependabot[bot] Mar 7, 2023
2d635ca
Bump lint-staged from 13.1.2 to 13.2.0
dependabot[bot] Mar 13, 2023
a237643
Bump @types/node from 18.14.6 to 18.15.1
dependabot[bot] Mar 13, 2023
5902601
Bump node-fetch from 3.3.0 to 3.3.1
dependabot[bot] Mar 13, 2023
c9c4a35
Bump sass from 1.58.3 to 1.59.3
dependabot[bot] Mar 20, 2023
8543f62
Bump puppeteer from 19.7.3 to 19.8.0
dependabot[bot] Mar 27, 2023
84e44d7
Bump sass-loader from 13.2.0 to 13.2.2
dependabot[bot] Mar 30, 2023
a76c1a1
Bump @babel/core from 7.21.0 to 7.21.4
dependabot[bot] Apr 3, 2023
8bc7195
Bump webpack-dev-middleware from 6.0.1 to 6.0.2
dependabot[bot] Mar 20, 2023
737c0e4
Bump aws-actions/amazon-ecr-login from 1.5.3 to 1.6.0
dependabot[bot] Apr 4, 2023
cbc922e
Bump prettier from 2.8.4 to 2.8.7
dependabot[bot] Apr 10, 2023
a8ed36c
Bump helmet from 6.0.1 to 6.1.2
dependabot[bot] Apr 10, 2023
4494960
Bump webpack and @types/webpack
dependabot[bot] Apr 8, 2023
bb59df1
Bump postcss-loader from 7.0.2 to 7.2.4
dependabot[bot] Apr 13, 2023
7a44906
Bump autoprefixer from 10.4.13 to 10.4.14
dependabot[bot] Apr 13, 2023
e626092
Bump typescript from 4.9.5 to 5.0.4
dependabot[bot] Apr 17, 2023
d9bec84
Bump concurrently from 7.6.0 to 8.0.1
dependabot[bot] Apr 17, 2023
92e94b6
Bump postcss from 8.4.21 to 8.4.23
dependabot[bot] Apr 24, 2023
66bcc46
Bump yaml and cssnano
dependabot[bot] Apr 24, 2023
078cf5d
Bump @types/node from 18.15.1 to 18.16.0
dependabot[bot] Apr 24, 2023
d1ba4a9
Bump lint-staged from 13.2.0 to 13.2.2
dependabot[bot] Apr 29, 2023
78f38f5
Bump core-js from 3.29.0 to 3.30.1
dependabot[bot] May 1, 2023
0127b97
Bump @babel/preset-env from 7.20.2 to 7.21.5
dependabot[bot] Apr 30, 2023
092fcae
Bump webpack from 5.78.0 to 5.82.0
dependabot[bot] May 8, 2023
765d9f2
Bump cssnano from 6.0.0 to 6.0.1
dependabot[bot] May 8, 2023
1eb7cd1
Bump helmet from 6.1.2 to 7.0.0
dependabot[bot] May 8, 2023
9836482
Bump core-js from 3.30.1 to 3.30.2
dependabot[bot] May 12, 2023
15abd2d
Bump mini-css-extract-plugin from 2.7.2 to 2.7.5
dependabot[bot] May 15, 2023
ad088b8
Bump @babel/core from 7.21.4 to 7.21.8
dependabot[bot] May 15, 2023
e1424d0
Bump sass from 1.59.3 to 1.62.1
dependabot[bot] May 15, 2023
8261e4a
Bump webpack-cli from 5.0.1 to 5.1.1
dependabot[bot] May 12, 2023
a3efafc
Bump webpack from 5.82.0 to 5.83.1
dependabot[bot] May 22, 2023
dff857e
Bump mini-css-extract-plugin from 2.7.5 to 2.7.6
dependabot[bot] May 22, 2023
ba6978a
Bump postcss-loader from 7.2.4 to 7.3.0
dependabot[bot] May 25, 2023
cd3ca28
Bump webpack-dev-middleware from 6.0.2 to 6.1.1
dependabot[bot] May 24, 2023
65b88fd
Bump @types/webpack-env from 1.18.0 to 1.18.1
dependabot[bot] May 29, 2023
3cb6549
Bump @babel/core from 7.21.8 to 7.22.1
dependabot[bot] May 29, 2023
ebfe939
Bump puppeteer from 19.8.0 to 20.4.0
dependabot[bot] May 29, 2023
0b160fd
Bump @babel/preset-env from 7.21.5 to 7.22.4
dependabot[bot] Jun 5, 2023
734021f
Bump concurrently from 8.0.1 to 8.1.0
dependabot[bot] Jun 5, 2023
7ed1e85
Bump aws-actions/configure-aws-credentials from 2.0.0 to 2.1.0
dependabot[bot] Jun 6, 2023
62a5f2f
Bump prettier from 2.8.7 to 2.8.8
dependabot[bot] Jun 5, 2023
597aa20
Bump webpack-cli from 5.1.1 to 5.1.4
dependabot[bot] Jun 12, 2023
07e665d
Bump puppeteer from 20.4.0 to 20.6.0
dependabot[bot] Jun 12, 2023
86823fa
Bump postcss from 8.4.23 to 8.4.24
dependabot[bot] Jun 12, 2023
710dca9
Bump ava from 5.2.0 to 5.3.0
dependabot[bot] Jun 12, 2023
da084e3
Bump sass-loader from 13.2.2 to 13.3.2
dependabot[bot] Jun 17, 2023
696dca5
Bump css-loader from 6.7.3 to 6.8.1
dependabot[bot] Jun 19, 2023
169f05b
Bump @types/node from 18.16.0 to 20.3.1
dependabot[bot] Jun 19, 2023
44619cd
Bump postcss-loader from 7.3.0 to 7.3.3
dependabot[bot] Jun 19, 2023
c13e88c
Bump aws-actions/configure-aws-credentials from 2.1.0 to 2.2.0
dependabot[bot] Jun 20, 2023
db39122
Bump ava from 5.3.0 to 5.3.1
dependabot[bot] Jun 26, 2023
7842f5c
Bump aws-actions/amazon-ecr-login from 1.6.0 to 1.6.2
dependabot[bot] Jun 27, 2023
0ee7d24
Bump webpack-hot-middleware from 2.25.3 to 2.25.4
dependabot[bot] Jul 3, 2023
4e217ac
Bump ts-loader from 9.4.2 to 9.4.4
dependabot[bot] Jul 3, 2023
295e218
Bump tough-cookie and jsdom in /docs
dependabot[bot] Jul 9, 2023
c31f3de
Bump @babel/core from 7.22.1 to 7.22.8
dependabot[bot] Jul 10, 2023
eb0fdc6
Bump puppeteer from 20.6.0 to 20.8.0
dependabot[bot] Jul 10, 2023
a602ca0
Bump lint-staged from 13.2.2 to 13.2.3
dependabot[bot] Jul 10, 2023
13f9bc0
Bump @babel/preset-env from 7.22.4 to 7.22.9
dependabot[bot] Jul 14, 2023
f1b5846
Bump chalk from 4.1.2 to 5.3.0
dependabot[bot] Jul 15, 2023
49bd59d
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 18, 2023
91ef835
Bump dotenv from 16.0.3 to 16.3.1
dependabot[bot] Jul 24, 2023
eba0e38
Bump webpack from 5.83.1 to 5.88.2
dependabot[bot] Jul 19, 2023
66a429a
Bump prettier from 2.8.8 to 3.0.0
dependabot[bot] Jul 27, 2023
8a2aff1
Bump concurrently from 8.1.0 to 8.2.0
dependabot[bot] Jul 31, 2023
ddaa987
added an override for prettier under tslint-plugin-prettier
YashdalfTheGray Aug 13, 2023
8e48232
updated the autoupdatable packages
YashdalfTheGray Aug 13, 2023
b5dd549
full update for all the packages
YashdalfTheGray Aug 13, 2023
6b2b75f
updated the node versions in the repository
YashdalfTheGray Aug 13, 2023
66b3096
updated the version in preparation for a stable merge
YashdalfTheGray Aug 13, 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 .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TEST_SERVER_URL=http://localhost:8080
DEBUG=headless|screenshot|interactive
SLOWDOWN_IN_MS=<delay_between_each_action>
VIEWPORT_HEIGHT=720
VIEWPORT_WIDTH=1280
18 changes: 13 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
- 'README.md'
- 'LICENSE'
- '.prettierrc'
- 'docs'
- 'docs/**'
- 'ava.**'
- '.env*'
- '.nvmrc'
- 'tslint.json'
- 'test'
- 'test/**'

name: Deploy to Amazon ECS

Expand All @@ -16,18 +24,18 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1.5.11
uses: aws-actions/configure-aws-credentials@v2.2.0
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1.3.3
uses: aws-actions/amazon-ecr-login@v1.6.2

- name: Build, tag, and push image to Amazon ECR
id: build-image
Expand All @@ -45,14 +53,14 @@ jobs:

- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1.0.24
uses: aws-actions/amazon-ecs-render-task-definition@v1.1.3
with:
task-definition: .github/workflows/task.json
container-name: website
image: ${{ steps.build-image.outputs.image }}

- name: Update the service with the new task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1.4.7
uses: aws-actions/amazon-ecs-deploy-task-definition@v1.4.11
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: bingo-service
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
node: ['18', '20']

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: Run tests and lint
id: test-and-lint
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ public/**/*.css
public/**/*.js
public/**/*.map
public/**/*.json
public/**/*.txt
public/artifacts
docs/output.html

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ The development build does use hot reloading for both Javascript/Typescript and

The server code is stored in the `server` folder and the client code is stored in the `client` folder. There are some common modules that are stored in a `common` folder. We use a path alias to import components into files, for example, `import CardDetailRow from '@bingo/components/CardDetailRow`. Similar path aliases exist for the common folder (`@bingo/common`) and the client folder (`@bingo/client`).

There are also functional tests included in the `test` folder. These tests exercise different aspects of the application so that changes don't break some of the core functionality and we can validate in an automated way.

## Development

There are two ways to run this application - docker and just NPM if you have a Node.js environment set up. You can use the NPM commands listed below to start this application up within a Node.js environment.
Expand Down Expand Up @@ -60,7 +62,11 @@ The code in this repository comes with large number of npm scripts listed in the
- `npm start` - used to start the server and webpack in development mode (HMR enabled)
- `npm run assets:dev` - used to run the assets build one time in development
- `npm run assets:watch` - used to run the assets build in watch mode, recommended to use `npm start` because we also need the server running and it builds the assets too
- `npm test` - used to run the unit tests, once
- `npm run unit-test` - used to run the unit tests, with coverage
- `npm test` - alias for `npm run unit-test`
- `npm run unit-test:no-coverage` - used to run the unit tests without coverage
- `npm run functional-test` - used to run the functional tests based off of puppeteer
- `npm run test:all` - used to run all the test suites
- `npm run tslint` - used to lint the entire project
- `npm run show-stats` - used to pull up the webpack statistics on package size and contents
- `npm run start:prod` - used to start the server and webpack in production mode (HMR disabled)
Expand Down
4 changes: 4 additions & 0 deletions ava.base.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
extensions: ['ts'],
require: ['ts-node/register'],
};
9 changes: 9 additions & 0 deletions ava.func.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const baseConfig = require('./ava.base.config');

module.exports = Object.assign({}, baseConfig, {
files: ['test/**/*.spec.ts'],
concurrency: 1,
failFast: true,
failWithoutAssertions: true,
timeout: '30s',
});
5 changes: 5 additions & 0 deletions ava.unit.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const baseConfig = require('./ava.base.config');

module.exports = Object.assign({}, baseConfig, {
files: ['client/**/*.spec.ts', 'common/**/*.spec.ts', 'server/**/*.spec.ts'],
});
2 changes: 1 addition & 1 deletion client/Component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface IDocumentWithRegistry extends Document {
(document as IDocumentWithRegistry).componentRegistry = {};
(document as IDocumentWithRegistry).nextId = 0;

export default class Component<P = {}, S = {}> {
export default class Component<P extends {} = {}, S extends {} = {}> {
protected readonly id: string;
protected readonly props: P;
protected state: S;
Expand Down
6 changes: 5 additions & 1 deletion client/components/Card/Card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ export default class Card extends Component<ICardProps> {
</div>
`;
} catch (err) {
return '<div>Invalid card numbers! Please check the link.</div>';
return `
<div class="card invalid-card">
Invalid card numbers! Please check the link.
</div>
`;
}
}
}
Loading