Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
08ced41
well it works
Brendonovich Aug 17, 2025
7856588
add netlify preset
Brendonovich Aug 17, 2025
4953b1b
formatting
Brendonovich Aug 23, 2025
3191647
linting
Brendonovich Aug 23, 2025
5e59c41
more
Brendonovich Aug 23, 2025
7f031e5
pkg pr new
Brendonovich Aug 23, 2025
88a517e
bruh
Brendonovich Aug 23, 2025
b7e783a
lockfile
Brendonovich Aug 23, 2025
15ef81f
build
Brendonovich Aug 23, 2025
6c67e7f
maybe?
Brendonovich Aug 23, 2025
8627cd7
publishConfig
Brendonovich Aug 23, 2025
a72bf8f
try again
Brendonovich Aug 23, 2025
eaa3c4b
fix
Brendonovich Aug 23, 2025
14c6cf8
vendor solid-mdx
Brendonovich Aug 23, 2025
e870406
sideEffects?
Brendonovich Aug 23, 2025
20d90ea
solidbase/mdx
Brendonovich Aug 23, 2025
9c6891d
-_-
Brendonovich Aug 23, 2025
19031cc
annoying mdx import
Brendonovich Aug 23, 2025
42ec719
format
Brendonovich Aug 23, 2025
bbf0c29
bruh
Brendonovich Aug 23, 2025
585bf7f
always noExternal
Brendonovich Aug 23, 2025
eaa8cce
sourcemaps
Brendonovich Aug 24, 2025
45f306f
formatting
Brendonovich Nov 23, 2025
859996e
linting
Brendonovich Nov 23, 2025
df3da26
fouc in dev but everything else works
Brendonovich Dec 20, 2025
8d6b583
fix: properly ssr virtual styles in dev
katywings Dec 21, 2025
28b6e92
add file extension to import
jer3m01 Feb 27, 2026
935a051
update start¸
Brendonovich Feb 28, 2026
7e4cd40
update some deps
Brendonovich Feb 28, 2026
5c6b171
fix: docs build
jer3m01 Mar 11, 2026
24a4bce
style: format
jer3m01 Mar 11, 2026
58e2b91
test netlify?
jer3m01 Mar 11, 2026
f80aeb9
vite 8
jer3m01 Mar 17, 2026
d170768
start 2 nitro 3
jer3m01 Mar 17, 2026
1287c3c
style: format
jer3m01 Mar 17, 2026
bd39c18
ci: update biome
jer3m01 Mar 17, 2026
de1231e
fix errors
jer3m01 Mar 17, 2026
bb30ea5
ci: update biome
jer3m01 Mar 17, 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
38 changes: 38 additions & 0 deletions .github/workflows/cr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: ⚡️ Continuous Releases

on:
push:
branches:
- main
merge_group:
pull_request:

jobs:
cr:
name: "⚡️ Continuous Releases"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3

- name: Use Node.js 22.14.0
uses: actions/setup-node@v4
with:
node-version: 22.14.0
registry-url: "https://registry.npmjs.org"
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build start
run: pnpm run build

- name: Rewrite exports
run: echo $(cat package.json | jq '.exports = .publishConfig.exports') > package.json

- name: Release
run: pnpm dlx pkg-pr-new@0.0 publish
2 changes: 1 addition & 1 deletion .github/workflows/format-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: 1.9.2
version: 2.4.7

