1
0
mirror of synced 2026-02-06 09:00:12 -05:00

Compare commits

..

11 Commits

Author SHA1 Message Date
Brandon Bayer
e08e9a348a fixes 2023-06-09 12:38:56 -04:00
Siddharth Suresh
f0f66c6214 make code cleaner 2023-06-09 21:16:45 +05:30
Siddharth Suresh
37e7614f0c Update .changeset/good-oranges-pretend.md 2023-06-09 19:33:32 +05:30
Siddharth Suresh
617f20fb21 imporve the changelog 2023-06-09 19:08:27 +05:30
Siddharth Suresh
a5bbfe2187 make vercel default to true 2023-06-09 19:03:03 +05:30
Siddharth Suresh
d89c3ac8cf add resolversDynamicImport configuration 2023-06-08 20:38:59 +05:30
Siddharth Suresh
d0e4308d81 Merge branch 'main' into jayu-fix-dev-server-memory 2023-06-06 19:07:38 +05:30
Siddharth Suresh
5203e7e6ff Merge branch 'main' into jayu-fix-dev-server-memory 2023-06-05 19:34:29 +05:30
Siddharth Suresh
860d21bea3 Merge branch 'main' into jayu-fix-dev-server-memory 2023-06-05 19:30:15 +05:30
Jakub Mazurek (@jayu)
f3c64ffbaf chore: add changeset file 2023-05-22 20:44:01 +02:00
Jakub Mazurek
44169979ef fix: enormous dev server memory consumption 2023-05-22 20:24:59 +02:00
78 changed files with 284 additions and 832 deletions

View File

@@ -3945,16 +3945,6 @@
"contributions": [
"doc"
]
},
{
"login": "jayu",
"name": "Jakub Mazurek",
"avatar_url": "https://avatars.githubusercontent.com/u/11561585?v=4",
"profile": "jayu.dev",
"contributions": [
"doc",
"code"
]
}
],
"contributorsPerLine": 7,

View File

@@ -1,6 +0,0 @@
---
"@blitzjs/auth": patch
"blitz": patch
---
blitz-auth: Fix webpack from following next-auth

View File

@@ -1,5 +0,0 @@
---
"@blitzjs/generator": patch
---
Make Next.js version stick to 13.4.5 when generating a new app

View File

@@ -1,5 +0,0 @@
---
"@blitzjs/auth": minor
---
Stop exporting `useAuthenticatedBlitzContext` from `@blitzjs/auth` this must be imported from `app/blitz-server.ts` file in order to work correctly

View File

@@ -55,7 +55,6 @@
"afraid-ears-repair",
"big-boats-lay",
"big-phones-bow",
"big-turtles-tease",
"blue-flowers-peel",
"blue-pigs-tan",
"brave-zebras-deny",
@@ -86,7 +85,6 @@
"curly-rules-speak",
"curly-seas-serve",
"curvy-days-attend",
"curvy-drinks-perform",
"cyan-bulldogs-heal",
"cyan-cars-greet",
"dirty-monkeys-greet",
@@ -111,7 +109,6 @@
"fast-toys-wash",
"fast-trainers-kneel",
"few-dogs-fetch",
"few-elephants-approve",
"few-hounds-worry",
"few-shrimps-leave",
"flat-bees-approve",
@@ -136,7 +133,6 @@
"gold-horses-punch",
"good-apes-drum",
"good-insects-wink",
"good-oranges-pretend",
"gorgeous-birds-warn",
"gorgeous-buses-scream",
"gorgeous-games-obey",
@@ -166,7 +162,6 @@
"khaki-ducks-cheer",
"khaki-pens-rest",
"kind-walls-suffer",
"large-hairs-battle",
"late-steaks-give",
"lazy-maps-sort",
"lemon-games-press",
@@ -192,7 +187,6 @@
"modern-games-dream",
"modern-ligers-behave",
"moody-bags-walk",
"moody-crews-travel",
"moody-spoons-rhyme",
"moody-squids-cheer",
"nasty-suns-wash",
@@ -260,13 +254,11 @@
"silly-peas-work",
"silly-shoes-agree",
"six-apricots-kick",
"sixty-rockets-count",
"slimy-humans-impress",
"slimy-needles-taste",
"slow-impalas-tap",
"slow-walls-camp",
"slow-walls-poke",
"small-monkeys-battle",
"small-socks-confess",
"smooth-planets-admire",
"smooth-rice-clap",
@@ -296,7 +288,6 @@
"tall-radios-clean",
"tame-keys-reply",
"tame-pumpkins-nail",
"tame-rocks-unite",
"tasty-maps-fetch",
"tasty-news-collect",
"tasty-squids-sin",
@@ -336,7 +327,6 @@
"wise-frogs-give",
"wise-lies-relate",
"wise-rabbits-complain",
"yellow-numbers-serve",
"young-birds-talk"
]
}

View File

@@ -1,68 +0,0 @@
---
"@blitzjs/rpc": patch
"blitz": patch
---
### Now we can configure Blitz RPC in the following way,
In your `[[...blitz]].ts` api file you can see the following settings
```ts
logging?: {
/**
* allowList Represents the list of routes for which logging should be enabled
* If whiteList is defined then only those routes will be logged
*/
allowList?: string[]
/**
* blockList Represents the list of routes for which logging should be disabled
* If blockList is defined then all routes except those will be logged
*/
blockList?: string[]
/**
* verbose Represents the flag to enable/disable logging
* If verbose is true then Blitz RPC will log the input and output of each resolver
*/
verbose?: boolean
/**
* disablelevel Represents the flag to enable/disable logging for a particular level
*/
disablelevel?: "debug" | "info"
}
```
```ts
import { rpcHandler } from "@blitzjs/rpc"
import { api } from "src/blitz-server"
export default api(
rpcHandler({
onError: console.log,
formatError: (error) => {
error.message = `FormatError handler: ${error.message}`
return error
},
logging: {
...
}
})
)
```
Example:
```ts
export default api(
rpcHandler({
onError: console.log,
formatError: (error) => {
error.message = `FormatError handler: ${error.message}`
return error
},
logging: {
verbose: true,
blockList: ["getCurrentUser", ...], //just write the resolver name [which is the resolver file name]
},
})
)
```
This is enable verbose blitz rpc logging for all resolvers except the resolvers `getCurrentUser` and others mentioned in the `blockList`

View File

@@ -1,6 +0,0 @@
---
"@blitzjs/auth": patch
"blitz": patch
---
Fix Next-Auth integration: `Unable to use next-auth with provider: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]`

View File

@@ -1,5 +0,0 @@
---
"blitz": patch
---
Fix log formatting to not show the path of blitz rpc

View File

@@ -7,8 +7,8 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
jobs:
@@ -17,9 +17,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 8.6.5
version: 8.6.0
- name: Setup node
uses: actions/setup-node@v2
with:
@@ -38,9 +38,9 @@ jobs:
name: Build
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 8.6.5
version: 8.6.0
- name: Setup node
uses: actions/setup-node@v2
with:
@@ -68,9 +68,9 @@ jobs:
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 8.6.5
version: 8.6.0
- name: Setup node@16
uses: actions/setup-node@v2
@@ -127,9 +127,9 @@ jobs:
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 8.6.5
version: 8.6.0
- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v2
@@ -143,7 +143,7 @@ jobs:
- name: Install playwright
run: |
pnpx playwright@1.28.0 install --with-deps
pnpx playwright@1.28.0 install --with-deps
shell: bash
- name: Build

View File

