From 31ca32604d615c3acbb5193429a2e1628ea50d8f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 30 Mar 2023 20:23:15 +0000 Subject: [PATCH 1/2] Version Packages (beta) --- .changeset/pre.json | 15 ++- apps/next13/CHANGELOG.md | 81 ++++++++++++++ apps/next13/package.json | 2 +- apps/toolkit-app-passportjs/package.json | 2 +- apps/toolkit-app/package.json | 2 +- integration-tests/auth-with-rpc/package.json | 10 +- integration-tests/auth/package.json | 8 +- .../get-initial-props/package.json | 10 +- integration-tests/middleware/package.json | 8 +- .../next-13-app-dir/package.json | 10 +- integration-tests/no-suspense/package.json | 10 +- integration-tests/qm/package.json | 10 +- .../react-query-utils/package.json | 8 +- integration-tests/rpc-path-root/package.json | 8 +- integration-tests/rpc/package.json | 8 +- integration-tests/trailing-slash/package.json | 10 +- packages/blitz-auth/CHANGELOG.md | 100 ++++++++++++++++++ packages/blitz-auth/package.json | 8 +- packages/blitz-next/CHANGELOG.md | 22 ++++ packages/blitz-next/package.json | 10 +- packages/blitz-rpc/CHANGELOG.md | 80 ++++++++++++++ packages/blitz-rpc/package.json | 10 +- packages/blitz/CHANGELOG.md | 82 ++++++++++++++ packages/blitz/package.json | 6 +- packages/codemod/CHANGELOG.md | 32 ++++++ packages/codemod/package.json | 6 +- packages/config/CHANGELOG.md | 2 + packages/config/package.json | 2 +- packages/generator/CHANGELOG.md | 9 ++ packages/generator/package.json | 4 +- packages/pkg-template/package.json | 2 +- recipes/base-web/package.json | 2 +- recipes/bulma/package.json | 2 +- recipes/bumbag-ui/package.json | 2 +- recipes/chakra-ui/package.json | 2 +- recipes/emotion/package.json | 2 +- recipes/gh-action-yarn-mariadb/package.json | 2 +- recipes/gh-action-yarn-postgres/package.json | 2 +- recipes/ghost/package.json | 2 +- recipes/graphql-apollo-server/package.json | 2 +- recipes/logrocket/package.json | 2 +- recipes/material-ui/package.json | 2 +- recipes/next-ui/package.json | 2 +- recipes/passenger/package.json | 2 +- recipes/quirrel/package.json | 2 +- recipes/reflexjs/package.json | 2 +- recipes/render/package.json | 2 +- recipes/secureheaders/package.json | 2 +- recipes/stitches/package.json | 2 +- recipes/styled-components/package.json | 2 +- recipes/tailwind/package.json | 2 +- recipes/theme-ui/package.json | 2 +- recipes/vanilla-extract/package.json | 2 +- 53 files changed, 521 insertions(+), 100 deletions(-) create mode 100644 apps/next13/CHANGELOG.md diff --git a/.changeset/pre.json b/.changeset/pre.json index 7e64409fe5..d52be560fb 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -46,7 +46,9 @@ "@blitzjs/recipe-theme-ui": "0.34.0-canary.0", "@blitzjs/recipe-vanilla-extract": "0.34.0-canary.0", "test-rpc-path-root": "0.0.0", - "test-full-auth-with-rpc": "0.0.0" + "test-full-auth-with-rpc": "0.0.0", + "next-blitz-auth": "0.1.0", + "test-app-dir": "0.0.0" }, "changesets": [ "afraid-dancers-juggle", @@ -67,6 +69,7 @@ "calm-nails-wait", "calm-papayas-protect", "calm-tomatoes-drive", + "chatty-fireants-leave", "chilled-carrots-own", "chilly-candles-care", "chilly-nails-nail", @@ -77,6 +80,7 @@ "cool-doors-invent", "cool-horses-check", "cuddly-pugs-crash", + "cuddly-singers-perform", "curly-rules-speak", "curly-seas-serve", "curvy-days-attend", @@ -91,13 +95,17 @@ "eleven-lobsters-drop", "empty-berries-rule", "empty-pants-search", + "empty-spiders-lay", "empty-turkeys-wave", "fair-carrots-guess", "fair-kangaroos-clean", "fair-wombats-sneeze", "famous-kings-explain", + "fast-adults-guess", "fast-clocks-push", + "fast-pans-impress", "fast-papayas-grow", + "fast-toys-wash", "fast-trainers-kneel", "few-dogs-fetch", "few-hounds-worry", @@ -109,6 +117,7 @@ "forty-timers-rhyme", "four-brooms-juggle", "four-meals-fry", + "four-radios-tickle", "four-sheep-judge", "funny-cups-pay", "fuzzy-bees-warn", @@ -169,6 +178,7 @@ "lucky-cows-try", "lucky-months-guess", "lucky-years-turn", + "mean-ears-speak", "mean-gorillas-reply", "modern-cameras-pull", "modern-games-dream", @@ -234,6 +244,7 @@ "silent-colts-reply", "silent-lies-run", "silly-apricots-share", + "silly-peas-work", "silly-shoes-agree", "six-apricots-kick", "slimy-humans-impress", @@ -258,6 +269,7 @@ "stale-jobs-drum", "stale-parents-yawn", "strong-apes-reply", + "strong-chicken-study", "strong-keys-lie", "stupid-rabbits-jump", "stupid-walls-sell", @@ -266,6 +278,7 @@ "swift-glasses-laugh", "swift-poets-travel", "tall-meals-learn", + "tall-radios-clean", "tame-keys-reply", "tame-pumpkins-nail", "tasty-maps-fetch", diff --git a/apps/next13/CHANGELOG.md b/apps/next13/CHANGELOG.md new file mode 100644 index 0000000000..7affb37292 --- /dev/null +++ b/apps/next13/CHANGELOG.md @@ -0,0 +1,81 @@ +# next-blitz-auth + +## 0.1.1-beta.0 + +### Patch Changes + +- 37aeaa7fa: feature: Nextjs 13 App Directory Utility Methods + + ### 🔧 New Blitz Auth Hook `useAuthenticatedBlitzContext` + + This hook is implemented as the replacement of the [`BlitzPage` seurity auth utilities](https://blitzjs.com/docs/authorization#secure-your-pages) provided for the pages directory to work with React Server Components in the Nextjs 13 app directory + It can be used in any asynchronous server component be it in `page.ts` or in the layouts in `layout.ts` + It uses the new [`redirect` function](https://beta.nextjs.org/docs/api-reference/redirect) to provide the required authorization in server side + + #### API + + ```ts + useAuthenticatedBlitzContext({ + redirectTo, + redirectAuthenticatedTo, + role, + }: { + redirectTo?: string | RouteUrlObject + redirectAuthenticatedTo?: string | RouteUrlObject | ((ctx: Ctx) => string | RouteUrlObject) + role?: string | string[] + }): Promise + ``` + + #### Usage + + **Example Usage in React Server Component in `app` directory in Next 13** + + ```ts + import {getAppSession, useAuthenticatedBlitzContext} from "src/blitz-server" + ... + await useAuthenticatedBlitzContext({ + redirectTo: "/auth/login", + role: ["admin"], + redirectAuthenticatedTo: "/dashboard", + }) + ``` + + ### 🔧 New Blitz RPC Hook `invokeResolver` + + #### API + + ```ts + invokeResolver any, TInput = FirstParam>( + queryFn: T, + params: TInput, + ): Promise> + ``` + + #### Example Usage + + ```ts + ... + import {invokeResolver, useAuthenticatedBlitzContext} from "../src/blitz-server" + import getCurrentUser from "../src/users/queries/getCurrentUser" + + export default async function Home() { + await useAuthenticatedBlitzContext({ + redirectTo: "/auth/login", + }) + const user = await invokeResolver(getCurrentUser, null) + ... + ``` + +- Updated dependencies [cadefb88e] +- Updated dependencies [6f18cbdc9] +- Updated dependencies [acc07ce94] +- Updated dependencies [ea7561b8e] +- Updated dependencies [9529dbd6f] +- Updated dependencies [ea7561b8e] +- Updated dependencies [6e88a847f] +- Updated dependencies [37aeaa7fa] + - blitz@2.0.0-beta.24 + - @blitzjs/auth@2.0.0-beta.24 + - @blitzjs/next@2.0.0-beta.24 + - @blitzjs/rpc@2.0.0-beta.24 + - @blitzjs/config@2.0.0-beta.24 diff --git a/apps/next13/package.json b/apps/next13/package.json index 6d35133791..596d0d14c7 100644 --- a/apps/next13/package.json +++ b/apps/next13/package.json @@ -1,6 +1,6 @@ { "name": "next-blitz-auth", - "version": "0.1.0", + "version": "0.1.1-beta.0", "private": true, "scripts": { "blitz:dev": "next dev", diff --git a/apps/toolkit-app-passportjs/package.json b/apps/toolkit-app-passportjs/package.json index 48182b292b..9718d12513 100644 --- a/apps/toolkit-app-passportjs/package.json +++ b/apps/toolkit-app-passportjs/package.json @@ -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.23", + "blitz": "workspace:2.0.0-beta.24", "next": "13.2.4", "openid-client": "5.2.1", "prisma": "4.6.1", diff --git a/apps/toolkit-app/package.json b/apps/toolkit-app/package.json index 4ac6e5224a..eaae076ad5 100644 --- a/apps/toolkit-app/package.json +++ b/apps/toolkit-app/package.json @@ -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.23", + "blitz": "workspace:2.0.0-beta.24", "next": "13.2.4", "next-auth": "4.18.7", "prisma": "4.6.1", diff --git a/integration-tests/auth-with-rpc/package.json b/integration-tests/auth-with-rpc/package.json index 61c76d397e..38af582103 100644 --- a/integration-tests/auth-with-rpc/package.json +++ b/integration-tests/auth-with-rpc/package.json @@ -17,14 +17,14 @@ "prisma:studio": "prisma studio" }, "dependencies": { - "@blitzjs/auth": "workspace:2.0.0-beta.23", - "@blitzjs/config": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", + "@blitzjs/auth": "workspace:2.0.0-beta.24", + "@blitzjs/config": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", "@hookform/error-message": "2.0.0", "@hookform/resolvers": "2.9.10", "@prisma/client": "4.6.1", - "blitz": "workspace:2.0.0-beta.23", + "blitz": "workspace:2.0.0-beta.24", "delay": "5.0.0", "next": "13.2.4", "prisma": "4.6.1", diff --git a/integration-tests/auth/package.json b/integration-tests/auth/package.json index 59f748c98c..b1c9795506 100644 --- a/integration-tests/auth/package.json +++ b/integration-tests/auth/package.json @@ -17,11 +17,11 @@ "prisma:studio": "prisma studio" }, "dependencies": { - "@blitzjs/auth": "workspace:2.0.0-beta.23", - "@blitzjs/config": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", + "@blitzjs/auth": "workspace:2.0.0-beta.24", + "@blitzjs/config": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", "@prisma/client": "4.6.1", - "blitz": "workspace:2.0.0-beta.23", + "blitz": "workspace:2.0.0-beta.24", "lowdb": "3.0.0", "next": "13.2.4", "prisma": "4.6.1", diff --git a/integration-tests/get-initial-props/package.json b/integration-tests/get-initial-props/package.json index fefae0e4c2..ad85ae936d 100644 --- a/integration-tests/get-initial-props/package.json +++ b/integration-tests/get-initial-props/package.json @@ -16,11 +16,11 @@ "schema": "db/schema.prisma" }, "dependencies": { - "@blitzjs/auth": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", + "@blitzjs/auth": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", "@prisma/client": "4.6.1", - "blitz": "workspace:2.0.0-beta.23", + "blitz": "workspace:2.0.0-beta.24", "lowdb": "3.0.0", "next": "13.2.4", "prisma": "4.6.1", @@ -28,7 +28,7 @@ "react-dom": "18.2.0" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", "@next/bundle-analyzer": "12.0.8", "@types/express": "4.17.13", "@types/fs-extra": "9.0.13", diff --git a/integration-tests/middleware/package.json b/integration-tests/middleware/package.json index 138c6fe14a..98d3337760 100644 --- a/integration-tests/middleware/package.json +++ b/integration-tests/middleware/package.json @@ -11,10 +11,10 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next" }, "dependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", - "blitz": "workspace:2.0.0-beta.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", + "blitz": "workspace:2.0.0-beta.24", "next": "13.2.4", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/integration-tests/next-13-app-dir/package.json b/integration-tests/next-13-app-dir/package.json index 3f2c175398..5e85e64415 100644 --- a/integration-tests/next-13-app-dir/package.json +++ b/integration-tests/next-13-app-dir/package.json @@ -17,12 +17,12 @@ "prisma:studio": "prisma studio" }, "dependencies": { - "@blitzjs/auth": "workspace:2.0.0-beta.23", - "@blitzjs/config": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", + "@blitzjs/auth": "workspace:2.0.0-beta.24", + "@blitzjs/config": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", "@prisma/client": "4.6.1", - "blitz": "workspace:2.0.0-beta.23", + "blitz": "workspace:2.0.0-beta.24", "lowdb": "3.0.0", "next": "13.2.4", "prisma": "4.6.1", diff --git a/integration-tests/no-suspense/package.json b/integration-tests/no-suspense/package.json index cde2e54191..222a2b8153 100644 --- a/integration-tests/no-suspense/package.json +++ b/integration-tests/no-suspense/package.json @@ -16,11 +16,11 @@ "prisma:studio": "prisma studio" }, "dependencies": { - "@blitzjs/auth": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", + "@blitzjs/auth": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", "@prisma/client": "4.6.1", - "blitz": "workspace:2.0.0-beta.23", + "blitz": "workspace:2.0.0-beta.24", "lowdb": "3.0.0", "next": "13.2.4", "prisma": "4.6.1", @@ -28,7 +28,7 @@ "react-dom": "18.2.0" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", "@next/bundle-analyzer": "12.0.8", "@types/express": "4.17.13", "@types/fs-extra": "9.0.13", diff --git a/integration-tests/qm/package.json b/integration-tests/qm/package.json index 00c91a72a6..889d718cc2 100644 --- a/integration-tests/qm/package.json +++ b/integration-tests/qm/package.json @@ -8,13 +8,13 @@ "clean": "rm -rf .turbo && rm -rf node_modules" }, "dependencies": { - "@blitzjs/auth": "workspace:2.0.0-beta.23", - "@blitzjs/config": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", + "@blitzjs/auth": "workspace:2.0.0-beta.24", + "@blitzjs/config": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", "@prisma/client": "4.6.1", "@tanstack/react-query": "4.0.10", - "blitz": "workspace:2.0.0-beta.23", + "blitz": "workspace:2.0.0-beta.24", "next": "13.2.4", "prisma": "4.6.1", "react": "18.2.0", diff --git a/integration-tests/react-query-utils/package.json b/integration-tests/react-query-utils/package.json index 91703103e7..63ac46eaf7 100644 --- a/integration-tests/react-query-utils/package.json +++ b/integration-tests/react-query-utils/package.json @@ -16,10 +16,10 @@ "schema": "db/schema.prisma" }, "dependencies": { - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", "@prisma/client": "4.6.1", - "blitz": "workspace:2.0.0-beta.23", + "blitz": "workspace:2.0.0-beta.24", "lowdb": "3.0.0", "next": "13.2.4", "prisma": "4.6.1", @@ -27,7 +27,7 @@ "react-dom": "18.2.0" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", "@next/bundle-analyzer": "12.0.8", "@types/express": "4.17.13", "@types/fs-extra": "9.0.13", diff --git a/integration-tests/rpc-path-root/package.json b/integration-tests/rpc-path-root/package.json index 8c93e7ee83..9c65b8f166 100644 --- a/integration-tests/rpc-path-root/package.json +++ b/integration-tests/rpc-path-root/package.json @@ -7,10 +7,10 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next" }, "dependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", - "blitz": "workspace:2.0.0-beta.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", + "blitz": "workspace:2.0.0-beta.24", "next": "13.2.4", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/integration-tests/rpc/package.json b/integration-tests/rpc/package.json index a2a1bb0d1c..38b27f936a 100644 --- a/integration-tests/rpc/package.json +++ b/integration-tests/rpc/package.json @@ -7,10 +7,10 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next" }, "dependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", - "blitz": "workspace:2.0.0-beta.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", + "blitz": "workspace:2.0.0-beta.24", "next": "13.2.4", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/integration-tests/trailing-slash/package.json b/integration-tests/trailing-slash/package.json index 114570db29..0b615db795 100644 --- a/integration-tests/trailing-slash/package.json +++ b/integration-tests/trailing-slash/package.json @@ -16,11 +16,11 @@ "schema": "db/schema.prisma" }, "dependencies": { - "@blitzjs/auth": "workspace:2.0.0-beta.23", - "@blitzjs/next": "workspace:2.0.0-beta.23", - "@blitzjs/rpc": "workspace:2.0.0-beta.23", + "@blitzjs/auth": "workspace:2.0.0-beta.24", + "@blitzjs/next": "workspace:2.0.0-beta.24", + "@blitzjs/rpc": "workspace:2.0.0-beta.24", "@prisma/client": "4.6.1", - "blitz": "workspace:2.0.0-beta.23", + "blitz": "workspace:2.0.0-beta.24", "lowdb": "3.0.0", "next": "13.2.4", "prisma": "4.6.1", @@ -28,7 +28,7 @@ "react-dom": "18.2.0" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", "@next/bundle-analyzer": "12.0.8", "@types/express": "4.17.13", "@types/fs-extra": "9.0.13", diff --git a/packages/blitz-auth/CHANGELOG.md b/packages/blitz-auth/CHANGELOG.md index 095edbca4e..9540cbfeca 100644 --- a/packages/blitz-auth/CHANGELOG.md +++ b/packages/blitz-auth/CHANGELOG.md @@ -1,5 +1,105 @@ # @blitzjs/auth +## 2.0.0-beta.24 + +### Major Changes + +- 9529dbd6f: ## ⚠️ Breaking Changes for Blitz Auth + + Automatically upgrade using codemod + (Make sure to git commit before running this command to avoid losing changes) + + ```bash + npx @blitz/codemod secure-password + ``` + + Introduce a new import path for the Blitz wrapper `SecurePassword` to fully decouple the library from `@blitzjs/auth` + + ```diff + - import {SecurePassword} from "@blitzjs/auth" + + import {SecurePassword} from "@blitzjs/auth/secure-password" + ``` + +### Minor Changes + +- cadefb88e: - New Blitz Auth Function `getAppSession`, This function will use the cookies and headers provided by the server component and returns the current session. + - New Blitz Auth Hook `useAuthenticatedAppSession`, This hook is implemented as the replacement of the BlitzPage seurity auth utilities provided for the pages directory to work with React Server Components in the Nextjs 13 app directory + - New Blitz React Server Component Wrapper, `BlitzProvider` is to be imported from setupBlitzClient in src/blitz-client.ts and to used to ideally wrap the entire application in the `RootLayout` in the root layout.ts file of next app directory. + - Fix failing tests due to the error `NextRouter is not mounted` in next 13 blitz apps +- 6f18cbdc9: feature: Next Auth Adapter + +### Patch Changes + +- 6e88a847f: Fixed security vulnerabilities in passport-adapter by upgrading `passport` and `jsonwebtoken` +- 37aeaa7fa: feature: Nextjs 13 App Directory Utility Methods + + ### 🔧 New Blitz Auth Hook `useAuthenticatedBlitzContext` + + This hook is implemented as the replacement of the [`BlitzPage` seurity auth utilities](https://blitzjs.com/docs/authorization#secure-your-pages) provided for the pages directory to work with React Server Components in the Nextjs 13 app directory + It can be used in any asynchronous server component be it in `page.ts` or in the layouts in `layout.ts` + It uses the new [`redirect` function](https://beta.nextjs.org/docs/api-reference/redirect) to provide the required authorization in server side + + #### API + + ```ts + useAuthenticatedBlitzContext({ + redirectTo, + redirectAuthenticatedTo, + role, + }: { + redirectTo?: string | RouteUrlObject + redirectAuthenticatedTo?: string | RouteUrlObject | ((ctx: Ctx) => string | RouteUrlObject) + role?: string | string[] + }): Promise + ``` + + #### Usage + + **Example Usage in React Server Component in `app` directory in Next 13** + + ```ts + import {getAppSession, useAuthenticatedBlitzContext} from "src/blitz-server" + ... + await useAuthenticatedBlitzContext({ + redirectTo: "/auth/login", + role: ["admin"], + redirectAuthenticatedTo: "/dashboard", + }) + ``` + + ### 🔧 New Blitz RPC Hook `invokeResolver` + + #### API + + ```ts + invokeResolver any, TInput = FirstParam>( + queryFn: T, + params: TInput, + ): Promise> + ``` + + #### Example Usage + + ```ts + ... + import {invokeResolver, useAuthenticatedBlitzContext} from "../src/blitz-server" + import getCurrentUser from "../src/users/queries/getCurrentUser" + + export default async function Home() { + await useAuthenticatedBlitzContext({ + redirectTo: "/auth/login", + }) + const user = await invokeResolver(getCurrentUser, null) + ... + ``` + +- Updated dependencies [cadefb88e] +- Updated dependencies [6f18cbdc9] +- Updated dependencies [ea7561b8e] +- Updated dependencies [ea7561b8e] +- Updated dependencies [37aeaa7fa] + - blitz@2.0.0-beta.24 + ## 2.0.0-beta.23 ### Major Changes diff --git a/packages/blitz-auth/package.json b/packages/blitz-auth/package.json index 98230ee2af..873f1da45c 100644 --- a/packages/blitz-auth/package.json +++ b/packages/blitz-auth/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/auth", - "version": "2.0.0-beta.23", + "version": "2.0.0-beta.24", "homepage": "https://blitzjs.com/", "repository": { "type": "git", @@ -47,7 +47,7 @@ "url": "0.11.0" }, "peerDependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "next": "*", "next-auth": "*", "secure-password": "4.0.0" @@ -64,7 +64,7 @@ } }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", "@testing-library/react": "13.4.0", "@testing-library/react-hooks": "8.0.1", "@types/cookie": "0.4.1", @@ -72,7 +72,7 @@ "@types/jsonwebtoken": "8.5.8", "@types/react": "18.0.25", "@types/react-dom": "17.0.14", - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "next": "13.2.4", "next-auth": "4.18.7", "react": "18.2.0", diff --git a/packages/blitz-next/CHANGELOG.md b/packages/blitz-next/CHANGELOG.md index cbd8d30b4f..749143becf 100644 --- a/packages/blitz-next/CHANGELOG.md +++ b/packages/blitz-next/CHANGELOG.md @@ -1,5 +1,27 @@ # @blitzjs/next +## 2.0.0-beta.24 + +### Minor Changes + +- cadefb88e: - New Blitz Auth Function `getAppSession`, This function will use the cookies and headers provided by the server component and returns the current session. + - New Blitz Auth Hook `useAuthenticatedAppSession`, This hook is implemented as the replacement of the BlitzPage seurity auth utilities provided for the pages directory to work with React Server Components in the Nextjs 13 app directory + - New Blitz React Server Component Wrapper, `BlitzProvider` is to be imported from setupBlitzClient in src/blitz-client.ts and to used to ideally wrap the entire application in the `RootLayout` in the root layout.ts file of next app directory. + - Fix failing tests due to the error `NextRouter is not mounted` in next 13 blitz apps +- acc07ce94: Fix Next 13.2 compatibility + + This updates the suspense patch to work with Next.js 13.2+. Hopefully soon we can stop patching once Next.js catches up with all the other frameworks and properly [exposes the `onRecoverableError` react hook](https://github.com/vercel/next.js/discussions/36641). + +### Patch Changes + +- Updated dependencies [cadefb88e] +- Updated dependencies [6f18cbdc9] +- Updated dependencies [ea7561b8e] +- Updated dependencies [ea7561b8e] +- Updated dependencies [37aeaa7fa] + - blitz@2.0.0-beta.24 + - @blitzjs/rpc@2.0.0-beta.24 + ## 2.0.0-beta.23 ### Patch Changes diff --git a/packages/blitz-next/package.json b/packages/blitz-next/package.json index cbb89b7e56..3a147e6cea 100644 --- a/packages/blitz-next/package.json +++ b/packages/blitz-next/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/next", - "version": "2.0.0-beta.23", + "version": "2.0.0-beta.24", "homepage": "https://blitzjs.com/", "repository": { "type": "git", @@ -29,7 +29,7 @@ "eslint.js" ], "dependencies": { - "@blitzjs/rpc": "2.0.0-beta.23", + "@blitzjs/rpc": "2.0.0-beta.24", "@types/hoist-non-react-statics": "3.3.1", "debug": "4.3.3", "fs-extra": "10.0.1", @@ -38,12 +38,12 @@ "supports-color": "8.1.1" }, "peerDependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "next": "*", "react": "*" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", "@testing-library/dom": "8.13.0", "@testing-library/jest-dom": "5.16.3", "@testing-library/react": "13.4.0", @@ -53,7 +53,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.23", + "blitz": "2.0.0-beta.24", "cross-spawn": "7.0.3", "find-up": "4.1.0", "next": "13.2.4", diff --git a/packages/blitz-rpc/CHANGELOG.md b/packages/blitz-rpc/CHANGELOG.md index 232b64112a..c21bf06878 100644 --- a/packages/blitz-rpc/CHANGELOG.md +++ b/packages/blitz-rpc/CHANGELOG.md @@ -1,5 +1,85 @@ # @blitzjs/rpc +## 2.0.0-beta.24 + +### Minor Changes + +- cadefb88e: - New Blitz Auth Function `getAppSession`, This function will use the cookies and headers provided by the server component and returns the current session. + - New Blitz Auth Hook `useAuthenticatedAppSession`, This hook is implemented as the replacement of the BlitzPage seurity auth utilities provided for the pages directory to work with React Server Components in the Nextjs 13 app directory + - New Blitz React Server Component Wrapper, `BlitzProvider` is to be imported from setupBlitzClient in src/blitz-client.ts and to used to ideally wrap the entire application in the `RootLayout` in the root layout.ts file of next app directory. + - Fix failing tests due to the error `NextRouter is not mounted` in next 13 blitz apps + +### Patch Changes + +- 37aeaa7fa: feature: Nextjs 13 App Directory Utility Methods + + ### 🔧 New Blitz Auth Hook `useAuthenticatedBlitzContext` + + This hook is implemented as the replacement of the [`BlitzPage` seurity auth utilities](https://blitzjs.com/docs/authorization#secure-your-pages) provided for the pages directory to work with React Server Components in the Nextjs 13 app directory + It can be used in any asynchronous server component be it in `page.ts` or in the layouts in `layout.ts` + It uses the new [`redirect` function](https://beta.nextjs.org/docs/api-reference/redirect) to provide the required authorization in server side + + #### API + + ```ts + useAuthenticatedBlitzContext({ + redirectTo, + redirectAuthenticatedTo, + role, + }: { + redirectTo?: string | RouteUrlObject + redirectAuthenticatedTo?: string | RouteUrlObject | ((ctx: Ctx) => string | RouteUrlObject) + role?: string | string[] + }): Promise + ``` + + #### Usage + + **Example Usage in React Server Component in `app` directory in Next 13** + + ```ts + import {getAppSession, useAuthenticatedBlitzContext} from "src/blitz-server" + ... + await useAuthenticatedBlitzContext({ + redirectTo: "/auth/login", + role: ["admin"], + redirectAuthenticatedTo: "/dashboard", + }) + ``` + + ### 🔧 New Blitz RPC Hook `invokeResolver` + + #### API + + ```ts + invokeResolver any, TInput = FirstParam>( + queryFn: T, + params: TInput, + ): Promise> + ``` + + #### Example Usage + + ```ts + ... + import {invokeResolver, useAuthenticatedBlitzContext} from "../src/blitz-server" + import getCurrentUser from "../src/users/queries/getCurrentUser" + + export default async function Home() { + await useAuthenticatedBlitzContext({ + redirectTo: "/auth/login", + }) + const user = await invokeResolver(getCurrentUser, null) + ... + ``` + +- Updated dependencies [cadefb88e] +- Updated dependencies [6f18cbdc9] +- Updated dependencies [ea7561b8e] +- Updated dependencies [ea7561b8e] +- Updated dependencies [37aeaa7fa] + - blitz@2.0.0-beta.24 + ## 2.0.0-beta.23 ### Patch Changes diff --git a/packages/blitz-rpc/package.json b/packages/blitz-rpc/package.json index cf249571e5..67dd78a707 100644 --- a/packages/blitz-rpc/package.json +++ b/packages/blitz-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/rpc", - "version": "2.0.0-beta.23", + "version": "2.0.0-beta.24", "homepage": "https://blitzjs.com/", "repository": { "type": "git", @@ -37,18 +37,18 @@ }, "peerDependencies": { "@tanstack/query-core": "4.24.4", - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "next": "*", "react": "*" }, "devDependencies": { - "@blitzjs/auth": "2.0.0-beta.23", - "@blitzjs/config": "workspace:2.0.0-beta.23", + "@blitzjs/auth": "2.0.0-beta.24", + "@blitzjs/config": "workspace:2.0.0-beta.24", "@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.23", + "blitz": "2.0.0-beta.24", "next": "13.2.4", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/packages/blitz/CHANGELOG.md b/packages/blitz/CHANGELOG.md index 24bac02e9e..d85e7b4d17 100644 --- a/packages/blitz/CHANGELOG.md +++ b/packages/blitz/CHANGELOG.md @@ -1,5 +1,87 @@ # blitz +## 2.0.0-beta.24 + +### Minor Changes + +- cadefb88e: - New Blitz Auth Function `getAppSession`, This function will use the cookies and headers provided by the server component and returns the current session. + - New Blitz Auth Hook `useAuthenticatedAppSession`, This hook is implemented as the replacement of the BlitzPage seurity auth utilities provided for the pages directory to work with React Server Components in the Nextjs 13 app directory + - New Blitz React Server Component Wrapper, `BlitzProvider` is to be imported from setupBlitzClient in src/blitz-client.ts and to used to ideally wrap the entire application in the `RootLayout` in the root layout.ts file of next app directory. + - Fix failing tests due to the error `NextRouter is not mounted` in next 13 blitz apps +- 6f18cbdc9: feature: Next Auth Adapter + +### Patch Changes + +- ea7561b8e: Consolidate mutations schema to new schema.{ts|js} file. +- ea7561b8e: Multiple fields forms using templates during generation - TODO +- 37aeaa7fa: feature: Nextjs 13 App Directory Utility Methods + + ### 🔧 New Blitz Auth Hook `useAuthenticatedBlitzContext` + + This hook is implemented as the replacement of the [`BlitzPage` seurity auth utilities](https://blitzjs.com/docs/authorization#secure-your-pages) provided for the pages directory to work with React Server Components in the Nextjs 13 app directory + It can be used in any asynchronous server component be it in `page.ts` or in the layouts in `layout.ts` + It uses the new [`redirect` function](https://beta.nextjs.org/docs/api-reference/redirect) to provide the required authorization in server side + + #### API + + ```ts + useAuthenticatedBlitzContext({ + redirectTo, + redirectAuthenticatedTo, + role, + }: { + redirectTo?: string | RouteUrlObject + redirectAuthenticatedTo?: string | RouteUrlObject | ((ctx: Ctx) => string | RouteUrlObject) + role?: string | string[] + }): Promise + ``` + + #### Usage + + **Example Usage in React Server Component in `app` directory in Next 13** + + ```ts + import {getAppSession, useAuthenticatedBlitzContext} from "src/blitz-server" + ... + await useAuthenticatedBlitzContext({ + redirectTo: "/auth/login", + role: ["admin"], + redirectAuthenticatedTo: "/dashboard", + }) + ``` + + ### 🔧 New Blitz RPC Hook `invokeResolver` + + #### API + + ```ts + invokeResolver any, TInput = FirstParam>( + queryFn: T, + params: TInput, + ): Promise> + ``` + + #### Example Usage + + ```ts + ... + import {invokeResolver, useAuthenticatedBlitzContext} from "../src/blitz-server" + import getCurrentUser from "../src/users/queries/getCurrentUser" + + export default async function Home() { + await useAuthenticatedBlitzContext({ + redirectTo: "/auth/login", + }) + const user = await invokeResolver(getCurrentUser, null) + ... + ``` + +- Updated dependencies [e228ba5de] +- Updated dependencies [ea7561b8e] +- Updated dependencies [430f0b52d] +- Updated dependencies [ea7561b8e] + - @blitzjs/generator@2.0.0-beta.24 + ## 2.0.0-beta.23 ### Patch Changes diff --git a/packages/blitz/package.json b/packages/blitz/package.json index 43ca16ec51..e112dfadb8 100644 --- a/packages/blitz/package.json +++ b/packages/blitz/package.json @@ -1,6 +1,6 @@ { "name": "blitz", - "version": "2.0.0-beta.23", + "version": "2.0.0-beta.24", "homepage": "https://blitzjs.com/", "repository": { "type": "git", @@ -30,7 +30,7 @@ "blitz": "bin/blitz" }, "dependencies": { - "@blitzjs/generator": "2.0.0-beta.23", + "@blitzjs/generator": "2.0.0-beta.24", "@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.23", + "@blitzjs/config": "workspace:2.0.0-beta.24", "@types/cookie": "0.4.1", "@types/cross-spawn": "6.0.2", "@types/debug": "4.1.7", diff --git a/packages/codemod/CHANGELOG.md b/packages/codemod/CHANGELOG.md index 06bf1094c9..598f0e8c18 100644 --- a/packages/codemod/CHANGELOG.md +++ b/packages/codemod/CHANGELOG.md @@ -1,5 +1,37 @@ # @blitzjs/codemod +## 2.0.0-beta.24 + +### Minor Changes + +- 9529dbd6f: ## ⚠️ Breaking Changes for Blitz Auth + + Automatically upgrade using codemod + (Make sure to git commit before running this command to avoid losing changes) + + ```bash + npx @blitz/codemod secure-password + ``` + + Introduce a new import path for the Blitz wrapper `SecurePassword` to fully decouple the library from `@blitzjs/auth` + + ```diff + - import {SecurePassword} from "@blitzjs/auth" + + import {SecurePassword} from "@blitzjs/auth/secure-password" + ``` + +### Patch Changes + +- Updated dependencies [e228ba5de] +- Updated dependencies [cadefb88e] +- Updated dependencies [6f18cbdc9] +- Updated dependencies [ea7561b8e] +- Updated dependencies [430f0b52d] +- Updated dependencies [ea7561b8e] +- Updated dependencies [37aeaa7fa] + - @blitzjs/generator@2.0.0-beta.24 + - blitz@2.0.0-beta.24 + ## 2.0.0-beta.23 ### Patch Changes diff --git a/packages/codemod/package.json b/packages/codemod/package.json index b817ae701c..8a5a7125eb 100644 --- a/packages/codemod/package.json +++ b/packages/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/codemod", - "version": "2.0.0-beta.23", + "version": "2.0.0-beta.24", "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.23", + "@blitzjs/generator": "2.0.0-beta.24", "arg": "5.0.1", - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "chalk": "^4.1.0", "cross-spawn": "7.0.3", "debug": "4.3.3", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 9f436d725f..92718f50ab 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,7 @@ # @blitzjs/config +## 2.0.0-beta.24 + ## 2.0.0-beta.23 ## 2.0.0-beta.22 diff --git a/packages/config/package.json b/packages/config/package.json index ca2c149185..1162c65072 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,7 +1,7 @@ { "name": "@blitzjs/config", "private": true, - "version": "2.0.0-beta.23", + "version": "2.0.0-beta.24", "license": "MIT", "dependencies": { "@typescript-eslint/eslint-plugin": "5.42.1", diff --git a/packages/generator/CHANGELOG.md b/packages/generator/CHANGELOG.md index a8e653c3b9..60e19df333 100644 --- a/packages/generator/CHANGELOG.md +++ b/packages/generator/CHANGELOG.md @@ -1,5 +1,14 @@ # @blitzjs/generator +## 2.0.0-beta.24 + +### Patch Changes + +- e228ba5de: Fix a type error in reset password templates. +- ea7561b8e: Consolidate mutations schema to new schema.{ts|js} file. +- 430f0b52d: For new applications, update Prisma (`prisma` and `@prisma/client`) from `4.6.0` to `4.6.1` to solve enum issue with postgresql https://github.com/prisma/prisma/issues/16180 +- ea7561b8e: Multiple fields forms using templates during generation - TODO + ## 2.0.0-beta.23 ### Patch Changes diff --git a/packages/generator/package.json b/packages/generator/package.json index 80b205f13d..54346edaac 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/generator", - "version": "2.0.0-beta.23", + "version": "2.0.0-beta.24", "homepage": "https://blitzjs.com/", "repository": { "type": "git", @@ -54,7 +54,7 @@ "zod": "3.20.2" }, "devDependencies": { - "@blitzjs/config": "2.0.0-beta.23", + "@blitzjs/config": "2.0.0-beta.24", "@juanm04/cpx": "2.0.1", "@types/babel__core": "7.1.19", "@types/diff": "5.0.2", diff --git a/packages/pkg-template/package.json b/packages/pkg-template/package.json index 8c16d325d0..ce3f28ab5a 100644 --- a/packages/pkg-template/package.json +++ b/packages/pkg-template/package.json @@ -25,7 +25,7 @@ "@typescript-eslint/parser": "5.9.1" }, "devDependencies": { - "@blitzjs/config": "2.0.0-beta.23", + "@blitzjs/config": "2.0.0-beta.24", "@types/react": "18.0.25", "@types/react-dom": "17.0.14", "react": "18.2.0", diff --git a/recipes/base-web/package.json b/recipes/base-web/package.json index ec234838e5..8e2d5c8c0b 100644 --- a/recipes/base-web/package.json +++ b/recipes/base-web/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/bulma/package.json b/recipes/bulma/package.json index 68fe389dd2..10196b8b8b 100644 --- a/recipes/bulma/package.json +++ b/recipes/bulma/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/bumbag-ui/package.json b/recipes/bumbag-ui/package.json index 5c9cbfbf94..1864773f49 100644 --- a/recipes/bumbag-ui/package.json +++ b/recipes/bumbag-ui/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/chakra-ui/package.json b/recipes/chakra-ui/package.json index 615e7ff53a..77c674e417 100644 --- a/recipes/chakra-ui/package.json +++ b/recipes/chakra-ui/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/emotion/package.json b/recipes/emotion/package.json index 73468895a6..a885edec8c 100644 --- a/recipes/emotion/package.json +++ b/recipes/emotion/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/gh-action-yarn-mariadb/package.json b/recipes/gh-action-yarn-mariadb/package.json index 290eb0b247..870e34bd79 100644 --- a/recipes/gh-action-yarn-mariadb/package.json +++ b/recipes/gh-action-yarn-mariadb/package.json @@ -24,6 +24,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23" + "blitz": "2.0.0-beta.24" } } diff --git a/recipes/gh-action-yarn-postgres/package.json b/recipes/gh-action-yarn-postgres/package.json index 6960263218..5ff7762434 100644 --- a/recipes/gh-action-yarn-postgres/package.json +++ b/recipes/gh-action-yarn-postgres/package.json @@ -24,6 +24,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23" + "blitz": "2.0.0-beta.24" } } diff --git a/recipes/ghost/package.json b/recipes/ghost/package.json index d25d494f4a..7294785527 100644 --- a/recipes/ghost/package.json +++ b/recipes/ghost/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/graphql-apollo-server/package.json b/recipes/graphql-apollo-server/package.json index d7e97f9ea9..5f05c7f105 100644 --- a/recipes/graphql-apollo-server/package.json +++ b/recipes/graphql-apollo-server/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0", "uuid": "^8.3.1" }, diff --git a/recipes/logrocket/package.json b/recipes/logrocket/package.json index e0ebdc20cb..d7019e02c9 100644 --- a/recipes/logrocket/package.json +++ b/recipes/logrocket/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/material-ui/package.json b/recipes/material-ui/package.json index 7a4d7f3b13..206deebc55 100644 --- a/recipes/material-ui/package.json +++ b/recipes/material-ui/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/next-ui/package.json b/recipes/next-ui/package.json index f28865241e..adbd324776 100644 --- a/recipes/next-ui/package.json +++ b/recipes/next-ui/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/passenger/package.json b/recipes/passenger/package.json index 945669bdfd..53c5c9d177 100644 --- a/recipes/passenger/package.json +++ b/recipes/passenger/package.json @@ -23,6 +23,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23" + "blitz": "2.0.0-beta.24" } } diff --git a/recipes/quirrel/package.json b/recipes/quirrel/package.json index 834ab22ea6..c4660ed8a0 100644 --- a/recipes/quirrel/package.json +++ b/recipes/quirrel/package.json @@ -22,6 +22,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23" + "blitz": "2.0.0-beta.24" } } diff --git a/recipes/reflexjs/package.json b/recipes/reflexjs/package.json index 13f6f18271..f0d3726d3a 100644 --- a/recipes/reflexjs/package.json +++ b/recipes/reflexjs/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/render/package.json b/recipes/render/package.json index ab85c98317..36af8dd638 100644 --- a/recipes/render/package.json +++ b/recipes/render/package.json @@ -22,6 +22,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23" + "blitz": "2.0.0-beta.24" } } diff --git a/recipes/secureheaders/package.json b/recipes/secureheaders/package.json index 495d4ecd00..aaa9752c99 100644 --- a/recipes/secureheaders/package.json +++ b/recipes/secureheaders/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0", "uuid": "^8.3.1" }, diff --git a/recipes/stitches/package.json b/recipes/stitches/package.json index c9471c4081..4319b93f2c 100644 --- a/recipes/stitches/package.json +++ b/recipes/stitches/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/styled-components/package.json b/recipes/styled-components/package.json index 435ca7d7de..ce18d3d1b4 100644 --- a/recipes/styled-components/package.json +++ b/recipes/styled-components/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/tailwind/package.json b/recipes/tailwind/package.json index 6d55234309..4b22683d73 100644 --- a/recipes/tailwind/package.json +++ b/recipes/tailwind/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/theme-ui/package.json b/recipes/theme-ui/package.json index 91a4a3965b..9542f27ad3 100644 --- a/recipes/theme-ui/package.json +++ b/recipes/theme-ui/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/vanilla-extract/package.json b/recipes/vanilla-extract/package.json index 1174eca7af..90f2cbc967 100644 --- a/recipes/vanilla-extract/package.json +++ b/recipes/vanilla-extract/package.json @@ -25,7 +25,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.23", + "blitz": "2.0.0-beta.24", "jscodeshift": "0.13.0" }, "devDependencies": { From 56f06248ba60b3fc5914c199f4589a09e9bc64f2 Mon Sep 17 00:00:00 2001 From: Siddharth Suresh Date: Fri, 31 Mar 2023 23:10:02 +0530 Subject: [PATCH 2/2] pnpm lock --- .changeset/tall-radios-clean.md | 9 +- pnpm-lock.yaml | 296 ++++++++++++++++---------------- 2 files changed, 156 insertions(+), 149 deletions(-) diff --git a/.changeset/tall-radios-clean.md b/.changeset/tall-radios-clean.md index 85838f58b6..7ccc66c33e 100644 --- a/.changeset/tall-radios-clean.md +++ b/.changeset/tall-radios-clean.md @@ -1,5 +1,4 @@ --- -"next-blitz-auth": patch "@blitzjs/auth": patch "@blitzjs/rpc": patch "blitz": patch @@ -11,9 +10,10 @@ feature: Nextjs 13 App Directory Utility Methods This hook is implemented as the replacement of the [`BlitzPage` seurity auth utilities](https://blitzjs.com/docs/authorization#secure-your-pages) provided for the pages directory to work with React Server Components in the Nextjs 13 app directory It can be used in any asynchronous server component be it in `page.ts` or in the layouts in `layout.ts` -It uses the new [`redirect` function](https://beta.nextjs.org/docs/api-reference/redirect) to provide the required authorization in server side +It uses the new [`redirect` function](https://beta.nextjs.org/docs/api-reference/redirect) to provide the required authorization in server side #### API + ```ts useAuthenticatedBlitzContext({ redirectTo, @@ -27,7 +27,9 @@ useAuthenticatedBlitzContext({ ``` #### Usage + **Example Usage in React Server Component in `app` directory in Next 13** + ```ts import {getAppSession, useAuthenticatedBlitzContext} from "src/blitz-server" ... @@ -41,11 +43,12 @@ await useAuthenticatedBlitzContext({ ### 🔧 New Blitz RPC Hook `invokeResolver` #### API + ```ts invokeResolver any, TInput = FirstParam>( queryFn: T, params: TInput, -): Promise> +): Promise> ``` #### Example Usage diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9e75fa8e54..339079c44c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -102,7 +102,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.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 eslint-config-next: 12.3.1 eslint-config-prettier: 8.5.0 @@ -182,7 +182,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.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 eslint-config-next: 12.3.1 eslint-config-prettier: 8.5.0 @@ -291,9 +291,9 @@ importers: integration-tests/auth: specifiers: - "@blitzjs/auth": workspace:2.0.0-beta.23 - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 + "@blitzjs/auth": workspace:2.0.0-beta.24 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 "@next/bundle-analyzer": 12.0.8 "@prisma/client": 4.6.1 "@types/express": 4.17.13 @@ -302,7 +302,7 @@ importers: "@types/node-fetch": 2.6.1 "@types/react": 18.0.25 b64-lite: 1.4.0 - blitz: workspace:2.0.0-beta.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 fs-extra: 10.0.1 get-port: 6.1.2 @@ -348,10 +348,10 @@ importers: integration-tests/auth-with-rpc: specifiers: - "@blitzjs/auth": workspace:2.0.0-beta.23 - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/auth": workspace:2.0.0-beta.24 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@hookform/error-message": 2.0.0 "@hookform/resolvers": 2.9.10 "@next/bundle-analyzer": 12.0.8 @@ -364,7 +364,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.23 + blitz: workspace:2.0.0-beta.24 delay: 5.0.0 eslint: 8.27.0 eslint-config-next: 12.3.1 @@ -431,10 +431,10 @@ importers: integration-tests/get-initial-props: specifiers: - "@blitzjs/auth": workspace:2.0.0-beta.23 - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/auth": workspace:2.0.0-beta.24 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@next/bundle-analyzer": 12.0.8 "@prisma/client": 4.6.1 "@types/express": 4.17.13 @@ -442,7 +442,7 @@ importers: "@types/node-fetch": 2.6.1 "@types/react": 18.0.25 b64-lite: 1.4.0 - blitz: workspace:2.0.0-beta.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 fs-extra: 10.0.1 get-port: 6.1.2 @@ -480,15 +480,15 @@ importers: integration-tests/middleware: specifiers: - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@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.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 fs-extra: 10.0.1 get-port: 6.1.2 @@ -519,10 +519,10 @@ importers: integration-tests/next-13-app-dir: specifiers: - "@blitzjs/auth": workspace:2.0.0-beta.23 - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/auth": workspace:2.0.0-beta.24 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@next/bundle-analyzer": 12.0.8 "@prisma/client": 4.6.1 "@types/express": 4.17.13 @@ -531,7 +531,7 @@ importers: "@types/node-fetch": 2.6.1 "@types/react": 18.0.25 b64-lite: 1.4.0 - blitz: workspace:2.0.0-beta.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 fs-extra: 10.0.1 get-port: 6.1.2 @@ -578,10 +578,10 @@ importers: integration-tests/no-suspense: specifiers: - "@blitzjs/auth": workspace:2.0.0-beta.23 - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/auth": workspace:2.0.0-beta.24 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@next/bundle-analyzer": 12.0.8 "@prisma/client": 4.6.1 "@types/express": 4.17.13 @@ -589,7 +589,7 @@ importers: "@types/node-fetch": 2.6.1 "@types/react": 18.0.25 b64-lite: 1.4.0 - blitz: workspace:2.0.0-beta.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 fs-extra: 10.0.1 get-port: 6.1.2 @@ -627,16 +627,16 @@ importers: integration-tests/qm: specifiers: - "@blitzjs/auth": workspace:2.0.0-beta.23 - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/auth": workspace:2.0.0-beta.24 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@prisma/client": 4.6.1 "@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.23 + blitz: workspace:2.0.0-beta.24 delay: 5.0.0 eslint: 8.27.0 eslint-config-next: latest @@ -672,9 +672,9 @@ importers: integration-tests/react-query-utils: specifiers: - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@next/bundle-analyzer": 12.0.8 "@prisma/client": 4.6.1 "@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.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 fs-extra: 10.0.1 get-port: 6.1.2 @@ -719,15 +719,15 @@ importers: integration-tests/rpc: specifiers: - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@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.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 fs-extra: 10.0.1 next: 13.2.4 @@ -754,15 +754,15 @@ importers: integration-tests/rpc-path-root: specifiers: - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@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.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 fs-extra: 10.0.1 next: 13.2.4 @@ -789,10 +789,10 @@ importers: integration-tests/trailing-slash: specifiers: - "@blitzjs/auth": workspace:2.0.0-beta.23 - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/next": workspace:2.0.0-beta.23 - "@blitzjs/rpc": workspace:2.0.0-beta.23 + "@blitzjs/auth": workspace:2.0.0-beta.24 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/next": workspace:2.0.0-beta.24 + "@blitzjs/rpc": workspace:2.0.0-beta.24 "@next/bundle-analyzer": 12.0.8 "@prisma/client": 4.6.1 "@types/express": 4.17.13 @@ -800,7 +800,7 @@ importers: "@types/node-fetch": 2.6.1 "@types/react": 18.0.25 b64-lite: 1.4.0 - blitz: workspace:2.0.0-beta.23 + blitz: workspace:2.0.0-beta.24 eslint: 8.27.0 fs-extra: 10.0.1 get-port: 6.1.2 @@ -896,8 +896,8 @@ importers: packages/blitz: specifiers: - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/generator": 2.0.0-beta.23 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/generator": 2.0.0-beta.24 "@mrleebo/prisma-ast": 0.2.6 "@types/cookie": 0.4.1 "@types/cross-spawn": 6.0.2 @@ -1049,7 +1049,7 @@ importers: packages/blitz-auth: specifiers: - "@blitzjs/config": workspace:2.0.0-beta.23 + "@blitzjs/config": workspace:2.0.0-beta.24 "@testing-library/react": 13.4.0 "@testing-library/react-hooks": 8.0.1 "@types/b64-lite": 1.3.0 @@ -1064,7 +1064,7 @@ importers: "@types/secure-password": 3.1.1 b64-lite: 1.4.0 bad-behavior: 1.0.1 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 cookie: 0.4.1 cookie-session: 2.0.0 debug: 4.3.3 @@ -1126,8 +1126,8 @@ importers: packages/blitz-next: specifiers: - "@blitzjs/config": workspace:2.0.0-beta.23 - "@blitzjs/rpc": 2.0.0-beta.23 + "@blitzjs/config": workspace:2.0.0-beta.24 + "@blitzjs/rpc": 2.0.0-beta.24 "@testing-library/dom": 8.13.0 "@testing-library/jest-dom": 5.16.3 "@testing-library/react": 13.4.0 @@ -1138,7 +1138,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.23 + blitz: 2.0.0-beta.24 cross-spawn: 7.0.3 debug: 4.3.3 find-up: 4.1.0 @@ -1189,8 +1189,8 @@ importers: packages/blitz-rpc: specifiers: - "@blitzjs/auth": 2.0.0-beta.23 - "@blitzjs/config": workspace:2.0.0-beta.23 + "@blitzjs/auth": 2.0.0-beta.24 + "@blitzjs/config": workspace:2.0.0-beta.24 "@swc/core": 1.3.7 "@tanstack/query-core": 4.24.4 "@tanstack/react-query": 4.24.4 @@ -1199,7 +1199,7 @@ importers: "@types/react-dom": 17.0.14 b64-lite: 1.4.0 bad-behavior: 1.0.1 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 chalk: ^4.1.0 debug: 4.3.3 next: 13.2.4 @@ -1244,12 +1244,12 @@ importers: "@babel/plugin-syntax-typescript": 7.17.12 "@babel/preset-env": 7.12.10 "@blitzjs/config": workspace:* - "@blitzjs/generator": 2.0.0-beta.23 + "@blitzjs/generator": 2.0.0-beta.24 "@types/jscodeshift": 0.11.2 "@types/node": 18.11.9 arg: 5.0.1 ast-types: 0.14.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 chalk: ^4.1.0 cross-spawn: 7.0.3 debug: 4.3.3 @@ -1304,7 +1304,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.23 + "@blitzjs/config": 2.0.0-beta.24 "@juanm04/cpx": 2.0.1 "@mrleebo/prisma-ast": 0.4.1 "@types/babel__core": 7.1.19 @@ -1403,7 +1403,7 @@ importers: packages/pkg-template: specifiers: - "@blitzjs/config": 2.0.0-beta.23 + "@blitzjs/config": 2.0.0-beta.24 "@types/react": 18.0.25 "@types/react-dom": 17.0.14 "@typescript-eslint/eslint-plugin": 5.42.1 @@ -1427,7 +1427,7 @@ importers: recipes/base-web: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1438,7 +1438,7 @@ importers: recipes/bulma: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1450,7 +1450,7 @@ importers: specifiers: "@types/jscodeshift": 0.11.2 ast-types: 0.14.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1463,7 +1463,7 @@ importers: specifiers: "@types/jscodeshift": 0.11.2 ast-types: 0.14.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1475,7 +1475,7 @@ importers: recipes/emotion: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1485,20 +1485,20 @@ importers: recipes/gh-action-yarn-mariadb: specifiers: - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 dependencies: blitz: link:../../packages/blitz recipes/gh-action-yarn-postgres: specifiers: - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 dependencies: blitz: link:../../packages/blitz recipes/ghost: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1509,7 +1509,7 @@ importers: recipes/graphql-apollo-server: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 uuid: ^8.3.1 dependencies: @@ -1522,7 +1522,7 @@ importers: recipes/logrocket: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1533,7 +1533,7 @@ importers: recipes/material-ui: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1545,7 +1545,7 @@ importers: specifiers: "@types/jscodeshift": 0.11.2 ast-types: 0.14.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1556,13 +1556,13 @@ importers: recipes/passenger: specifiers: - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 dependencies: blitz: link:../../packages/blitz recipes/quirrel: specifiers: - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 dependencies: blitz: link:../../packages/blitz @@ -1570,7 +1570,7 @@ importers: specifiers: "@types/jscodeshift": 0.11.2 ast-types: 0.14.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1581,14 +1581,14 @@ importers: recipes/render: specifiers: - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 dependencies: blitz: link:../../packages/blitz recipes/secureheaders: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 uuid: ^8.3.1 dependencies: @@ -1601,7 +1601,7 @@ importers: recipes/stitches: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1613,7 +1613,7 @@ importers: specifiers: "@types/jscodeshift": 0.11.2 ast-types: 0.14.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1625,7 +1625,7 @@ importers: recipes/tailwind: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1637,7 +1637,7 @@ importers: specifiers: "@types/jscodeshift": 0.11.2 ast-types: 0.14.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1649,7 +1649,7 @@ importers: recipes/vanilla-extract: specifiers: "@types/jscodeshift": 0.11.2 - blitz: 2.0.0-beta.23 + blitz: 2.0.0-beta.24 jscodeshift: 0.13.0 dependencies: blitz: link:../../packages/blitz @@ -1758,6 +1758,7 @@ packages: source-map: 0.5.7 transitivePeerDependencies: - supports-color + dev: false /@babel/core/7.18.2: resolution: @@ -1895,7 +1896,7 @@ packages: "@babel/core": ^7.0.0 dependencies: "@babel/compat-data": 7.17.10 - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-validator-option": 7.16.7 browserslist: 4.20.3 semver: 6.3.0 @@ -1910,7 +1911,7 @@ packages: "@babel/core": ^7.0.0 dependencies: "@babel/compat-data": 7.17.10 - "@babel/core": 7.18.2_supports-color@8.1.1 + "@babel/core": 7.18.2 "@babel/helper-validator-option": 7.16.7 browserslist: 4.20.3 semver: 6.3.0 @@ -2063,7 +2064,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-annotate-as-pure": 7.16.7 regexpu-core: 5.0.1 @@ -2587,7 +2588,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/plugin-syntax-dynamic-import": 7.8.3_@babel+core@7.12.10 @@ -2600,7 +2601,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/plugin-syntax-export-namespace-from": 7.8.3_@babel+core@7.12.10 @@ -2613,7 +2614,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/plugin-syntax-json-strings": 7.8.3_@babel+core@7.12.10 @@ -2626,7 +2627,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/plugin-syntax-logical-assignment-operators": 7.10.4_@babel+core@7.12.10 @@ -2639,7 +2640,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/plugin-syntax-nullish-coalescing-operator": 7.8.3_@babel+core@7.12.10 @@ -2666,7 +2667,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/plugin-syntax-numeric-separator": 7.10.4_@babel+core@7.12.10 @@ -2680,7 +2681,7 @@ packages: "@babel/core": ^7.0.0-0 dependencies: "@babel/compat-data": 7.17.10 - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-compilation-targets": 7.18.2_@babel+core@7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/plugin-syntax-object-rest-spread": 7.8.3_@babel+core@7.12.10 @@ -2695,7 +2696,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/plugin-syntax-optional-catch-binding": 7.8.3_@babel+core@7.12.10 @@ -2708,7 +2709,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/helper-skip-transparent-expression-wrappers": 7.16.0 "@babel/plugin-syntax-optional-chaining": 7.8.3_@babel+core@7.12.10 @@ -2768,7 +2769,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-create-regexp-features-plugin": 7.17.12_@babel+core@7.12.10 "@babel/helper-plugin-utils": 7.17.12 @@ -2780,7 +2781,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.20.2: @@ -2813,7 +2814,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.20.2: @@ -2835,7 +2836,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-export-namespace-from/7.8.3_@babel+core@7.12.10: @@ -2846,7 +2847,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-flow/7.17.12_@babel+core@7.18.2: @@ -2881,7 +2882,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.20.2: @@ -2954,7 +2955,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.20.2: @@ -2976,7 +2977,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.18.2: @@ -3010,7 +3011,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.20.2: @@ -3032,7 +3033,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.20.2: @@ -3054,7 +3055,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.20.2: @@ -3076,7 +3077,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.18.2: @@ -3111,7 +3112,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.20.2: @@ -3173,7 +3174,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-async-to-generator/7.17.12_@babel+core@7.12.10: @@ -3218,7 +3219,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-block-scoping/7.18.4_@babel+core@7.12.10: @@ -3230,7 +3231,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-classes/7.18.4_@babel+core@7.12.10: @@ -3285,7 +3286,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-destructuring/7.18.0_@babel+core@7.12.10: @@ -3297,7 +3298,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-dotall-regex/7.16.7_@babel+core@7.12.10: @@ -3309,7 +3310,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-create-regexp-features-plugin": 7.17.12_@babel+core@7.12.10 "@babel/helper-plugin-utils": 7.17.12 @@ -3322,7 +3323,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-exponentiation-operator/7.16.7_@babel+core@7.12.10: @@ -3334,7 +3335,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-builder-binary-assignment-operator-visitor": 7.16.7 "@babel/helper-plugin-utils": 7.17.12 @@ -3361,7 +3362,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-function-name/7.16.7_@babel+core@7.12.10: @@ -3373,7 +3374,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-compilation-targets": 7.18.2_@babel+core@7.12.10 "@babel/helper-function-name": 7.17.9 "@babel/helper-plugin-utils": 7.17.12 @@ -3387,7 +3388,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-member-expression-literals/7.16.7_@babel+core@7.12.10: @@ -3399,7 +3400,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-modules-amd/7.18.0_@babel+core@7.12.10: @@ -3583,7 +3584,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-create-regexp-features-plugin": 7.17.12_@babel+core@7.12.10 "@babel/helper-plugin-utils": 7.17.12 @@ -3596,7 +3597,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-object-super/7.16.7_@babel+core@7.12.10: @@ -3639,7 +3640,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-property-literals/7.16.7_@babel+core@7.12.10: @@ -3651,7 +3652,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-react-jsx-development/7.16.7_@babel+core@7.18.2: @@ -3775,7 +3776,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 regenerator-transform: 0.15.0 @@ -3788,7 +3789,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-shorthand-properties/7.16.7_@babel+core@7.12.10: @@ -3800,7 +3801,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-spread/7.17.12_@babel+core@7.12.10: @@ -3812,7 +3813,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/helper-skip-transparent-expression-wrappers": 7.16.0 @@ -3825,7 +3826,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-template-literals/7.18.2_@babel+core@7.12.10: @@ -3837,7 +3838,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-typeof-symbol/7.17.12_@babel+core@7.12.10: @@ -3849,7 +3850,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-typescript/7.12.1_ps3yxa7qdojvlda5ukda3zlwie: @@ -3911,7 +3912,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 /@babel/plugin-transform-unicode-regex/7.16.7_@babel+core@7.12.10: @@ -3923,7 +3924,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-create-regexp-features-plugin": 7.17.12_@babel+core@7.12.10 "@babel/helper-plugin-utils": 7.17.12 @@ -4082,6 +4083,7 @@ packages: semver: 5.7.1 transitivePeerDependencies: - supports-color + dev: false /@babel/preset-flow/7.17.12_@babel+core@7.18.2: resolution: @@ -4106,7 +4108,7 @@ packages: peerDependencies: "@babel/core": ^7.0.0-0 dependencies: - "@babel/core": 7.12.10_supports-color@8.1.1 + "@babel/core": 7.12.10 "@babel/helper-plugin-utils": 7.17.12 "@babel/plugin-proposal-unicode-property-regex": 7.17.12_@babel+core@7.12.10 "@babel/plugin-transform-dotall-regex": 7.16.7_@babel+core@7.12.10 @@ -7081,6 +7083,7 @@ packages: typescript: 4.8.4 transitivePeerDependencies: - supports-color + dev: false /@typescript-eslint/experimental-utils/5.28.0_rmayb2veg2btbq6mbmnyivgasy: resolution: @@ -7141,6 +7144,7 @@ packages: typescript: 4.8.4 transitivePeerDependencies: - supports-color + dev: false /@typescript-eslint/parser/5.43.0_wyqvi574yv7oiwfeinomdzmc3m: resolution: @@ -7163,7 +7167,6 @@ packages: typescript: 4.8.4 transitivePeerDependencies: - supports-color - dev: true /@typescript-eslint/parser/5.9.1_nw6v2wse7au2evadw7vu3hneg4: resolution: @@ -11252,6 +11255,7 @@ packages: transitivePeerDependencies: - eslint-import-resolver-webpack - supports-color + dev: false /eslint-config-next/13.0.0_wyqvi574yv7oiwfeinomdzmc3m: resolution: @@ -11317,6 +11321,7 @@ packages: hasBin: true peerDependencies: eslint: ">=7.0.0" + dev: false /eslint-config-prettier/8.5.0_eslint@8.27.0: resolution: @@ -11380,6 +11385,7 @@ packages: tsconfig-paths: 3.14.1 transitivePeerDependencies: - supports-color + dev: false /eslint-import-resolver-typescript/2.7.1_mynvxvmq5qtyojffiqgev4x7mm: resolution: @@ -11400,7 +11406,6 @@ packages: tsconfig-paths: 3.14.1 transitivePeerDependencies: - supports-color - dev: true /eslint-import-resolver-typescript/3.5.2_dcpv4nbdr5ks2h5677xdltrk6e: resolution: @@ -11476,10 +11481,10 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - "@typescript-eslint/parser": 5.43.0_typescript@4.8.4 + "@typescript-eslint/parser": 5.43.0_wyqvi574yv7oiwfeinomdzmc3m debug: 3.2.7 eslint-import-resolver-node: 0.3.6 - eslint-import-resolver-typescript: 2.7.1_fkfqfehjtk7sk2efaqbgxsuasa + eslint-import-resolver-typescript: 2.7.1_mynvxvmq5qtyojffiqgev4x7mm find-up: 2.1.0 transitivePeerDependencies: - supports-color @@ -11550,7 +11555,6 @@ packages: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - dev: true /eslint-plugin-import/2.26.0_thmqqzpxv5mluo3coertzplf2y: resolution: @@ -11583,6 +11587,7 @@ packages: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color + dev: false /eslint-plugin-import/2.26.0_ttnp75sbivpcvanbhjbkcsh3ly: resolution: @@ -11859,7 +11864,6 @@ packages: dependencies: eslint: 8.26.0 eslint-visitor-keys: 2.1.0 - dev: true /eslint-utils/3.0.0_eslint@8.27.0: resolution: @@ -11936,7 +11940,6 @@ packages: text-table: 0.2.0 transitivePeerDependencies: - supports-color - dev: true /eslint/8.27.0: resolution: @@ -21320,6 +21323,7 @@ packages: - sugarss - supports-color - terser + dev: false /vitest/0.25.3_jsdom@20.0.3: resolution: