Skip to content

Commit 550ba8e

Browse files
authored
build: move to the Oxc toolchain (#11)
1 parent 7783dd5 commit 550ba8e

54 files changed

Lines changed: 569 additions & 1876 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/initial-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@solidjs/start-devtools": major
2+
'@solidjs/start-devtools': major
33
---
44

55
Add the Start development toolbar, runtime error overlay, and server-function inspector.

.changeset/modern-toolchain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@solidjs/start-devtools": patch
2+
'@solidjs/start-devtools': patch
33
---
44

55
Build with Rolldown, update the project toolchain, and strengthen package validation.

.changeset/native-oxc-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 the native Solid compiler and migrate formatting to Oxfmt.

.changeset/pre.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@
44
"initialVersions": {
55
"@solidjs/start-devtools": "0.0.0"
66
},
7-
"changesets": [
8-
"initial-release",
9-
"quiet-cats-smile"
10-
]
7+
"changesets": ["initial-release", "quiet-cats-smile"]
118
}

.changeset/quiet-cats-smile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@solidjs/start-devtools": patch
2+
'@solidjs/start-devtools': patch
33
---
44

55
Support server rendering the development error boundary and avoid duplicate toolbars when authored entries wrap their app.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"@solidjs/start-devtools": patch
2+
'@solidjs/start-devtools': patch
33
---
44

55
Make direct imports production-safe with a no-op default export and development-only browser and server implementations. Register server-function observers from the browser entry.

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ jobs:
2121
- run: pnpm build
2222
- run: pnpm test
2323
- run: pnpm check
24+
- run: pnpm format:check

.oxfmtrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"printWidth": 100,
4+
"singleQuote": true,
5+
"sortPackageJson": false
6+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pnpm add @solidjs/start-devtools@next
1111
The Vite plugin mounts it automatically. Integrations can use the package directly:
1212

1313
```tsx
14-
import { DevToolbar } from "@solidjs/start-devtools";
14+
import { DevToolbar } from '@solidjs/start-devtools';
1515

1616
<DevToolbar>
1717
<App />

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
"scripts": {
2525
"build": "rolldown -c",
2626
"check": "publint && attw --pack . --profile esm-only",
27+
"format": "oxfmt --write",
28+
"format:check": "oxfmt --check",
2729
"test": "vitest run",
2830
"release": "pnpm build && changeset publish"
2931
},
@@ -50,18 +52,14 @@
5052
"solid-js": "^2.0.0-rc.0"
5153
},
5254
"devDependencies": {
53-
"@babel/core": "^7.29.0",
54-
"@babel/preset-env": "^7.29.0",
55-
"@babel/preset-typescript": "^7.28.0",
5655
"@arethetypeswrong/cli": "^0.18.5",
5756
"@changesets/cli": "^2.30.0",
58-
"@rolldown/plugin-babel": "^0.2.3",
57+
"@dom-expressions/compiler": "^0.50.0-next.43",
5958
"@solidjs/web": "^2.0.0-rc.0",
6059
"@types/node": "^24.0.0",
61-
"babel-preset-solid": "^2.0.0-rc.0",
6260
"error-stack-parser": "^2.1.4",
6361
"html-to-image": "^1.11.13",
64-
"prettier": "^3.1.0",
62+
"oxfmt": "^0.64.0",
6563
"publint": "^0.3.23",
6664
"rolldown": "^1.2.4",
6765
"rolldown-plugin-dts": "^0.28.2",

0 commit comments

Comments
 (0)