@@ -6,7 +6,7 @@
<img alt="" src="https://img.shields.io/badge/Join%20our%20community-6700EB.svg?style=for-the-badge&labelColor=000000&logoWidth=20&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAQ9SURBVHgB7d3dVdtAEIbhcSpICUoH0IEogQqSVBBSAU4FSSpIOoAORAfQgSghHXzZ1U/YcMD4R9rZmf2ec3y448LyiNf27iLiGIAmPLrweC9Un3DhrzG6EarLNP09nlwJ1SOZ/lQr5N80/S/p2QMVCBf5N17XCfm1Y/rBHqjAG9PPHvBsz+mf9WAP+HLA9M/YA14cOP2payH7jpj+VCtk1wnTP+vj7xCy6cTpn7EHLMLp059iD1iD8eveJbVCNsSLheX1YA/YgOWnf8YeKB3Wmf7Ud6Fy4f/FHmtpxbl3YlC4MJ/Cj0bWdwPnPbARg+L0S54XQHS32WwuxClzd4CM0z9rPfeAuTtA5ulPXYQ7wZ04Y+oOoDD9KZc9YOoOoDj9s4dwFzgXR6w1wIPoOvPWA9buAHEJ173o3gWiy3AnuBUHLEbgmYwvAk1/wuM8vAgexThzbwPDkx7/DHwVXfFOxP2GmsKd4Ab6zPeAyU8CI7AHFmH2BRCBPXAyk18GzUrqAXCTiR4ssyj0VFw/oCU8+e+RZ33AWz6KMaYbIIWxB+JSLs1bsbkeMN0AqakHvoku9oA2sAfqBvbAQdw0QArsgb25aYBUQT3QgT2gB+yBuqGcHij2UCqXDZACe2Anlw2QYg/QAOyBuoE98CL3DZDCuK4/rh/Q7oGL6U+TOvcNkJoijN8X1C48+T+g75eQDrAH/qmqAVJgDwyqaoAUe4AGYA/UDZX3QLUNkEIZPRCd5+6BahsgVUgPROwBTSijB7jpVAvGHriHvmw9wAZ4BpX1ABvgmakHtPcbRuwBTWAPULgAV9D/jKDY9YRvwvgEaurD44uQHvAol7qBW7WKluVtIHiUS7GyvA0s6CiXDnxrpQfsgbqBS7GKk/2jYHCrVlGyfxTMrVo0ALdq1Q3sgSKofh0M9oA61a+D2QM0AHugbmAPqClmSRjK2apVVQ8UsySsoK1aHdgDesCtWnUDeyCrIpeFg1u3sylyWTi3btMA7IG6gT2wuuK3hoE9sKrit4YVslWLPaAN7IG6ocKt2zmY2h4O9sDiTG0PZw/QANy6XTewBxZj9ogYVHy025LMHhEz9cBn0We6B0yfERReBLfhx0/R1YQHPx/QBPbA0VwcEwf2wNFcHBPHHjiem3MC2QPHcXdSaJjA+KfgTPQ8hhfjBzHC40mhlzJ+Xq9lK4a4PCs43AVaGTed5mZq+iOXZwWHi3AnOj2wFWNcnxYe7gTxLtBKHuamP/J+Wnh8a5irB7ZC5Yk9gPX1QuXC+usHWqGyhYvUYR0a7zboUOFCNVhnk0krZAOW7wFOvzXhom2xnEbIHizTA1wEYhWW6YFGyC6c1gOcfg9wfA80Qj7g8B7g9HuCww+haIR8wf49wOn3Cvv9k8tGyC/s7gFOv3fY3QONkH+v9MBWqB7PeqDn9FcIT//kcitUn6kHOu/T/xfWzlQy3dEHhwAAAABJRU5ErkJggg==">
</a>
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<a aria-label="All Contributors" href="#contributors-"><img alt="" src="https://img.shields.io/badge/all_contributors-417-17BB8A.svg?style=for-the-badge&labelColor=000000"></a>
<a aria-label="All Contributors" href="#contributors-"><img alt="" src="https://img.shields.io/badge/all_contributors-416-17BB8A.svg?style=for-the-badge&labelColor=000000"></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<a aria-label="License" href="https://github.com/blitz-js/blitz/blob/main/LICENSE">
<img alt="" src="https://img.shields.io/npm/l/blitz.svg?style=for-the-badge&labelColor=000000&color=blue">
@@ -731,7 +731,6 @@ Thanks to these wonderful people ([emoji key](https://allcontributors.org/docs/e
<td align="center"><a href="https://ghken.com"><img src="https://avatars.githubusercontent.com/u/5304351?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tetsuya Fukuda</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=GHKEN" title="Documentation">📖</a> <a href="https://github.com/blitz-js/blitz/commits?author=GHKEN" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/nerixim"><img src="https://avatars.githubusercontent.com/u/26106502?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nikita Kamaev</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=nerixim" title="Documentation">📖</a></td>
<td align="center"><a href="https://webredone.com/"><img src="https://avatars.githubusercontent.com/u/11588823?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nikola Ivanov</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=nikola-wd" title="Documentation">📖</a></td>
<td align="center"><a href="jayu.dev"><img src="https://avatars.githubusercontent.com/u/11561585?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jakub Mazurek</b></sub></a><br /><a href="https://github.com/blitz-js/blitz/commits?author=jayu" title="Documentation">📖</a> <a href="https://github.com/blitz-js/blitz/commits?author=jayu" title="Code">💻</a></td>
</tr>
</table>

View File

@@ -1,43 +1,5 @@
# next-blitz-auth
## 0.1.1-beta.6
### Patch Changes
- Updated dependencies [c5572bec6]
- Updated dependencies [727734955]
- @blitzjs/auth@2.0.0-beta.30
- blitz@2.0.0-beta.30
- @blitzjs/rpc@2.0.0-beta.30
- @blitzjs/next@2.0.0-beta.30
- @blitzjs/config@2.0.0-beta.30
## 0.1.1-beta.5
### Patch Changes
- Updated dependencies [b6b9a1c5a]
- Updated dependencies [61888d1a3]
- @blitzjs/auth@2.0.0-beta.29
- blitz@2.0.0-beta.29
- @blitzjs/rpc@2.0.0-beta.29
- @blitzjs/next@2.0.0-beta.29
- @blitzjs/config@2.0.0-beta.29
## 0.1.1-beta.4
### Patch Changes
- Updated dependencies [5166e5e03]
- Updated dependencies [2533caf48]
- Updated dependencies [c7ac86b85]
- Updated dependencies [1bb3a6556]
- @blitzjs/auth@2.0.0-beta.28
- @blitzjs/next@2.0.0-beta.28
- @blitzjs/rpc@2.0.0-beta.28
- blitz@2.0.0-beta.28
- @blitzjs/config@2.0.0-beta.28
## 0.1.1-beta.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "next-blitz-auth",
"version": "0.1.1-beta.6",
"version": "0.1.1-beta.3",
"private": true,
"scripts": {
"blitz:dev": "next dev",

View File

@@ -30,7 +30,7 @@
"@hookform/error-message": "2.0.0",
"@hookform/resolvers": "2.9.10",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"next": "13.3.0",
"openid-client": "5.2.1",
"prisma": "4.6.1",

View File

@@ -1,8 +1,8 @@
const { withNextAuthAdapter } = require("@blitzjs/auth")
const { withNextAuthAdapter } = require("@blitzjs/auth/next-auth")
const { withBlitz } = require("@blitzjs/next")
/**
* @type {import('next').NextConfig}
* @type {import('@blitzjs/next').BlitzConfig}
**/
const config = {
reactStrictMode: true,

View File

@@ -31,7 +31,7 @@
"@hookform/error-message": "2.0.0",
"@hookform/resolvers": "2.9.10",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"next": "13.3.0",
"next-auth": "4.18.7",
"prisma": "4.6.1",

View File

@@ -8,9 +8,5 @@ export default api(
error.message = `FormatError handler: ${error.message}`
return error
},
// logging: {
// verbose: true,
// blockList: ["/getCurrentUser"],
// },
})
)

View File

@@ -38,10 +38,10 @@ const UserInfo = () => {
} else {
return (
<>
<Link href={"/signup"} className={styles.button}>
<Link href={Routes.SignupPage()} className={styles.button}>
<strong>Sign Up</strong>
</Link>
<Link href={"/login"} className={styles.loginButton}>
<Link href={Routes.LoginPage()} className={styles.loginButton}>
<strong>Login</strong>
</Link>
<Link href="/api/auth/github/login" passHref legacyBehavior>

View File

@@ -17,14 +17,14 @@
"prisma:studio": "prisma studio"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"@blitzjs/auth": "workspace:2.0.0-beta.27",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"@hookform/error-message": "2.0.0",
"@hookform/resolvers": "2.9.10",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"delay": "5.0.0",
"next": "13.3.0",
"prisma": "4.6.1",

View File

@@ -17,11 +17,11 @@
"prisma:studio": "prisma studio"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/auth": "workspace:2.0.0-beta.27",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"lowdb": "3.0.0",
"next": "13.3.0",
"prisma": "4.6.1",

View File

@@ -16,11 +16,11 @@
"schema": "db/schema.prisma"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"@blitzjs/auth": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"lowdb": "3.0.0",
"next": "13.3.0",
"prisma": "4.6.1",
@@ -28,7 +28,7 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@next/bundle-analyzer": "12.0.8",
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",

View File

@@ -11,10 +11,10 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
},
"dependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"blitz": "workspace:2.0.0-beta.27",
"next": "13.3.0",
"react": "18.2.0",
"react-dom": "18.2.0"

View File

@@ -17,12 +17,12 @@
"prisma:studio": "prisma studio"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"@blitzjs/auth": "workspace:2.0.0-beta.27",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"lowdb": "3.0.0",
"next": "13.3.0",
"prisma": "4.6.1",

View File

@@ -16,11 +16,11 @@
"prisma:studio": "prisma studio"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"@blitzjs/auth": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"lowdb": "3.0.0",
"next": "13.3.0",
"prisma": "4.6.1",
@@ -28,7 +28,7 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@next/bundle-analyzer": "12.0.8",
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",

View File

@@ -8,13 +8,13 @@
"clean": "rm -rf .turbo && rm -rf node_modules"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"@blitzjs/auth": "workspace:2.0.0-beta.27",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"@prisma/client": "4.6.1",
"@tanstack/react-query": "4.0.10",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"next": "13.3.0",
"prisma": "4.6.1",
"react": "18.2.0",

View File

@@ -16,10 +16,10 @@
"schema": "db/schema.prisma"
},
"dependencies": {
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"lowdb": "3.0.0",
"next": "13.3.0",
"prisma": "4.6.1",
@@ -27,7 +27,7 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@next/bundle-analyzer": "12.0.8",
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",

View File

@@ -7,10 +7,10 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
},
"dependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"blitz": "workspace:2.0.0-beta.27",
"next": "13.3.0",
"react": "18.2.0",
"react-dom": "18.2.0"

View File

@@ -7,10 +7,10 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
},
"dependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"blitz": "workspace:2.0.0-beta.27",
"next": "13.3.0",
"react": "18.2.0",
"react-dom": "18.2.0"

