Skip to content

Commit

Permalink
Merge branch 'main' into double-hydration
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid authored Aug 30, 2023
2 parents 132637d + 81ab04b commit 79d3878
Show file tree
Hide file tree
Showing 69 changed files with 799 additions and 627 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ bun run dev

### Development

You should use a node version manager [compatible with `.node-vesion`](https://stackoverflow.com/a/62978089/565877) ([asdf-vm](https://asdf-vm.com/) is a great option mac/linux users)
You should use a node version manager [compatible with `.node-version`](https://stackoverflow.com/a/62978089/565877) ([asdf-vm](https://asdf-vm.com/) is a great option mac/linux users)

The monorepo uses `pnpm` as the package manager. To install `pnpm`, run the following command in your terminal.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/createRouteAction.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export function EnrollmentPage() {

### Creating a Enhanced Form

Although we recommend using [progressively enhanced forms on the server](./createServerAction.md#creating-a-progressively-enhanced-form) whenever possible, we can still take advantage of running actions on the client and used enhanced forms. This is ideal when you need to run an action or API request that can only be done in the browser.
Although we recommend using [progressively enhanced forms on the server](./createServerAction#creating-a-progressively-enhanced-form) whenever possible, we can still take advantage of running actions on the client and used enhanced forms. This is ideal when you need to run an action or API request that can only be done in the browser.

To accomplish this we need to pass information to our action using form elements like `<input>`. Any data need to be sent that end users don't enter can be added with an `<input>` with `type="hidden"`.

Expand Down
14 changes: 7 additions & 7 deletions examples/bare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
},
"type": "module",
"devDependencies": {
"@types/node": "^18.16.19",
"@types/node": "^18.17.5",
"esbuild": "^0.14.54",
"postcss": "^8.4.26",
"solid-start-node": "^0.3.0",
"postcss": "^8.4.28",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"vite": "^4.4.6"
"vite": "^4.4.9"
},
"dependencies": {
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"solid-js": "^1.7.11",
"solid-start": "^0.3.4"
"solid-start": "^0.3.5"
},
"engines": {
"node": ">=18"
Expand Down
1 change: 1 addition & 0 deletions examples/bare/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/bare/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"jsxImportSource": "solid-js",
"jsx": "preserve",
"strict": true,
"types": ["solid-start/env"],
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
12 changes: 6 additions & 6 deletions examples/hackernews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
"main": "./dist/index.js",
"devDependencies": {
"@types/babel__core": "^7.20.1",
"@types/node": "^18.16.19",
"@types/node": "^18.17.5",
"esbuild": "^0.14.54",
"solid-start-node": "^0.3.0",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"vite": "^4.4.6"
"vite": "^4.4.9"
},
"dependencies": {
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"solid-js": "^1.7.11",
"solid-start": "^0.3.4"
"solid-start": "^0.3.5"
},
"engines": {
"node": ">=18"
Expand Down
1 change: 1 addition & 0 deletions examples/hackernews/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/hackernews/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"jsxImportSource": "solid-js",
"jsx": "preserve",
"strict": true,
"types": ["solid-start/env"],
"paths": {
"~/*": ["./src/*"]
}
Expand Down
16 changes: 8 additions & 8 deletions examples/movies/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
},
"type": "module",
"devDependencies": {
"@iconify/json": "^2.2.90",
"sass": "^1.63.6",
"solid-start-node": "^0.3.0",
"@iconify/json": "^2.2.102",
"sass": "^1.65.1",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"unplugin-icons": "^0.14.15",
"vite": "^4.4.6"
"vite": "^4.4.9"
},
"dependencies": {
"@solid-primitives/scheduled": "1.1.0",
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"nprogress": "^0.2.0",
"solid-heroicons": "^3.2.4",
"solid-js": "^1.7.11",
"solid-start": "^0.3.4",
"solid-start-netlify": "^0.3.0"
"solid-start": "^0.3.5",
"solid-start-netlify": "^0.3.5"
},
"engines": {
"node": ">=18"
Expand Down
1 change: 1 addition & 0 deletions examples/movies/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/movies/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"moduleResolution": "node",
"jsxImportSource": "solid-js",
"jsx": "preserve",
"types": ["vite/client", "unplugin-icons/types/solid"],
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
14 changes: 7 additions & 7 deletions examples/notes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@
},
"type": "module",
"devDependencies": {
"solid-start-cloudflare-workers": "^0.3.0",
"solid-start-node": "^0.3.0",
"solid-start-cloudflare-workers": "^0.3.5",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"vite": "^4.4.6"
"vite": "^4.4.9"
},
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.2.0",
"@cloudflare/workers-types": "^3.19.0",
"@iconify/json": "^2.2.90",
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@iconify/json": "^2.2.102",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"@types/marked": "^4.3.1",
"date-fns": "^2.30.0",
"excerpts": "^0.0.3",
"marked": "^4.3.0",
"sanitize-html": "^2.11.0",
"solid-js": "^1.7.11",
"solid-start": "^0.3.4",
"solid-start": "^0.3.5",
"string_decoder": "^1.3.0",
"unplugin-icons": "^0.14.15",
"wrangler": "^2.20.0"
Expand Down
1 change: 1 addition & 0 deletions examples/notes/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/notes/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"moduleResolution": "node",
"jsxImportSource": "solid-js",
"jsx": "preserve",
"types": ["vite/client", "unplugin-icons/types/solid", "./routes.d.ts"],
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
16 changes: 8 additions & 8 deletions examples/todomvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
},
"type": "module",
"devDependencies": {
"@types/node": "^18.16.19",
"@types/node": "^18.17.5",
"csstype": "3.1.0",
"esbuild": "^0.14.54",
"postcss": "^8.4.26",
"rollup": "^3.26.2",
"solid-start-node": "^0.3.0",
"postcss": "^8.4.28",
"rollup": "^3.28.0",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"vite": "^4.4.6"
"vite": "^4.4.9"
},
"dependencies": {
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"solid-js": "^1.7.11",
"solid-start": "^0.3.4"
"solid-start": "^0.3.5"
},
"engines": {
"node": ">=18"
Expand Down
1 change: 1 addition & 0 deletions examples/todomvc/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/todomvc/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"moduleResolution": "node",
"jsxImportSource": "solid-js",
"jsx": "preserve",
"types": ["solid-start/env"],
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
16 changes: 8 additions & 8 deletions examples/with-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
"type": "module",
"devDependencies": {
"@types/babel__core": "^7.20.1",
"@types/node": "^18.16.19",
"@types/node": "^18.17.5",
"esbuild": "^0.14.54",
"postcss": "^8.4.26",
"rollup": "^3.26.2",
"solid-start-node": "^0.3.0",
"postcss": "^8.4.28",
"rollup": "^3.28.0",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"vite": "^4.4.6"
"vite": "^4.4.9"
},
"dependencies": {
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"solid-js": "^1.7.11",
"solid-start": "^0.3.4"
"solid-start": "^0.3.5"
},
"engines": {
"node": ">=18"
Expand Down
1 change: 1 addition & 0 deletions examples/with-auth/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/with-auth/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"jsxImportSource": "solid-js",
"jsx": "preserve",
"strict": true,
"types": ["solid-start/env"],
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
16 changes: 8 additions & 8 deletions examples/with-authjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
},
"type": "module",
"devDependencies": {
"@types/node": "^18.16.19",
"@types/node": "^18.17.5",
"esbuild": "^0.14.54",
"next-auth": "^4.22.1",
"postcss": "^8.4.26",
"solid-start-node": "^0.3.0",
"next-auth": "^4.23.1",
"postcss": "^8.4.28",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"vite": "^4.4.6"
"vite": "^4.4.9"
},
"dependencies": {
"@auth/core": "^0.5.1",
"@solid-auth/base": "^2.0.3",
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"solid-js": "^1.7.11",
"solid-start": "^0.3.4"
"solid-start": "^0.3.5"
},
"engines": {
"node": ">=18"
Expand Down
1 change: 1 addition & 0 deletions examples/with-authjs/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/with-authjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"jsxImportSource": "solid-js",
"jsx": "preserve",
"strict": true,
"types": ["solid-start/env"],
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
10 changes: 5 additions & 5 deletions examples/with-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"type": "module",
"devDependencies": {
"@mdx-js/rollup": "^2.3.0",
"solid-start-node": "^0.3.0",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"vite": "^4.4.6"
"vite": "^4.4.9"
},
"dependencies": {
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"solid-js": "^1.7.11",
"solid-mdx": "^0.0.6",
"solid-start": "^0.3.4"
"solid-start": "^0.3.5"
},
"engines": {
"node": ">=18"
Expand Down
1 change: 1 addition & 0 deletions examples/with-mdx/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/with-mdx/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"jsxImportSource": "solid-js",
"jsx": "preserve",
"strict": true,
"types": ["solid-start/env"],
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
10 changes: 5 additions & 5 deletions examples/with-prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
},
"type": "module",
"devDependencies": {
"solid-start-node": "^0.3.0",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"vite": "^4.4.6"
"vite": "^4.4.9"
},
"dependencies": {
"@prisma/client": "^4.16.2",
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"prisma": "^4.16.2",
"solid-js": "^1.7.11",
"solid-start": "^0.3.4"
"solid-start": "^0.3.5"
},
"engines": {
"node": ">=18"
Expand Down
1 change: 1 addition & 0 deletions examples/with-prisma/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/with-prisma/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"jsxImportSource": "solid-js",
"jsx": "preserve",
"strict": true,
"types": ["solid-start/env"],
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
10 changes: 5 additions & 5 deletions examples/with-solid-styled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"type": "module",
"devDependencies": {
"@types/babel__core": "^7.20.1",
"solid-start-node": "^0.3.0",
"solid-start-node": "^0.3.5",
"typescript": "^4.9.5",
"vite": "^4.4.6",
"vite": "^4.4.9",
"vite-plugin-solid-styled": "^0.8.3"
},
"dependencies": {
"@solidjs/meta": "^0.28.5",
"@solidjs/router": "^0.8.2",
"@solidjs/meta": "^0.28.6",
"@solidjs/router": "^0.8.3",
"solid-js": "^1.7.11",
"solid-start": "^0.3.4",
"solid-start": "^0.3.5",
"solid-styled": "^0.8.2"
},
"engines": {
Expand Down
1 change: 1 addition & 0 deletions examples/with-solid-styled/src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="solid-start/env" />
1 change: 0 additions & 1 deletion examples/with-solid-styled/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"jsxImportSource": "solid-js",
"jsx": "preserve",
"strict": true,
"types": ["solid-start/env"],
"baseUrl": "./",
"paths": {
"~/*": ["./src/*"]
Expand Down
Loading

0 comments on commit 79d3878

Please sign in to comment.