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
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": false,
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
6 changes: 6 additions & 0 deletions .changeset/initial-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@solidjs/start-devtools': minor
---

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

24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
pull_request:
push:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.15.1
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test
- run: pnpm check

34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release

on:
push:
branches: [main]

permissions:
contents: write
pull-requests: write
id-token: write

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.15.1
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
registry-url: https://registry.npmjs.org
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm test
- run: pnpm check
- uses: changesets/action@v1
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,22 @@

Development error and server-function tooling for Solid Start mode.

For component and reactivity inspection, see [Solid Devtools](https://github.com/thetarnav/solid-devtools).
`@solidjs/start-devtools` provides the toolbar used by the Solid Vite plugin in development. It includes runtime error inspection, source-mapped stack frames, and server-function request and response inspection.

```sh
pnpm add @solidjs/start-devtools
```

The Vite plugin mounts it automatically. Integrations can use the package directly:

```tsx
import { DevToolbar } from "@solidjs/start-devtools";

<DevToolbar>
<App />
</DevToolbar>;
```

The package is intended for development and should not be imported into production entries.

For component and reactivity inspection, see [Solid Devtools](https://github.com/thetarnav/solid-devtools).
76 changes: 76 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"name": "@solidjs/start-devtools",
"version": "0.0.0",
"description": "Development error and server-function tooling for Solid Start mode",
"type": "module",
"module": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "rollup -c && tsc --emitDeclarationOnly",
"check": "package-check",
"test": "vitest run",
"release": "pnpm build && changeset publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/solidjs/start-devtools.git"
},
"bugs": {
"url": "https://github.com/solidjs/start-devtools/issues"
},
"homepage": "https://github.com/solidjs/start-devtools#readme",
"keywords": [
"solid",
"solidjs",
"devtools",
"server-functions"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@solidjs/web": "^2.0.0-rc.0",
"solid-js": "^2.0.0-rc.0"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-typescript": "^7.28.0",
"@changesets/cli": "^2.30.0",
"@rollup/plugin-babel": "^6.1.0",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.3.1",
"@skypack/package-check": "^0.2.2",
"@solidjs/web": "^2.0.0-rc.0",
"@types/node": "^24.0.0",
"babel-preset-solid": "^2.0.0-rc.0",
"error-stack-parser": "^2.1.4",
"html-to-image": "^1.11.13",
"prettier": "^3.1.0",
"rollup": "^4.5.0",
"rollup-plugin-cleaner": "^1.0.0",
"seroval": "^1.6.0",
"shiki": "^4.3.1",
"solid-js": "^2.0.0-rc.0",
"source-map-js": "^1.2.1",
"terracotta": "2.0.0-next.6",
"typescript": "^5.9.0",
"vitest": "^3.2.0"
},
"packageManager": "pnpm@10.15.1",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
}
}
Loading
Loading