Skip to content

Commit fb0655e

Browse files
feat: bump node to 24
1 parent a3d2755 commit fb0655e

File tree

8 files changed

+111
-109
lines changed

8 files changed

+111
-109
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.5.1
1+
24.4.1

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@rollup/plugin-node-resolve": "^15.2.3",
1111
"@rollup/plugin-typescript": "^11.1.5",
1212
"@types/jest": "^29.5.0",
13-
"@types/node": "^20.5.1",
13+
"@types/node": "^24.3.0",
1414
"@typescript-eslint/eslint-plugin": "^5.58.0",
1515
"@typescript-eslint/parser": "^5.58.0",
1616
"esbuild": "^0.17.16",
@@ -33,6 +33,6 @@
3333
},
3434
"packageManager": "[email protected]",
3535
"engines": {
36-
"node": "20.5.1"
36+
"node": "24.4.1"
3737
}
3838
}

packages/benchmark.js-plugin/rollup.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import { readFileSync } from "fs";
12
import { defineConfig } from "rollup";
23
import { declarationsPlugin, jsPlugins } from "../../rollup.options";
3-
import pkg from "./package.json" assert { type: "json" };
44

55
const entrypoint = "src/index.ts";
6-
6+
const pkg = JSON.parse(readFileSync("./package.json", "utf-8"));
77
export default defineConfig([
88
{
99
input: entrypoint,

packages/core/rollup.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import { readFileSync } from "fs";
12
import { defineConfig } from "rollup";
23
import { declarationsPlugin, jsPlugins } from "../../rollup.options";
34

4-
import pkg from "./package.json" assert { type: "json" };
5+
const pkg = JSON.parse(readFileSync("./package.json", "utf-8"));
56
const entrypoint = "src/index.ts";
67

78
export default defineConfig([

packages/tinybench-plugin/benches/sample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Bench } from "tinybench";
2-
import { withCodSpeed } from "..";
2+
import { withCodSpeed } from "../src";
33
import parsePr from "./parsePr";
44
import { registerTimingBenchmarks } from "./timing";
55

packages/tinybench-plugin/rollup.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import { readFileSync } from "fs";
12
import { defineConfig } from "rollup";
23
import { declarationsPlugin, jsPlugins } from "../../rollup.options";
3-
import pkg from "./package.json" assert { type: "json" };
44

55
const entrypoint = "src/index.ts";
6-
6+
const pkg = JSON.parse(readFileSync("./package.json", "utf-8"));
77
export default defineConfig([
88
{
99
input: entrypoint,

packages/vitest-plugin/rollup.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import { readFileSync } from "fs";
12
import { defineConfig } from "rollup";
23
import { declarationsPlugin, jsPlugins } from "../../rollup.options";
3-
import pkg from "./package.json" assert { type: "json" };
44

5+
const pkg = JSON.parse(readFileSync("./package.json", "utf-8"));
56
export default defineConfig([
67
{
78
input: "src/index.ts",

0 commit comments

Comments
 (0)