mirror of
https://github.com/evroon/bracket.git
synced 2026-03-04 23:28:28 -05:00
7569248a4c26d86d920c6f2801abc5828f4e0530
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.12 to 7.21.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@babel/core</code>'s releases</a>.</em></p> <blockquote> <h2>v7.21.0 (2023-02-20)</h2> <p>Thanks <a href="https://github.com/azizghuloum"><code>@azizghuloum</code></a>, <a href="https://github.com/ehoogeveen-medweb"><code>@ehoogeveen-medweb</code></a>, <a href="https://github.com/fwienber"><code>@fwienber</code></a>, and <a href="https://github.com/Lioness100"><code>@Lioness100</code></a> for your first PRs!</p> <h4>🚀 New Feature</h4> <ul> <li><code>babel-core</code>, <code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15435">#15435</a> feat: Implement <code>privateFieldsAsSymbols</code> assumption for classes (<a href="https://github.com/fwienber"><code>@fwienber</code></a>)</li> </ul> </li> <li><code>babel-helper-create-regexp-features-plugin</code>, <code>babel-plugin-proposal-regexp-modifiers</code>, <code>babel-standalone</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15226">#15226</a> feat: Support regexp modifiers proposal (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-cli</code>, <code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-destructuring</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-react-jsx</code>, <code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15022">#15022</a> feat: Generate sourcemaps of friendly call frames (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15384">#15384</a> [ts] Support <code>const</code> modifier in type parameters (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-helpers</code>, <code>babel-parser</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-syntax-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15405">#15405</a> Implement decorators as presented at <code>2023-01</code> TC39 meeting (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15114">#15114</a> Parser option to allow <code>new.target</code> outside functions (<a href="https://github.com/overlookmotel"><code>@overlookmotel</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15320">#15320</a> Add <code>annexb: false</code> parser option to disable Annex B (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15283">#15283</a> feat: Support <code>.cts</code> as configuration file (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15381">#15381</a> [ts] Support <code>export type * from</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15379">#15379</a> [ts5.0] Better inlining of constants in enums (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15366">#15366</a> handling circular/shared structures in deep-clone (<a href="https://github.com/azizghuloum"><code>@azizghuloum</code></a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-new-target</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15406">#15406</a> Preserve class elements comments in class transform (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-plugin-transform-flow-comments</code>, <code>babel-plugin-transform-flow-strip-types</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15414">#15414</a> [ts] Fix restrictions for optional parameters (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15400">#15400</a> polish: improve "<code>await</code> as identifier" error in modules (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15137">#15137</a> Improve CJS compat with ESM-based <code>@babel/core</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>🔬 Output optimization</h4> <ul> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15418">#15418</a> [ts] Handle exponentiation operator in constant folding (<a href="https://github.com/ehoogeveen-medweb"><code>@ehoogeveen-medweb</code></a>)</li> </ul> </li> </ul> <h4>Committers: 11</h4> <ul> <li>Abdulaziz Ghuloum (<a href="https://github.com/azizghuloum"><code>@azizghuloum</code></a>)</li> <li>Babel Bot (<a href="https://github.com/babel-bot"><code>@babel-bot</code></a>)</li> <li>Emanuel Hoogeveen (<a href="https://github.com/ehoogeveen-medweb"><code>@ehoogeveen-medweb</code></a>)</li> <li>Frank Wienberg (<a href="https://github.com/fwienber"><code>@fwienber</code></a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@babel/core</code>'s changelog</a>.</em></p> <blockquote> <h2>v7.21.0 (2023-02-20)</h2> <h4>🚀 New Feature</h4> <ul> <li><code>babel-core</code>, <code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15435">#15435</a> feat: Implement <code>privateFieldsAsSymbols</code> assumption for classes (<a href="https://github.com/fwienber"><code>@fwienber</code></a>)</li> </ul> </li> <li><code>babel-helper-create-regexp-features-plugin</code>, <code>babel-plugin-proposal-regexp-modifiers</code>, <code>babel-standalone</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15226">#15226</a> feat: Support regexp modifiers proposal (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-cli</code>, <code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-destructuring</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-react-jsx</code>, <code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15022">#15022</a> feat: Generate sourcemaps of friendly call frames (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15384">#15384</a> [ts] Support <code>const</code> modifier in type parameters (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-helpers</code>, <code>babel-parser</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-syntax-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15405">#15405</a> Implement decorators as presented at <code>2023-01</code> TC39 meeting (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15114">#15114</a> Parser option to allow <code>new.target</code> outside functions (<a href="https://github.com/overlookmotel"><code>@overlookmotel</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15320">#15320</a> Add <code>annexb: false</code> parser option to disable Annex B (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15283">#15283</a> feat: Support <code>.cts</code> as configuration file (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15381">#15381</a> [ts] Support <code>export type * from</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15379">#15379</a> [ts5.0] Better inlining of constants in enums (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15366">#15366</a> handling circular/shared structures in deep-clone (<a href="https://github.com/azizghuloum"><code>@azizghuloum</code></a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-new-target</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15406">#15406</a> Preserve class elements comments in class transform (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-plugin-transform-flow-comments</code>, <code>babel-plugin-transform-flow-strip-types</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15414">#15414</a> [ts] Fix restrictions for optional parameters (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15400">#15400</a> polish: improve "<code>await</code> as identifier" error in modules (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15137">#15137</a> Improve CJS compat with ESM-based <code>@babel/core</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>🔬 Output optimization</h4> <ul> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15418">#15418</a> [ts] Handle exponentiation operator in constant folding (<a href="https://github.com/ehoogeveen-medweb"><code>@ehoogeveen-medweb</code></a>)</li> </ul> </li> </ul> <h2>v7.20.15 (2023-02-02)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15391">#15391</a> Disallow await as bound name in using declaration (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-plugin-proposal-export-namespace-from</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/15385">#15385</a> Disallows specifiers after export * as ns (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="de7d75a78b"><code>de7d75a</code></a> v7.21.0</li> <li><a href="3e60843d7b"><code>3e60843</code></a> feat: Implement <code>privateFieldsAsSymbols</code> assumption for classes (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/15435">#15435</a>)</li> <li><a href="c292e683f1"><code>c292e68</code></a> feat: Generate sourcemaps of friendly call frames (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/15022">#15022</a>)</li> <li><a href="34136c53f8"><code>34136c5</code></a> docs: fix typos (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/15432">#15432</a>)</li> <li><a href="ca52e08240"><code>ca52e08</code></a> Improve CJS compat with ESM-based <code>@babel/core</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/15137">#15137</a>)</li> <li><a href="43dce19d77"><code>43dce19</code></a> feat: Support <code>.cts</code> as configuration file (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/15283">#15283</a>)</li> <li><a href="c41d5f9fe1"><code>c41d5f9</code></a> handling circular/shared structures in deep-clone (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/15366">#15366</a>)</li> <li><a href="6de6d58165"><code>6de6d58</code></a> fix: source maps for manually added multi-line content (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/15365">#15365</a>)</li> <li>See full diff in <a href="https://github.com/babel/babel/commits/v7.21.0/packages/babel-core">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%