- name: Run Biome
run: biome ci .
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
*.json
*.cjs
*.css
*.d.ts
pnpm-lock.yaml
examples/solid-docs
18 changes: 11 additions & 7 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"files": {
"ignore": [
"./tsconfig.json",
"*/netlify/*",
"**/package.json",
"./examples/solid-docs",
"**/app.config.*.js"
"includes": [
"**",
"!./tsconfig.json",
"!*/netlify/*",
"!**/package.json",
"!./examples/solid-docs",
"!**/app.config.*.js",
"!**/*.d.ts",
"!node_modules"
]
},
"vcs": {
Expand All @@ -30,7 +33,8 @@
"noAssignInExpressions": "off"
},
"style": {
"noNonNullAssertion": "off"
"noNonNullAssertion": "off",
"noDescendingSpecificity": "off"
},
"complexity": {
"noBannedTypes": "off"
Expand Down
5 changes: 2 additions & 3 deletions dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
"dependencies": {
"@kobalte/solidbase": "workspace:*",
"@solidjs/router": "^0.15.3",
"@solidjs/start": "^1.1.1",
"solid-js": "^1.9.5",
"vinxi": "^0.5.3"
"@solidjs/start": "2.0.0-alpha.2",
"solid-js": "^1.9.9"
},
"engines": {
"node": ">=18"
Expand Down
2 changes: 1 addition & 1 deletion dev/src/entry-client.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @refresh reload
import { StartClient, mount } from "@solidjs/start/client";
import { mount, StartClient } from "@solidjs/start/client";

mount(() => <StartClient />, document.getElementById("app")!);
2 changes: 1 addition & 1 deletion dev/src/entry-server.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getHtmlProps } from "@kobalte/solidbase/server";
// @refresh reload
import { StartServer, createHandler } from "@solidjs/start/server";
import { createHandler, StartServer } from "@solidjs/start/server";

export default createHandler(() => (
<StartServer
Expand Down
2 changes: 1 addition & 1 deletion dev/src/routes/to-transform.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// i've not got a title!
const replacedString = "REPLACE ME";
const _replacedString = "REPLACE ME";
3 changes: 1 addition & 2 deletions dev/src/solidbase-theme/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Title } from "@solidjs/meta";

import Layout from "@kobalte/solidbase/default-theme/Layout.jsx";
import { Title } from "@solidjs/meta";
import type { ParentProps } from "solid-js";

export default function (props: ParentProps) {
Expand Down
33 changes: 16 additions & 17 deletions dev/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"jsxImportSource": "solid-js",
"allowJs": true,
"strict": true,
"noEmit": true,
"types": ["vinxi/types/client"],
"isolatedModules": true,
"paths": {
"~/*": ["./src/*"]
}
}
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"jsxImportSource": "solid-js",
"allowJs": true,
"strict": true,
"noEmit": true,
"isolatedModules": true,
"paths": {
"~/*": ["./src/*"]
}
}
}
2 changes: 2 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ dist
.vercel
.netlify
.vinxi
.nitro
.solid-start
app.config.timestamp_*.js

# Environment
Expand Down
14 changes: 7 additions & 7 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
"type": "module",
"private": "true",
"scripts": {
"dev": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" VITE_SOLIDBASE_DEV=true vinxi dev",
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" vinxi build",
"start": "vinxi start"
"dev": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" VITE_SOLIDBASE_DEV=true vite dev",
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" vite build"
},
"dependencies": {
"@kobalte/solidbase": "workspace:*",
"@solid-mediakit/og": "0.4.1",
"@solidjs/router": "^0.15.3",
"@solidjs/start": "^1.1.3",
"solid-js": "^1.9.5",
"vinxi": "^0.5.3"
"@solidjs/start": "https://pkg.pr.new/solidjs/solid-start/@solidjs/start@2080",
"nitro": "3.0.260311-beta",
"solid-js": "^1.9.9",
"vite": "^8.0.0"
},
"engines": {
"node": ">=18"
"node": ">=22.12"
},
"devDependencies": {
"@iconify-json/ri": "^1.2.5",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/entry-client.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @refresh reload
import { StartClient, mount } from "@solidjs/start/client";
import { mount, StartClient } from "@solidjs/start/client";

mount(() => <StartClient />, document.getElementById("app")!);
2 changes: 1 addition & 1 deletion docs/src/entry-server.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getFontPreloadLinkAttrs } from "@kobalte/solidbase/default-theme/fonts.js";
import { getHtmlProps } from "@kobalte/solidbase/server";
// @refresh reload
import { StartServer, createHandler } from "@solidjs/start/server";
import { createHandler, StartServer } from "@solidjs/start/server";

export default createHandler(() => (
<StartServer
Expand Down
3 changes: 0 additions & 3 deletions docs/src/routes/guide/(3)structure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { defineConfig } from "@solidjs/start/config";

import { createWithSolidBase } from "@kobalte/solidbase";


export default defineConfig(
createWithSolidBase(theme)(
/* SolidStart options */
Expand All @@ -24,13 +23,11 @@ export default defineConfig(
crawlLinks: true,
},
},
...
},
/* SolidBase options */
{
title: "SolidBase",
description: "Fully featured, fully customisable static site generation for SolidStart",
...
}
)
);
Expand Down
8 changes: 4 additions & 4 deletions docs/src/routes/guide/customization/extending-themes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ To extend the default theme, you must define a custom theme using `defineTheme`,
import { defineTheme } from "@kobalte/solidbase/config";
import defaultTheme from "@kobalte/solidbase/default-theme";

const customTheme = defineTheme({
const customTheme = defineTheme({
componentsPath: import.meta.resolve("./src/custom-theme"),
extends: defaultTheme,
}),
});
```

Once the theme is defined, you can set it as the active theme in your SolidBase config, using the `createWithSolidBase` helper to wrap your configuration:
Expand All @@ -30,10 +30,10 @@ Once the theme is defined, you can set it as the active theme in your SolidBase
import { defineTheme } from "@kobalte/solidbase/config";
import defaultTheme from "@kobalte/solidbase/default-theme";

const customTheme = defineTheme({
const customTheme = defineTheme({
componentsPath: import.meta.resolve("./src/custom-theme"),
extends: defaultTheme,
}),
});

export default defineConfig(
createWithSolidBase(customTheme)(
Expand Down
4 changes: 2 additions & 2 deletions docs/src/routes/guide/features/(1)language-switcher.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { withSolidBase } from "@kobalte/solidbase/config";

export default defineConfig(
withSolidBase(
/* your SolidStart config */,
/* your SolidStart config */
{
markdown: {
expressiveCode: {
Expand All @@ -42,7 +42,7 @@ import { withSolidBase } from "@kobalte/solidbase/config";

export default defineConfig(
withSolidBase(
/* your SolidStart config */,
/* your SolidStart config */
{
markdown: {
expressiveCode: {
Expand Down
12 changes: 5 additions & 7 deletions docs/src/solidbase-theme/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
import { Meta } from "@solidjs/meta";
import { useLocation } from "@solidjs/router";
import { type ComponentProps, Show } from "solid-js";
import { Dynamic } from "solid-js/web";

import {
mdxComponents,
useLocale,
useSolidBaseContext,
} from "@kobalte/solidbase/client";
import Layout from "@kobalte/solidbase/default-theme/Layout.jsx";
import Article from "@kobalte/solidbase/default-theme/components/Article.jsx";

import { DefaultThemeComponentsProvider } from "@kobalte/solidbase/default-theme/context.jsx";
import { useDefaultThemeFrontmatter } from "@kobalte/solidbase/default-theme/frontmatter.js";
import Layout from "@kobalte/solidbase/default-theme/Layout.jsx";
import { Meta } from "@solidjs/meta";
import { useLocation } from "@solidjs/router";
import { type ComponentProps, Show } from "solid-js";
import { Dynamic } from "solid-js/web";

import { OGImage } from "./og-image";

Expand Down
33 changes: 16 additions & 17 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"jsxImportSource": "solid-js",
"allowJs": true,
"strict": true,
"noEmit": true,
"types": ["vinxi/types/client"],
"isolatedModules": true,
"paths": {
"~/*": ["./src/*"]
},
}
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"jsxImportSource": "solid-js",
"allowJs": true,
"strict": true,
"noEmit": true,
"isolatedModules": true,
"paths": {
"~/*": ["./src/*"]
}
}
}
Loading
Loading