You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The format target was broken on `packages/core/rollup.config.ts` because
prettier 2 cannot parse the modern `with { type: "json" }` import
attribute syntax. Bump prettier to ^3.8.3 (and prettier-plugin-organize-
imports to ^4.3.0 for compatibility), and align the other rollup
configs to `with` so the repo uses one syntax.
The organize-imports plugin parses through the workspace's installed
TypeScript, so bump TypeScript to ^5.6.3 too — 4.9.4 also rejects the
`with` syntax. Drop the explicit `Promise<typeof import("tinybench")>`
return type on WalltimeRunner.importTinybench(); TS 5.x's stricter type
equality flags it as incompatible with the inferred type on vitest's
NodeBenchmarkRunner base class.
Reformat ~30 source files where prettier 3's new `trailingComma: "all"`
default added trailing commas after multi-line arguments.
Refs COD-2721
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: packages/benchmark.js-plugin/benches/sample.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ import parsePr from "./parsePr";
5
5
constLONG_BODY=
6
6
newArray(1_000)
7
7
.fill(
8
-
"Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt, earum. Atque architecto vero veniam est tempora fugiat sint quo praesentium quia. Autem, veritatis omnis beatae iste delectus recusandae animi non."
8
+
"Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt, earum. Atque architecto vero veniam est tempora fugiat sint quo praesentium quia. Autem, veritatis omnis beatae iste delectus recusandae animi non.",
0 commit comments