Migrate to oxfmt (#618)

* Migrate to oxfmt

* Enable import sorting

* trailingComma always
This commit is contained in:
Bjorn Lu
2026-05-15 11:48:55 +00:00
committed by GitHub
parent 03ba888eb8
commit 6c80731937
18 changed files with 324 additions and 110 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { exec } from "@actions/exec";
import fs from "node:fs";
import path from "node:path";
import { exec } from "@actions/exec";
import pkgJson from "../package.json" with { type: "json" };
process.chdir(path.join(import.meta.dirname, ".."));
@@ -13,6 +13,6 @@ const readmePath = path.join(import.meta.dirname, "..", "README.md");
const content = fs.readFileSync(readmePath, "utf8");
const updatedContent = content.replace(
/changesets\/action@[^\s]+/g,
`changesets/action@${releaseLine}`
`changesets/action@${releaseLine}`,
);
fs.writeFileSync(readmePath, updatedContent);