Compare commits
5 Commits
siddharth/
...
@blitzjs/c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0fc2d71a18 | ||
|
|
3fa3a4ef30 | ||
|
|
565db3c5a8 | ||
|
|
ae04524b4c | ||
|
|
38d320fd28 |
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"@blitzjs/next": patch
|
||||
---
|
||||
|
||||
fix: Update `turbopack-empty.js` syntax to support latest turbopack and next.js versions
|
||||
@@ -1,8 +0,0 @@
|
||||
---
|
||||
"@blitzjs/auth": minor
|
||||
"@blitzjs/next": minor
|
||||
"@blitzjs/rpc": minor
|
||||
"blitz": minor
|
||||
---
|
||||
|
||||
chore: support next.js 15
|
||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -148,7 +148,7 @@ jobs:
|
||||
- name: Install playwright
|
||||
if: matrix.folder != 'next-13-app-dir' || matrix.os != 'windows-latest'
|
||||
run: |
|
||||
pnpx playwright@1.49.1 install --with-deps
|
||||
pnpx playwright@1.28.0 install --with-deps
|
||||
shell: bash
|
||||
|
||||
- name: Build
|
||||
|
||||
2
apps/next13/.gitignore
vendored
2
apps/next13/.gitignore
vendored
@@ -36,5 +36,3 @@ yarn-error.log*
|
||||
next-env.d.ts
|
||||
|
||||
.vscode
|
||||
|
||||
certificates
|
||||
@@ -1,5 +1,28 @@
|
||||
# next-blitz-auth
|
||||
|
||||
## 0.1.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [565db3c5a]
|
||||
- Updated dependencies [3fa3a4ef3]
|
||||
- blitz@2.2.0
|
||||
- @blitzjs/auth@2.2.0
|
||||
- @blitzjs/next@2.2.0
|
||||
- @blitzjs/rpc@2.2.0
|
||||
- @blitzjs/config@2.2.0
|
||||
|
||||
## 0.1.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [ce23d4ed0]
|
||||
- @blitzjs/next@2.1.4
|
||||
- blitz@2.1.4
|
||||
- @blitzjs/auth@2.1.4
|
||||
- @blitzjs/rpc@2.1.4
|
||||
- @blitzjs/config@2.1.4
|
||||
|
||||
## 0.1.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "next-blitz-auth",
|
||||
"version": "0.1.15",
|
||||
"version": "0.1.17",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"blitz:dev": "next dev",
|
||||
@@ -12,16 +12,15 @@
|
||||
"schema": "prisma/schema.prisma"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@hookform/error-message": "2.0.0",
|
||||
"@hookform/resolvers": "2.9.10",
|
||||
"@prisma/client": "^4.5.0",
|
||||
"@tanstack/react-query": "4.0.10",
|
||||
"arctic": "2.3.3",
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"flatted": "3.2.7",
|
||||
"next": "15.0.1",
|
||||
"prisma": "^4.5.0",
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
import {oAuth2Handler} from "@blitzjs/auth"
|
||||
import {GitHub, Google} from "arctic"
|
||||
|
||||
export const {GET} = oAuth2Handler([
|
||||
{
|
||||
client: new GitHub(process.env.GITHUB_CLIENT_ID!, process.env.GITHUB_CLIENT_SECRET!, null),
|
||||
name: "github",
|
||||
scopes: ["user:email"],
|
||||
withPkce: false,
|
||||
},
|
||||
{
|
||||
client: new Google(
|
||||
process.env.GOOGLE_CLIENT_ID!,
|
||||
process.env.GOOGLE_CLIENT_SECRET!,
|
||||
"https://localhost:3000/api/auth/google/callback",
|
||||
),
|
||||
name: "google",
|
||||
scopes: ["email", "profile"],
|
||||
withPkce: true,
|
||||
},
|
||||
])
|
||||
@@ -23,17 +23,17 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@hookform/error-message": "2.0.0",
|
||||
"@hookform/resolvers": "2.9.10",
|
||||
"@prisma/client": "4.6.1",
|
||||
"blitz": "2.1.3",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "2.2.0",
|
||||
"next": "15.0.1",
|
||||
"openid-client": "5.2.1",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"react-hook-form": "7.39.1",
|
||||
|
||||
@@ -24,17 +24,17 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@hookform/error-message": "2.0.0",
|
||||
"@hookform/resolvers": "2.9.10",
|
||||
"@prisma/client": "4.6.1",
|
||||
"blitz": "2.1.3",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "2.2.0",
|
||||
"next": "15.0.1",
|
||||
"next-auth": "4.24.7",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"react-hook-form": "7.39.1",
|
||||
|
||||
@@ -16,20 +16,20 @@
|
||||
"schema": "./db/schema.prisma"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@prisma/client": "4.6.1",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@prisma/client": "6.1.0",
|
||||
"@types/jest": "29.2.2",
|
||||
"@types/passport-twitter": "1.0.37",
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jest": "29.3.0",
|
||||
"jest-environment-jsdom": "29.3.0",
|
||||
"next": "15.0.1",
|
||||
"passport-mock-strategy": "2.0.0",
|
||||
"passport-twitter": "1.0.4",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"ts-node": "10.9.1"
|
||||
|
||||
@@ -17,17 +17,17 @@
|
||||
"prisma:studio": "prisma studio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@hookform/error-message": "2.0.0",
|
||||
"@hookform/resolvers": "2.9.10",
|
||||
"@prisma/client": "4.6.1",
|
||||
"blitz": "2.1.3",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "2.2.0",
|
||||
"delay": "5.0.0",
|
||||
"next": "15.0.1",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"react-hook-form": "7.39.1",
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
"prisma:studio": "prisma studio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@prisma/client": "4.6.1",
|
||||
"blitz": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "2.2.0",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "15.0.1",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"secure-password": "4.0.0",
|
||||
|
||||
@@ -16,19 +16,19 @@
|
||||
"schema": "db/schema.prisma"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@prisma/client": "4.6.1",
|
||||
"blitz": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "2.2.0",
|
||||
"lowdb": "2.1.0",
|
||||
"next": "15.0.1",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
"@types/express": "4.17.13",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"blitz": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"blitz": "2.2.0",
|
||||
"next": "15.0.1",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0"
|
||||
|
||||
@@ -17,15 +17,15 @@
|
||||
"prisma:studio": "prisma studio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@prisma/client": "4.6.1",
|
||||
"blitz": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "2.2.0",
|
||||
"lowdb": "2.1.0",
|
||||
"next": "15.0.1",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
"secure-password": "4.0.0",
|
||||
|
||||
@@ -16,19 +16,19 @@
|
||||
"prisma:studio": "prisma studio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@prisma/client": "4.6.1",
|
||||
"blitz": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "2.2.0",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "15.0.1",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
"@types/express": "4.17.13",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
|
||||
@@ -8,15 +8,15 @@
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@prisma/client": "4.6.1",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@prisma/client": "6.1.0",
|
||||
"@tanstack/react-query": "4.0.10",
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"next": "15.0.1",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0"
|
||||
},
|
||||
|
||||
@@ -16,18 +16,18 @@
|
||||
"schema": "db/schema.prisma"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@prisma/client": "4.6.1",
|
||||
"blitz": "2.1.3",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "2.2.0",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "15.0.1",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
"@types/express": "4.17.13",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"blitz": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"blitz": "2.2.0",
|
||||
"next": "15.0.1",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0"
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"blitz": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"blitz": "2.2.0",
|
||||
"next": "15.0.1",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0"
|
||||
|
||||
@@ -16,19 +16,19 @@
|
||||
"schema": "db/schema.prisma"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/next": "2.1.3",
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@prisma/client": "4.6.1",
|
||||
"blitz": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/next": "2.2.0",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "2.2.0",
|
||||
"lowdb": "3.0.0",
|
||||
"next": "15.0.1",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@next/bundle-analyzer": "12.0.8",
|
||||
"@types/express": "4.17.13",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "workspace:2.1.3",
|
||||
"@blitzjs/next": "workspace:2.1.3",
|
||||
"@blitzjs/rpc": "workspace:2.1.3",
|
||||
"@blitzjs/config": "workspace:2.2.0",
|
||||
"@blitzjs/next": "workspace:2.2.0",
|
||||
"@blitzjs/rpc": "workspace:2.2.0",
|
||||
"@tanstack/react-query": "4.13.0",
|
||||
"@testing-library/react": "16.0.1",
|
||||
"@types/express": "4.17.13",
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# @blitzjs/auth
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 3fa3a4ef3: chore: support next.js 15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [565db3c5a]
|
||||
- Updated dependencies [3fa3a4ef3]
|
||||
- blitz@2.2.0
|
||||
|
||||
## 2.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- blitz@2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/auth",
|
||||
"version": "2.1.3",
|
||||
"version": "2.2.0",
|
||||
"homepage": "https://blitzjs.com/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -32,7 +32,6 @@
|
||||
"@types/oauth": "0.9.1",
|
||||
"@types/passport": "1.0.7",
|
||||
"@types/secure-password": "3.1.1",
|
||||
"arctic": "2.3.3",
|
||||
"b64-lite": "1.4.0",
|
||||
"bad-behavior": "1.0.1",
|
||||
"cookie": "0.4.1",
|
||||
@@ -51,7 +50,7 @@
|
||||
"url": "0.11.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"next": "*",
|
||||
"next-auth": "*",
|
||||
"secure-password": "4.0.0"
|
||||
@@ -68,14 +67,14 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@testing-library/react": "16.0.1",
|
||||
"@types/cookie": "0.4.1",
|
||||
"@types/debug": "4.1.7",
|
||||
"@types/jsonwebtoken": "8.5.8",
|
||||
"@types/react": "npm:types-react@19.0.0",
|
||||
"@types/react-dom": "npm:types-react-dom@19.0.0",
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"next": "15.0.1",
|
||||
"next-auth": "4.24.7",
|
||||
"react": "19.0.0",
|
||||
|
||||
@@ -2,4 +2,3 @@ import "./global"
|
||||
|
||||
export * from "./index-browser"
|
||||
export * from "./server"
|
||||
export * from "./oauth"
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
import {decodeIdToken, GitHub, Google, OAuth2Tokens} from "arctic"
|
||||
import {ArcticOAuthClient, SupportedOAuthProviders} from "./types"
|
||||
|
||||
type InternalConfig = {
|
||||
name: SupportedOAuthProviders
|
||||
profile(token: OAuth2Tokens): Record<string, unknown>
|
||||
pkce: true
|
||||
client:
|
||||
}
|
||||
|
||||
export function getInternalConfig(provider: SupportedOAuthProviders, client: ArcticOAuthClient) {
|
||||
switch (provider) {
|
||||
case SupportedOAuthProviders.Google:
|
||||
return {
|
||||
name: SupportedOAuthProviders.Google,
|
||||
profile(token: OAuth2Tokens) {
|
||||
const idToken = token.idToken()
|
||||
|
||||
return decodeIdToken(idToken)
|
||||
},
|
||||
pkce: true,
|
||||
client: client,
|
||||
}
|
||||
case SupportedOAuthProviders.GitHub:
|
||||
return {
|
||||
name: SupportedOAuthProviders.GitHub,
|
||||
profile(token: OAuth2Tokens) {
|
||||
const idToken = token.idToken()
|
||||
return decodeIdToken(idToken)
|
||||
},
|
||||
pkce: false,
|
||||
client: client,
|
||||
}
|
||||
default:
|
||||
throw new Error(`Unsupported provider: ${provider}`)
|
||||
}
|
||||
}
|
||||
@@ -1,112 +0,0 @@
|
||||
import {
|
||||
ArcticFetchError,
|
||||
decodeIdToken,
|
||||
generateCodeVerifier,
|
||||
OAuth2Client,
|
||||
OAuth2RequestError,
|
||||
OAuth2Tokens,
|
||||
} from "arctic"
|
||||
import {generateState} from "arctic"
|
||||
import cookie, {parse} from "cookie"
|
||||
import {ArcticOAuthClient, SupportedOAuthProviders} from "./types"
|
||||
import {getInternalConfig} from "./config"
|
||||
|
||||
type Params = Record<string, unknown>
|
||||
type OAuthConfig = Array<{
|
||||
client: ArcticOAuthClient
|
||||
name: string
|
||||
scopes: string[]
|
||||
}>
|
||||
|
||||
export function oAuth2Handler(config: OAuthConfig) {
|
||||
async function GET(req: Request, segmentData: {params: Promise<Params>}) {
|
||||
const params = await segmentData.params
|
||||
const blitzAuth = params.blitzAuth as string[]
|
||||
const clientName = blitzAuth[0]
|
||||
const clientConfig = config.find((c) => c.name === clientName)
|
||||
if (clientConfig === undefined || !clientName) {
|
||||
return new Response("Not Found", {status: 404})
|
||||
}
|
||||
const internalConfig = getInternalConfig(
|
||||
clientName as SupportedOAuthProviders,
|
||||
clientConfig.client,
|
||||
)
|
||||
const action = blitzAuth[1]
|
||||
if (action === "callback") {
|
||||
const cookies = parse(req.headers.get("Cookie") || "")
|
||||
const storedState = cookies.state
|
||||
const codeVerifier = cookies.code_verifier
|
||||
const url = new URL(req.url)
|
||||
const code = url.searchParams.get("code")
|
||||
const state = url.searchParams.get("state")
|
||||
if (
|
||||
code === null ||
|
||||
storedState === undefined ||
|
||||
codeVerifier === undefined ||
|
||||
state !== storedState
|
||||
) {
|
||||
return new Response("Bad Request", {status: 400})
|
||||
}
|
||||
|
||||
try {
|
||||
let token: OAuth2Tokens
|
||||
if (internalConfig.pkce) {
|
||||
token = await internalConfig.client.validateAuthorizationCode(code, codeVerifier)
|
||||
} else {
|
||||
token = await internalConfig.client.validateAuthorizationCode(code, clientConfig.scopes)
|
||||
}
|
||||
console.log(token)
|
||||
const idToken = token.idToken()
|
||||
console.log(idToken, decodeIdToken(idToken))
|
||||
} catch (e) {
|
||||
if (e instanceof OAuth2RequestError) {
|
||||
const code = e.code
|
||||
const message = e.message
|
||||
console.log(code, message)
|
||||
return new Response("Bad Request", {status: 400})
|
||||
}
|
||||
if (e instanceof ArcticFetchError) {
|
||||
const message = e.message
|
||||
console.log(message)
|
||||
return new Response("Bad Request", {status: 400})
|
||||
}
|
||||
console.log(e)
|
||||
return new Response("Bad Request", {status: 400})
|
||||
}
|
||||
} else {
|
||||
const state = generateState()
|
||||
const codeVerifier = generateCodeVerifier()
|
||||
let url: URL
|
||||
if (internalConfig.pkce) {
|
||||
url = internalConfig.client.createAuthorizationURL(state, codeVerifier, clientConfig.scopes)
|
||||
} else {
|
||||
url = internalConfig.client.createAuthorizationURL(state, clientConfig.scopes)
|
||||
}
|
||||
const stateCookie = cookie.serialize("state", state, {
|
||||
httpOnly: true,
|
||||
secure: process.env.NODE_ENV === "production",
|
||||
maxAge: 60 * 10,
|
||||
path: "/",
|
||||
})
|
||||
const codeVerifierCookie = cookie.serialize("code_verifier", codeVerifier, {
|
||||
httpOnly: true,
|
||||
secure: process.env.NODE_ENV === "production",
|
||||
maxAge: 60 * 10,
|
||||
path: "/",
|
||||
})
|
||||
|
||||
const headers = new Headers({
|
||||
Location: url.toString(),
|
||||
})
|
||||
|
||||
headers.append("Set-Cookie", stateCookie)
|
||||
headers.append("Set-Cookie", codeVerifierCookie)
|
||||
|
||||
return new Response(null, {
|
||||
status: 302,
|
||||
headers,
|
||||
})
|
||||
}
|
||||
}
|
||||
return {GET}
|
||||
}
|
||||
@@ -1,165 +0,0 @@
|
||||
import {AmazonCognito} from "arctic"
|
||||
import {AniList} from "arctic"
|
||||
import {Apple} from "arctic"
|
||||
import {Atlassian} from "arctic"
|
||||
import {Auth0} from "arctic"
|
||||
import {Authentik} from "arctic"
|
||||
import {Bitbucket} from "arctic"
|
||||
import {Box} from "arctic"
|
||||
import {Bungie} from "arctic"
|
||||
import {Coinbase} from "arctic"
|
||||
import {Discord} from "arctic"
|
||||
import {Dribbble} from "arctic"
|
||||
import {Dropbox} from "arctic"
|
||||
import {Etsy} from "arctic"
|
||||
import {EpicGames} from "arctic"
|
||||
import {Facebook} from "arctic"
|
||||
import {Figma} from "arctic"
|
||||
import {Intuit} from "arctic"
|
||||
import {GitHub} from "arctic"
|
||||
import {GitLab} from "arctic"
|
||||
import {Google} from "arctic"
|
||||
import {Kakao} from "arctic"
|
||||
import {KeyCloak} from "arctic"
|
||||
import {Lichess} from "arctic"
|
||||
import {Line} from "arctic"
|
||||
import {Linear} from "arctic"
|
||||
import {LinkedIn} from "arctic"
|
||||
import {MicrosoftEntraId} from "arctic"
|
||||
import {MyAnimeList} from "arctic"
|
||||
import {Naver} from "arctic"
|
||||
import {Notion} from "arctic"
|
||||
import {Okta} from "arctic"
|
||||
import {Osu} from "arctic"
|
||||
import {Patreon} from "arctic"
|
||||
import {Polar} from "arctic"
|
||||
import {Reddit} from "arctic"
|
||||
import {Roblox} from "arctic"
|
||||
import {Salesforce} from "arctic"
|
||||
import {Shikimori} from "arctic"
|
||||
import {Slack} from "arctic"
|
||||
import {Spotify} from "arctic"
|
||||
import {StartGG} from "arctic"
|
||||
import {Strava} from "arctic"
|
||||
import {Tiltify} from "arctic"
|
||||
import {Tumblr} from "arctic"
|
||||
import {Twitch} from "arctic"
|
||||
import {Twitter} from "arctic"
|
||||
import {VK} from "arctic"
|
||||
import {WorkOS} from "arctic"
|
||||
import {Yahoo} from "arctic"
|
||||
import {Yandex} from "arctic"
|
||||
import {Zoom} from "arctic"
|
||||
import {FortyTwo} from "arctic"
|
||||
|
||||
export type ArcticOAuthClient =
|
||||
| AniList
|
||||
| Reddit
|
||||
| Apple
|
||||
| Atlassian
|
||||
| Auth0
|
||||
| Bitbucket
|
||||
| Box
|
||||
| Bungie
|
||||
| Coinbase
|
||||
| Discord
|
||||
| Dribbble
|
||||
| Dropbox
|
||||
| EpicGames
|
||||
| Facebook
|
||||
| Figma
|
||||
| FortyTwo
|
||||
| GitHub
|
||||
| GitLab
|
||||
| Kakao
|
||||
| LinkedIn
|
||||
| Linear
|
||||
| Naver
|
||||
| Notion
|
||||
| Osu
|
||||
| Patreon
|
||||
| Shikimori
|
||||
| Slack
|
||||
| Spotify
|
||||
| StartGG
|
||||
| Strava
|
||||
| Tiltify
|
||||
| Tumblr
|
||||
| Twitch
|
||||
| VK
|
||||
| WorkOS
|
||||
| Yahoo
|
||||
| Yandex
|
||||
| Intuit
|
||||
// pkce
|
||||
| Authentik
|
||||
| AmazonCognito
|
||||
| Twitter
|
||||
| Polar
|
||||
| MyAnimeList
|
||||
| KeyCloak
|
||||
| Salesforce
|
||||
| Roblox
|
||||
| Lichess
|
||||
| MicrosoftEntraId
|
||||
| Google
|
||||
| Okta
|
||||
| Etsy
|
||||
| Line
|
||||
| Zoom
|
||||
|
||||
export enum SupportedOAuthProviders {
|
||||
Authentik = "Authentik",
|
||||
AmazonCognito = "AmazonCognito",
|
||||
Twitter = "Twitter",
|
||||
Polar = "Polar",
|
||||
MyAnimeList = "MyAnimeList",
|
||||
KeyCloak = "KeyCloak",
|
||||
Salesforce = "Salesforce",
|
||||
Roblox = "Roblox",
|
||||
Lichess = "Lichess",
|
||||
MicrosoftEntraId = "MicrosoftEntraId",
|
||||
Google = "Google",
|
||||
Okta = "Okta",
|
||||
Etsy = "Etsy",
|
||||
Line = "Line",
|
||||
Zoom = "Zoom",
|
||||
AniList = "AniList",
|
||||
Reddit = "Reddit",
|
||||
Apple = "Apple",
|
||||
Atlassian = "Atlassian",
|
||||
Auth0 = "Auth0",
|
||||
Bitbucket = "Bitbucket",
|
||||
Box = "Box",
|
||||
Bungie = "Bungie",
|
||||
Coinbase = "Coinbase",
|
||||
Discord = "Discord",
|
||||
Dribbble = "Dribbble",
|
||||
Dropbox = "Dropbox",
|
||||
EpicGames = "EpicGames",
|
||||
Facebook = "Facebook",
|
||||
Figma = "Figma",
|
||||
FortyTwo = "FortyTwo",
|
||||
GitHub = "GitHub",
|
||||
GitLab = "GitLab",
|
||||
Kakao = "Kakao",
|
||||
LinkedIn = "LinkedIn",
|
||||
Linear = "Linear",
|
||||
Naver = "Naver",
|
||||
Notion = "Notion",
|
||||
Osu = "Osu",
|
||||
Patreon = "Patreon",
|
||||
Shikimori = "Shikimori",
|
||||
Slack = "Slack",
|
||||
Spotify = "Spotify",
|
||||
StartGG = "StartGG",
|
||||
Strava = "Strava",
|
||||
Tiltify = "Tiltify",
|
||||
Tumblr = "Tumblr",
|
||||
Twitch = "Twitch",
|
||||
VK = "VK",
|
||||
WorkOS = "WorkOS",
|
||||
Yahoo = "Yahoo",
|
||||
Yandex = "Yandex",
|
||||
Intuit = "Intuit",
|
||||
}
|
||||
@@ -1,5 +1,26 @@
|
||||
# @blitzjs/next
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 3fa3a4ef3: chore: support next.js 15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [565db3c5a]
|
||||
- Updated dependencies [3fa3a4ef3]
|
||||
- blitz@2.2.0
|
||||
- @blitzjs/rpc@2.2.0
|
||||
|
||||
## 2.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ce23d4ed0: fix: Update `turbopack-empty.js` syntax to support latest turbopack and next.js versions
|
||||
- blitz@2.1.4
|
||||
- @blitzjs/rpc@2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/next",
|
||||
"version": "2.1.3",
|
||||
"version": "2.2.0",
|
||||
"homepage": "https://blitzjs.com/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -29,7 +29,7 @@
|
||||
"eslint.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@blitzjs/rpc": "2.1.3",
|
||||
"@blitzjs/rpc": "2.2.0",
|
||||
"@types/hoist-non-react-statics": "3.3.1",
|
||||
"copy-webpack-plugin": "11.0.0",
|
||||
"debug": "4.3.3",
|
||||
@@ -39,13 +39,13 @@
|
||||
"supports-color": "8.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"next": "*",
|
||||
"react": "*",
|
||||
"tslog": "4.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@testing-library/dom": "8.13.0",
|
||||
"@testing-library/jest-dom": "5.16.3",
|
||||
"@testing-library/react": "16.0.1",
|
||||
@@ -55,7 +55,7 @@
|
||||
"@types/react": "npm:types-react@19.0.0",
|
||||
"@types/react-dom": "npm:types-react-dom@19.0.0",
|
||||
"@types/testing-library__react-hooks": "4.0.0",
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"cross-spawn": "7.0.3",
|
||||
"find-up": "4.1.0",
|
||||
"next": "15.0.1",
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# @blitzjs/rpc
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 3fa3a4ef3: chore: support next.js 15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [565db3c5a]
|
||||
- Updated dependencies [3fa3a4ef3]
|
||||
- blitz@2.2.0
|
||||
|
||||
## 2.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- blitz@2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/rpc",
|
||||
"version": "2.1.3",
|
||||
"version": "2.2.0",
|
||||
"homepage": "https://blitzjs.com/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -37,18 +37,18 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tanstack/query-core": "4.24.4",
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"next": "*",
|
||||
"react": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/auth": "2.1.3",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/auth": "2.2.0",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@tanstack/query-core": "4.24.4",
|
||||
"@types/debug": "4.1.7",
|
||||
"@types/react": "npm:types-react@19.0.0",
|
||||
"@types/react-dom": "npm:types-react-dom@19.0.0",
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"next": "15.0.1",
|
||||
"react": "19.0.0",
|
||||
"react-dom": "19.0.0",
|
||||
|
||||
@@ -1,5 +1,23 @@
|
||||
# blitz
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 3fa3a4ef3: chore: support next.js 15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 565db3c5a: Fixed incorrect terminal message after creating a new Blitz project to use the correct command (`npm run dev` or `yarn dev`).
|
||||
- @blitzjs/generator@2.2.0
|
||||
|
||||
## 2.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [38d320fd2]
|
||||
- @blitzjs/generator@2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "blitz",
|
||||
"version": "2.1.3",
|
||||
"version": "2.2.0",
|
||||
"homepage": "https://blitzjs.com/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -30,7 +30,7 @@
|
||||
"blitz": "bin/blitz"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blitzjs/generator": "2.1.3",
|
||||
"@blitzjs/generator": "2.2.0",
|
||||
"@mrleebo/prisma-ast": "0.4.1",
|
||||
"@types/global-agent": "2.1.1",
|
||||
"arg": "5.0.1",
|
||||
@@ -80,7 +80,7 @@
|
||||
"watchpack": "2.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@types/cookie": "0.4.1",
|
||||
"@types/cross-spawn": "6.0.2",
|
||||
"@types/debug": "4.1.7",
|
||||
|
||||
@@ -274,7 +274,7 @@ const newApp: CliCommand = async () => {
|
||||
)
|
||||
}
|
||||
|
||||
postInstallSteps.push(`${projectPkgManger} blitz dev`)
|
||||
postInstallSteps.push(`${projectPkgManger} ${projectPkgManger === "npm" ? "run " : ""}dev`);
|
||||
|
||||
console.log("\n Your new Blitz app is ready! Next steps:")
|
||||
postInstallSteps.forEach((step, index) => {
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# @blitzjs/codemod
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [565db3c5a]
|
||||
- Updated dependencies [3fa3a4ef3]
|
||||
- blitz@2.2.0
|
||||
- @blitzjs/generator@2.2.0
|
||||
|
||||
## 2.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [38d320fd2]
|
||||
- @blitzjs/generator@2.1.4
|
||||
- blitz@2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/codemod",
|
||||
"version": "2.1.3",
|
||||
"version": "2.2.0",
|
||||
"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.1.3",
|
||||
"@blitzjs/generator": "2.2.0",
|
||||
"arg": "5.0.1",
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"chalk": "^4.1.0",
|
||||
"cross-spawn": "7.0.3",
|
||||
"debug": "4.3.3",
|
||||
@@ -38,7 +38,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "7.12.10",
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@types/jscodeshift": "0.11.2",
|
||||
"@types/node": "18.11.9",
|
||||
"ast-types": "0.14.2",
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# @blitzjs/config
|
||||
|
||||
## 2.2.0
|
||||
|
||||
## 2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
## 2.1.2
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@blitzjs/config",
|
||||
"private": true,
|
||||
"version": "2.1.3",
|
||||
"version": "2.2.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "5.42.1",
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @blitzjs/generator
|
||||
|
||||
## 2.2.0
|
||||
|
||||
## 2.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 38d320fd2: chore: Upgrade to prisma v6. Read more about migration in https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6
|
||||
|
||||
## 2.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@blitzjs/generator",
|
||||
"version": "2.1.3",
|
||||
"version": "2.2.0",
|
||||
"homepage": "https://blitzjs.com/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -54,7 +54,7 @@
|
||||
"zod": "3.23.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@juanm04/cpx": "2.0.1",
|
||||
"@types/babel__core": "7.1.19",
|
||||
"@types/diff": "5.0.2",
|
||||
|
||||
@@ -25,10 +25,10 @@
|
||||
"@blitzjs/auth": "latest",
|
||||
"@blitzjs/next": "latest",
|
||||
"@blitzjs/rpc": "latest",
|
||||
"@prisma/client": "4.6.1",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "latest",
|
||||
"next": "14.2.15",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"secure-password": "4.0.0",
|
||||
|
||||
@@ -25,10 +25,10 @@
|
||||
"@blitzjs/auth": "latest",
|
||||
"@blitzjs/next": "latest",
|
||||
"@blitzjs/rpc": "latest",
|
||||
"@prisma/client": "4.6.1",
|
||||
"@prisma/client": "6.1.0",
|
||||
"blitz": "latest",
|
||||
"next": "14.2.15",
|
||||
"prisma": "4.6.1",
|
||||
"prisma": "6.1.0",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"secure-password": "4.0.0",
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"@typescript-eslint/parser": "5.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blitzjs/config": "2.1.3",
|
||||
"@blitzjs/config": "2.2.0",
|
||||
"@types/react": "npm:types-react@19.0.0",
|
||||
"@types/react-dom": "npm:types-react-dom@19.0.0",
|
||||
"react": "19.0.0",
|
||||
|
||||
970
pnpm-lock.yaml
generated
970
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3"
|
||||
"blitz": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3"
|
||||
"blitz": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0",
|
||||
"uuid": "^8.3.1"
|
||||
},
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3"
|
||||
"blitz": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3"
|
||||
"blitz": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,6 +22,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3"
|
||||
"blitz": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0",
|
||||
"uuid": "^8.3.1"
|
||||
},
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/blitz-js/blitz#readme",
|
||||
"dependencies": {
|
||||
"blitz": "2.1.3",
|
||||
"blitz": "2.2.0",
|
||||
"jscodeshift": "0.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user