Skip to content

Commit

Permalink
Merge branch 'main' into serveractions
Browse files Browse the repository at this point in the history
  • Loading branch information
haseeb5555 committed Sep 7, 2024
2 parents 1ecd96e + 7ae221b commit 0722076
Show file tree
Hide file tree
Showing 60 changed files with 1,050 additions and 1,100 deletions.
5 changes: 0 additions & 5 deletions .changeset/clever-jars-explode.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fifty-shrimps-cross.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/quiet-mirrors-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@solidjs/start": patch
---

Fixed fetchEvent flakyness by storing the event in h3 context.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@solidjs/start": patch
---

Set X-Error for thrown Responses
encode api url components
22 changes: 9 additions & 13 deletions .github/workflows/doc-checks.yml → .github/workflows/cr.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
name: 📜 Docs Checks
name: ⚡️ Continuous Releases

on:
merge_group:
pull_request:
paths:
- "docs/**"
- "package.json"
- "pnpm-lock.yaml"

push:
branches:
- main
merge_group:
pull_request:

jobs:
docs:
name: "📜 Docs successfully build"
cr:
name: "⚡️ Continuous Releases"

strategy:
fail-fast: false
Expand All @@ -37,7 +33,7 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Build start
run: pnpm run build
run: pnpm run build:all

- name: Build docs
run: pnpm run docs:build
- name: Release
run: pnpm dlx pkg-pr-new@0.0 publish './packages/start' --template './examples/*' --compact
11 changes: 9 additions & 2 deletions .github/workflows/deploy-docs.yml → .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@ on:
push:
branches:
- main
merge_group:
pull_request:
paths:
- "docs/**"
- "package.json"
- "pnpm-lock.yaml"

env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

jobs:
docs:
name: "📜 Deploy Docs"
name: "📜 Docs"

strategy:
fail-fast: false
Expand Down Expand Up @@ -41,6 +47,7 @@ jobs:
env:
TARGET: cloudflare_module

- run: npx wrangler deploy
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: npx wrangler deploy
env:
WRANGLER_LOG: debug
3 changes: 3 additions & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ export default defineConfig({
// experimental: { islands: true },
server: {
preset: "cloudflare_module",
alias: {
"_mime": "mime/index.js"
},
rollupConfig: {
external: ["__STATIC_CONTENT_MANIFEST", "node:async_hooks"]
}
Expand Down
2 changes: 1 addition & 1 deletion docs/components/code-snippet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const getSolidStartVersion = async () => {
export function CodeSnippet() {
const [npmVersion] = createResource(() => getSolidStartVersion());
return (
<aside class="pt-20 px-8 sm:px-4 md:px-0 md:max-w-96 max-w-screen mx-auto w-5/6">
<aside class="pt-20 px-4 sm:px-4 md:px-0 md:max-w-96 max-w-screen mx-auto w-5/6">
<Tabs defaultValue="pnpm">
<Tabs.List class="flex justify-center space-x-4 pb-10">
<Tabs.Trigger
Expand Down
Loading

0 comments on commit 0722076

Please sign in to comment.