Skip to content

Commit 7783dd5

Browse files
authored
build: move to Rolldown and TypeScript 7 (#10)
* build: move to Rolldown and TypeScript 7 * build: replace package-check
1 parent f7dd9d0 commit 7783dd5

10 files changed

Lines changed: 1772 additions & 1336 deletions

File tree

.changeset/modern-toolchain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@solidjs/start-devtools": patch
3+
---
4+
5+
Build with Rolldown, update the project toolchain, and strengthen package validation.

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: pnpm/action-setup@v4
1414
with:
15-
version: 10.15.1
15+
version: 11.22.0
1616
- uses: actions/setup-node@v4
1717
with:
1818
node-version: 24
@@ -21,4 +21,3 @@ jobs:
2121
- run: pnpm build
2222
- run: pnpm test
2323
- run: pnpm check
24-

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: pnpm/action-setup@v4
1818
with:
19-
version: 10.15.1
19+
version: 11.22.0
2020
- uses: actions/setup-node@v4
2121
with:
2222
node-version: 24

package.json

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
}
2323
},
2424
"scripts": {
25-
"build": "rollup -c && tsc --emitDeclarationOnly",
26-
"check": "package-check",
25+
"build": "rolldown -c",
26+
"check": "publint && attw --pack . --profile esm-only",
2727
"test": "vitest run",
2828
"release": "pnpm build && changeset publish"
2929
},
@@ -53,31 +53,25 @@
5353
"@babel/core": "^7.29.0",
5454
"@babel/preset-env": "^7.29.0",
5555
"@babel/preset-typescript": "^7.28.0",
56+
"@arethetypeswrong/cli": "^0.18.5",
5657
"@changesets/cli": "^2.30.0",
57-
"@rollup/plugin-babel": "^6.1.0",
58-
"@rollup/plugin-commonjs": "^25.0.8",
59-
"@rollup/plugin-node-resolve": "^15.3.1",
60-
"@skypack/package-check": "^0.2.2",
58+
"@rolldown/plugin-babel": "^0.2.3",
6159
"@solidjs/web": "^2.0.0-rc.0",
6260
"@types/node": "^24.0.0",
6361
"babel-preset-solid": "^2.0.0-rc.0",
6462
"error-stack-parser": "^2.1.4",
6563
"html-to-image": "^1.11.13",
6664
"prettier": "^3.1.0",
67-
"rollup": "^4.5.0",
68-
"rollup-plugin-cleaner": "^1.0.0",
65+
"publint": "^0.3.23",
66+
"rolldown": "^1.2.4",
67+
"rolldown-plugin-dts": "^0.28.2",
6968
"seroval": "^1.6.0",
7069
"shiki": "^4.3.1",
7170
"solid-js": "^2.0.0-rc.0",
7271
"source-map-js": "^1.2.1",
7372
"terracotta": "2.0.0-next.6",
74-
"typescript": "^5.9.0",
75-
"vitest": "^3.2.0"
73+
"typescript": "^7.0.2",
74+
"vitest": "^4.1.11"
7675
},
77-
"packageManager": "pnpm@10.15.1",
78-
"pnpm": {
79-
"onlyBuiltDependencies": [
80-
"esbuild"
81-
]
82-
}
76+
"packageManager": "pnpm@11.22.0"
8377
}

0 commit comments

Comments
 (0)