diff --git a/.changeset/quiet-mirrors-judge.md b/.changeset/quiet-mirrors-judge.md deleted file mode 100644 index 0c66999de..000000000 --- a/.changeset/quiet-mirrors-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": patch ---- - -Fixed fetchEvent flakyness by storing the event in h3 context. diff --git a/.changeset/tall-turkeys-kneel.md b/.changeset/tall-turkeys-kneel.md new file mode 100644 index 000000000..cfa612c02 --- /dev/null +++ b/.changeset/tall-turkeys-kneel.md @@ -0,0 +1,5 @@ +--- +"@solidjs/start": patch +--- + +update vite-plugin-solid of start diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 8f8e84916..00b540423 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -21,6 +21,7 @@ on: jobs: typecheck: name: "👀 Typecheck" + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.changed_files != 0) runs-on: ubuntu-latest diff --git a/app.config.ts b/docs/app.config.ts similarity index 96% rename from app.config.ts rename to docs/app.config.ts index f342043b3..27ce1e749 100644 --- a/app.config.ts +++ b/docs/app.config.ts @@ -3,7 +3,6 @@ import tailwindcss from "tailwindcss"; import { config } from "vinxi/plugins/config"; export default defineConfig({ - appRoot: "./docs", // experimental: { islands: true }, server: { preset: "cloudflare_module", diff --git a/docs/components/icons/solidstart-logo.tsx b/docs/components/icons/solidstart-logo.tsx deleted file mode 100644 index a0471c411..000000000 --- a/docs/components/icons/solidstart-logo.tsx +++ /dev/null @@ -1,267 +0,0 @@ -interface Props { - class?: string; -} -export function SolidStartLogo(props: Props) { - return ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); -} diff --git a/docs/package.json b/docs/package.json new file mode 100644 index 000000000..a9fdccc23 --- /dev/null +++ b/docs/package.json @@ -0,0 +1,46 @@ +{ + "name": "solid-start-docs", + "type": "module", + "scripts": { + "dev": "vinxi dev", + "build": "vinxi build", + "start": "node ./.output/server/index.mjs" + }, + "devDependencies": { + "@cloudflare/kv-asset-handler": "^0.2.0", + "@kobalte/core": "^0.13.1", + "@kobalte/utils": "^0.9.0", + "@solidjs/meta": "^0.29.0", + "@solidjs/router": "^0.15.0", + "@solidjs/start": "workspace:*", + "@tailwindcss/typography": "^0.5.9", + "@vinxi/plugin-mdx": "^3.7.1", + "autoprefixer": "^10.4.19", + "citty": "^0.1.5", + "class-variance-authority": "^0.7.0", + "clsx": "^2.1.1", + "coveralls": "^3.1.1", + "debug": "^4.3.4", + "graphql": "^16.7.1", + "postcss": "^8.4.38", + "rimraf": "^3.0.2", + "solid-js": "^1.9.2", + "solid-mdx": "^0.0.7", + "solid-start-mdx": "workspace:*", + "solid-transition-group": "^0.2.3", + "tailwind-merge": "^2.3.0", + "tailwindcss": "^3.4.1", + "tailwindcss-animate": "^1.0.7", + "tinyglobby": "^0.2.2", + "tippy.js": "^6.3.7", + "turbo": "^1.10.7", + "typescript": "5.3.3", + "valibot": "~0.29.0", + "vinxi": "^0.4.3", + "vite": "^5.1.1" + }, + "dependencies": { + "cross-env": "^7.0.3", + "wrangler": "3.22.1" + } +} diff --git a/public/actions-machine.png b/docs/public/actions-machine.png similarity index 100% rename from public/actions-machine.png rename to docs/public/actions-machine.png diff --git a/public/actions-machine.svg b/docs/public/actions-machine.svg similarity index 100% rename from public/actions-machine.svg rename to docs/public/actions-machine.svg diff --git a/public/favicon.ico b/docs/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to docs/public/favicon.ico diff --git a/public/fonts/Geist-Bold.woff2 b/docs/public/fonts/Geist-Bold.woff2 similarity index 100% rename from public/fonts/Geist-Bold.woff2 rename to docs/public/fonts/Geist-Bold.woff2 diff --git a/public/fonts/Geist-Light.woff2 b/docs/public/fonts/Geist-Light.woff2 similarity index 100% rename from public/fonts/Geist-Light.woff2 rename to docs/public/fonts/Geist-Light.woff2 diff --git a/public/fonts/Geist-Medium.woff2 b/docs/public/fonts/Geist-Medium.woff2 similarity index 100% rename from public/fonts/Geist-Medium.woff2 rename to docs/public/fonts/Geist-Medium.woff2 diff --git a/public/fonts/Geist-Regular.woff2 b/docs/public/fonts/Geist-Regular.woff2 similarity index 100% rename from public/fonts/Geist-Regular.woff2 rename to docs/public/fonts/Geist-Regular.woff2 diff --git a/public/fonts/Geist-SemiBold.woff2 b/docs/public/fonts/Geist-SemiBold.woff2 similarity index 100% rename from public/fonts/Geist-SemiBold.woff2 rename to docs/public/fonts/Geist-SemiBold.woff2 diff --git a/public/fonts/GeistMono-Bold.woff2 b/docs/public/fonts/GeistMono-Bold.woff2 similarity index 100% rename from public/fonts/GeistMono-Bold.woff2 rename to docs/public/fonts/GeistMono-Bold.woff2 diff --git a/public/fonts/GeistMono-Medium.woff2 b/docs/public/fonts/GeistMono-Medium.woff2 similarity index 100% rename from public/fonts/GeistMono-Medium.woff2 rename to docs/public/fonts/GeistMono-Medium.woff2 diff --git a/public/fonts/GeistMono-Regular.woff2 b/docs/public/fonts/GeistMono-Regular.woff2 similarity index 100% rename from public/fonts/GeistMono-Regular.woff2 rename to docs/public/fonts/GeistMono-Regular.woff2 diff --git a/public/fonts/GeistMono-SemiBold.woff2 b/docs/public/fonts/GeistMono-SemiBold.woff2 similarity index 100% rename from public/fonts/GeistMono-SemiBold.woff2 rename to docs/public/fonts/GeistMono-SemiBold.woff2 diff --git a/public/fonts/Inter-Regular.woff2 b/docs/public/fonts/Inter-Regular.woff2 similarity index 100% rename from public/fonts/Inter-Regular.woff2 rename to docs/public/fonts/Inter-Regular.woff2 diff --git a/public/lego.svg b/docs/public/lego.svg similarity index 100% rename from public/lego.svg rename to docs/public/lego.svg diff --git a/public/logo.old.svg b/docs/public/logo.old.svg similarity index 100% rename from public/logo.old.svg rename to docs/public/logo.old.svg diff --git a/public/logo.svg b/docs/public/logo.svg similarity index 100% rename from public/logo.svg rename to docs/public/logo.svg diff --git a/public/og-share.png b/docs/public/og-share.png similarity index 100% rename from public/og-share.png rename to docs/public/og-share.png diff --git a/public/robots.txt b/docs/public/robots.txt similarity index 100% rename from public/robots.txt rename to docs/public/robots.txt diff --git a/public/ryan-carniato-sunglasses.png b/docs/public/ryan-carniato-sunglasses.png similarity index 100% rename from public/ryan-carniato-sunglasses.png rename to docs/public/ryan-carniato-sunglasses.png diff --git a/public/ryan-carniato-sunglasses.webp b/docs/public/ryan-carniato-sunglasses.webp similarity index 100% rename from public/ryan-carniato-sunglasses.webp rename to docs/public/ryan-carniato-sunglasses.webp diff --git a/public/ryan-carniato.png b/docs/public/ryan-carniato.png similarity index 100% rename from public/ryan-carniato.png rename to docs/public/ryan-carniato.png diff --git a/public/ryan-carniato.webp b/docs/public/ryan-carniato.webp similarity index 100% rename from public/ryan-carniato.webp rename to docs/public/ryan-carniato.webp diff --git a/public/start_og.png b/docs/public/start_og.png similarity index 100% rename from public/start_og.png rename to docs/public/start_og.png diff --git a/docs/app.tsx b/docs/src/app.tsx similarity index 100% rename from docs/app.tsx rename to docs/src/app.tsx diff --git a/docs/components/bento.tsx b/docs/src/components/bento.tsx similarity index 100% rename from docs/components/bento.tsx rename to docs/src/components/bento.tsx diff --git a/docs/components/code-snippet.tsx b/docs/src/components/code-snippet.tsx similarity index 75% rename from docs/components/code-snippet.tsx rename to docs/src/components/code-snippet.tsx index 110767a20..b2d8880e7 100644 --- a/docs/components/code-snippet.tsx +++ b/docs/src/components/code-snippet.tsx @@ -17,7 +17,7 @@ const getSolidStartVersion = async () => { export function CodeSnippet() { const [npmVersion] = createResource(() => getSolidStartVersion()); return ( -