View File

@@ -16,11 +16,11 @@
"schema": "db/schema.prisma"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.30",
"@blitzjs/next": "workspace:2.0.0-beta.30",
"@blitzjs/rpc": "workspace:2.0.0-beta.30",
"@blitzjs/auth": "workspace:2.0.0-beta.27",
"@blitzjs/next": "workspace:2.0.0-beta.27",
"@blitzjs/rpc": "workspace:2.0.0-beta.27",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.30",
"blitz": "workspace:2.0.0-beta.27",
"lowdb": "3.0.0",
"next": "13.3.0",
"prisma": "4.6.1",
@@ -28,7 +28,7 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@next/bundle-analyzer": "12.0.8",
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",

View File

@@ -1,35 +1,5 @@
# @blitzjs/auth
## 2.0.0-beta.30
### Patch Changes
- c5572bec6: blitz-auth: Fix webpack from following next-auth
- Updated dependencies [c5572bec6]
- Updated dependencies [727734955]
- blitz@2.0.0-beta.30
## 2.0.0-beta.29
### Patch Changes
- b6b9a1c5a: Fix Next-Auth integration: `Unable to use next-auth with provider: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]`
- Updated dependencies [b6b9a1c5a]
- Updated dependencies [61888d1a3]
- blitz@2.0.0-beta.29
## 2.0.0-beta.28
### Minor Changes
- 1bb3a6556: Stop exporting `useAuthenticatedBlitzContext` from `@blitzjs/auth` this must be imported from `app/blitz-server.ts` file in order to work correctly
### Patch Changes
- 5166e5e03: (feat) upgrade tslog to v4.8.2
- Updated dependencies [5166e5e03]
- blitz@2.0.0-beta.28
## 2.0.0-beta.27
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@blitzjs/auth",
"version": "2.0.0-beta.30",
"version": "2.0.0-beta.27",
"homepage": "https://blitzjs.com/",
"repository": {
"type": "git",
@@ -37,7 +37,6 @@
"cookie": "0.4.1",
"cookie-session": "2.0.0",
"debug": "4.3.3",
"find-up": "4.1.0",
"http": "0.0.1-security",
"jsonwebtoken": "9.0.0",
"nanoid": "3.2.0",
@@ -45,12 +44,11 @@
"openid-client": "5.2.1",
"passport": "0.6.0",
"path": "0.12.7",
"resolve-from": "5.0.0",
"supports-color": "8.1.1",
"url": "0.11.0"
},
"peerDependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"next": "*",
"next-auth": "*",
"secure-password": "4.0.0"
@@ -67,7 +65,7 @@
}
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@testing-library/react": "13.4.0",
"@testing-library/react-hooks": "8.0.1",
"@types/cookie": "0.4.1",
@@ -75,7 +73,7 @@
"@types/jsonwebtoken": "8.5.8",
"@types/react": "18.0.25",
"@types/react-dom": "17.0.14",
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"next": "13.3.0",
"next-auth": "4.18.7",
"react": "18.2.0",

View File

@@ -1,2 +1 @@
export * from "./passport/adapter"
export * from "./next-auth/webpack"

View File

@@ -1,2 +1,3 @@
export * from "./next-auth/adapter"
export * from "./next-auth/types"
export * from "./next-auth/webpack"

View File

