Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/oxc-plugin-tsgolint-realpath.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@rrlab/oxc-plugin": patch
---

`rr plugins add oxc` installs `oxlint-tsgolint@^7.0.2004`, and the peer range now starts at `>=0.24.0`. `oxlint-tsgolint@0.23.0` bundles a typescript-go whose macOS `realpath` can fail under concurrency, so `rr tsc` reports random `TS2307` on installed modules ([microsoft/typescript-go#4060](https://github.com/microsoft/typescript-go/issues/4060)). The new install range also matches the `>=7.0.2003` peer that current `oxlint` requires.

`rr plugins add oxc` installs `oxfmt@^0.73.0`, and the peer range now starts at `>=0.67.0`. `oxfmt` up to 0.66.0 pins `tinypool@2.1.0`, which has two critical advisories ([GHSA-5gmw-xhrv-c9v3](https://github.com/advisories/GHSA-5gmw-xhrv-c9v3), [GHSA-85c8-ppgw-ccpr](https://github.com/advisories/GHSA-85c8-ppgw-ccpr)).

Both new peer floors exist only to warn about broken or vulnerable versions: if a project is still on `oxlint-tsgolint@0.23.0` or `oxfmt` below 0.67.0, pnpm warns about it when `@rrlab/oxc-plugin` is updated.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lefthook": "2.1.1",
"oxfmt": "^0.73.0",
"oxlint": "^1.0.0",
"oxlint-tsgolint": "^0.23.0",
"oxlint-tsgolint": "^0.25.0",
"tsdown": "0.22.0",
"turbo": "2.11.9",
"typescript": "^6.0.3",
Expand Down
76 changes: 38 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions run-run/oxc-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
},
"peerDependencies": {
"@rrlab/cli": "workspace:^",
"oxfmt": ">=0.30.0",
"oxfmt": ">=0.67.0",
"oxlint": ">=1.0.0",
"oxlint-tsgolint": ">=0.15.0"
"oxlint-tsgolint": ">=0.24.0"
},
"peerDependenciesMeta": {
"oxlint-tsgolint": {
Expand All @@ -60,7 +60,7 @@
"@types/semver": "^7.7.1",
"oxfmt": "0.73.0",
"oxlint": "1.66.0",
"oxlint-tsgolint": "0.23.0",
"oxlint-tsgolint": "0.25.0",
"semver": "^7.8.1"
}
}
4 changes: 2 additions & 2 deletions run-run/oxc-plugin/src/tool-versions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const TOOL_VERSIONS = {
oxlint: { install: "^1.0.0" },
oxfmt: { install: "^0.51.0" },
"oxlint-tsgolint": { install: "^0.23.0" },
oxfmt: { install: "^0.73.0" },
"oxlint-tsgolint": { install: "^7.0.2004" },
} as const;
Loading