mirror of
https://github.com/evroon/bracket.git
synced 2026-03-04 15:22:34 -05:00
4b231db7f7c7116c0b221c6a8c686e75bf9e43ae
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.48.0 to 5.53.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p> <blockquote> <h2>v5.53.0</h2> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.52.0...v5.53.0">5.53.0</a> (2023-02-20)</h1> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [consistent-generic-constructors] handle default parameters (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6484">#6484</a>) (<a href="e8cebce972">e8cebce</a>)</li> <li><strong>eslint-plugin:</strong> [no-mixed-enums] add rule (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6102">#6102</a>) (<a href="16144d1d6a">16144d1</a>)</li> <li><strong>typescript-estree:</strong> expose a wrapper cache clearing function for advanced usecases (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6476">#6476</a>) (<a href="d8164960d2">d816496</a>)</li> </ul> <h2>v5.52.0</h2> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.51.0...v5.52.0">5.52.0</a> (2023-02-13)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-import-type-side-effects] correctly ignore zero-specifier imports (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6444">#6444</a>) (<a href="d5a6688a22">d5a6688</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] account for optional chaining on potentially void values (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6432">#6432</a>) (<a href="e1d9c67981">e1d9c67</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/5255">#5255</a></li> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] fix false positive when checking indexed access types (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6452">#6452</a>) (<a href="d569924cf3">d569924</a>)</li> <li><strong>eslint-plugin:</strong> fix key-spacing when type starts on next line (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6412">#6412</a>) (<a href="3eb2eed616">3eb2eed</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [block-spacing] extending base rule for TS related blocks (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6195">#6195</a>) (<a href="b2db3f57d3">b2db3f5</a>)</li> <li><strong>eslint-plugin:</strong> [explicit-function-return-type] add allowFunctionsWithoutTypeParameters option (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6105">#6105</a>) (<a href="113640e974">113640e</a>)</li> <li><strong>eslint-plugin:</strong> [explicit-function-return-type] add allowIIFEs option (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6237">#6237</a>) (<a href="a1b3f7b4d9">a1b3f7b</a>)</li> <li><strong>typescript-estree:</strong> add <code>.kind</code> to <code>TSModuleDeclaration</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6443">#6443</a>) (<a href="2f948df35b">2f948df</a>)</li> <li><strong>typescript-estree:</strong> allow specifying project: true (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6084">#6084</a>) (<a href="dcd05f0b3a">dcd05f0</a>)</li> </ul> <h2>v5.51.0</h2> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0">5.51.0</a> (2023-02-06)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [sort-type-constituents] fixed behavior change (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6384">#6384</a>) (<a href="5bf7f7fe48">5bf7f7f</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6339">#6339</a></li> <li><strong>eslint-plugin:</strong> do not use .at(), Node 14 does not support it (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6402">#6402</a>) (<a href="077ed1b5be">077ed1b</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [naming-convention] improve performance by removing unnecessary selectors (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6376">#6376</a>) (<a href="3647a1c1bb">3647a1c</a>)</li> <li><strong>eslint-plugin:</strong> [no-floating-promises] error on logical expression (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6356">#6356</a>) (<a href="f330e06515">f330e06</a>)</li> <li><strong>eslint-plugin:</strong> [no-import-type-side-effects] add rule to warn against runtime side effects with <code>verbatimModuleSyntax</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6394">#6394</a>) (<a href="b14d3be0f3">b14d3be</a>)</li> <li><strong>eslint-plugin:</strong> [strict-boolean-expressions] add allow nullable enum to strict boolean expressions (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6096">#6096</a>) (<a href="d4747cd8cc">d4747cd</a>)</li> <li><strong>typescript-estree:</strong> cache project glob resolution (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6367">#6367</a>) (<a href="afae8374df">afae837</a>)</li> </ul> <h2>v5.50.0</h2> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.49.0...v5.50.0">5.50.0</a> (2023-01-31)</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p> <blockquote> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.52.0...v5.53.0">5.53.0</a> (2023-02-20)</h1> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [consistent-generic-constructors] handle default parameters (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6484">#6484</a>) (<a href="e8cebce972">e8cebce</a>)</li> <li><strong>eslint-plugin:</strong> [no-mixed-enums] add rule (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6102">#6102</a>) (<a href="16144d1d6a">16144d1</a>)</li> </ul> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.51.0...v5.52.0">5.52.0</a> (2023-02-13)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-import-type-side-effects] correctly ignore zero-specifier imports (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6444">#6444</a>) (<a href="d5a6688a22">d5a6688</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] account for optional chaining on potentially void values (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6432">#6432</a>) (<a href="e1d9c67981">e1d9c67</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/5255">#5255</a></li> <li><strong>eslint-plugin:</strong> [no-unnecessary-condition] fix false positive when checking indexed access types (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6452">#6452</a>) (<a href="d569924cf3">d569924</a>)</li> <li><strong>eslint-plugin:</strong> fix key-spacing when type starts on next line (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6412">#6412</a>) (<a href="3eb2eed616">3eb2eed</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [block-spacing] extending base rule for TS related blocks (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6195">#6195</a>) (<a href="b2db3f57d3">b2db3f5</a>)</li> <li><strong>eslint-plugin:</strong> [explicit-function-return-type] add allowFunctionsWithoutTypeParameters option (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6105">#6105</a>) (<a href="113640e974">113640e</a>)</li> <li><strong>eslint-plugin:</strong> [explicit-function-return-type] add allowIIFEs option (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6237">#6237</a>) (<a href="a1b3f7b4d9">a1b3f7b</a>)</li> </ul> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.50.0...v5.51.0">5.51.0</a> (2023-02-06)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [sort-type-constituents] fixed behavior change (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6384">#6384</a>) (<a href="5bf7f7fe48">5bf7f7f</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6339">#6339</a></li> <li><strong>eslint-plugin:</strong> do not use .at(), Node 14 does not support it (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6402">#6402</a>) (<a href="077ed1b5be">077ed1b</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>eslint-plugin:</strong> [naming-convention] improve performance by removing unnecessary selectors (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6376">#6376</a>) (<a href="3647a1c1bb">3647a1c</a>)</li> <li><strong>eslint-plugin:</strong> [no-floating-promises] error on logical expression (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6356">#6356</a>) (<a href="f330e06515">f330e06</a>)</li> <li><strong>eslint-plugin:</strong> [no-import-type-side-effects] add rule to warn against runtime side effects with <code>verbatimModuleSyntax</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6394">#6394</a>) (<a href="b14d3be0f3">b14d3be</a>)</li> <li><strong>eslint-plugin:</strong> [strict-boolean-expressions] add allow nullable enum to strict boolean expressions (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/6096">#6096</a>) (<a href="d4747cd8cc">d4747cd</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="cb272f095b"><code>cb272f0</code></a> chore: publish v5.53.0</li> <li><a href="e8cebce972"><code>e8cebce</code></a> feat(eslint-plugin): [consistent-generic-constructors] handle default paramet...</li> <li><a href="16144d1d6a"><code>16144d1</code></a> feat(eslint-plugin): [no-mixed-enums] add rule (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/6102">#6102</a>)</li> <li><a href="fc803cc6e3"><code>fc803cc</code></a> docs(eslint-plugin): explicit-function-return-type: missing allowFunctionsWit...</li> <li><a href="c46c793a34"><code>c46c793</code></a> chore: publish v5.52.0</li> <li><a href="b2db3f57d3"><code>b2db3f5</code></a> feat(eslint-plugin): [block-spacing] extending base rule for TS related block...</li> <li><a href="d569924cf3"><code>d569924</code></a> fix(eslint-plugin): [no-unnecessary-condition] fix false positive when checki...</li> <li><a href="a1b3f7b4d9"><code>a1b3f7b</code></a> feat(eslint-plugin): [explicit-function-return-type] add allowIIFEs option (#...</li> <li><a href="e1d9c67981"><code>e1d9c67</code></a> fix(eslint-plugin): [no-unnecessary-condition] account for optional chaining ...</li> <li><a href="3eb2eed616"><code>3eb2eed</code></a> fix(eslint-plugin): fix key-spacing when type starts on next line (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/6412">#6412</a>)</li> <li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v5.53.0/packages/eslint-plugin">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bracket
Ladder tournament system meant to be easy to use. Bracket is written in async Python (with FastAPI) and Next.js as frontend using the Mantine library.
Preview
Setup
Database
First create a bracket cluster:
sudo pg_createcluster -u postgres -p 5532 13 bracket
pg_ctlcluster 13 bracket start
Subsequently, create a new bracket_dev database:
sudo -Hu postgres psql -p 5532
CREATE USER bracket_dev WITH PASSWORD 'bracket_dev';
CREATE DATABASE bracket_dev OWNER bracket_dev;
You can do the same but replace the user and database name with:
bracket_ci: for running testsbracket_prod: for a production database
The database URL can be specified per environment in the .env files (see config).
Config
Copy ci.env to prod.env and fill in the values:
PG_DSN: The URL of the PostgreSQL databaseJWT_SECRET: Create a random secret usingopenssl rand -hex 32CORS_ORIGINSandCORS_ORIGIN_REGEX: Specify allowed frontend domain names for CORS (see the FastAPI docs)ADMIN_EMAILandADMIN_PASSWORD: The credentials of the admin user, which is created when initializing the database
Running the frontend and backend
The following starts the frontend and backend for local development:
Frontend
cd frontend
yarn
npm run dev
Backend
cd backend
pipenv install -d
pipenv shell
./run.sh
Languages
TypeScript
51.1%
Python
47.6%
CSS
0.8%
Dockerfile
0.2%