mirror of
https://github.com/evroon/bracket.git
synced 2026-09-15 07:29:41 -04:00
master
3
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
3606868b98 |
frontend: replace Prettier stack with oxfmt (#1750)
This PR migrates formatting in `frontend/` from Prettier to `oxfmt`,
including script wiring and dependency cleanup. It removes the Prettier
plugin/config path so formatting is handled by a single tool.
- **Script migration**
- Renamed/rewired formatting scripts in `frontend/package.json`:
- `prettier:check` → `format:check` (`oxfmt --check .`)
- `prettier:write` → `format:write` (`oxfmt .`)
- Updated dependent scripts:
- `test` now runs `pnpm run format:write`
- `openapi-ts` now runs `pnpm run format:write` after generation
- **Dependency cleanup**
- Removed `prettier-plugin-organize-imports` from `dependencies`
- Removed `prettier` from `devDependencies`
- Added `oxfmt` (latest stable at update time)
- **Config removal**
- Deleted `frontend/.prettierrc.js` (no longer used after migration)
- **Lockfile alignment**
- Updated `frontend/pnpm-lock.yaml` to reflect the dependency and script
ecosystem change
```json
{
"scripts": {
"format:check": "oxfmt --check .",
"format:write": "oxfmt .",
"openapi-ts": "openapi-ts && pnpm run format:write",
"test": "tsc && pnpm run format:write"
}
}
```
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Erik Vroon <11857441+evroon@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
||
|
|
092f6d0196 |
Bump prettier from 3.6.2 to 3.7.4 in /docs (#1504)
Bumps [prettier](https://github.com/prettier/prettier) from 3.6.2 to 3.7.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>3.7.4</h2> <h2>What's Changed</h2> <ul> <li>Fix comment in union type gets duplicated by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18393">prettier/prettier#18393</a></li> <li>Fix unstable comment print in union type by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18395">prettier/prettier#18395</a></li> <li>Avoid quote around LWC interpolations by <a href="https://github.com/kovsu"><code>@kovsu</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18383">prettier/prettier#18383</a></li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#374">Changelog</a></p> <h2>3.7.3</h2> <h2>What's Changed</h2> <ul> <li>Fix <code>prettier.getFileInfo()</code> change that breaks VSCode extension by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18375">prettier/prettier#18375</a></li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#373">Changelog</a></p> <h2>3.7.2</h2> <h2>What's Changed</h2> <ul> <li>Fix string print when switching quotes by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18351">prettier/prettier#18351</a></li> <li>Preserve quote for embedded HTML attribute values by <a href="https://github.com/kovsu"><code>@kovsu</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18352">prettier/prettier#18352</a></li> <li>Fix comment in empty type literal by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/prettier/prettier/pull/18364">prettier/prettier#18364</a></li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#372">Changelog</a></p> <h2>3.7.1</h2> <ul> <li>Fix performance regression in doc printer (<a href="https://redirect.github.com/prettier/prettier/pull/18342">#18342</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</li> </ul> <p>🔗 <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#371">Changelog</a></p> <h2>3.7.0</h2> <p><a href="https://github.com/prettier/prettier/compare/3.6.2...3.7.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2025/11/27/3.7.0">Release note</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>3.7.4</h1> <p><a href="https://github.com/prettier/prettier/compare/3.7.3...3.7.4">diff</a></p> <h4>LWC: Avoid quote around interpolations (<a href="https://redirect.github.com/prettier/prettier/pull/18383">#18383</a> by <a href="https://github.com/kovsu"><code>@kovsu</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="html"><code><!-- Input --> <div foo={bar}> </div> <p><!-- Prettier 3.7.3 (--embedded-language-formatting off) --> <div foo="{bar}"></div></p> <p><!-- Prettier 3.7.4 (--embedded-language-formatting off) --> <div foo={bar}></div> </code></pre></p> <h4>TypeScript: Fix comment inside union type gets duplicated (<a href="https://redirect.github.com/prettier/prettier/pull/18393">#18393</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="tsx"><code>// Input type Foo = (/** comment */ a | b) | c; <p>// Prettier 3.7.3 type Foo = /** comment <em>/ (/</em>* comment */ a | b) | c;</p> <p>// Prettier 3.7.4 type Foo = /** comment */ (a | b) | c; </code></pre></p> <h4>TypeScript: Fix unstable comment print in union type comments (<a href="https://redirect.github.com/prettier/prettier/pull/18395">#18395</a> by <a href="https://github.com/fisker"><code>@fisker</code></a>)</h4> <!-- raw HTML omitted --> <pre lang="tsx"><code>// Input type X = (A | B) & ( // comment A | B ); <p>// Prettier 3.7.3 (first format) type X = (A | B) & (// comment A | B);</p> <p>// Prettier 3.7.3 (second format) type X = ( | A </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/7848357af654883e21ed05c0bbbedf89ee88750e"><code>7848357</code></a> Release 3.7.4</li> <li><a href="https://github.com/prettier/prettier/commit/7686c59d512177707711cb327196d4a965411ec0"><code>7686c59</code></a> Release <code>@prettier/plugin-hermes</code> & <code>@prettier/plugin-oxc</code> v0.1.3</li> <li><a href="https://github.com/prettier/prettier/commit/fe494348a027cb9fcefd2cab9cd7ab1190d74a1c"><code>fe49434</code></a> Remove dead code checking union/intersection types length (<a href="https://redirect.github.com/prettier/prettier/issues/18396">#18396</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/ca02b37489870d5f5996a7f91cbc4e4983fa9729"><code>ca02b37</code></a> Fix unstable comment print (<a href="https://redirect.github.com/prettier/prettier/issues/18395">#18395</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/7efb988c6784997685f38766b93a436ef7456974"><code>7efb988</code></a> Fix comment in union type get duplicated (<a href="https://redirect.github.com/prettier/prettier/issues/18393">#18393</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/cfa92c1b6dc6a67f7ac13b801e2f827953721af3"><code>cfa92c1</code></a> Update dependency <code>@angular/compiler</code> to v21.0.2 (<a href="https://redirect.github.com/prettier/prettier/issues/18392">#18392</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/1de273770b052749f735987c5733c862217b991d"><code>1de2737</code></a> Update dependency yaml to v2.8.2 (<a href="https://redirect.github.com/prettier/prettier/issues/18391">#18391</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/706aa4ef90dbf3804595b10adffad6b75228fea6"><code>706aa4e</code></a> Switch js parse postprocess to <code>onEnter</code> (<a href="https://redirect.github.com/prettier/prettier/issues/18382">#18382</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/d3eb2b2d081f4b5b1008e64655ce7cc8fefd731e"><code>d3eb2b2</code></a> Reuse arrays in visitor keys (<a href="https://redirect.github.com/prettier/prettier/issues/18386">#18386</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/c45fef106ec4d1efdcd61a64c3dd3298272b3d99"><code>c45fef1</code></a> Fix LWC attribute with <code>--embedded-language-formatting off</code> (<a href="https://redirect.github.com/prettier/prettier/issues/18383">#18383</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/3.6.2...3.7.4">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for prettier since your current version.</p> </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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> Co-authored-by: Erik Vroon <erik.vroon@channable.com> |
||
|
|
eaeccebc16 |
Use Nextra for docs (#1140)
Use https://github.com/shuding/nextra and https://github.com/leoMirandaa/shadcn-landing-page instead of Docusaurus. |