Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
976fca4
chore(solid2): pin Solid 2 prerelease dependency set
devagrawal09 Oct 3, 2026
d28e850
feat(solid2): port src/ to Solid 2 (tsc clean)
devagrawal09 Oct 3, 2026
ee5514f
test(solid2): port test harness to Solid 2 (128/128)
devagrawal09 Oct 3, 2026
559fe47
feat(solid2): dev/ and docs/ boot under @solidjs/vite-plugin start mode
devagrawal09 Oct 3, 2026
f0fe7fb
feat(solid2): static site generation + generated assets without Nitro…
devagrawal09 Oct 3, 2026
ed404c2
fix(solid2): run the prerender in a child process so vite build exits
devagrawal09 Oct 3, 2026
422f501
fix(solid2): ship prerender-worker.mjs in dist
devagrawal09 Oct 4, 2026
2389fa5
fix(solid2): prerender honors Vite base; export solidBaseToRoute
devagrawal09 Oct 4, 2026
f978aa3
fix(solid2): setLocale is a Solid action; <html lang> is set via onSe…
devagrawal09 Oct 4, 2026
d0e3190
fix(solid2): prerender honors Vite base for real; 404 for unmatched r…
devagrawal09 Oct 4, 2026
e3ae444
fix(solid2): restore deferStream on page data so 404 pages set their …
devagrawal09 Oct 4, 2026
cfae258
fix(solid2): prerender crawler resolves links against the page and tr…
devagrawal09 Oct 4, 2026
cff3c8d
Update Solid runtime and address migration review
devagrawal09 Oct 8, 2026
fee6165
Document Solid 2 migration and history investigation handoff
devagrawal09 Oct 9, 2026
b5e90a6
fix(solid2): page data no longer stalls Back/Forward to the hydrated …
devagrawal09 Oct 9, 2026
55acbf0
Record the Back/Forward root cause and fix in the Solid 2 handoff
devagrawal09 Oct 9, 2026
bcff012
fix(solid2): harden page-data hydration fix after review
devagrawal09 Oct 9, 2026
7aee00e
fix(solid2): docs prerender links resolve; page data without a module…
devagrawal09 Oct 9, 2026
88cc5a2
Remove the Solid 2 migration handoff note
devagrawal09 Oct 9, 2026
9cb9cf2
Add a concise Solid 2 handoff for the next agent
devagrawal09 Oct 13, 2026
ea78dce
fix(solid2): stabilize tab hydration and configured prerender routes
devagrawal09 Oct 13, 2026
184f4a0
fix(solid2): create tab-group BroadcastChannel on the client only
devagrawal09 Oct 13, 2026
e66c0ba
chore(solid2): bump Solid rc.16, Kobalte alpha.4 and storage next.7
devagrawal09 Oct 21, 2026
20ac9de
refactor(solid2): restore Kobalte tabs and accordion with storage per…
devagrawal09 Oct 21, 2026
4f46f81
fix(solid2): drop lazy preload workaround now fixed in solid-js rc.15…
devagrawal09 Oct 21, 2026
811e07d
Update Solid 2 handoff for rc.16, Kobalte alpha.4 and storage next.7
devagrawal09 Oct 21, 2026
2dd7f92
chore(solid2): remove migration handoff note
devagrawal09 Oct 21, 2026
4ab99cd
fix(solid2): key head cookie scripts so hydration adopts them instead…
devagrawal09 Oct 21, 2026
b1e7ab3
fix(solid2): locale selector no longer re-navigates on every route ch…
devagrawal09 Oct 21, 2026
4795143
fix(solid2): emit HTML attribute names from MDX so classes render
devagrawal09 Oct 21, 2026
d37170f
fix(solid2): prerender per-directory 404 pages so missing URLs hydrat…
devagrawal09 Oct 21, 2026
84e08f8
fix(vite-mdx): drop the esbuild JSX downlevel step from the MDX trans…
devagrawal09 Oct 21, 2026
2138350
fix(package): declare runtime deps and point ./config/route at dist
devagrawal09 Oct 21, 2026
3664bee
chore(docs,dev): declare @solidjs/meta used by the app layouts
devagrawal09 Oct 21, 2026
46bb289
fix(prerender): return worker result over IPC so app logs don't break…
devagrawal09 Oct 21, 2026
be1d650
fix(prerender): probe index-only directories for per-directory 404 pages
devagrawal09 Oct 21, 2026
7765314
fix(solid2): resolve links and match locales/sidebars against the rou…
devagrawal09 Oct 21, 2026
9038494
fix(solid2): report prerender links outside the Vite base as broken
devagrawal09 Oct 21, 2026
e594b32
docs(solid2): complete the add-to-existing guide; export @kobalte/sol…
devagrawal09 Oct 21, 2026
b5f6fc9
fix(solid2): resolve STRICT_READ_UNTRACKED dev diagnostics
devagrawal09 Oct 21, 2026
7bf9198
test: correct stale comment in page-data test (runs in the jsdom/brow…
devagrawal09 Oct 21, 2026
83b7d5f
fix(solid2): keep in-page links from claiming aria-current="page"
devagrawal09 Oct 21, 2026
f590c60
fix(solid2): resolve the favicon link against the Vite base
devagrawal09 Oct 21, 2026
9530003
fix(solid2): ignore trailing slashes when matching the current page
devagrawal09 Oct 21, 2026
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gt pul

<div align="center">

Fully featured, fully customisable static site generation for [SolidStart](https://start.solidjs.com)
Fully featured, fully customisable static site generation for [Solid](https://www.solidjs.com)

[![license](https://img.shields.io/badge/license-MIT-1890ff.svg)](https://github.com/kobaltedev/solidbase/blob/main/LICENSE)
[![checks](https://img.shields.io/github/checks-status/kobaltedev/solidbase/main)](https://github.com/kobaltedev/solidbase/actions)
Expand Down
111 changes: 0 additions & 111 deletions dev/app.config.ts

This file was deleted.

11 changes: 6 additions & 5 deletions dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@
"preview": "vite preview"
},
"dependencies": {
"@kobalte/core": "2.0.0-alpha.4",
"@kobalte/solidbase": "workspace:*",
"@kobalte/core": "0.13.11",
"@solidjs/router": "^0.15.3",
"@solidjs/start": "https://pkg.pr.new/solidjs/solid-start/@solidjs/start@2080",
"nitro": "3.0.260311-beta",
"solid-js": "^1.9.9"
"@solidjs/meta": "1.0.0-next.2",
"@solidjs/router": "2.0.0-next.37",
"@solidjs/web": "2.0.0-rc.16",
"solid-js": "2.0.0-rc.16"
},
"engines": {
"node": ">=22.12"
},
"devDependencies": {
"@iconify-json/ri": "^1.2.5",
"@solidjs/vite-plugin": "3.0.0-next.47",
"cross-env": "^7.0.3",
"vite": "^8.0.0"
}
Expand Down
21 changes: 21 additions & 0 deletions dev/src/Document.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { getHtmlProps } from "@kobalte/solidbase/server";
import { HydrationScript } from "@solidjs/web";
import type { ParentProps } from "solid-js";

// Document shell for @solidjs/vite-plugin start mode: the app arrives as children and the
// client entry script is injected into <head> automatically.
export default function Document(props: ParentProps) {
return (
<html {...getHtmlProps()}>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href={`${import.meta.env.BASE_URL}favicon.ico`} />
<HydrationScript />
</head>
<body>
<div id="app">{props.children}</div>
</body>
</html>
);
}
16 changes: 12 additions & 4 deletions dev/src/app.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
import { pageRoutes } from "virtual:file-routes";
import { SolidBaseRoot } from "@kobalte/solidbase/client";
import { Router } from "@solidjs/router";
import { FileRoutes } from "@solidjs/start/router";
import { createRouter } from "@solidjs/router";
import { fileRoutes } from "@solidjs/router/fs";

import "./app.css";

const Router = createRouter({
routes: fileRoutes(pageRoutes),
// Vite's base ends with a slash ("/docs/"), which the router would keep when
// resolving links ("/docs//guide"), so pass it without one.
base: import.meta.env.BASE_URL.replace(/\/$/, ""),
});

export default function App() {
return (
<Router root={SolidBaseRoot}>
<FileRoutes />
<Router>
{(props) => <SolidBaseRoot>{props.children}</SolidBaseRoot>}
</Router>
);
}
4 changes: 0 additions & 4 deletions dev/src/entry-client.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions dev/src/entry-server.tsx

This file was deleted.

3 changes: 2 additions & 1 deletion dev/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/// <reference types="@solidjs/start/env" />
/// <reference types="vite/client" />
/// <reference types="@kobalte/solidbase/types" />
6 changes: 3 additions & 3 deletions dev/src/routes/ec-file.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
```file=../app.css tab
```

``` file=../entry-client.tsx tab
``` file=../Document.tsx tab
```

```file=../entry-server.tsx tab
```file=../app.tsx tab
```

```file=~/entry-server.tsx title="aliased import"
```file=@dev/Document.tsx title="aliased import"
```

```file=./to-transform.tsx title=false
Expand Down
2 changes: 1 addition & 1 deletion dev/src/solidbase-theme/mdx-components.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ComponentProps } from "solid-js";
import type { ComponentProps } from "@solidjs/web";

export function h1(props: ComponentProps<"h1">) {
return <h1 {...props} style={{ color: "red" }} />;
Expand Down
7 changes: 5 additions & 2 deletions dev/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"jsxImportSource": "solid-js",
"jsxImportSource": "@solidjs/web",
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"noEmit": true,
"isolatedModules": true,
"paths": {
"~/*": ["./src/*"]
}
}
},
"include": ["src", "vite.config.mts"],
"exclude": ["dist", "node_modules"]
}
15 changes: 9 additions & 6 deletions dev/vite.config.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { solidStart } from "@solidjs/start/config";
import { nitro } from "nitro/vite";
import { fileURLToPath } from "node:url";
import solid from "@solidjs/vite-plugin";
import { defineConfig } from "vite";
import Inspect from "vite-plugin-inspect";

Expand Down Expand Up @@ -33,6 +33,11 @@ function createDevSidebar(route: string, hiddenFolders: string[] = []) {
}

export default defineConfig({
resolve: {
alias: {
"@dev": fileURLToPath(new URL("./src", import.meta.url)),
},
},
plugins: [
Inspect(),
solidBase.plugin({
Expand Down Expand Up @@ -163,9 +168,7 @@ export default defineConfig({
},
},
}),
solidStart(solidBase.startConfig()),
nitro({
prerender: { crawlLinks: true },
}),
// @solidjs/vite-plugin start mode (SSR) replaces SolidStart + Nitro.
solid(solidBase.startConfig()),
],
});
9 changes: 5 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@
"dependencies": {
"@kobalte/solidbase": "workspace:*",
"@solid-mediakit/og": "0.4.1",
"@solidjs/router": "^0.15.3",
"@solidjs/start": "https://pkg.pr.new/solidjs/solid-start/@solidjs/start@2080",
"nitro": "3.0.260311-beta",
"solid-js": "^1.9.9",
"@solidjs/meta": "1.0.0-next.2",
"@solidjs/router": "2.0.0-next.37",
"@solidjs/web": "2.0.0-rc.16",
"solid-js": "2.0.0-rc.16",
"vite": "8.0.0"
},
"engines": {
"node": ">=22.12"
},
"devDependencies": {
"@iconify-json/ri": "^1.2.5",
"@solidjs/vite-plugin": "3.0.0-next.47",
"vite-plugin-arraybuffer": "^0.0.8"
}
}
25 changes: 25 additions & 0 deletions docs/src/Document.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { getFontPreloadLinkAttrs } from "@kobalte/solidbase/default-theme/fonts.js";
import { getHtmlProps } from "@kobalte/solidbase/server";
import { HydrationScript } from "@solidjs/web";
import type { ParentProps } from "solid-js";

// Document shell for @solidjs/vite-plugin start mode: the app arrives as children and the
// client entry script is injected into <head> automatically.
export default function Document(props: ParentProps) {
return (
<html {...getHtmlProps()}>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{getFontPreloadLinkAttrs().map((attrs) => (
<link {...attrs} />
))}
<link rel="icon" href={`${import.meta.env.BASE_URL}favicon.ico`} />
<HydrationScript />
</head>
<body>
<div id="app">{props.children}</div>
</body>
</html>
);
}
16 changes: 12 additions & 4 deletions docs/src/app.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
import { pageRoutes } from "virtual:file-routes";
import { SolidBaseRoot } from "@kobalte/solidbase/client";
import { Router } from "@solidjs/router";
import { FileRoutes } from "@solidjs/start/router";
import { createRouter } from "@solidjs/router";
import { fileRoutes } from "@solidjs/router/fs";

const Router = createRouter({
routes: fileRoutes(pageRoutes),
// Vite's base ends with a slash ("/docs/"), which the router would keep when
// resolving links ("/docs//guide"), so pass it without one.
base: import.meta.env.BASE_URL.replace(/\/$/, ""),
});

export default function App() {
return (
<Router root={SolidBaseRoot}>
<FileRoutes />
<Router>
{(props) => <SolidBaseRoot>{props.children}</SolidBaseRoot>}
</Router>
);
}
4 changes: 0 additions & 4 deletions docs/src/entry-client.tsx

This file was deleted.

Loading