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>
Bumps
[markdownlint-rule-relative-links](https://github.com/theoludwig/markdownlint-rule-relative-links)
from 3.0.0 to 4.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/theoludwig/markdownlint-rule-relative-links/releases">markdownlint-rule-relative-links's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.1</h2>
<h2><a
href="https://github.com/theoludwig/markdownlint-rule-relative-links/compare/v4.0.0...v4.0.1">4.0.1</a>
(2024-12-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>use <code>.markdownlint-cli2.mjs</code> for the configuration file
(<a
href="db57d67b0b">db57d67</a>)</li>
</ul>
<h2>v4.0.0</h2>
<h1><a
href="https://github.com/theoludwig/markdownlint-rule-relative-links/compare/v3.0.0...v4.0.0">4.0.0</a>
(2024-12-28)</h1>
<h3>Features</h3>
<ul>
<li>usage of ESM modules imports (instead of CommonJS) (<a
href="aa24db4fac">aa24db4</a>),
closes <a
href="https://redirect.github.com/theoludwig/markdownlint-rule-relative-links/issues/10">#10</a></li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>This package is now pure ESM</li>
<li>minimum supported Node.js >= 22.0.0</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="db57d67b0b"><code>db57d67</code></a>
fix: use <code>.markdownlint-cli2.mjs</code> for the configuration
file</li>
<li><a
href="aa24db4fac"><code>aa24db4</code></a>
feat: usage of ESM modules imports (instead of CommonJS)</li>
<li><a
href="b4a04d2e8e"><code>b4a04d2</code></a>
chore: remove not needed npm engine requirement</li>
<li><a
href="54e45d3e5d"><code>54e45d3</code></a>
build(deps): update latest</li>
<li><a
href="dd70d6da3a"><code>dd70d6d</code></a>
chore: remove usage of git hooks (husky, lint-staged, commitlint) +
usage of ...</li>
<li>See full diff in <a
href="https://github.com/theoludwig/markdownlint-rule-relative-links/compare/v3.0.0...v4.0.1">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 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>