Compare commits
12 Commits
@blitzjs/c
...
@blitzjs/c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21b83fb7bf | ||
|
|
14882d43fe | ||
|
|
989691ec87 | ||
|
|
2703618868 | ||
|
|
44ddf5b423 | ||
|
|
bcef81fadc | ||
|
|
7abfb9086a | ||
|
|
57101e9adf | ||
|
|
497b87f7fb | ||
|
|
64a98e201d | ||
|
|
8aa22a0b2f | ||
|
|
145d5a02b3 |
@@ -2941,7 +2941,8 @@
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/230500?v=4",
|
||||
"profile": "https://github.com/bravo-kernel",
|
||||
"contributions": [
|
||||
"code"
|
||||
"code",
|
||||
"doc"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
5
.changeset/clean-hounds-laugh.md
Normal file
5
.changeset/clean-hounds-laugh.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@blitzjs/rpc": minor
|
||||
---
|
||||
|
||||
change rpc route basepath to be one folder higher when using includeRPC in monorepos
|
||||
5
.changeset/giant-timers-search.md
Normal file
5
.changeset/giant-timers-search.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"toolkit-app": patch
|
||||
---
|
||||
|
||||
Update zod to 3.20.2 (was 3.19.1).
|
||||
5
.changeset/lemon-teachers-jam.md
Normal file
5
.changeset/lemon-teachers-jam.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"blitz": patch
|
||||
---
|
||||
|
||||
Use `src` instead of `app` folder for `blitz generate custom-template`
|
||||
@@ -70,6 +70,7 @@
|
||||
"chilly-candles-care",
|
||||
"chilly-nails-nail",
|
||||
"clean-hats-pump",
|
||||
"clean-hounds-laugh",
|
||||
"clean-walls-wink",
|
||||
"clever-radios-lie",
|
||||
"cool-doors-invent",
|
||||
@@ -116,6 +117,7 @@
|
||||
"gentle-lions-explode",
|
||||
"giant-mails-tap",
|
||||
"giant-students-carry",
|
||||
"giant-timers-search",
|
||||
"gold-horses-punch",
|
||||
"good-apes-drum",
|
||||
"good-insects-wink",
|
||||
@@ -153,6 +155,7 @@
|
||||
"lemon-games-press",
|
||||
"lemon-pillows-switch",
|
||||
"lemon-seas-push",
|
||||
"lemon-teachers-jam",
|
||||
"light-donkeys-double",
|
||||
"light-squids-draw",
|
||||
"little-pears-ring",
|
||||
@@ -203,6 +206,7 @@
|
||||
"popular-teachers-pay",
|
||||
"pretty-games-march",
|
||||
"purple-donkeys-smash",
|
||||
"purple-jars-begin",
|
||||
"purple-singers-greet",
|
||||
"quick-cycles-confess",
|
||||
"quick-dots-fetch",
|
||||
@@ -240,6 +244,7 @@
|
||||
"smooth-stingrays-drum",
|
||||
"smooth-tools-train",
|
||||
"soft-adults-smell",
|
||||
"soft-fans-carry",
|
||||
"sour-lemons-hunt",
|
||||
"sour-mails-lick",
|
||||
"spicy-beds-float",
|
||||
@@ -255,6 +260,7 @@
|
||||
"stupid-walls-sell",
|
||||
"sweet-kiwis-cross",
|
||||
"swift-drinks-dress",
|
||||
"swift-poets-travel",
|
||||
"tall-meals-learn",
|
||||
"tame-keys-reply",
|
||||
"tame-pumpkins-nail",
|
||||
@@ -273,6 +279,7 @@
|
||||
"tidy-clouds-smoke",
|
||||
"tidy-llamas-compare",
|
||||
"tough-toes-pull",
|
||||
"tricky-kids-press",
|
||||
"twelve-hornets-sip",
|
||||
"twelve-lemons-smile",
|
||||
"twelve-needles-worry",
|
||||
|
||||
5
.changeset/purple-jars-begin.md
Normal file
5
.changeset/purple-jars-begin.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@blitzjs/generator": patch
|
||||
---
|
||||
|
||||
Fix missing MockRouter prop in test utils
|
||||
5
.changeset/soft-fans-carry.md
Normal file
5
.changeset/soft-fans-carry.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@blitzjs/auth": minor
|
||||
---
|
||||
|
||||
fix failed localStorage access to not crash the application
|
||||
5
.changeset/swift-poets-travel.md
Normal file
5
.changeset/swift-poets-travel.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"blitz": minor
|
||||
---
|
||||
|
||||
add `currentPassword` to the default fields that are masked in the logger
|
||||
5
.changeset/tricky-kids-press.md
Normal file
5
.changeset/tricky-kids-press.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@blitzjs/generator": minor
|
||||
---
|
||||
|
||||
Redesign the index page for newly generated blitz projects
|
||||
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@@ -136,12 +136,13 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
env:
|
||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
||||
shell: bash
|
||||
|
||||
- name: Install playwright
|
||||
run: |
|
||||
npm i -g playwright
|
||||
PLAYWRIGHT_BROWSERS_PATH=$HOME/pw-browsers npx playwright install --with-deps
|
||||
pnpx playwright@1.28.0 install --with-deps
|
||||
shell: bash
|
||||
|
||||
- name: Build
|
||||
|
||||
5
.kodiak.toml
Normal file
5
.kodiak.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
# .kodiak.toml
|
||||
# Minimal config. version is the only required field.
|
||||
version = 1
|
||||
merge.automerge_label = "0 - <(^_^)> - merge it! ✌️"
|
||||
approve.auto_approve_usernames = ["flybayer", "depfu"]
|
||||
@@ -620,7 +620,7 @@ Thanks to these wonderful people ([emoji key](https://allcontributors.org/docs/e
|
||||
<tr>
|
||||
<td align="center"><a href="https://muyiwa.me"><img src="https://avatars.githubusercontent.com/u/6832244?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Muyiwa Olu</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=muyiwaolu" title="Code">💻</a></td>
|
||||
<td align="center"><a href="http://2hr.me/"><img src="https://avatars.githubusercontent.com/u/4346154?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rabbi Hossain</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=rabbihossain" title="Documentation">📖</a></td>
|
||||
<td align="center"><a href="https://github.com/bravo-kernel"><img src="https://avatars.githubusercontent.com/u/230500?v=4?s=100" width="100px;" alt=""/><br /><sub><b>bravo-kernel</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=bravo-kernel" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/bravo-kernel"><img src="https://avatars.githubusercontent.com/u/230500?v=4?s=100" width="100px;" alt=""/><br /><sub><b>bravo-kernel</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=bravo-kernel" title="Code">💻</a> <a href="https://github.com/blitz-js/blitz/commits?author=bravo-kernel" title="Documentation">📖</a></td>
|
||||
<td align="center"><a href="https://samholmes.net"><img src="https://avatars.githubusercontent.com/u/8385528?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sam Holmes</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=sam3d" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://doncicuto.medium.com"><img src="https://avatars.githubusercontent.com/u/30386061?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Miguel Cabrerizo</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=doncicuto" title="Code">💻</a> <a href="https://github.com/blitz-js/blitz/commits?author=doncicuto" title="Documentation">📖</a></td>
|
||||
<td align="center"><a href="http://zackhobson.com/"><img src="https://avatars.githubusercontent.com/u/12092?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Zack Hobson</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=zenhob" title="Code">💻</a> <a href="https://github.com/blitz-js/blitz/commits?author=zenhob" title="Documentation">📖</a></td>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"@hookform/error-message": "2.0.0",
|
||||
"@hookform/resolvers": "2.9.10",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"next": "12.2.5",
|
||||
"openid-client": "5.2.1",
|
||||
"prisma": "4.6.0",
|
||||
@@ -38,7 +38,7 @@
|
||||
"react-dom": "18.2.0",
|
||||
"react-hook-form": "7.39.1",
|
||||
"ts-node": "10.9.1",
|
||||
"zod": "3.19.1"
|
||||
"zod": "3.20.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
|
||||
@@ -31,14 +31,14 @@
|
||||
"@hookform/error-message": "2.0.0",
|
||||
"@hookform/resolvers": "2.9.10",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.6.0",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-hook-form": "7.39.1",
|
||||
"ts-node": "10.9.1",
|
||||
"zod": "3.19.1"
|
||||
"zod": "3.20.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
|
||||
@@ -19,5 +19,5 @@ const { gSSP, gSP, api } = setupBlitzServer({
|
||||
export { gSSP, gSP, api }
|
||||
|
||||
export const cliConfig: BlitzCliConfig = {
|
||||
customTemplates: "app/templates",
|
||||
customTemplates: "src/templates",
|
||||
}
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
"prisma:studio": "prisma studio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.22",
|
||||
"@hookform/error-message": "2.0.0",
|
||||
"@hookform/resolvers": "2.9.10",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"delay": "5.0.0",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.6.0",
|
||||
@@ -32,7 +32,7 @@
|
||||
"react-dom": "18.2.0",
|
||||
"react-hook-form": "7.39.1",
|
||||
"ts-node": "10.9.1",
|
||||
"zod": "3.19.1"
|
||||
"zod": "3.20.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
|
||||
@@ -19,5 +19,5 @@ const {gSSP, gSP, api} = setupBlitzServer({
|
||||
export {gSSP, gSP, api}
|
||||
|
||||
export const cliConfig: BlitzCliConfig = {
|
||||
customTemplates: "app/templates",
|
||||
customTemplates: "src/templates",
|
||||
}
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
"prisma:studio": "prisma studio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.6.0",
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
"schema": "db/schema.prisma"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.22",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.6.0",
|
||||
@@ -28,7 +28,7 @@
|
||||
"react-dom": "18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
"@types/express": "4.17.13",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.22",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"next": "12.2.5",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0"
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
"prisma:studio": "prisma studio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.22",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.6.0",
|
||||
@@ -28,7 +28,7 @@
|
||||
"react-dom": "18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
"@types/express": "4.17.13",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.22",
|
||||
"@prisma/client": "4.6.0",
|
||||
"@tanstack/react-query": "4.0.10",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.6.0",
|
||||
"react": "18.2.0",
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
"schema": "db/schema.prisma"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.22",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.6.0",
|
||||
@@ -27,7 +27,7 @@
|
||||
"react-dom": "18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
"@types/express": "4.17.13",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
|
||||
@@ -2,6 +2,6 @@ const {withBlitz} = require("@blitzjs/next")
|
||||
module.exports = withBlitz({
|
||||
blitz: {
|
||||
resolverPath: "root",
|
||||
includeRPCFolders: ["../no-suspense/app"],
|
||||
includeRPCFolders: ["../no-suspense"],
|
||||
},
|
||||
})
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.22",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"next": "12.2.5",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0"
|
||||
|
||||
@@ -49,11 +49,16 @@ function runTests(dev = false) {
|
||||
it(
|
||||
"monorepo query works",
|
||||
async () => {
|
||||
const data = await fetchViaHTTP(appPort, "/api/rpc/queries/getNoSuspenseBasic", null, {
|
||||
method: "POST",
|
||||
headers: {"Content-Type": "application/json; charset=utf-8"},
|
||||
body: JSON.stringify({params: {}}),
|
||||
}).then((res) => res.ok && res.json())
|
||||
const data = await fetchViaHTTP(
|
||||
appPort,
|
||||
"/api/rpc/no-suspense/app/queries/getNoSuspenseBasic",
|
||||
null,
|
||||
{
|
||||
method: "POST",
|
||||
headers: {"Content-Type": "application/json; charset=utf-8"},
|
||||
body: JSON.stringify({params: {}}),
|
||||
},
|
||||
).then((res) => res.ok && res.json())
|
||||
|
||||
expect(data).toEqual({result: "basic-result", error: null, meta: {}})
|
||||
},
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.22",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"next": "12.2.5",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0"
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
"schema": "db/schema.prisma"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/auth": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/next": "workspace:2.0.0-beta.22",
|
||||
"@blitzjs/rpc": "workspace:2.0.0-beta.22",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "workspace:2.0.0-beta.21",
|
||||
"blitz": "workspace:2.0.0-beta.22",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.6.0",
|
||||
@@ -28,7 +28,7 @@
|
||||
"react-dom": "18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
"@types/express": "4.17.13",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @blitzjs/auth
|
||||
|
||||
## 2.0.0-beta.22
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 145d5a02b: fix failed localStorage access to not crash the application
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [989691ec8]
|
||||
- Updated dependencies [8aa22a0b2]
|
||||
- blitz@2.0.0-beta.22
|
||||
|
||||
## 2.0.0-beta.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/auth",
|
||||
"version": "2.0.0-beta.21",
|
||||
"version": "2.0.0-beta.22",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"predev": "wait-on -d 250 ../blitz/dist/index-server.d.ts",
|
||||
@@ -39,10 +39,10 @@
|
||||
"url": "0.11.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"blitz": "2.0.0-beta.21"
|
||||
"blitz": "2.0.0-beta.22"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@testing-library/react": "13.4.0",
|
||||
"@testing-library/react-hooks": "8.0.1",
|
||||
"@types/cookie": "0.4.1",
|
||||
@@ -50,7 +50,7 @@
|
||||
"@types/jsonwebtoken": "8.5.8",
|
||||
"@types/react": "18.0.25",
|
||||
"@types/react-dom": "17.0.14",
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"typescript": "^4.8.4",
|
||||
|
||||
@@ -90,7 +90,11 @@ class PublicDataStore {
|
||||
|
||||
clear() {
|
||||
deleteCookie(COOKIE_PUBLIC_DATA_TOKEN())
|
||||
localStorage.removeItem(LOCALSTORAGE_PUBLIC_DATA_TOKEN())
|
||||
try {
|
||||
localStorage.removeItem(LOCALSTORAGE_PUBLIC_DATA_TOKEN())
|
||||
} catch (err) {
|
||||
console.error("LocalStorage is not available", err)
|
||||
}
|
||||
this.updateState(emptyPublicData)
|
||||
}
|
||||
|
||||
@@ -105,12 +109,17 @@ class PublicDataStore {
|
||||
}
|
||||
|
||||
private getToken() {
|
||||
const cookieValue = readCookie(COOKIE_PUBLIC_DATA_TOKEN())
|
||||
if (cookieValue) {
|
||||
localStorage.setItem(LOCALSTORAGE_PUBLIC_DATA_TOKEN(), cookieValue)
|
||||
return cookieValue
|
||||
} else {
|
||||
return localStorage.getItem(LOCALSTORAGE_PUBLIC_DATA_TOKEN())
|
||||
try {
|
||||
const cookieValue = readCookie(COOKIE_PUBLIC_DATA_TOKEN())
|
||||
if (cookieValue) {
|
||||
localStorage.setItem(LOCALSTORAGE_PUBLIC_DATA_TOKEN(), cookieValue)
|
||||
return cookieValue
|
||||
} else {
|
||||
return localStorage.getItem(LOCALSTORAGE_PUBLIC_DATA_TOKEN())
|
||||
}
|
||||
} catch (err) {
|
||||
console.error("LocalStorage is not available", err)
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# @blitzjs/next
|
||||
|
||||
## 2.0.0-beta.22
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [270361886]
|
||||
- Updated dependencies [989691ec8]
|
||||
- Updated dependencies [8aa22a0b2]
|
||||
- @blitzjs/rpc@2.0.0-beta.22
|
||||
- blitz@2.0.0-beta.22
|
||||
|
||||
## 2.0.0-beta.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/next",
|
||||
"version": "2.0.0-beta.21",
|
||||
"version": "2.0.0-beta.22",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"dev": "pnpm predev && pnpm watch unbuild src --wait=0.2",
|
||||
@@ -24,7 +24,7 @@
|
||||
"eslint.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@blitzjs/rpc": "2.0.0-beta.21",
|
||||
"@blitzjs/rpc": "2.0.0-beta.22",
|
||||
"@tanstack/react-query": "4.0.10",
|
||||
"@types/hoist-non-react-statics": "3.3.1",
|
||||
"debug": "4.3.3",
|
||||
@@ -34,12 +34,12 @@
|
||||
"supports-color": "8.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"next": "*",
|
||||
"react": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@testing-library/dom": "8.13.0",
|
||||
"@testing-library/jest-dom": "5.16.3",
|
||||
"@testing-library/react": "13.4.0",
|
||||
@@ -49,7 +49,7 @@
|
||||
"@types/react": "18.0.25",
|
||||
"@types/react-dom": "17.0.14",
|
||||
"@types/testing-library__react-hooks": "4.0.0",
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"cross-spawn": "7.0.3",
|
||||
"find-up": "4.1.0",
|
||||
"next": "12.2.5",
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @blitzjs/rpc
|
||||
|
||||
## 2.0.0-beta.22
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 270361886: change rpc route basepath to be one folder higher when using includeRPC in monorepos
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [989691ec8]
|
||||
- Updated dependencies [8aa22a0b2]
|
||||
- blitz@2.0.0-beta.22
|
||||
|
||||
## 2.0.0-beta.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/rpc",
|
||||
"version": "2.0.0-beta.21",
|
||||
"version": "2.0.0-beta.22",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"predev": "wait-on -d 400 ../blitz/dist/index-server.d.ts && wait-on -d 400 ../blitz-auth/dist/index-browser.d.ts",
|
||||
@@ -30,24 +30,24 @@
|
||||
"supports-color": "8.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"next": "*",
|
||||
"react": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/auth": "2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/auth": "2.0.0-beta.22",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@types/debug": "4.1.7",
|
||||
"@types/react": "18.0.25",
|
||||
"@types/react-dom": "17.0.14",
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"next": "12.2.5",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"typescript": "^4.8.4",
|
||||
"unbuild": "0.7.6",
|
||||
"watch": "1.0.2",
|
||||
"zod": "3.19.1"
|
||||
"zod": "3.20.2"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
@@ -68,7 +68,7 @@ export function convertPageFilePathToRoutePath({
|
||||
} else if (resolverBasePath === "root") {
|
||||
path = path.replace(normalize(appRoot), "")
|
||||
for (const extraPath of extraRpcBasePaths) {
|
||||
path = path.replace(join(normalize(appRoot), extraPath.replace("/", sep)), "")
|
||||
path = path.replace(join(normalize(appRoot), extraPath.replace("/", sep), ".."), "")
|
||||
}
|
||||
} else {
|
||||
path = path.replace(/^.*?[\\/]queries[\\/]/, "/").replace(/^.*?[\\/]mutations[\\/]/, "/")
|
||||
|
||||
@@ -1,5 +1,18 @@
|
||||
# blitz
|
||||
|
||||
## 2.0.0-beta.22
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 8aa22a0b2: add `currentPassword` to the default fields that are masked in the logger
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 989691ec8: Use `src` instead of `app` folder for `blitz generate custom-template`
|
||||
- Updated dependencies [bcef81fad]
|
||||
- Updated dependencies [7abfb9086]
|
||||
- @blitzjs/generator@2.0.0-beta.22
|
||||
|
||||
## 2.0.0-beta.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "blitz",
|
||||
"version": "2.0.0-beta.21",
|
||||
"version": "2.0.0-beta.22",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"dev": "rm -rf dist && pnpm run predev && watch unbuild src --wait=0.2",
|
||||
@@ -25,7 +25,7 @@
|
||||
"blitz": "bin/blitz"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/generator": "2.0.0-beta.21",
|
||||
"@blitzjs/generator": "2.0.0-beta.22",
|
||||
"@mrleebo/prisma-ast": "0.2.6",
|
||||
"@types/global-agent": "2.1.1",
|
||||
"arg": "5.0.1",
|
||||
@@ -74,7 +74,7 @@
|
||||
"watchpack": "2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.21",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.22",
|
||||
"@types/cookie": "0.4.1",
|
||||
"@types/cross-spawn": "6.0.2",
|
||||
"@types/debug": "4.1.7",
|
||||
@@ -98,7 +98,7 @@
|
||||
"typescript": "^4.8.4",
|
||||
"unbuild": "0.7.6",
|
||||
"watch": "1.0.2",
|
||||
"zod": "3.19.1"
|
||||
"zod": "3.20.2"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
@@ -52,7 +52,7 @@ const createCustomTemplates = async () => {
|
||||
const continuePrompt = await prompts({
|
||||
type: "confirm",
|
||||
name: "value",
|
||||
message: `This will copy the default templates to your app/templates folder. Do you want to continue?`,
|
||||
message: `This will copy the default templates to your src/templates folder. Do you want to continue?`,
|
||||
})
|
||||
if (!continuePrompt.value) {
|
||||
process.exit(0)
|
||||
@@ -61,12 +61,12 @@ const createCustomTemplates = async () => {
|
||||
type: "text",
|
||||
name: "value",
|
||||
message: `Enter the path to save the custom templates folder`,
|
||||
initial: "app/templates",
|
||||
initial: "src/templates",
|
||||
})
|
||||
const templatesPathValue: string = templatesPath.value
|
||||
const isTypeScript = await getIsTypeScript()
|
||||
await customTemplatesBlitzConfig(isTypeScript, templatesPathValue, true) // to run the codemod
|
||||
log.success(`🚀 Custom templates path added/updated in app/blitz-server file`)
|
||||
log.success(`🚀 Custom templates path added/updated in src/blitz-server file`)
|
||||
const customTemplatesPath = require("path").join(process.cwd(), templatesPathValue)
|
||||
const fsExtra = await import("fs-extra")
|
||||
const blitzGeneratorPath = require.resolve("@blitzjs/generator")
|
||||
|
||||
@@ -41,7 +41,7 @@ export const BlitzLogger = (settings: BlitzLoggerSettings = {}) => {
|
||||
bigint: "blue",
|
||||
boolean: "blue",
|
||||
},
|
||||
maskValuesOfKeys: ["password", "passwordConfirmation"],
|
||||
maskValuesOfKeys: ["password", "passwordConfirmation", "currentPassword"],
|
||||
exposeErrorCodeFrame: process.env.NODE_ENV !== "production",
|
||||
...settings,
|
||||
})
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @blitzjs/codemod
|
||||
|
||||
## 2.0.0-beta.22
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [989691ec8]
|
||||
- Updated dependencies [bcef81fad]
|
||||
- Updated dependencies [8aa22a0b2]
|
||||
- Updated dependencies [7abfb9086]
|
||||
- blitz@2.0.0-beta.22
|
||||
- @blitzjs/generator@2.0.0-beta.22
|
||||
|
||||
## 2.0.0-beta.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/codemod",
|
||||
"version": "2.0.0-beta.21",
|
||||
"version": "2.0.0-beta.22",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"dev": "watch unbuild src --wait=0.2",
|
||||
@@ -25,9 +25,9 @@
|
||||
"@babel/plugin-proposal-class-properties": "7.17.12",
|
||||
"@babel/plugin-syntax-jsx": "7.17.12",
|
||||
"@babel/plugin-syntax-typescript": "7.17.12",
|
||||
"@blitzjs/generator": "2.0.0-beta.21",
|
||||
"@blitzjs/generator": "2.0.0-beta.22",
|
||||
"arg": "5.0.1",
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"chalk": "^4.1.0",
|
||||
"cross-spawn": "7.0.3",
|
||||
"debug": "4.3.3",
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# @blitzjs/config
|
||||
|
||||
## 2.0.0-beta.22
|
||||
|
||||
## 2.0.0-beta.21
|
||||
|
||||
## 2.0.0-beta.20
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@blitzjs/config",
|
||||
"private": true,
|
||||
"version": "2.0.0-beta.21",
|
||||
"version": "2.0.0-beta.22",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "5.42.1",
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# @blitzjs/generator
|
||||
|
||||
## 2.0.0-beta.22
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 7abfb9086: Redesign the index page for newly generated blitz projects
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- bcef81fad: Fix missing MockRouter prop in test utils
|
||||
|
||||
## 2.0.0-beta.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/generator",
|
||||
"version": "2.0.0-beta.21",
|
||||
"version": "2.0.0-beta.22",
|
||||
"scripts": {
|
||||
"dev": "watch unbuild src --wait=0.2",
|
||||
"build": "unbuild && pnpm build:templates",
|
||||
@@ -47,7 +47,7 @@
|
||||
"vinyl": "2.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.0.0-beta.21",
|
||||
"@blitzjs/config": "2.0.0-beta.22",
|
||||
"@juanm04/cpx": "2.0.1",
|
||||
"@types/babel__core": "7.1.19",
|
||||
"@types/diff": "5.0.2",
|
||||
|
||||
@@ -84,7 +84,7 @@ export class Field {
|
||||
}
|
||||
// use original unmodified field name in case the list handling code
|
||||
// has modified fieldName
|
||||
if (isRelation(_fieldName as string)) {
|
||||
if (typeof _fieldName === "string" && isRelation(_fieldName)) {
|
||||
// this field is an object type, not a scalar type
|
||||
const relationType = Relation[_fieldName]
|
||||
// translate the type into the name since they should stay in sync
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"@blitzjs/rpc": "latest",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "latest",
|
||||
"next": "12.2.5",
|
||||
"next": "13.1",
|
||||
"prisma": "4.6.0",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
|
||||
@@ -27,11 +27,11 @@
|
||||
"@blitzjs/rpc": "latest",
|
||||
"@prisma/client": "4.6.0",
|
||||
"blitz": "latest",
|
||||
"next": "12.2.5",
|
||||
"next": "13.1",
|
||||
"prisma": "4.6.0",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"zod": "3.19.1"
|
||||
"zod": "3.20.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import {ErrorFallbackProps, ErrorComponent, ErrorBoundary, AppProps} from "@blitzjs/next"
|
||||
import {AuthenticationError, AuthorizationError} from "blitz"
|
||||
import { ErrorFallbackProps, ErrorComponent, ErrorBoundary, AppProps } from "@blitzjs/next"
|
||||
import { AuthenticationError, AuthorizationError } from "blitz"
|
||||
import React from "react"
|
||||
import {withBlitz} from "src/blitz-client"
|
||||
import { withBlitz } from "src/blitz-client"
|
||||
import 'src/styles/globals.css'
|
||||
|
||||
function RootErrorFallback({error}: ErrorFallbackProps) {
|
||||
function RootErrorFallback({ error }: ErrorFallbackProps) {
|
||||
if (error instanceof AuthenticationError) {
|
||||
return <div>Error: You are not authenticated</div>
|
||||
} else if (error instanceof AuthorizationError) {
|
||||
@@ -23,7 +24,7 @@ function RootErrorFallback({error}: ErrorFallbackProps) {
|
||||
}
|
||||
}
|
||||
|
||||
function MyApp({Component, pageProps}: AppProps) {
|
||||
function MyApp({ Component, pageProps }: AppProps) {
|
||||
const getLayout = Component.getLayout || ((page) => page)
|
||||
return (
|
||||
<ErrorBoundary FallbackComponent={RootErrorFallback}>
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
import { Suspense } from "react"
|
||||
import Image from "next/image"
|
||||
import Link from "next/link"
|
||||
import Layout from "src/core/layouts/Layout"
|
||||
import { useCurrentUser } from "src/users/hooks/useCurrentUser"
|
||||
import logout from "src/auth/mutations/logout"
|
||||
import logo from "public/logo.png"
|
||||
import { useMutation } from "@blitzjs/rpc"
|
||||
import { Routes, BlitzPage } from "@blitzjs/next"
|
||||
import styles from 'src/styles/Home.module.css'
|
||||
|
||||
/*
|
||||
* This file is just for a pleasant getting started page for your new app.
|
||||
@@ -21,7 +20,7 @@ const UserInfo = () => {
|
||||
return (
|
||||
<>
|
||||
<button
|
||||
className="button small"
|
||||
className={styles.button}
|
||||
onClick={async () => {
|
||||
await logoutMutation()
|
||||
}}
|
||||
@@ -38,15 +37,11 @@ const UserInfo = () => {
|
||||
} else {
|
||||
return (
|
||||
<>
|
||||
<Link href={Routes.SignupPage()}>
|
||||
<a className="button small">
|
||||
<strong>Sign Up</strong>
|
||||
</a>
|
||||
<Link href={Routes.SignupPage()} className={styles.button}>
|
||||
<strong>Sign Up</strong>
|
||||
</Link>
|
||||
<Link href={Routes.LoginPage()}>
|
||||
<a className="button small">
|
||||
<strong>Login</strong>
|
||||
</a>
|
||||
<Link href={Routes.LoginPage()} className={styles.loginButton}>
|
||||
<strong>Login</strong>
|
||||
</Link>
|
||||
</>
|
||||
)
|
||||
@@ -56,216 +51,144 @@ const UserInfo = () => {
|
||||
const Home: BlitzPage = () => {
|
||||
return (
|
||||
<Layout title="Home">
|
||||
<div className="container">
|
||||
<main>
|
||||
<div className="logo">
|
||||
<Image src={`${logo.src}`} alt="blitzjs" width="256px" height="118px" layout="fixed" />
|
||||
</div>
|
||||
<div className={styles.globe} />
|
||||
|
||||
<div className={styles.container}>
|
||||
<div className={styles.toastContainer}>
|
||||
<p>
|
||||
<strong>Congrats!</strong> Your app is ready, including user sign-up and log-in.
|
||||
</p>
|
||||
<div className="buttons" style={{ marginTop: "1rem", marginBottom: "1rem" }}>
|
||||
<Suspense fallback="Loading...">
|
||||
<UserInfo />
|
||||
</Suspense>
|
||||
</div>
|
||||
<p>
|
||||
<strong>
|
||||
To add a new model to your app, <br />
|
||||
run the following in your terminal:
|
||||
</strong>
|
||||
</p>
|
||||
<pre>
|
||||
<code>blitz generate all project name:string</code>
|
||||
</pre>
|
||||
<div style={{ marginBottom: "1rem" }}>(And select Yes to run prisma migrate)</div>
|
||||
<div>
|
||||
<p>
|
||||
Then <strong>restart the server</strong>
|
||||
</p>
|
||||
<pre>
|
||||
<code>Ctrl + c</code>
|
||||
</pre>
|
||||
<pre>
|
||||
<code>blitz dev</code>
|
||||
</pre>
|
||||
<p>
|
||||
and go to{" "}
|
||||
<Link href="/projects">
|
||||
<a>/projects</a>
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
<div className="buttons" style={{ marginTop: "5rem" }}>
|
||||
<a
|
||||
className="button"
|
||||
href="https://blitzjs.com/docs/getting-started?utm_source=blitz-new&utm_medium=app-template&utm_campaign=blitz-new"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Documentation
|
||||
</a>
|
||||
<a
|
||||
className="button-outline"
|
||||
href="https://github.com/blitz-js/blitz"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Github Repo
|
||||
</a>
|
||||
<a
|
||||
className="button-outline"
|
||||
href="https://discord.blitzjs.com"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Discord Community
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<main className={styles.main}>
|
||||
|
||||
<div className={styles.wrapper}>
|
||||
<div className={styles.header}>
|
||||
|
||||
<div className={styles.logo}>
|
||||
<svg viewBox="0 0 165 66"><path d="M104.292 56.033C104.292 56.408 104.206 56.6636 104.036 56.8C103.9 56.9363 103.627 57.0045 103.218 57.0045H99.7409C99.4001 57.0045 99.1615 56.9533 99.0251 56.8511C98.8888 56.7147 98.8206 56.4932 98.8206 56.1864L98.9229 19.8324C98.9229 19.3211 99.1444 19.0654 99.5876 19.0654H103.627C103.839 19.0654 104.292 19.0672 104.292 19.0672V19.8324V56.033ZM64.3531 57.0081C64.1145 57.0081 63.927 56.9399 63.7906 56.8035C63.6543 56.6672 63.5861 56.4968 63.5861 56.2922V19.9383C63.5861 19.3588 63.8588 19.069 64.4042 19.069H76.829C81.533 19.069 85.1463 19.9212 87.6687 21.6256C90.1912 23.2958 91.4524 25.7331 91.4524 28.9373C91.4524 30.9484 90.924 32.6528 89.8673 34.0504C88.8106 35.4138 87.1063 36.5217 84.7543 37.3739C84.6179 37.4079 84.5497 37.4932 84.5497 37.6295C84.5497 37.7318 84.6179 37.7999 84.7543 37.834C87.2767 38.5158 89.1686 39.5895 90.4298 41.0553C91.7251 42.521 92.3727 44.4469 92.3727 46.833C92.3727 50.2418 91.0945 52.7983 88.5379 54.5027C85.9814 56.1729 82.2318 57.0081 77.2892 57.0081H64.3531ZM77.5448 35.5843C79.6923 35.5843 81.516 35.1071 83.0158 34.1526C84.5157 33.1982 85.2656 31.6983 85.2656 29.6531C85.2656 27.6079 84.5157 26.0569 83.0158 25.0002C81.5501 23.9435 79.5219 23.4151 76.9313 23.4151H70.5399C70.0286 23.4151 69.7729 23.6367 69.7729 24.0798V34.8684C69.7729 35.3457 69.9604 35.5843 70.3354 35.5843H77.5448ZM77.0335 52.662C82.9647 52.662 85.9303 50.5997 85.9303 46.4751C85.9303 44.3276 85.1633 42.7255 83.6294 41.6688C82.0955 40.6121 80.0673 40.0838 77.5448 40.0838H70.591C70.2843 40.0838 70.0627 40.1349 69.9263 40.2372C69.8241 40.3394 69.7729 40.5099 69.7729 40.7485V51.895C69.7729 52.4063 69.9604 52.662 70.3354 52.662H77.0335ZM142.707 56.8624C142.81 56.9647 142.997 57.0158 143.27 57.0158H163.876C164.387 57.0158 164.643 56.7772 164.643 56.3V53.948V53.3344H163.978H149.866C149.593 53.3344 149.457 53.2492 149.457 53.0788C149.457 52.9765 149.508 52.8572 149.61 52.7208L163.876 33.8536C164.251 33.2741 164.438 32.7628 164.438 32.3197V30.479V29.9144C164.438 29.9144 164.051 29.9165 163.876 29.9165H144.241C143.866 29.9165 143.679 30.121 143.679 30.5301V32.831C143.679 33.1037 143.713 33.2911 143.781 33.3934C143.883 33.4957 144.071 33.5468 144.344 33.5468H157.075C157.382 33.5468 157.535 33.632 157.535 33.8025L157.382 34.1092L143.219 52.9765C142.946 53.3515 142.759 53.6412 142.656 53.8457C142.588 54.0502 142.554 54.3059 142.554 54.6127V56.3C142.554 56.5727 142.605 56.7602 142.707 56.8624ZM116.929 19.0676H111.51V27.7684C114.503 27.7684 116.929 25.3419 116.929 22.3486V19.0676ZM116.926 56.0308C116.926 56.4058 116.841 56.6614 116.67 56.7978C116.534 56.9341 116.278 57.0023 115.903 57.0023H112.427C112.086 57.0023 111.847 56.9512 111.711 56.8489C111.574 56.7126 111.506 56.491 111.506 56.1842V30.6699C111.506 30.3972 111.557 30.2098 111.66 30.1075C111.762 29.9712 111.949 29.903 112.222 29.903H117.028L116.926 56.0308ZM132.183 34.3137C132.183 33.9728 132.336 33.8024 132.643 33.8024H138.779C139.256 33.8024 139.495 33.5979 139.495 33.1888V30.4789V29.9165H138.881H132.745C132.439 29.9165 132.285 29.7631 132.285 29.4563V21.531V20.713L131.621 20.7129H128.093C127.752 20.7129 127.547 20.9515 127.479 21.4288L126.865 29.4563C126.865 29.7631 126.729 29.9165 126.456 29.9165H122.366C121.957 29.9165 121.752 30.1039 121.752 30.4789V33.1888C121.752 33.5979 121.974 33.8024 122.417 33.8024H126.252C126.593 33.8024 126.763 34.0069 126.763 34.416V50.6244C126.763 52.806 127.309 54.4252 128.399 55.4819C129.49 56.5045 131.16 57.0158 133.41 57.0158C135.796 57.0158 137.535 56.9306 138.625 56.7601C139.137 56.6579 139.392 56.3681 139.392 55.8909V53.6923V53.0787H138.779H135.507C134.348 53.0787 133.495 52.806 132.95 52.2606C132.439 51.7152 132.183 50.7267 132.183 49.295V34.3137Z"></path><path d="M0.241243 33.2639H10.9742C15.0585 33.2639 18.9054 35.1835 21.3612 38.4471L31.9483 52.5165C32.1484 52.7824 32.1786 53.1393 32.026 53.435L25.9232 65.2592C25.6304 65.8265 24.8455 65.8932 24.4612 65.3835L0.241243 33.2639Z"></path><path d="M42.4727 33.2822H31.7398C27.6555 33.2822 23.8086 31.3626 21.3528 28.0991L10.7656 14.0297C10.5656 13.7638 10.5354 13.4068 10.688 13.1111L16.7908 1.28696C17.0836 0.719654 17.8684 0.652924 18.2528 1.16266L42.4727 33.2822Z"></path></svg>
|
||||
</div>
|
||||
|
||||
<h1>Your database & authentication is ready. Try it by signing up.</h1>
|
||||
|
||||
{/* Auth */}
|
||||
|
||||
<div className={styles.buttonContainer}>
|
||||
<Suspense fallback="Loading...">
|
||||
<UserInfo />
|
||||
</Suspense>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div className={styles.body}>
|
||||
{/* Instructions */}
|
||||
<div className={styles.instructions}>
|
||||
<p>
|
||||
<strong>
|
||||
Add a new model by running the following in your terminal:
|
||||
</strong>
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<div className={styles.code}>
|
||||
<span>1</span>
|
||||
<pre>
|
||||
<code>blitz generate all project</code>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div className={styles.code}>
|
||||
<span>2</span>
|
||||
<pre>
|
||||
<code>Ctrl + c</code>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div className={styles.code}>
|
||||
<span>3</span>
|
||||
<pre>
|
||||
<code>blitz dev</code>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div className={styles.code}>
|
||||
<span>4</span>
|
||||
<pre>
|
||||
<code>Go to{" "}
|
||||
<Link href="/projects" className={styles.textLink}>
|
||||
/projects
|
||||
</Link></code>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{/* Links */}
|
||||
<div className={styles.linkGrid}>
|
||||
<a
|
||||
href="https://blitzjs.com/docs/getting-started?utm_source=blitz-new&utm_medium=app-template&utm_campaign=blitz-new"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Blitz Docs
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
<a
|
||||
href="https://nextjs.org/docs/getting-started"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Next.js Docs
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
<a
|
||||
href="https://github.com/blitz-js/blitz"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Github Repo
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
<a
|
||||
href="https://twitter.com/blitz_js"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Blitz Twitter
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
<a
|
||||
href="https://discord.blitzjs.com"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Discord Community
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<footer className={styles.footer}>
|
||||
<span>Powered by</span>
|
||||
<a
|
||||
href="https://blitzjs.com?utm_source=blitz-new&utm_medium=app-template&utm_campaign=blitz-new"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.textLink}
|
||||
>
|
||||
Powered by Blitz.js
|
||||
Blitz.js
|
||||
</a>
|
||||
</footer>
|
||||
|
||||
<style jsx global>{`
|
||||
@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;700&display=swap");
|
||||
|
||||
html,
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
|
||||
Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.container {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 5rem 0;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
main p {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
footer {
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
border-top: 1px solid #eaeaea;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #45009d;
|
||||
}
|
||||
|
||||
footer a {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: #f4f4f4;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.logo {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
grid-gap: 0.5rem;
|
||||
}
|
||||
.button {
|
||||
font-size: 1rem;
|
||||
background-color: #6700eb;
|
||||
padding: 1rem 2rem;
|
||||
color: #f4f4f4;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.button.small {
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: #45009d;
|
||||
}
|
||||
|
||||
.button-outline {
|
||||
border: 2px solid #6700eb;
|
||||
padding: 1rem 2rem;
|
||||
color: #6700eb;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.button-outline:hover {
|
||||
border-color: #45009d;
|
||||
color: #45009d;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #fafafa;
|
||||
border-radius: 5px;
|
||||
padding: 0.75rem;
|
||||
text-align: center;
|
||||
}
|
||||
code {
|
||||
font-size: 0.9rem;
|
||||
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
|
||||
Bitstream Vera Sans Mono, Courier New, monospace;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
|
||||
max-width: 800px;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.grid {
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</div>
|
||||
</Layout>
|
||||
)
|
||||
|
||||
317
packages/generator/templates/app/src/styles/Home.module.css
Normal file
317
packages/generator/templates/app/src/styles/Home.module.css
Normal file
@@ -0,0 +1,317 @@
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.main {
|
||||
flex: 1;
|
||||
padding: 0rem 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
|
||||
.frost {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
|
||||
backdrop-filter: blur(5px);
|
||||
-webkit-backdrop-filter: blur(5px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.31);
|
||||
}
|
||||
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 4rem 0rem 2rem 0rem;
|
||||
text-align: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
max-width: 620px;
|
||||
align-self: center;
|
||||
|
||||
}
|
||||
|
||||
.body {
|
||||
composes: frost;
|
||||
border-radius: var(--border-radius);
|
||||
display: flex;
|
||||
padding: 1rem;
|
||||
width: 100%;
|
||||
flex-direction: row;
|
||||
align-self: center;
|
||||
max-width: var(--screen-width);
|
||||
}
|
||||
|
||||
|
||||
.instructions {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
padding: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.globe {
|
||||
position: fixed;
|
||||
width: 350vmin;
|
||||
height: 75vmin;
|
||||
left: 20%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, calc(-50% + 40px));
|
||||
z-index: -1;
|
||||
border-radius: 100%;
|
||||
background-image: radial-gradient(95.63% 95.63% at 95.92% 0%, rgba(255, 255, 255, 0.62) 0%, #8155ff38 60.42%, #002fff5c 169%);
|
||||
filter: blur(8vmin);
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
padding: 2rem 0;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.footer span {
|
||||
margin-right: 0.2rem;
|
||||
}
|
||||
|
||||
.code {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.code span {
|
||||
background: rgba(124, 58, 237, 50%);
|
||||
border-radius: 50rem;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
padding: 17px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: rgb(57, 33, 97);
|
||||
}
|
||||
|
||||
.code pre {
|
||||
background: rgba(124, 58, 237, 12%);
|
||||
border-radius: 4px;
|
||||
padding: 0.7em 1.4em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.code code {
|
||||
font-size: 0.86em;
|
||||
font-weight: bold;
|
||||
color: rgb(124, 58, 237);
|
||||
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
|
||||
Bitstream Vera Sans Mono, Courier New, monospace;
|
||||
}
|
||||
|
||||
.toastContainer {
|
||||
border: 1px solid #edff;
|
||||
padding: 0 1rem;
|
||||
background: #eeff;
|
||||
color: #62af;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.toastContainer strong {
|
||||
color: rgb(124, 58, 237);
|
||||
}
|
||||
|
||||
.textLink {
|
||||
color: rgb(124, 58, 237);
|
||||
background:
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(231, 216, 246, 1),
|
||||
rgba(231, 216, 246, 1)
|
||||
),
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(99, 1, 235, 1),
|
||||
rgba(124, 58, 237, 1),
|
||||
rgba(231, 216, 246, 1)
|
||||
);
|
||||
background-size: 100% 1px, 0 1px;
|
||||
background-position: 100% 100%, 0 100%;
|
||||
background-repeat: no-repeat;
|
||||
transition: background-size 400ms;
|
||||
}
|
||||
|
||||
.textLink:hover,
|
||||
.textLink:focus,
|
||||
.textLink:active {
|
||||
background-size: 0 1px, 100% 1px;
|
||||
}
|
||||
|
||||
.arrowIcon {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-top: 2px solid;
|
||||
transform: scale(var(--ggs,1));
|
||||
border-right: 2px solid;
|
||||
position: absolute;
|
||||
right: 6px;
|
||||
top: 6px;
|
||||
color:#b1a5c4;
|
||||
}
|
||||
|
||||
.arrowIcon::after {
|
||||
content: "";
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
width: 8px;
|
||||
height: 2px;
|
||||
background: currentColor;
|
||||
transform: rotate(-45deg);
|
||||
top: 2px;
|
||||
right: -1px
|
||||
}
|
||||
|
||||
.buttonContainer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.button {
|
||||
background: linear-gradient(to top, rgb(124, 58, 237), rgb(117, 81, 236));
|
||||
border: 1px solid rgb(231, 216, 246);
|
||||
color: white;
|
||||
text-shadow: rgba(0, 0, 0, 0.25) 0px 3px 8px;
|
||||
padding: 0 24px;
|
||||
height: 48px;
|
||||
width: 200px;
|
||||
max-width: 300px;
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
border-radius: 0.75rem;
|
||||
border-bottom-left-radius: 0px;
|
||||
font-size: 15px;
|
||||
transition: all 0.3s ease 0s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
color: white;
|
||||
text-shadow: rgb(0 0 0 / 56%) 0px 3px 12px;
|
||||
box-shadow: rgb(80 63 205 / 50%) 0px 1px 40px;
|
||||
}
|
||||
|
||||
.loginButton {
|
||||
composes: button;
|
||||
background: rgb(248 250 252);
|
||||
border: 1px solid rgb(231, 216, 246);
|
||||
color: rgb(30 41 59);
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.loginButton:hover {
|
||||
color: rgb(30 41 59);
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.card:hover .arrowIcon {
|
||||
color: #7450ec;
|
||||
}
|
||||
|
||||
.linkGrid {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.card {
|
||||
composes: frost;
|
||||
padding: 1rem 0rem;
|
||||
text-align: center;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
border-radius: 10px;
|
||||
border-bottom-left-radius: 0px;
|
||||
transition: color 0.15s ease, border-color 0.15s ease;
|
||||
max-width: 200px;
|
||||
min-width: 200px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.card:hover,
|
||||
.card:focus,
|
||||
.card:active {
|
||||
color: #7450ec;
|
||||
border-color: #7450ec;
|
||||
}
|
||||
|
||||
.card h2 {
|
||||
margin: 0 0 1rem 0;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.card p {
|
||||
margin: 0;
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.logo {
|
||||
flex: 1;
|
||||
padding: 1rem 2rem;
|
||||
}
|
||||
|
||||
.logo svg {
|
||||
height: 100%;
|
||||
width: 200px;
|
||||
fill: #7450ec;
|
||||
}
|
||||
|
||||
|
||||
/* MOBILE */
|
||||
@media(max-width:800px) {
|
||||
.linkGrid {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.body {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.buttonContainer {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
26
packages/generator/templates/app/src/styles/globals.css
Normal file
26
packages/generator/templates/app/src/styles/globals.css
Normal file
@@ -0,0 +1,26 @@
|
||||
:root {
|
||||
--border-radius: 0.75rem;
|
||||
--screen-width: 90vmin;
|
||||
}
|
||||
|
||||
|
||||
html,
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@@ -84,6 +84,7 @@ export const mockRouter: NextRouter = {
|
||||
isReady: true,
|
||||
isLocaleDomain: false,
|
||||
isPreview: false,
|
||||
forward: vi.fn(),
|
||||
push: vi.fn(),
|
||||
replace: vi.fn(),
|
||||
reload: vi.fn(),
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"dependencies": {
|
||||
"@blitzjs/next": "latest",
|
||||
"blitz": "latest",
|
||||
"next": "12.2.5",
|
||||
"next": "13.1",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"ts-node": "10.9.1"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"dependencies": {
|
||||
"@blitzjs/next": "latest",
|
||||
"blitz": "latest",
|
||||
"next": "12.2.5",
|
||||
"next": "13.1",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"ts-node": "10.9.1"
|
||||
|
||||
@@ -1,195 +1,108 @@
|
||||
import Image from 'next/image'
|
||||
import Layout from "src/core/layouts/Layout"
|
||||
import { BlitzPage } from "@blitzjs/next"
|
||||
import logo from "public/logo.png"
|
||||
import styles from 'src/styles/Home.module.css'
|
||||
|
||||
/*
|
||||
* This file is just for a pleasant getting started page for your new app.
|
||||
* You can delete everything in here and start from scratch if you like.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
const Home: BlitzPage = () => {
|
||||
return (
|
||||
<div className="container">
|
||||
<main>
|
||||
<div className="logo">
|
||||
<Image src={logo} alt="blitzjs" />
|
||||
<Layout title="Home">
|
||||
<div className={styles.globe} />
|
||||
|
||||
<div className={styles.container}>
|
||||
<div className={styles.toastContainer}>
|
||||
<p>
|
||||
<strong>Congrats!</strong> Your app is ready.
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
<strong>Congrats!</strong> Your app is ready.
|
||||
</p>
|
||||
<div className="buttons" style={{ marginTop: "5rem" }}>
|
||||
|
||||
<main className={styles.main}>
|
||||
|
||||
<div className={styles.wrapper}>
|
||||
<div className={styles.header}>
|
||||
|
||||
<div className={styles.logo}>
|
||||
<svg viewBox="0 0 165 66"><path d="M104.292 56.033C104.292 56.408 104.206 56.6636 104.036 56.8C103.9 56.9363 103.627 57.0045 103.218 57.0045H99.7409C99.4001 57.0045 99.1615 56.9533 99.0251 56.8511C98.8888 56.7147 98.8206 56.4932 98.8206 56.1864L98.9229 19.8324C98.9229 19.3211 99.1444 19.0654 99.5876 19.0654H103.627C103.839 19.0654 104.292 19.0672 104.292 19.0672V19.8324V56.033ZM64.3531 57.0081C64.1145 57.0081 63.927 56.9399 63.7906 56.8035C63.6543 56.6672 63.5861 56.4968 63.5861 56.2922V19.9383C63.5861 19.3588 63.8588 19.069 64.4042 19.069H76.829C81.533 19.069 85.1463 19.9212 87.6687 21.6256C90.1912 23.2958 91.4524 25.7331 91.4524 28.9373C91.4524 30.9484 90.924 32.6528 89.8673 34.0504C88.8106 35.4138 87.1063 36.5217 84.7543 37.3739C84.6179 37.4079 84.5497 37.4932 84.5497 37.6295C84.5497 37.7318 84.6179 37.7999 84.7543 37.834C87.2767 38.5158 89.1686 39.5895 90.4298 41.0553C91.7251 42.521 92.3727 44.4469 92.3727 46.833C92.3727 50.2418 91.0945 52.7983 88.5379 54.5027C85.9814 56.1729 82.2318 57.0081 77.2892 57.0081H64.3531ZM77.5448 35.5843C79.6923 35.5843 81.516 35.1071 83.0158 34.1526C84.5157 33.1982 85.2656 31.6983 85.2656 29.6531C85.2656 27.6079 84.5157 26.0569 83.0158 25.0002C81.5501 23.9435 79.5219 23.4151 76.9313 23.4151H70.5399C70.0286 23.4151 69.7729 23.6367 69.7729 24.0798V34.8684C69.7729 35.3457 69.9604 35.5843 70.3354 35.5843H77.5448ZM77.0335 52.662C82.9647 52.662 85.9303 50.5997 85.9303 46.4751C85.9303 44.3276 85.1633 42.7255 83.6294 41.6688C82.0955 40.6121 80.0673 40.0838 77.5448 40.0838H70.591C70.2843 40.0838 70.0627 40.1349 69.9263 40.2372C69.8241 40.3394 69.7729 40.5099 69.7729 40.7485V51.895C69.7729 52.4063 69.9604 52.662 70.3354 52.662H77.0335ZM142.707 56.8624C142.81 56.9647 142.997 57.0158 143.27 57.0158H163.876C164.387 57.0158 164.643 56.7772 164.643 56.3V53.948V53.3344H163.978H149.866C149.593 53.3344 149.457 53.2492 149.457 53.0788C149.457 52.9765 149.508 52.8572 149.61 52.7208L163.876 33.8536C164.251 33.2741 164.438 32.7628 164.438 32.3197V30.479V29.9144C164.438 29.9144 164.051 29.9165 163.876 29.9165H144.241C143.866 29.9165 143.679 30.121 143.679 30.5301V32.831C143.679 33.1037 143.713 33.2911 143.781 33.3934C143.883 33.4957 144.071 33.5468 144.344 33.5468H157.075C157.382 33.5468 157.535 33.632 157.535 33.8025L157.382 34.1092L143.219 52.9765C142.946 53.3515 142.759 53.6412 142.656 53.8457C142.588 54.0502 142.554 54.3059 142.554 54.6127V56.3C142.554 56.5727 142.605 56.7602 142.707 56.8624ZM116.929 19.0676H111.51V27.7684C114.503 27.7684 116.929 25.3419 116.929 22.3486V19.0676ZM116.926 56.0308C116.926 56.4058 116.841 56.6614 116.67 56.7978C116.534 56.9341 116.278 57.0023 115.903 57.0023H112.427C112.086 57.0023 111.847 56.9512 111.711 56.8489C111.574 56.7126 111.506 56.491 111.506 56.1842V30.6699C111.506 30.3972 111.557 30.2098 111.66 30.1075C111.762 29.9712 111.949 29.903 112.222 29.903H117.028L116.926 56.0308ZM132.183 34.3137C132.183 33.9728 132.336 33.8024 132.643 33.8024H138.779C139.256 33.8024 139.495 33.5979 139.495 33.1888V30.4789V29.9165H138.881H132.745C132.439 29.9165 132.285 29.7631 132.285 29.4563V21.531V20.713L131.621 20.7129H128.093C127.752 20.7129 127.547 20.9515 127.479 21.4288L126.865 29.4563C126.865 29.7631 126.729 29.9165 126.456 29.9165H122.366C121.957 29.9165 121.752 30.1039 121.752 30.4789V33.1888C121.752 33.5979 121.974 33.8024 122.417 33.8024H126.252C126.593 33.8024 126.763 34.0069 126.763 34.416V50.6244C126.763 52.806 127.309 54.4252 128.399 55.4819C129.49 56.5045 131.16 57.0158 133.41 57.0158C135.796 57.0158 137.535 56.9306 138.625 56.7601C139.137 56.6579 139.392 56.3681 139.392 55.8909V53.6923V53.0787H138.779H135.507C134.348 53.0787 133.495 52.806 132.95 52.2606C132.439 51.7152 132.183 50.7267 132.183 49.295V34.3137Z"></path><path d="M0.241243 33.2639H10.9742C15.0585 33.2639 18.9054 35.1835 21.3612 38.4471L31.9483 52.5165C32.1484 52.7824 32.1786 53.1393 32.026 53.435L25.9232 65.2592C25.6304 65.8265 24.8455 65.8932 24.4612 65.3835L0.241243 33.2639Z"></path><path d="M42.4727 33.2822H31.7398C27.6555 33.2822 23.8086 31.3626 21.3528 28.0991L10.7656 14.0297C10.5656 13.7638 10.5354 13.4068 10.688 13.1111L16.7908 1.28696C17.0836 0.719654 17.8684 0.652924 18.2528 1.16266L42.4727 33.2822Z"></path></svg>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div className={styles.body}>
|
||||
|
||||
{/* Links */}
|
||||
<div className={styles.linkGrid}>
|
||||
<a
|
||||
href="https://blitzjs.com/docs/getting-started?utm_source=blitz-new&utm_medium=app-template&utm_campaign=blitz-new"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Blitz Docs
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
<a
|
||||
href="https://nextjs.org/docs/getting-started"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Next.js Docs
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
<a
|
||||
href="https://github.com/blitz-js/blitz"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Github Repo
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
<a
|
||||
href="https://twitter.com/blitz_js"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Blitz Twitter
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
<a
|
||||
href="https://discord.blitzjs.com"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.card}
|
||||
>
|
||||
Discord Community
|
||||
<span className={styles.arrowIcon} />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer className={styles.footer}>
|
||||
<span>Powered by</span>
|
||||
<a
|
||||
className="button"
|
||||
href="https://blitzjs.com/docs/getting-started?utm_source=blitz-new&utm_medium=app-template&utm_campaign=blitz-new"
|
||||
href="https://blitzjs.com?utm_source=blitz-new&utm_medium=app-template&utm_campaign=blitz-new"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className={styles.textLink}
|
||||
>
|
||||
Documentation
|
||||
Blitz.js
|
||||
</a>
|
||||
<a
|
||||
className="button-outline"
|
||||
href="https://github.com/blitz-js/blitz"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Github Repo
|
||||
</a>
|
||||
<a
|
||||
className="button-outline"
|
||||
href="https://discord.blitzjs.com"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Discord Community
|
||||
</a>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<a
|
||||
href="https://blitzjs.com?utm_source=blitz-new&utm_medium=app-template&utm_campaign=blitz-new"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Powered by Blitz.js
|
||||
</a>
|
||||
</footer>
|
||||
|
||||
<style jsx global>{`
|
||||
@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;700&display=swap");
|
||||
|
||||
html,
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||
}
|
||||
|
||||
* {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.container {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 5rem 0;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
main p {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
footer {
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
border-top: 1px solid #eaeaea;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #45009d;
|
||||
}
|
||||
|
||||
footer a {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: #f4f4f4;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.logo {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
grid-gap: 0.5rem;
|
||||
}
|
||||
.button {
|
||||
font-size: 1rem;
|
||||
background-color: #6700eb;
|
||||
padding: 1rem 2rem;
|
||||
color: #f4f4f4;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.button.small {
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: #45009d;
|
||||
}
|
||||
|
||||
.button-outline {
|
||||
border: 2px solid #6700eb;
|
||||
padding: 1rem 2rem;
|
||||
color: #6700eb;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.button-outline:hover {
|
||||
border-color: #45009d;
|
||||
color: #45009d;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #fafafa;
|
||||
border-radius: 5px;
|
||||
padding: 0.75rem;
|
||||
text-align: center;
|
||||
}
|
||||
code {
|
||||
font-size: 0.9rem;
|
||||
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
|
||||
Bitstream Vera Sans Mono, Courier New, monospace;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
|
||||
max-width: 800px;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.grid {
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</Layout>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
export default Home
|
||||
|
||||
@@ -0,0 +1,232 @@
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.main {
|
||||
flex: 1;
|
||||
padding: 0rem 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
|
||||
.frost {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
|
||||
backdrop-filter: blur(5px);
|
||||
-webkit-backdrop-filter: blur(5px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.31);
|
||||
}
|
||||
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 4rem 0rem 2rem 0rem;
|
||||
text-align: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
max-width: 620px;
|
||||
align-self: center;
|
||||
|
||||
}
|
||||
|
||||
.body {
|
||||
composes: frost;
|
||||
border-radius: var(--border-radius);
|
||||
display: flex;
|
||||
padding: 1rem;
|
||||
width: 100%;
|
||||
flex-direction: row;
|
||||
align-self: center;
|
||||
max-width: var(--screen-width);
|
||||
}
|
||||
|
||||
.globe {
|
||||
position: fixed;
|
||||
width: 350vmin;
|
||||
height: 75vmin;
|
||||
left: 20%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, calc(-50% + 40px));
|
||||
z-index: -1;
|
||||
border-radius: 100%;
|
||||
background-image: radial-gradient(95.63% 95.63% at 95.92% 0%, rgba(255, 255, 255, 0.62) 0%, #8155ff38 60.42%, #002fff5c 169%);
|
||||
filter: blur(8vmin);
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
padding: 2rem 0;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.footer span {
|
||||
margin-right: 0.2rem;
|
||||
}
|
||||
|
||||
.toastContainer {
|
||||
border: 1px solid #edff;
|
||||
padding: 0 1rem;
|
||||
background: #eeff;
|
||||
color: #62af;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.toastContainer strong {
|
||||
color: rgb(124, 58, 237);
|
||||
}
|
||||
|
||||
.textLink {
|
||||
color: rgb(124, 58, 237);
|
||||
background:
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(231, 216, 246, 1),
|
||||
rgba(231, 216, 246, 1)
|
||||
),
|
||||
linear-gradient(
|
||||
to right,
|
||||
rgba(99, 1, 235, 1),
|
||||
rgba(124, 58, 237, 1),
|
||||
rgba(231, 216, 246, 1)
|
||||
);
|
||||
background-size: 100% 1px, 0 1px;
|
||||
background-position: 100% 100%, 0 100%;
|
||||
background-repeat: no-repeat;
|
||||
transition: background-size 400ms;
|
||||
}
|
||||
|
||||
.textLink:hover,
|
||||
.textLink:focus,
|
||||
.textLink:active {
|
||||
background-size: 0 1px, 100% 1px;
|
||||
}
|
||||
|
||||
.arrowIcon {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-top: 2px solid;
|
||||
transform: scale(var(--ggs,1));
|
||||
border-right: 2px solid;
|
||||
position: absolute;
|
||||
right: 6px;
|
||||
top: 6px;
|
||||
color:#b1a5c4;
|
||||
}
|
||||
|
||||
.arrowIcon::after {
|
||||
content: "";
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
width: 8px;
|
||||
height: 2px;
|
||||
background: currentColor;
|
||||
transform: rotate(-45deg);
|
||||
top: 2px;
|
||||
right: -1px
|
||||
}
|
||||
|
||||
.buttonContainer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.card:hover .arrowIcon {
|
||||
color: #7450ec;
|
||||
}
|
||||
|
||||
.linkGrid {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card {
|
||||
composes: frost;
|
||||
padding: 1rem 0rem;
|
||||
text-align: center;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
border-radius: 10px;
|
||||
border-bottom-left-radius: 0px;
|
||||
transition: color 0.15s ease, border-color 0.15s ease;
|
||||
max-width: 100%;
|
||||
min-width: 200px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.card:hover,
|
||||
.card:focus,
|
||||
.card:active {
|
||||
color: #7450ec;
|
||||
border-color: #7450ec;
|
||||
}
|
||||
|
||||
.card h2 {
|
||||
margin: 0 0 1rem 0;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.card p {
|
||||
margin: 0;
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.logo {
|
||||
flex: 1;
|
||||
padding: 1rem 2rem;
|
||||
}
|
||||
|
||||
.logo svg {
|
||||
height: 100%;
|
||||
width: 200px;
|
||||
fill: #7450ec;
|
||||
}
|
||||
|
||||
|
||||
/* MOBILE */
|
||||
@media(max-width:800px) {
|
||||
.linkGrid {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.body {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.buttonContainer {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
:root {
|
||||
--border-radius: 0.75rem;
|
||||
--screen-width: 90vmin;
|
||||
}
|
||||
|
||||
|
||||
html,
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@@ -25,7 +25,7 @@
|
||||
"@typescript-eslint/parser": "5.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.0.0-beta.21",
|
||||
"@blitzjs/config": "2.0.0-beta.22",
|
||||
"@types/react": "18.0.25",
|
||||
"@types/react-dom": "17.0.14",
|
||||
"react": "18.2.0",
|
||||
|
||||
190
pnpm-lock.yaml
generated
190
pnpm-lock.yaml
generated
@@ -51,7 +51,7 @@ importers:
|
||||
"@types/react": 18.0.25
|
||||
"@typescript-eslint/eslint-plugin": 5.42.1
|
||||
"@vitejs/plugin-react": 2.2.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
eslint-config-next: 12.3.1
|
||||
eslint-config-prettier: 8.5.0
|
||||
@@ -71,7 +71,7 @@ importers:
|
||||
typescript: ^4.8.4
|
||||
vite-tsconfig-paths: 3.6.0
|
||||
vitest: 0.25.3
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
dependencies:
|
||||
"@blitzjs/auth": link:../../packages/blitz-auth
|
||||
"@blitzjs/config": link:../../packages/config
|
||||
@@ -87,7 +87,7 @@ importers:
|
||||
react-dom: 18.2.0_react@18.2.0
|
||||
react-hook-form: 7.39.1_react@18.2.0
|
||||
ts-node: 10.9.1_cbe7ovvae6zqfnmtgctpgpys54
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
devDependencies:
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
"@testing-library/jest-dom": 5.16.5
|
||||
@@ -129,7 +129,7 @@ importers:
|
||||
"@types/preview-email": 2.0.1
|
||||
"@types/react": 18.0.25
|
||||
"@typescript-eslint/eslint-plugin": 5.42.1
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
eslint-config-next: 12.3.1
|
||||
eslint-config-prettier: 8.5.0
|
||||
@@ -149,7 +149,7 @@ importers:
|
||||
react-hook-form: 7.39.1
|
||||
ts-node: 10.9.1
|
||||
typescript: ^4.8.4
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
dependencies:
|
||||
"@blitzjs/auth": link:../../packages/blitz-auth
|
||||
"@blitzjs/config": link:../../packages/config
|
||||
@@ -166,7 +166,7 @@ importers:
|
||||
react-dom: 18.2.0_react@18.2.0
|
||||
react-hook-form: 7.39.1_react@18.2.0
|
||||
ts-node: 10.9.1_cbe7ovvae6zqfnmtgctpgpys54
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
devDependencies:
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
"@testing-library/react": 13.4.0_biqbaboplfbrettd7655fr4n2y
|
||||
@@ -238,9 +238,9 @@ importers:
|
||||
|
||||
integration-tests/auth:
|
||||
specifiers:
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.22
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
"@prisma/client": 4.6.0
|
||||
"@types/express": 4.17.13
|
||||
@@ -249,7 +249,7 @@ importers:
|
||||
"@types/node-fetch": 2.6.1
|
||||
"@types/react": 18.0.25
|
||||
b64-lite: 1.4.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
fs-extra: 10.0.1
|
||||
get-port: 6.1.2
|
||||
@@ -289,10 +289,10 @@ importers:
|
||||
|
||||
integration-tests/auth-with-rpc:
|
||||
specifiers:
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.21
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.22
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.22
|
||||
"@hookform/error-message": 2.0.0
|
||||
"@hookform/resolvers": 2.9.10
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
@@ -305,7 +305,7 @@ importers:
|
||||
"@types/react": 18.0.25
|
||||
"@typescript-eslint/eslint-plugin": 5.42.1
|
||||
"@vitejs/plugin-react": 2.2.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
delay: 5.0.0
|
||||
eslint: 8.27.0
|
||||
eslint-config-next: 12.3.1
|
||||
@@ -327,7 +327,7 @@ importers:
|
||||
typescript: ^4.8.4
|
||||
vite-tsconfig-paths: 3.6.0
|
||||
vitest: 0.25.3
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
dependencies:
|
||||
"@blitzjs/auth": link:../../packages/blitz-auth
|
||||
"@blitzjs/config": link:../../packages/config
|
||||
@@ -344,7 +344,7 @@ importers:
|
||||
react-dom: 18.2.0_react@18.2.0
|
||||
react-hook-form: 7.39.1_react@18.2.0
|
||||
ts-node: 10.9.1_cbe7ovvae6zqfnmtgctpgpys54
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
devDependencies:
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
"@testing-library/jest-dom": 5.16.5
|
||||
@@ -372,10 +372,10 @@ importers:
|
||||
|
||||
integration-tests/get-initial-props:
|
||||
specifiers:
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.21
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.22
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.22
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
"@prisma/client": 4.6.0
|
||||
"@types/express": 4.17.13
|
||||
@@ -383,7 +383,7 @@ importers:
|
||||
"@types/node-fetch": 2.6.1
|
||||
"@types/react": 18.0.25
|
||||
b64-lite: 1.4.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
fs-extra: 10.0.1
|
||||
get-port: 6.1.2
|
||||
@@ -421,15 +421,15 @@ importers:
|
||||
|
||||
integration-tests/middleware:
|
||||
specifiers:
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.22
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
"@types/express": 4.17.13
|
||||
"@types/fs-extra": 9.0.13
|
||||
"@types/node-fetch": 2.6.1
|
||||
"@types/react": 18.0.25
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
fs-extra: 10.0.1
|
||||
get-port: 6.1.2
|
||||
@@ -460,10 +460,10 @@ importers:
|
||||
|
||||
integration-tests/no-suspense:
|
||||
specifiers:
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.21
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.22
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.22
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
"@prisma/client": 4.6.0
|
||||
"@types/express": 4.17.13
|
||||
@@ -471,7 +471,7 @@ importers:
|
||||
"@types/node-fetch": 2.6.1
|
||||
"@types/react": 18.0.25
|
||||
b64-lite: 1.4.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
fs-extra: 10.0.1
|
||||
get-port: 6.1.2
|
||||
@@ -509,16 +509,16 @@ importers:
|
||||
|
||||
integration-tests/qm:
|
||||
specifiers:
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.21
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.22
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.22
|
||||
"@prisma/client": 4.6.0
|
||||
"@tanstack/react-query": 4.0.10
|
||||
"@testing-library/react": 13.4.0
|
||||
"@types/react": 18.0.25
|
||||
"@vitejs/plugin-react": 1.3.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
delay: 5.0.0
|
||||
eslint: 8.27.0
|
||||
eslint-config-next: latest
|
||||
@@ -554,9 +554,9 @@ importers:
|
||||
|
||||
integration-tests/react-query-utils:
|
||||
specifiers:
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.22
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
"@prisma/client": 4.6.0
|
||||
"@types/express": 4.17.13
|
||||
@@ -564,7 +564,7 @@ importers:
|
||||
"@types/node-fetch": 2.6.1
|
||||
"@types/react": 18.0.25
|
||||
b64-lite: 1.4.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
fs-extra: 10.0.1
|
||||
get-port: 6.1.2
|
||||
@@ -601,15 +601,15 @@ importers:
|
||||
|
||||
integration-tests/rpc:
|
||||
specifiers:
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.22
|
||||
"@types/express": 4.17.13
|
||||
"@types/fs-extra": 9.0.13
|
||||
"@types/node-fetch": 2.6.1
|
||||
"@types/react": 18.0.25
|
||||
b64-lite: 1.4.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
fs-extra: 10.0.1
|
||||
next: 12.2.5
|
||||
@@ -636,15 +636,15 @@ importers:
|
||||
|
||||
integration-tests/rpc-path-root:
|
||||
specifiers:
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.22
|
||||
"@types/express": 4.17.13
|
||||
"@types/fs-extra": 9.0.13
|
||||
"@types/node-fetch": 2.6.1
|
||||
"@types/react": 18.0.25
|
||||
b64-lite: 1.4.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
fs-extra: 10.0.1
|
||||
next: 12.2.5
|
||||
@@ -671,10 +671,10 @@ importers:
|
||||
|
||||
integration-tests/trailing-slash:
|
||||
specifiers:
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/next": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.21
|
||||
"@blitzjs/auth": workspace:2.0.0-beta.22
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/next": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": workspace:2.0.0-beta.22
|
||||
"@next/bundle-analyzer": 12.0.8
|
||||
"@prisma/client": 4.6.0
|
||||
"@types/express": 4.17.13
|
||||
@@ -682,7 +682,7 @@ importers:
|
||||
"@types/node-fetch": 2.6.1
|
||||
"@types/react": 18.0.25
|
||||
b64-lite: 1.4.0
|
||||
blitz: workspace:2.0.0-beta.21
|
||||
blitz: workspace:2.0.0-beta.22
|
||||
eslint: 8.27.0
|
||||
fs-extra: 10.0.1
|
||||
get-port: 6.1.2
|
||||
@@ -778,8 +778,8 @@ importers:
|
||||
|
||||
packages/blitz:
|
||||
specifiers:
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/generator": 2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/generator": 2.0.0-beta.22
|
||||
"@mrleebo/prisma-ast": 0.2.6
|
||||
"@types/cookie": 0.4.1
|
||||
"@types/cross-spawn": 6.0.2
|
||||
@@ -849,7 +849,7 @@ importers:
|
||||
unbuild: 0.7.6
|
||||
watch: 1.0.2
|
||||
watchpack: 2.1.1
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
dependencies:
|
||||
"@blitzjs/generator": link:../generator
|
||||
"@mrleebo/prisma-ast": 0.2.6
|
||||
@@ -923,11 +923,11 @@ importers:
|
||||
typescript: 4.8.4
|
||||
unbuild: 0.7.6_supports-color@8.1.1
|
||||
watch: 1.0.2
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
|
||||
packages/blitz-auth:
|
||||
specifiers:
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@testing-library/react": 13.4.0
|
||||
"@testing-library/react-hooks": 8.0.1
|
||||
"@types/b64-lite": 1.3.0
|
||||
@@ -941,7 +941,7 @@ importers:
|
||||
"@types/secure-password": 3.1.1
|
||||
b64-lite: 1.4.0
|
||||
bad-behavior: 1.0.1
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
cookie: 0.4.1
|
||||
cookie-session: 2.0.0
|
||||
debug: 4.3.3
|
||||
@@ -994,8 +994,8 @@ importers:
|
||||
|
||||
packages/blitz-next:
|
||||
specifiers:
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/rpc": 2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@blitzjs/rpc": 2.0.0-beta.22
|
||||
"@tanstack/react-query": 4.0.10
|
||||
"@testing-library/dom": 8.13.0
|
||||
"@testing-library/jest-dom": 5.16.3
|
||||
@@ -1007,7 +1007,7 @@ importers:
|
||||
"@types/react": 18.0.25
|
||||
"@types/react-dom": 17.0.14
|
||||
"@types/testing-library__react-hooks": 4.0.0
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
cross-spawn: 7.0.3
|
||||
debug: 4.3.3
|
||||
find-up: 4.1.0
|
||||
@@ -1057,8 +1057,8 @@ importers:
|
||||
|
||||
packages/blitz-rpc:
|
||||
specifiers:
|
||||
"@blitzjs/auth": 2.0.0-beta.21
|
||||
"@blitzjs/config": workspace:2.0.0-beta.21
|
||||
"@blitzjs/auth": 2.0.0-beta.22
|
||||
"@blitzjs/config": workspace:2.0.0-beta.22
|
||||
"@swc/core": 1.3.7
|
||||
"@tanstack/react-query": 4.0.10
|
||||
"@types/debug": 4.1.7
|
||||
@@ -1066,7 +1066,7 @@ importers:
|
||||
"@types/react-dom": 17.0.14
|
||||
b64-lite: 1.4.0
|
||||
bad-behavior: 1.0.1
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
chalk: ^4.1.0
|
||||
debug: 4.3.3
|
||||
next: 12.2.5
|
||||
@@ -1077,7 +1077,7 @@ importers:
|
||||
typescript: ^4.8.4
|
||||
unbuild: 0.7.6
|
||||
watch: 1.0.2
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
dependencies:
|
||||
"@swc/core": 1.3.7
|
||||
"@tanstack/react-query": 4.0.10_biqbaboplfbrettd7655fr4n2y
|
||||
@@ -1100,7 +1100,7 @@ importers:
|
||||
typescript: 4.8.4
|
||||
unbuild: 0.7.6_supports-color@8.1.1
|
||||
watch: 1.0.2
|
||||
zod: 3.19.1
|
||||
zod: 3.20.2
|
||||
|
||||
packages/codemod:
|
||||
specifiers:
|
||||
@@ -1110,12 +1110,12 @@ importers:
|
||||
"@babel/plugin-syntax-typescript": 7.17.12
|
||||
"@babel/preset-env": 7.12.10
|
||||
"@blitzjs/config": workspace:*
|
||||
"@blitzjs/generator": 2.0.0-beta.21
|
||||
"@blitzjs/generator": 2.0.0-beta.22
|
||||
"@types/jscodeshift": 0.11.2
|
||||
"@types/node": 18.11.9
|
||||
arg: 5.0.1
|
||||
ast-types: 0.14.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
chalk: ^4.1.0
|
||||
cross-spawn: 7.0.3
|
||||
debug: 4.3.3
|
||||
@@ -1170,7 +1170,7 @@ importers:
|
||||
"@babel/plugin-transform-typescript": 7.12.1
|
||||
"@babel/preset-env": 7.12.10
|
||||
"@babel/types": 7.12.10
|
||||
"@blitzjs/config": 2.0.0-beta.21
|
||||
"@blitzjs/config": 2.0.0-beta.22
|
||||
"@juanm04/cpx": 2.0.1
|
||||
"@mrleebo/prisma-ast": 0.4.1
|
||||
"@types/babel__core": 7.1.19
|
||||
@@ -1265,7 +1265,7 @@ importers:
|
||||
|
||||
packages/pkg-template:
|
||||
specifiers:
|
||||
"@blitzjs/config": 2.0.0-beta.21
|
||||
"@blitzjs/config": 2.0.0-beta.22
|
||||
"@types/react": 18.0.25
|
||||
"@types/react-dom": 17.0.14
|
||||
"@typescript-eslint/eslint-plugin": 5.42.1
|
||||
@@ -1289,7 +1289,7 @@ importers:
|
||||
recipes/base-web:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1300,7 +1300,7 @@ importers:
|
||||
recipes/bulma:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1312,7 +1312,7 @@ importers:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
ast-types: 0.14.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1325,7 +1325,7 @@ importers:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
ast-types: 0.14.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1337,7 +1337,7 @@ importers:
|
||||
recipes/emotion:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1347,20 +1347,20 @@ importers:
|
||||
|
||||
recipes/gh-action-yarn-mariadb:
|
||||
specifiers:
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
|
||||
recipes/gh-action-yarn-postgres:
|
||||
specifiers:
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
|
||||
recipes/ghost:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1371,7 +1371,7 @@ importers:
|
||||
recipes/graphql-apollo-server:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
uuid: ^8.3.1
|
||||
dependencies:
|
||||
@@ -1384,7 +1384,7 @@ importers:
|
||||
recipes/logrocket:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1395,7 +1395,7 @@ importers:
|
||||
recipes/material-ui:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1407,7 +1407,7 @@ importers:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
ast-types: 0.14.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1418,13 +1418,13 @@ importers:
|
||||
|
||||
recipes/passenger:
|
||||
specifiers:
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
|
||||
recipes/quirrel:
|
||||
specifiers:
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
|
||||
@@ -1432,7 +1432,7 @@ importers:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
ast-types: 0.14.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1443,14 +1443,14 @@ importers:
|
||||
|
||||
recipes/render:
|
||||
specifiers:
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
|
||||
recipes/secureheaders:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
uuid: ^8.3.1
|
||||
dependencies:
|
||||
@@ -1463,7 +1463,7 @@ importers:
|
||||
recipes/stitches:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1475,7 +1475,7 @@ importers:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
ast-types: 0.14.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1487,7 +1487,7 @@ importers:
|
||||
recipes/tailwind:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1499,7 +1499,7 @@ importers:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
ast-types: 0.14.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -1511,7 +1511,7 @@ importers:
|
||||
recipes/vanilla-extract:
|
||||
specifiers:
|
||||
"@types/jscodeshift": 0.11.2
|
||||
blitz: 2.0.0-beta.21
|
||||
blitz: 2.0.0-beta.22
|
||||
jscodeshift: 0.13.0
|
||||
dependencies:
|
||||
blitz: link:../../packages/blitz
|
||||
@@ -21306,8 +21306,8 @@ packages:
|
||||
"@types/yoga-layout": 1.9.2
|
||||
dev: false
|
||||
|
||||
/zod/3.19.1:
|
||||
/zod/3.20.2:
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-LYjZsEDhCdYET9ikFu6dVPGp2YH9DegXjdJToSzD9rO6fy4qiRYFoyEYwps88OseJlPyl2NOe2iJuhEhL7IpEA==,
|
||||
integrity: sha512-1MzNQdAvO+54H+EaK5YpyEy0T+Ejo/7YLHS93G3RnYWh5gaotGHwGeN/ZO687qEDU2y4CdStQYXVHIgrUl5UVQ==,
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21"
|
||||
"blitz": "2.0.0-beta.22"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21"
|
||||
"blitz": "2.0.0-beta.22"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0",
|
||||
"uuid": "^8.3.1"
|
||||
},
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21"
|
||||
"blitz": "2.0.0-beta.22"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21"
|
||||
"blitz": "2.0.0-beta.22"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21"
|
||||
"blitz": "2.0.0-beta.22"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0",
|
||||
"uuid": "^8.3.1"
|
||||
},
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.0.0-beta.21",
|
||||
"blitz": "2.0.0-beta.22",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user