@@ -27,9 +27,7 @@ import type {
} from "./types"
import {Provider} from "next-auth/providers"
import {init} from "next-auth/core/init"
import getAuthorizationUrl from "next-auth/core/lib/oauth/authorization-url"
import oAuthCallback from "next-auth/core/lib/oauth/callback"
export {withNextAuthAdapter} from "./webpack"
const INTERNAL_REDIRECT_URL_KEY = "_redirectUrl"
@@ -104,6 +102,7 @@ export function NextAuthAdapter<P extends Provider[]>(
if (providerId?.includes("?")) {
providerId = providerId.split("?")[0]
}
const {init} = await import("next-auth/core/init").then((m) => m)
const {options, cookies} = await init({
// @ts-ignore
url: new URL(
@@ -159,6 +158,9 @@ async function AuthHandler<P extends Provider[]>(
if (action === "login") {
middleware.push(async (req, res, next) => {
try {
const getAuthorizationUrl = await import("next-auth/core/lib/oauth/authorization-url").then(
(m) => m.default,
)
const _signin = await getAuthorizationUrl({options: options, query: req.query})
if (_signin.cookies) cookies.push(..._signin.cookies)
const session = res.blitzCtx.session as SessionContext
@@ -189,6 +191,9 @@ async function AuthHandler<P extends Provider[]>(
middleware.push(
// eslint-disable-next-line no-shadow
connectMiddleware(async (req, res, next) => {
const oAuthCallback = await import("next-auth/core/lib/oauth/callback").then(
(m) => m.default,
)
try {
const {profile, account, OAuthProfile} = await oAuthCallback({
query: internalRequest.query,

View File

@@ -1,30 +1,15 @@
//@ts-nocheck
import path from "path"
export function withNextAuthAdapter(nextConfig) {
const config = Object.assign({}, nextConfig)
try {
const nextAuthPath = path.dirname(require.resolve("next-auth"))
const webpack = (config) => {
config.resolve.alias = {
...config.resolve.alias,
"next-auth/core/lib/oauth/callback": path.join(nextAuthPath, "core/lib/oauth/callback.js"),
"next-auth/core/lib/oauth/authorization-url": path.join(
nextAuthPath,
"core/lib/oauth/authorization-url.js",
),
"next-auth/core/init": path.join(nextAuthPath, "core/init.js"),
}
return config
}
if (typeof nextConfig.webpack === "function") {
config.webpack = (config, options) => {
return nextConfig.webpack(webpack(config), options)
}
}
config.webpack = webpack
return config
} catch (e) {
config.webpack = (config) => {
//add a required resolve alias
config.resolve.alias["next-auth/core/lib/oauth/callback"] =
process.cwd() + "/node_modules/next-auth/core/lib/oauth/callback.js"
config.resolve.alias["next-auth/core/lib/oauth/authorization-url"] =
process.cwd() + "/node_modules/next-auth/core/lib/oauth/authorization-url.js"
config.resolve.alias["next-auth/core/init"] =
process.cwd() + "/node_modules/next-auth/core/init.js"
return config
}
return config
}

View File

@@ -1,16 +1,4 @@
export * from "./auth-sessions"
export * from "./auth-utils"
export * from "./auth-plugin"
export * from "./adapters"
export {
SessionContextClass,
getAllSessionHandlesForUser,
getCookieParser,
getSession,
isLocalhost,
setPublicDataForUser,
setCookie,
simpleRolesIsAuthorized,
getBlitzContext,
} from "./auth-sessions"
export type {AnonymousSessionPayload, SimpleRolesIsAuthorized} from "./auth-sessions"

View File

@@ -1,34 +1,5 @@
# @blitzjs/next
## 2.0.0-beta.30
### Patch Changes
- Updated dependencies [c5572bec6]
- Updated dependencies [727734955]
- blitz@2.0.0-beta.30
- @blitzjs/rpc@2.0.0-beta.30
## 2.0.0-beta.29
### Patch Changes
- Updated dependencies [b6b9a1c5a]
- Updated dependencies [61888d1a3]
- blitz@2.0.0-beta.29
- @blitzjs/rpc@2.0.0-beta.29
## 2.0.0-beta.28
### Patch Changes
- 5166e5e03: (feat) upgrade tslog to v4.8.2
- Updated dependencies [5166e5e03]
- Updated dependencies [2533caf48]
- Updated dependencies [c7ac86b85]
- @blitzjs/rpc@2.0.0-beta.28
- blitz@2.0.0-beta.28
## 2.0.0-beta.27
### Minor Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@blitzjs/next",
"version": "2.0.0-beta.30",
"version": "2.0.0-beta.27",
"homepage": "https://blitzjs.com/",
"repository": {
"type": "git",
@@ -29,7 +29,7 @@
"eslint.js"
],
"dependencies": {
"@blitzjs/rpc": "2.0.0-beta.30",
"@blitzjs/rpc": "2.0.0-beta.27",
"@types/hoist-non-react-statics": "3.3.1",
"debug": "4.3.3",
"fs-extra": "10.0.1",
@@ -38,24 +38,22 @@
"supports-color": "8.1.1"
},
"peerDependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"next": "*",
"react": "*",
"tslog": "*"
"react": "*"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@testing-library/dom": "8.13.0",
"@testing-library/jest-dom": "5.16.3",
"@testing-library/react": "13.4.0",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "13.5.0",
"@types/debug": "4.1.7",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@types/react-dom": "17.0.14",
"@types/testing-library__react-hooks": "4.0.0",
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"cross-spawn": "7.0.3",
"find-up": "4.1.0",
"next": "13.3.0",
@@ -64,7 +62,6 @@
"react-dom": "18.2.0",
"resolve-from": "5.0.0",
"ts-jest": "27.1.4",
"tslog": "4.8.2",
"typescript": "^4.8.4",
"unbuild": "0.7.6",
"watch": "1.0.2"

View File

@@ -1,119 +1,5 @@
# @blitzjs/rpc
## 2.0.0-beta.30
### Patch Changes
- 727734955: ### Now we can configure Blitz RPC in the following way,
In your `[[...blitz]].ts` api file you can see the following settings
```ts
logging?: {
/**
* allowList Represents the list of routes for which logging should be enabled
* If whiteList is defined then only those routes will be logged
*/
allowList?: string[]
/**
* blockList Represents the list of routes for which logging should be disabled
* If blockList is defined then all routes except those will be logged
*/
blockList?: string[]
/**
* verbose Represents the flag to enable/disable logging
* If verbose is true then Blitz RPC will log the input and output of each resolver
*/
verbose?: boolean
/**
* disablelevel Represents the flag to enable/disable logging for a particular level
*/
disablelevel?: "debug" | "info"
}
```
```ts
import { rpcHandler } from "@blitzjs/rpc"
import { api } from "src/blitz-server"
export default api(
rpcHandler({
onError: console.log,
formatError: (error) => {
error.message = `FormatError handler: ${error.message}`
return error
},
logging: {
...
}
})
)
```
Example:
```ts
export default api(
rpcHandler({
onError: console.log,
formatError: (error) => {
error.message = `FormatError handler: ${error.message}`
return error
},
logging: {
verbose: true,
blockList: ["getCurrentUser", ...], //just write the resolver name [which is the resolver file name]
},
})
)
```
This is enable verbose blitz rpc logging for all resolvers except the resolvers `getCurrentUser` and others mentioned in the `blockList`
- Updated dependencies [c5572bec6]
- Updated dependencies [727734955]
- blitz@2.0.0-beta.30
## 2.0.0-beta.29
### Patch Changes
- Updated dependencies [b6b9a1c5a]
- Updated dependencies [61888d1a3]
- blitz@2.0.0-beta.29
## 2.0.0-beta.28
### Patch Changes
- 5166e5e03: (feat) upgrade tslog to v4.8.2
- 2533caf48: Fix return type of `requestMiddlewares` in `RpcServerPlugin`
- c7ac86b85: Fixes enormous memory consumption of the dev server by changing the default import strategy to "require" instead of "import" which in webpack causes multiple chunks to be created for each import.
## Blitz Configuration
To configure this behaviour, you can add the following to your next.config.js:
```js
/**
* @type {import('@blitzjs/next').BlitzConfig}
**/
const config = {
blitz: {
resolversDynamicImport: true,
},
}
```
When `resolversDynamicImport` is set to `true`, the import strategy will be "import" instead of "require".
### On Vercel
If you are using Vercel, `resolversDynamicImport` will be set to `true` by default, since it is better for the separate chunks to be create for serverless lambdas.
- Updated dependencies [5166e5e03]
- blitz@2.0.0-beta.28
## 2.0.0-beta.27
### Minor Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@blitzjs/rpc",
"version": "2.0.0-beta.30",
"version": "2.0.0-beta.27",
"homepage": "https://blitzjs.com/",
"repository": {
"type": "git",
@@ -37,18 +37,18 @@
},
"peerDependencies": {
"@tanstack/query-core": "4.24.4",
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"next": "*",
"react": "*"
},
"devDependencies": {
"@blitzjs/auth": "2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/auth": "2.0.0-beta.27",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@tanstack/query-core": "4.24.4",
"@types/debug": "4.1.7",
"@types/react": "18.0.25",
"@types/react-dom": "17.0.14",
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"next": "13.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",

View File

@@ -146,59 +146,6 @@ async function getResolverMap(): Promise<ResolverFiles | null | undefined> {
interface RpcConfig {
onError?: (error: Error) => void
formatError?: (error: Error) => Error
logging?: {
/**
* allowList Represents the list of routes for which logging should be enabled
* If allowList is defined then only those routes will be logged
*/
allowList?: string[]
/**
* blockList Represents the list of routes for which logging should be disabled
* If blockList is defined then all routes except those will be logged
*/
blockList?: string[]
/**
* verbose Represents the flag to enable/disable logging
* If verbose is true then Blitz RPC will log the input and output of each resolver
*/
verbose?: boolean
/**
* disablelevel Represents the flag to enable/disable logging for a particular level
*/
disablelevel?: "debug" | "info"
}
}
function isBlitzRPCVerbose(resolverName: string, config: RpcConfig, level: string) {
// blitz rpc is by default verbose - to keep current behaviour
if (!config.logging) {
return true
}
//if logging exists and verbose is not defined then default to true
if (config.logging && !("verbose" in config.logging)) {
return true
}
const isLevelDisabled = config.logging?.disablelevel === level
if (config.logging?.verbose) {
// If allowList array is defined then allow only those routes in allowList
if (config.logging?.allowList) {
if (config.logging?.allowList?.includes(resolverName) && !isLevelDisabled) {
return true
}
}
// If blockList array is defined then allow all routes except those in blockList
if (config.logging?.blockList) {
if (!config.logging?.blockList?.includes(resolverName) && !isLevelDisabled) {
return true
}
}
// if both allowList and blockList are not defined, then allow all routes
if (!config.logging?.allowList && !config.logging?.blockList && !isLevelDisabled) {
return true
}
return false
}
return false
}
export function rpcHandler(config: RpcConfig) {
@@ -212,11 +159,10 @@ export function rpcHandler(config: RpcConfig) {
const relativeRoutePath = (req.query.blitz as string[])?.join("/")
const routePath = "/" + relativeRoutePath
const resolverName = routePath.replace(/(\/api\/rpc)?\//, "")
const log = baseLogger().getSubLogger({
name: "blitz-rpc",
prefix: [resolverName + "()"],
prefix: [routePath.replace(/(\/api\/rpc)?\//, "") + "()"],
})
const customChalk = new chalk.Instance({
level: log.settings.type === "json" ? 0 : chalk.level,
@@ -267,16 +213,11 @@ export function rpcHandler(config: RpcConfig) {
? parse(`${req.query.meta}`)
: undefined,
})
if (isBlitzRPCVerbose(resolverName, config, "info")) {
log.info(customChalk.dim("Starting with input:"), data ? data : JSON.stringify(data))
}
log.info(customChalk.dim("Starting with input:"), data ? data : JSON.stringify(data))
const startTime = Date.now()
const result = await resolver(data, (res as any).blitzCtx)
const resolverDuration = Date.now() - startTime
if (isBlitzRPCVerbose(resolverName, config, "debug")) {
log.debug(customChalk.dim("Result:"), result ? result : JSON.stringify(result))
}
log.info(customChalk.dim("Result:"), result ? result : JSON.stringify(result))
const serializerStartTime = Date.now()
const serializedResult = superjsonSerialize(result)
@@ -290,26 +231,21 @@ export function rpcHandler(config: RpcConfig) {
result: serializedResult.meta,
},
})
if (isBlitzRPCVerbose(resolverName, config, "debug")) {
log.debug(
customChalk.dim(
`Next.js serialization:${prettyMs(Date.now() - nextSerializerStartTime)}`,
),
)
}
log.debug(
customChalk.dim(
`Next.js serialization:${prettyMs(Date.now() - nextSerializerStartTime)}`,
),
)
const serializerDuration = Date.now() - serializerStartTime
const duration = Date.now() - startTime
if (isBlitzRPCVerbose(resolverName, config, "info")) {
log.info(
customChalk.dim(
`Finished: resolver:${prettyMs(resolverDuration)} serializer:${prettyMs(
serializerDuration,
)} total:${prettyMs(duration)}`,
),
)
}
log.debug(
customChalk.dim(
`Finished: resolver:${prettyMs(resolverDuration)} serializer:${prettyMs(
serializerDuration,
)} total:${prettyMs(duration)}`,
),
)
newLine()
return

View File

@@ -3,7 +3,7 @@ import {posix, sep, win32, join, normalize} from "path"
import {ResolverPathOptions} from "../../../index-server"
export interface LoaderOptions {
resolverPath?: ResolverPathOptions
resolverPath: ResolverPathOptions
includeRPCFolders?: string[]
resolversDynamicImport?: boolean
}

View File

@@ -1,95 +1,5 @@
# blitz
## 2.0.0-beta.30
### Patch Changes
- c5572bec6: blitz-auth: Fix webpack from following next-auth
- 727734955: ### Now we can configure Blitz RPC in the following way,
In your `[[...blitz]].ts` api file you can see the following settings
```ts
logging?: {
/**
* allowList Represents the list of routes for which logging should be enabled
* If whiteList is defined then only those routes will be logged
*/
allowList?: string[]
/**
* blockList Represents the list of routes for which logging should be disabled
* If blockList is defined then all routes except those will be logged
*/
blockList?: string[]
/**
* verbose Represents the flag to enable/disable logging
* If verbose is true then Blitz RPC will log the input and output of each resolver
*/
verbose?: boolean
/**
* disablelevel Represents the flag to enable/disable logging for a particular level
*/
disablelevel?: "debug" | "info"
}
```
```ts
import { rpcHandler } from "@blitzjs/rpc"
import { api } from "src/blitz-server"
export default api(
rpcHandler({
onError: console.log,
formatError: (error) => {
error.message = `FormatError handler: ${error.message}`
return error
},
logging: {
...
}
})
)
```
Example:
```ts
export default api(
rpcHandler({
onError: console.log,
formatError: (error) => {
error.message = `FormatError handler: ${error.message}`
return error
},
logging: {
verbose: true,
blockList: ["getCurrentUser", ...], //just write the resolver name [which is the resolver file name]
},
})
)
```
This is enable verbose blitz rpc logging for all resolvers except the resolvers `getCurrentUser` and others mentioned in the `blockList`
- @blitzjs/generator@2.0.0-beta.30
## 2.0.0-beta.29
### Patch Changes
- b6b9a1c5a: Fix Next-Auth integration: `Unable to use next-auth with provider: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]`
- 61888d1a3: Fix log formatting to not show the path of blitz rpc
- Updated dependencies [7aef610d8]
- @blitzjs/generator@2.0.0-beta.29
## 2.0.0-beta.28
### Patch Changes
- 5166e5e03: (feat) upgrade tslog to v4.8.2
- Updated dependencies [5166e5e03]
- @blitzjs/generator@2.0.0-beta.28
## 2.0.0-beta.27
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "blitz",
"version": "2.0.0-beta.30",
"version": "2.0.0-beta.27",
"homepage": "https://blitzjs.com/",
"repository": {
"type": "git",
@@ -30,7 +30,7 @@
"blitz": "bin/blitz"
},
"dependencies": {
"@blitzjs/generator": "2.0.0-beta.30",
"@blitzjs/generator": "2.0.0-beta.27",
"@mrleebo/prisma-ast": "0.2.6",
"@types/global-agent": "2.1.1",
"arg": "5.0.1",
@@ -80,7 +80,7 @@
"watchpack": "2.1.1"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.30",
"@blitzjs/config": "workspace:2.0.0-beta.27",
"@types/cookie": "0.4.1",
"@types/cross-spawn": "6.0.2",
"@types/debug": "4.1.7",

View File

@@ -26,7 +26,7 @@ export const BlitzLogger = (settings: BlitzLoggerSettings = {}) => {
maskValuesOfKeys: ["password", "passwordConfirmation", "currentPassword"],
type: process.env.NODE_ENV === "production" ? "json" : "pretty",
prettyLogTemplate:
"{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}\t{{logLevelName}}\t[{{name}}]\t",
"{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}\t{{logLevelName}}\t[{{filePathWithLine}}{{name}}]\t",
...settings,
})

View File

@@ -1,32 +1,5 @@
# @blitzjs/codemod
## 2.0.0-beta.30
### Patch Changes
- Updated dependencies [c5572bec6]
- Updated dependencies [727734955]
- blitz@2.0.0-beta.30
- @blitzjs/generator@2.0.0-beta.30
## 2.0.0-beta.29
### Patch Changes
- Updated dependencies [7aef610d8]
- Updated dependencies [b6b9a1c5a]
- Updated dependencies [61888d1a3]
- @blitzjs/generator@2.0.0-beta.29
- blitz@2.0.0-beta.29
## 2.0.0-beta.28
### Patch Changes
- Updated dependencies [5166e5e03]
- blitz@2.0.0-beta.28
- @blitzjs/generator@2.0.0-beta.28
## 2.0.0-beta.27
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@blitzjs/codemod",
"version": "2.0.0-beta.30",
"version": "2.0.0-beta.27",
"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.30",
"@blitzjs/generator": "2.0.0-beta.27",
"arg": "5.0.1",
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"chalk": "^4.1.0",
"cross-spawn": "7.0.3",
"debug": "4.3.3",

View File

@@ -1,11 +1,5 @@
# @blitzjs/config
## 2.0.0-beta.30
## 2.0.0-beta.29
## 2.0.0-beta.28
## 2.0.0-beta.27
## 2.0.0-beta.26

View File

@@ -1,7 +1,7 @@
{
"name": "@blitzjs/config",
"private": true,
"version": "2.0.0-beta.30",
"version": "2.0.0-beta.27",
"license": "MIT",
"dependencies": {
"@typescript-eslint/eslint-plugin": "5.42.1",

View File

@@ -1,19 +1,5 @@
# @blitzjs/generator
## 2.0.0-beta.30
## 2.0.0-beta.29
### Patch Changes
- 7aef610d8: Make Next.js version stick to 13.4.5 when generating a new app
## 2.0.0-beta.28
### Patch Changes
- 5166e5e03: (feat) upgrade tslog to v4.8.2
## 2.0.0-beta.27
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@blitzjs/generator",
"version": "2.0.0-beta.30",
"version": "2.0.0-beta.27",
"homepage": "https://blitzjs.com/",
"repository": {
"type": "git",
@@ -54,7 +54,7 @@
"zod": "3.20.2"
},
"devDependencies": {
"@blitzjs/config": "2.0.0-beta.30",
"@blitzjs/config": "2.0.0-beta.27",
"@juanm04/cpx": "2.0.1",
"@types/babel__core": "7.1.19",
"@types/diff": "5.0.2",

View File

@@ -27,7 +27,7 @@
"@blitzjs/rpc": "latest",
"@prisma/client": "4.6.1",
"blitz": "latest",
"next": "13.4.5",
"next": "^13.3.0",
"prisma": "4.6.1",
"react": "18.2.0",
"react-dom": "18.2.0",

View File

@@ -27,7 +27,7 @@
"@blitzjs/rpc": "latest",
"@prisma/client": "4.6.1",
"blitz": "latest",
"next": "13.4.5",
"next": "^13.3.0",
"prisma": "4.6.1",
"react": "18.2.0",
"react-dom": "18.2.0",

View File

@@ -20,7 +20,7 @@
"dependencies": {
"@blitzjs/next": "latest",
"blitz": "latest",
"next": "13.4.5",
"next": "^13.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-node": "10.9.1"

View File

@@ -20,7 +20,7 @@
"dependencies": {
"@blitzjs/next": "latest",
"blitz": "latest",
"next": "13.4.5",
"next": "^13.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-node": "10.9.1"

View File

@@ -25,7 +25,7 @@
"@typescript-eslint/parser": "5.9.1"
},
"devDependencies": {
"@blitzjs/config": "2.0.0-beta.30",
"@blitzjs/config": "2.0.0-beta.27",
"@types/react": "18.0.25",
"@types/react-dom": "17.0.14",
"react": "18.2.0",

243
pnpm-lock.yaml generated
View File

@@ -1,4 +1,4 @@
lockfileVersion: "6.0"
lockfileVersion: "6.1"
settings:
autoInstallPeers: true
@@ -147,7 +147,7 @@ importers:
specifier: 4.6.1
version: 4.6.1(prisma@4.6.1)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
next:
specifier: 13.3.0
@@ -265,7 +265,7 @@ importers:
specifier: 4.6.1
version: 4.6.1(prisma@4.6.1)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
next:
specifier: 13.3.0
@@ -423,19 +423,19 @@ importers:
integration-tests/auth:
dependencies:
"@blitzjs/auth":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-auth
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@prisma/client":
specifier: 4.6.1
version: 4.6.1(prisma@4.6.1)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
lowdb:
specifier: 3.0.0
@@ -505,16 +505,16 @@ importers:
integration-tests/auth-with-rpc:
dependencies:
"@blitzjs/auth":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-auth
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
"@hookform/error-message":
specifier: 2.0.0
@@ -526,7 +526,7 @@ importers:
specifier: 4.6.1
version: 4.6.1(prisma@4.6.1)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
delay:
specifier: 5.0.0
@@ -626,19 +626,19 @@ importers:
integration-tests/get-initial-props:
dependencies:
"@blitzjs/auth":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-auth
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
"@prisma/client":
specifier: 4.6.1
version: 4.6.1(prisma@4.6.1)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
lowdb:
specifier: 3.0.0
@@ -657,7 +657,7 @@ importers:
version: 18.2.0(react@18.2.0)
devDependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@next/bundle-analyzer":
specifier: 12.0.8
@@ -696,16 +696,16 @@ importers:
integration-tests/middleware:
dependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
next:
specifier: 13.3.0
@@ -751,22 +751,22 @@ importers:
integration-tests/next-13-app-dir:
dependencies:
"@blitzjs/auth":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-auth
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
"@prisma/client":
specifier: 4.6.1
version: 4.6.1(prisma@4.6.1)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
lowdb:
specifier: 3.0.0
@@ -836,19 +836,19 @@ importers:
integration-tests/no-suspense:
dependencies:
"@blitzjs/auth":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-auth
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
"@prisma/client":
specifier: 4.6.1
version: 4.6.1(prisma@4.6.1)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
lowdb:
specifier: 3.0.0
@@ -867,7 +867,7 @@ importers:
version: 18.2.0(react@18.2.0)
devDependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@next/bundle-analyzer":
specifier: 12.0.8
@@ -906,16 +906,16 @@ importers:
integration-tests/qm:
dependencies:
"@blitzjs/auth":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-auth
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
"@prisma/client":
specifier: 4.6.1
@@ -924,7 +924,7 @@ importers:
specifier: 4.0.10
version: 4.0.10(react-dom@18.2.0)(react@18.2.0)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
next:
specifier: 13.3.0
@@ -956,7 +956,7 @@ importers:
version: 8.27.0(supports-color@8.1.1)
eslint-config-next:
specifier: latest
version: 13.4.7(eslint@8.27.0)(typescript@4.8.4)
version: 13.4.3(eslint@8.27.0)(typescript@4.8.4)
eslint-plugin-testing-library:
specifier: 5.0.1
version: 5.0.1(eslint@8.27.0)(typescript@4.8.4)
@@ -970,16 +970,16 @@ importers:
integration-tests/react-query-utils:
dependencies:
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
"@prisma/client":
specifier: 4.6.1
version: 4.6.1(prisma@4.6.1)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
lowdb:
specifier: 3.0.0
@@ -998,7 +998,7 @@ importers:
version: 18.2.0(react@18.2.0)
devDependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@next/bundle-analyzer":
specifier: 12.0.8
@@ -1037,16 +1037,16 @@ importers:
integration-tests/rpc:
dependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
next:
specifier: 13.3.0
@@ -1086,16 +1086,16 @@ importers:
integration-tests/rpc-path-root:
dependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
next:
specifier: 13.3.0
@@ -1135,19 +1135,19 @@ importers:
integration-tests/trailing-slash:
dependencies:
"@blitzjs/auth":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-auth
"@blitzjs/next":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-next
"@blitzjs/rpc":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz-rpc
"@prisma/client":
specifier: 4.6.1
version: 4.6.1(prisma@4.6.1)
blitz:
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/blitz
lowdb:
specifier: 3.0.0
@@ -1166,7 +1166,7 @@ importers:
version: 18.2.0(react@18.2.0)
devDependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../../packages/config
"@next/bundle-analyzer":
specifier: 12.0.8
@@ -1289,7 +1289,7 @@ importers:
packages/blitz:
dependencies:
"@blitzjs/generator":
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../generator
"@mrleebo/prisma-ast":
specifier: 0.2.6
@@ -1434,7 +1434,7 @@ importers:
version: 2.1.1
devDependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../config
"@types/cookie":
specifier: 0.4.1
@@ -1544,9 +1544,6 @@ importers:
debug:
specifier: 4.3.3
version: 4.3.3(supports-color@8.1.1)
find-up:
specifier: 4.1.0
version: 4.1.0
http:
specifier: 0.0.1-security
version: 0.0.1-security
@@ -1568,9 +1565,6 @@ importers:
path:
specifier: 0.12.7
version: 0.12.7
resolve-from:
specifier: 5.0.0
version: 5.0.0
supports-color:
specifier: 8.1.1
version: 8.1.1
@@ -1579,7 +1573,7 @@ importers:
version: 0.11.0
devDependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../config
"@testing-library/react":
specifier: 13.4.0
@@ -1603,7 +1597,7 @@ importers:
specifier: 17.0.14
version: 17.0.14
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../blitz
next:
specifier: 13.3.0
@@ -1633,7 +1627,7 @@ importers:
packages/blitz-next:
dependencies:
"@blitzjs/rpc":
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../blitz-rpc
"@types/hoist-non-react-statics":
specifier: 3.3.1
@@ -1655,7 +1649,7 @@ importers:
version: 8.1.1
devDependencies:
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../config
"@testing-library/dom":
specifier: 8.13.0
@@ -1672,9 +1666,6 @@ importers:
"@testing-library/user-event":
specifier: 13.5.0
version: 13.5.0(@testing-library/dom@8.13.0)
"@types/debug":
specifier: 4.1.7
version: 4.1.7
"@types/node":
specifier: 18.11.9
version: 18.11.9
@@ -1688,7 +1679,7 @@ importers:
specifier: 4.0.0
version: 4.0.0(@types/react@18.0.25)(react-dom@18.2.0)(react@18.2.0)
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../blitz
cross-spawn:
specifier: 7.0.3
@@ -1714,9 +1705,6 @@ importers:
ts-jest:
specifier: 27.1.4
version: 27.1.4(@babel/core@7.12.10)(esbuild@0.14.51)(jest@27.5.1)(typescript@4.8.4)
tslog:
specifier: 4.8.2
version: 4.8.2
typescript:
specifier: ^4.8.4
version: 4.8.4
@@ -1755,10 +1743,10 @@ importers:
version: 8.1.1
devDependencies:
"@blitzjs/auth":
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../blitz-auth
"@blitzjs/config":
specifier: workspace:2.0.0-beta.30
specifier: workspace:2.0.0-beta.27
version: link:../config
"@tanstack/query-core":
specifier: 4.24.4
@@ -1773,7 +1761,7 @@ importers:
specifier: 17.0.14
version: 17.0.14
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../blitz
next:
specifier: 13.3.0
@@ -1812,13 +1800,13 @@ importers:
specifier: 7.17.12
version: 7.17.12(@babel/core@7.12.10)
"@blitzjs/generator":
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../generator
arg:
specifier: 5.0.1
version: 5.0.1
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../blitz
chalk:
specifier: ^4.1.0
@@ -1968,7 +1956,7 @@ importers:
version: 3.20.2
devDependencies:
"@blitzjs/config":
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../config
"@juanm04/cpx":
specifier: 2.0.1
@@ -2044,7 +2032,7 @@ importers:
version: 5.9.1(eslint@8.27.0)(supports-color@8.1.1)(typescript@4.8.4)
devDependencies:
"@blitzjs/config":
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../config
"@types/react":
specifier: 18.0.25
@@ -2068,7 +2056,7 @@ importers:
recipes/base-web:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2081,7 +2069,7 @@ importers:
recipes/bulma:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2094,7 +2082,7 @@ importers:
recipes/bumbag-ui:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2110,7 +2098,7 @@ importers:
recipes/chakra-ui:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2126,7 +2114,7 @@ importers:
recipes/emotion:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2139,19 +2127,19 @@ importers:
recipes/gh-action-yarn-mariadb:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
recipes/gh-action-yarn-postgres:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
recipes/ghost:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2164,7 +2152,7 @@ importers:
recipes/graphql-apollo-server:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2180,7 +2168,7 @@ importers:
recipes/logrocket:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2193,7 +2181,7 @@ importers:
recipes/material-ui:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2206,7 +2194,7 @@ importers:
recipes/next-ui:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2222,19 +2210,19 @@ importers:
recipes/passenger:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
recipes/quirrel:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
recipes/reflexjs:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2250,13 +2238,13 @@ importers:
recipes/render:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
recipes/secureheaders:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2272,7 +2260,7 @@ importers:
recipes/stitches:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2285,7 +2273,7 @@ importers:
recipes/styled-components:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2301,7 +2289,7 @@ importers:
recipes/tailwind:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2314,7 +2302,7 @@ importers:
recipes/theme-ui:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2330,7 +2318,7 @@ importers:
recipes/vanilla-extract:
dependencies:
blitz:
specifier: 2.0.0-beta.30
specifier: 2.0.0-beta.27
version: link:../../packages/blitz
jscodeshift:
specifier: 0.13.0
@@ -2356,7 +2344,7 @@ packages:
engines: {node: ">=6.0.0"}
dependencies:
"@jridgewell/gen-mapping": 0.1.1
"@jridgewell/trace-mapping": 0.3.17
"@jridgewell/trace-mapping": 0.3.11
/@babel/code-frame@7.16.7:
resolution:
@@ -5396,7 +5384,7 @@ packages:
engines: {node: ">=6.0.0"}
dependencies:
"@jridgewell/set-array": 1.1.1
"@jridgewell/sourcemap-codec": 1.4.14
"@jridgewell/sourcemap-codec": 1.4.13
/@jridgewell/gen-mapping@0.3.1:
resolution:
@@ -5406,8 +5394,8 @@ packages:
engines: {node: ">=6.0.0"}
dependencies:
"@jridgewell/set-array": 1.1.1
"@jridgewell/sourcemap-codec": 1.4.14
"@jridgewell/trace-mapping": 0.3.17
"@jridgewell/sourcemap-codec": 1.4.13
"@jridgewell/trace-mapping": 0.3.11
/@jridgewell/gen-mapping@0.3.2:
resolution:
@@ -5420,6 +5408,13 @@ packages:
"@jridgewell/sourcemap-codec": 1.4.14
"@jridgewell/trace-mapping": 0.3.17
/@jridgewell/resolve-uri@3.0.7:
resolution:
{
integrity: sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==,
}
engines: {node: ">=6.0.0"}
/@jridgewell/resolve-uri@3.1.0:
resolution:
{
@@ -5434,12 +5429,27 @@ packages:
}
engines: {node: ">=6.0.0"}
/@jridgewell/sourcemap-codec@1.4.13:
resolution:
{
integrity: sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==,
}
/@jridgewell/sourcemap-codec@1.4.14:
resolution:
{
integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==,
}
/@jridgewell/trace-mapping@0.3.11:
resolution:
{
integrity: sha512-RllI476aSMsxzeI9TtlSMoNTgHDxEmnl6GkkHwhr0vdL8W+0WuesyI8Vd3rBOfrwtPXbPxdT9ADJdiOKgzxPQA==,
}
dependencies:
"@jridgewell/resolve-uri": 3.0.7
"@jridgewell/sourcemap-codec": 1.4.13
/@jridgewell/trace-mapping@0.3.17:
resolution:
{
@@ -5455,8 +5465,8 @@ packages:
integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==,
}
dependencies:
"@jridgewell/resolve-uri": 3.1.0
"@jridgewell/sourcemap-codec": 1.4.14
"@jridgewell/resolve-uri": 3.0.7
"@jridgewell/sourcemap-codec": 1.4.13
/@juanm04/cpx@2.0.1(supports-color@8.1.1):
resolution:
@@ -5574,10 +5584,10 @@ packages:
glob: 7.1.7
dev: true
/@next/eslint-plugin-next@13.4.7:
/@next/eslint-plugin-next@13.4.3:
resolution:
{
integrity: sha512-ANEPltxzXbyyG7CvqxdY4PmeM5+RyWdAJGufTHnU+LA/i3J6IDV2r8Z4onKwskwKEhwqzz5lMaSYGGXLyHX+mg==,
integrity: sha512-5B0uOnh7wyUY9vNNdIA6NUvWozhrZaTMZOzdirYAefqD0ZBK5C/h3+KMYdCKrR7JrXGvVpWnHtv54b3dCzwICA==,
}
dependencies:
glob: 7.1.7
@@ -11356,10 +11366,10 @@ packages:
- supports-color
dev: true
/eslint-config-next@13.4.7(eslint@8.27.0)(typescript@4.8.4):
/eslint-config-next@13.4.3(eslint@8.27.0)(typescript@4.8.4):
resolution:
{
integrity: sha512-+IRAyD0+J1MZaTi9RQMPUfr6Q+GCZ1wOkK6XM52Vokh7VI4R6YFGOFzdkEFHl4ZyIX4FKa5vcwUP2WscSFNjNQ==,
integrity: sha512-1lXwdFi29fKxzeugof/TUE7lpHyJQt5+U4LaUHyvQfHjvsWO77vFNicJv5sX6k0VDVSbnfz0lw+avxI+CinbMg==,
}
peerDependencies:
eslint: ^7.23.0 || ^8.0.0
@@ -11368,7 +11378,7 @@ packages:
typescript:
optional: true
dependencies:
"@next/eslint-plugin-next": 13.4.7
"@next/eslint-plugin-next": 13.4.3
"@rushstack/eslint-patch": 1.1.3
"@typescript-eslint/parser": 5.43.0(eslint@8.27.0)(typescript@4.8.4)
eslint: 8.27.0(supports-color@8.1.1)
@@ -20551,7 +20561,7 @@ packages:
"@tsconfig/node14": 1.0.2
"@tsconfig/node16": 1.0.3
"@types/node": 18.11.9
acorn: 8.8.1
acorn: 8.7.1
acorn-walk: 8.2.0
arg: 4.1.3
create-require: 1.1.1
@@ -20584,7 +20594,7 @@ packages:
"@tsconfig/node14": 1.0.2
"@tsconfig/node16": 1.0.3
"@types/node": 18.7.13
acorn: 8.8.1
acorn: 8.7.1
acorn-walk: 8.2.0
arg: 4.1.3
create-require: 1.1.1
@@ -20634,6 +20644,7 @@ packages:
integrity: sha512-eAKIRjxfSKYLs06r1wT7oou6Uv9VN6NW9g0JPidBlqQwPBBl5+84dm7r8zSOPVq1kyfEw1P6B3/FLSpZCorAgA==,
}
engines: {node: ">=16"}
dev: false
/tsscmp@1.0.6:
resolution:
@@ -21654,7 +21665,7 @@ packages:
engines: {node: ">= 10.13.0"}
hasBin: true
dependencies:
acorn: 8.8.1
acorn: 8.7.1
acorn-walk: 8.2.0
chalk: 4.1.2
commander: 6.2.1

View File

@@ -23,7 +23,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -22,7 +22,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -24,7 +24,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -24,7 +24,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -22,7 +22,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -24,6 +24,6 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30"
"blitz": "2.0.0-beta.27"
}
}

View File

@@ -24,6 +24,6 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30"
"blitz": "2.0.0-beta.27"
}
}

View File

@@ -23,7 +23,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -22,7 +22,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0",
"uuid": "^8.3.1"
},

View File

@@ -23,7 +23,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -23,7 +23,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -23,7 +23,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -23,6 +23,6 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30"
"blitz": "2.0.0-beta.27"
}
}

View File

@@ -22,6 +22,6 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30"
"blitz": "2.0.0-beta.27"
}
}

View File

@@ -23,7 +23,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -22,6 +22,6 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30"
"blitz": "2.0.0-beta.27"
}
}

View File

@@ -22,7 +22,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0",
"uuid": "^8.3.1"
},

View File

@@ -24,7 +24,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -24,7 +24,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -22,7 +22,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -23,7 +23,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {

View File

@@ -25,7 +25,7 @@
},
"homepage": "https://github.com/blitz-js/blitz#readme",
"dependencies": {
"blitz": "2.0.0-beta.30",
"blitz": "2.0.0-beta.27",
"jscodeshift": "0.13.0"
},
"devDependencies": {