Compare commits
8 Commits
@blitzjs/r
...
feature/on
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11fdad3acf | ||
|
|
ba309d9cdd | ||
|
|
7e6ccd0359 | ||
|
|
602d461b8e | ||
|
|
f383d10406 | ||
|
|
392440b39e | ||
|
|
9d5e0f5804 | ||
|
|
178956a76b |
@@ -10,4 +10,4 @@
|
||||
|
||||
Bump react, react-dom, @types/react and next versions
|
||||
|
||||
This fixes a console warning: `Warning: Received `true` for a non-boolean attribute `global`.` when using `styled-jsx`. Versions bump also fixes React Hydration error that happens on and off when using `redirectAuthenticatedTo`.
|
||||
This fixes a console warning: `Warning: Received `true`for a non-boolean attribute`global`.` when using `styled-jsx`. Versions bump also fixes React Hydration error that happens on and off when using `redirectAuthenticatedTo`.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
"@blitzjs/codemod": patch
|
||||
---
|
||||
Add DocumentProps & DocumentContext to the codemod import map
|
||||
|
||||
Add DocumentProps & DocumentContext to the codemod import map
|
||||
|
||||
@@ -121,7 +121,6 @@
|
||||
"hot-cups-rhyme",
|
||||
"hot-drinks-approve",
|
||||
"hungry-baboons-swim",
|
||||
"hungry-pens-collect",
|
||||
"itchy-houses-marry",
|
||||
"itchy-spoons-tan",
|
||||
"kind-walls-suffer",
|
||||
@@ -192,7 +191,6 @@
|
||||
"six-apricots-kick",
|
||||
"slimy-humans-impress",
|
||||
"slimy-needles-taste",
|
||||
"slow-impalas-tap",
|
||||
"slow-walls-camp",
|
||||
"slow-walls-poke",
|
||||
"small-socks-confess",
|
||||
|
||||
@@ -5,4 +5,5 @@
|
||||
"blitz": patch
|
||||
"@blitzjs/generator": patch
|
||||
---
|
||||
|
||||
Fixes the supports-color warning for pnpm
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
# toolkit-app-passportjs
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"@blitzjs/rpc": "workspace:*",
|
||||
"@hookform/resolvers": "2.8.8",
|
||||
"@prisma/client": "4.0.0",
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"next": "12.2.5",
|
||||
"openid-client": "5.1.8",
|
||||
"prisma": "4.0.0",
|
||||
|
||||
@@ -4,7 +4,7 @@ TODO
|
||||
|
||||
This is a [Blitz.js](https://github.com/blitz-js/blitz) app.
|
||||
|
||||
# ****name****
|
||||
# \***\*name\*\***
|
||||
|
||||
## Getting Started
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"@blitzjs/rpc": "workspace:*",
|
||||
"@hookform/resolvers": "2.8.8",
|
||||
"@prisma/client": "4.0.0",
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.0.0",
|
||||
"react": "18.2.0",
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"@blitzjs/config": "workspace:*",
|
||||
"@blitzjs/next": "workspace:*",
|
||||
"@prisma/client": "4.0.0",
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "12.2.5",
|
||||
"prisma": "4.0.0",
|
||||
|
||||
@@ -6,4 +6,3 @@ export default defineConfig({
|
||||
hookTimeout: 100000,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
@@ -1,13 +1,5 @@
|
||||
# @blitzjs/auth
|
||||
|
||||
## 2.0.0-beta.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [3a602b61]
|
||||
- Updated dependencies [f39ba1ff]
|
||||
- blitz@2.0.0-beta.12
|
||||
|
||||
## 2.0.0-beta.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/auth",
|
||||
"version": "2.0.0-beta.12",
|
||||
"version": "2.0.0-beta.11",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"predev": "wait-on -d 250 ../blitz/dist/index-server.d.ts",
|
||||
@@ -26,7 +26,7 @@
|
||||
"@types/secure-password": "3.1.1",
|
||||
"b64-lite": "1.4.0",
|
||||
"bad-behavior": "1.0.1",
|
||||
"blitz": "2.0.0-beta.12",
|
||||
"blitz": "2.0.0-beta.11",
|
||||
"cookie": "0.4.1",
|
||||
"cookie-session": "2.0.0",
|
||||
"debug": "4.3.3",
|
||||
@@ -40,7 +40,7 @@
|
||||
"url": "0.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.12",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.11",
|
||||
"@testing-library/react": "13.0.0",
|
||||
"@testing-library/react-hooks": "7.0.2",
|
||||
"@types/cookie": "0.4.1",
|
||||
|
||||
@@ -109,6 +109,7 @@ class PublicDataStore {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const getPublicDataStore = (): PublicDataStore => {
|
||||
if (!(window as any).__publicDataStore) {
|
||||
;(window as any).__publicDataStore = new PublicDataStore()
|
||||
@@ -257,89 +258,99 @@ export function getAuthValues<TProps = any>(
|
||||
return {authenticate, redirectAuthenticatedTo}
|
||||
}
|
||||
|
||||
function withBlitzAuthPlugin<TProps = any>(Page: ComponentType<TProps> | BlitzPage<TProps>) {
|
||||
const AuthRoot = (props: ComponentProps<any>) => {
|
||||
useSession({suspense: false})
|
||||
const [mounted, setMounted] = useState(false)
|
||||
const withBlitzAuthPluginFactory = (hooks: AuthPluginClientOptions["hooks"]) => {
|
||||
return function withBlitzAuthPlugin<TProps = any>(
|
||||
Page: ComponentType<TProps> | BlitzPage<TProps>,
|
||||
) {
|
||||
const AuthRoot = (props: ComponentProps<any>) => {
|
||||
useSession({suspense: false})
|
||||
|
||||
useEffect(() => {
|
||||
setMounted(true)
|
||||
}, [])
|
||||
const [mounted, setMounted] = useState(false)
|
||||
mounted && hooks?.onAuthorize?.(getPublicDataStore().getData() as any)
|
||||
|
||||
let {authenticate, redirectAuthenticatedTo} = getAuthValues(Page, props)
|
||||
useEffect(() => {
|
||||
setMounted(true)
|
||||
}, [])
|
||||
|
||||
useAuthorizeIf(authenticate === true)
|
||||
let {authenticate, redirectAuthenticatedTo} = getAuthValues(Page, props)
|
||||
|
||||
if (typeof window !== "undefined") {
|
||||
const publicData = getPublicDataStore().getData()
|
||||
useAuthorizeIf(authenticate === true)
|
||||
|
||||
// We read directly from publicData.userId instead of useSession
|
||||
// so we can access userId on first render. useSession is always empty on first render
|
||||
if (publicData.userId) {
|
||||
debug("[BlitzAuthInnerRoot] logged in")
|
||||
if (typeof window !== "undefined") {
|
||||
const publicData = getPublicDataStore().getData()
|
||||
|
||||
if (typeof redirectAuthenticatedTo === "function") {
|
||||
redirectAuthenticatedTo = redirectAuthenticatedTo({
|
||||
session: publicData,
|
||||
})
|
||||
}
|
||||
// We read directly from publicData.userId instead of useSession
|
||||
// so we can access userId on first render. useSession is always empty on first render
|
||||
if (publicData.userId) {
|
||||
debug("[BlitzAuthInnerRoot] logged in")
|
||||
|
||||
if (redirectAuthenticatedTo) {
|
||||
const redirectUrl =
|
||||
typeof redirectAuthenticatedTo === "string"
|
||||
? redirectAuthenticatedTo
|
||||
: formatWithValidation(redirectAuthenticatedTo)
|
||||
|
||||
if (mounted) {
|
||||
debug("[BlitzAuthInnerRoot] redirecting to", redirectUrl)
|
||||
const error = new RedirectError(redirectUrl)
|
||||
error.stack = null!
|
||||
throw error
|
||||
}
|
||||
}
|
||||
} else {
|
||||
debug("[BlitzAuthInnerRoot] logged out")
|
||||
if (authenticate && typeof authenticate === "object" && authenticate.redirectTo) {
|
||||
let {redirectTo} = authenticate
|
||||
if (typeof redirectTo !== "string") {
|
||||
redirectTo = formatWithValidation(redirectTo)
|
||||
if (typeof redirectAuthenticatedTo === "function") {
|
||||
redirectAuthenticatedTo = redirectAuthenticatedTo({
|
||||
session: publicData,
|
||||
})
|
||||
}
|
||||
|
||||
const url = new URL(redirectTo, window.location.href)
|
||||
url.searchParams.append("next", window.location.pathname)
|
||||
if (redirectAuthenticatedTo) {
|
||||
const redirectUrl =
|
||||
typeof redirectAuthenticatedTo === "string"
|
||||
? redirectAuthenticatedTo
|
||||
: formatWithValidation(redirectAuthenticatedTo)
|
||||
|
||||
if (mounted) {
|
||||
debug("[BlitzAuthInnerRoot] redirecting to", url.toString())
|
||||
const error = new RedirectError(url.toString())
|
||||
error.stack = null!
|
||||
throw error
|
||||
if (mounted) {
|
||||
debug("[BlitzAuthInnerRoot] redirecting to", redirectUrl)
|
||||
const error = new RedirectError(redirectUrl)
|
||||
error.stack = null!
|
||||
throw error
|
||||
}
|
||||
}
|
||||
} else {
|
||||
debug("[BlitzAuthInnerRoot] logged out")
|
||||
if (authenticate && typeof authenticate === "object" && authenticate.redirectTo) {
|
||||
let {redirectTo} = authenticate
|
||||
if (typeof redirectTo !== "string") {
|
||||
redirectTo = formatWithValidation(redirectTo)
|
||||
}
|
||||
|
||||
const url = new URL(redirectTo, window.location.href)
|
||||
url.searchParams.append("next", window.location.pathname)
|
||||
|
||||
if (mounted) {
|
||||
debug("[BlitzAuthInnerRoot] redirecting to", url.toString())
|
||||
const error = new RedirectError(url.toString())
|
||||
error.stack = null!
|
||||
throw error
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return <Page {...props} />
|
||||
}
|
||||
|
||||
return <Page {...props} />
|
||||
}
|
||||
for (let [key, value] of Object.entries(Page)) {
|
||||
// @ts-ignore
|
||||
AuthRoot[key] = value
|
||||
}
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
AuthRoot.displayName = `BlitzAuthInnerRoot`
|
||||
}
|
||||
|
||||
for (let [key, value] of Object.entries(Page)) {
|
||||
// @ts-ignore
|
||||
AuthRoot[key] = value
|
||||
return AuthRoot
|
||||
}
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
AuthRoot.displayName = `BlitzAuthInnerRoot`
|
||||
}
|
||||
|
||||
return AuthRoot
|
||||
}
|
||||
|
||||
export interface AuthPluginClientOptions {
|
||||
cookiePrefix: string
|
||||
hooks?: {
|
||||
onAuthorize?: (user: ClientSession) => void
|
||||
}
|
||||
}
|
||||
|
||||
export const AuthClientPlugin = createClientPlugin((options: AuthPluginClientOptions) => {
|
||||
globalThis.__BLITZ_SESSION_COOKIE_PREFIX = options.cookiePrefix || "blitz"
|
||||
|
||||
return {
|
||||
withProvider: withBlitzAuthPlugin,
|
||||
withProvider: withBlitzAuthPluginFactory(options?.hooks),
|
||||
events: {},
|
||||
middleware: {},
|
||||
exports: () => ({
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type {BlitzServerPlugin, RequestMiddleware, Ctx} from "blitz"
|
||||
import {assert} from "blitz"
|
||||
import {IncomingMessage, ServerResponse} from "http"
|
||||
import {PublicData, SessionModel, SessionConfigMethods} from "../shared/types"
|
||||
import {PublicData, SessionModel, SessionConfigMethods, SessionContext} from "../shared/types"
|
||||
import {getSession} from "./auth-sessions"
|
||||
|
||||
interface SessionConfigOptions {
|
||||
@@ -12,6 +12,9 @@ interface SessionConfigOptions {
|
||||
secureCookies?: boolean
|
||||
domain?: string
|
||||
publicDataKeysToSyncAcrossSessions?: string[]
|
||||
hooks?: {
|
||||
onAuthMiddleware: (sc: SessionContext["$publicData"]) => void
|
||||
}
|
||||
}
|
||||
|
||||
interface IsAuthorized {
|
||||
@@ -108,6 +111,9 @@ export function AuthServerPlugin(options: AuthPluginOptions): BlitzServerPlugin<
|
||||
if (!res.blitzCtx?.session) {
|
||||
await getSession(req, res)
|
||||
}
|
||||
|
||||
options.hooks?.onAuthMiddleware(res.blitzCtx.session.$publicData)
|
||||
|
||||
return next()
|
||||
}
|
||||
|
||||
@@ -117,6 +123,7 @@ export function AuthServerPlugin(options: AuthPluginOptions): BlitzServerPlugin<
|
||||
}
|
||||
return blitzSessionMiddleware
|
||||
}
|
||||
|
||||
return {
|
||||
requestMiddlewares: [authPluginSessionMiddleware()],
|
||||
}
|
||||
|
||||
@@ -118,8 +118,11 @@ export function passportAuth(config: BlitzPassportConfig): ApiHandler {
|
||||
|
||||
const {name, strategy, authenticateOptions} = blitzStrategy
|
||||
|
||||
assert(typeof strategy.name !== "undefined", `A passport strategy name was not found for: ${req.query.auth[0]}`)
|
||||
|
||||
assert(
|
||||
typeof strategy.name !== "undefined",
|
||||
`A passport strategy name was not found for: ${req.query.auth[0]}`,
|
||||
)
|
||||
|
||||
const strategyName = name || strategy.name
|
||||
passport.use(strategyName, strategy)
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# @blitzjs/next
|
||||
|
||||
## 2.0.0-beta.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @blitzjs/rpc@2.0.0-beta.12
|
||||
|
||||
## 2.0.0-beta.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/next",
|
||||
"version": "2.0.0-beta.12",
|
||||
"version": "2.0.0-beta.11",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"dev": "pnpm predev && pnpm watch unbuild src --wait=0.2",
|
||||
@@ -24,7 +24,7 @@
|
||||
"eslint.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@blitzjs/rpc": "2.0.0-beta.12",
|
||||
"@blitzjs/rpc": "2.0.0-beta.11",
|
||||
"@tanstack/react-query": "4.0.10",
|
||||
"@types/hoist-non-react-statics": "3.3.1",
|
||||
"debug": "4.3.3",
|
||||
@@ -34,7 +34,7 @@
|
||||
"supports-color": "8.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.12",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.11",
|
||||
"@testing-library/dom": "8.13.0",
|
||||
"@testing-library/jest-dom": "5.16.3",
|
||||
"@testing-library/react": "13.0.0",
|
||||
@@ -44,7 +44,7 @@
|
||||
"@types/react": "18.0.17",
|
||||
"@types/react-dom": "17.0.14",
|
||||
"@types/testing-library__react-hooks": "4.0.0",
|
||||
"blitz": "2.0.0-beta.12",
|
||||
"blitz": "2.0.0-beta.11",
|
||||
"cross-spawn": "7.0.3",
|
||||
"find-up": "4.1.0",
|
||||
"next": "12.2.5",
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# @blitzjs/rpc
|
||||
|
||||
## 2.0.0-beta.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- @blitzjs/auth@2.0.0-beta.12
|
||||
|
||||
## 2.0.0-beta.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/rpc",
|
||||
"version": "2.0.0-beta.12",
|
||||
"version": "2.0.0-beta.11",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"predev": "wait-on -d 400 ../blitz/dist/index-server.d.ts && wait-on -d 400 ../blitz-auth/dist/index-browser.d.ts",
|
||||
@@ -20,7 +20,7 @@
|
||||
"dist/**"
|
||||
],
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.0.0-beta.12",
|
||||
"@blitzjs/auth": "2.0.0-beta.11",
|
||||
"@tanstack/react-query": "4.0.10",
|
||||
"b64-lite": "1.4.0",
|
||||
"bad-behavior": "1.0.1",
|
||||
@@ -30,11 +30,11 @@
|
||||
"supports-color": "8.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.12",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.11",
|
||||
"@types/debug": "4.1.7",
|
||||
"@types/react": "18.0.17",
|
||||
"@types/react-dom": "17.0.14",
|
||||
"blitz": "2.0.0-beta.12",
|
||||
"blitz": "2.0.0-beta.11",
|
||||
"next": "12.2.5",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
|
||||
@@ -1,14 +1,5 @@
|
||||
# blitz
|
||||
|
||||
## 2.0.0-beta.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 3a602b61: Fix `blitz install` not working due to missing `blitz/installer` dependency
|
||||
- f39ba1ff: Allow passing custom templates to the `blitz generate` command. Extend the `generate` command with `custom-templates` to provide an easy starting point for users to customize the default templates: `blitz generate custom-templates`.
|
||||
- Updated dependencies [f39ba1ff]
|
||||
- @blitzjs/generator@2.0.0-beta.12
|
||||
|
||||
## 2.0.0-beta.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "blitz",
|
||||
"version": "2.0.0-beta.12",
|
||||
"version": "2.0.0-beta.11",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"dev": "pnpm run predev && watch unbuild src --wait=0.2",
|
||||
@@ -25,7 +25,7 @@
|
||||
"blitz": "bin/blitz"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/generator": "2.0.0-beta.12",
|
||||
"@blitzjs/generator": "2.0.0-beta.11",
|
||||
"@mrleebo/prisma-ast": "0.2.6",
|
||||
"@types/global-agent": "2.1.1",
|
||||
"arg": "5.0.1",
|
||||
@@ -72,7 +72,7 @@
|
||||
"watchpack": "2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.12",
|
||||
"@blitzjs/config": "workspace:2.0.0-beta.11",
|
||||
"@types/cookie": "0.4.1",
|
||||
"@types/cross-spawn": "6.0.2",
|
||||
"@types/debug": "4.1.7",
|
||||
|
||||
@@ -1,14 +1,5 @@
|
||||
# @blitzjs/codemod
|
||||
|
||||
## 2.0.0-beta.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [3a602b61]
|
||||
- Updated dependencies [f39ba1ff]
|
||||
- blitz@2.0.0-beta.12
|
||||
- @blitzjs/generator@2.0.0-beta.12
|
||||
|
||||
## 2.0.0-beta.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/codemod",
|
||||
"version": "2.0.0-beta.12",
|
||||
"version": "2.0.0-beta.11",
|
||||
"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.12",
|
||||
"@blitzjs/generator": "2.0.0-beta.11",
|
||||
"arg": "5.0.1",
|
||||
"blitz": "2.0.0-beta.12",
|
||||
"blitz": "2.0.0-beta.11",
|
||||
"chalk": "^4.1.0",
|
||||
"cross-spawn": "7.0.3",
|
||||
"debug": "4.3.3",
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# @blitzjs/config
|
||||
|
||||
## 2.0.0-beta.12
|
||||
|
||||
## 2.0.0-beta.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@blitzjs/config",
|
||||
"private": true,
|
||||
"version": "2.0.0-beta.12",
|
||||
"version": "2.0.0-beta.11",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "5.9.1",
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# @blitzjs/generator
|
||||
|
||||
## 2.0.0-beta.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- f39ba1ff: Allow passing custom templates to the `blitz generate` command. Extend the `generate` command with `custom-templates` to provide an easy starting point for users to customize the default templates: `blitz generate custom-templates`.
|
||||
|
||||
## 2.0.0-beta.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/generator",
|
||||
"version": "2.0.0-beta.12",
|
||||
"version": "2.0.0-beta.11",
|
||||
"scripts": {
|
||||
"dev": "watch unbuild src --wait=0.2",
|
||||
"build": "unbuild && pnpm build:templates",
|
||||
@@ -46,7 +46,7 @@
|
||||
"vinyl": "2.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.0.0-beta.12",
|
||||
"@blitzjs/config": "2.0.0-beta.11",
|
||||
"@juanm04/cpx": "2.0.1",
|
||||
"@types/babel__core": "7.1.19",
|
||||
"@types/diff": "5.0.2",
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"@typescript-eslint/parser": "5.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.0.0-beta.12",
|
||||
"@blitzjs/config": "2.0.0-beta.11",
|
||||
"@types/react": "18.0.17",
|
||||
"@types/react-dom": "17.0.14",
|
||||
"react": "18.2.0",
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12"
|
||||
"blitz": "workspace:2.0.0-beta.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12"
|
||||
"blitz": "workspace:2.0.0-beta.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0",
|
||||
"uuid": "^8.3.1"
|
||||
},
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12"
|
||||
"blitz": "workspace:2.0.0-beta.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12"
|
||||
"blitz": "workspace:2.0.0-beta.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12"
|
||||
"blitz": "workspace:2.0.0-beta.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12"
|
||||
"blitz": "workspace:2.0.0-beta.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0",
|
||||
"uuid": "^8.3.1"
|
||||
},
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "workspace:2.0.0-beta.12",
|
||||
"blitz": "workspace:2.0.0-beta.11",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user