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

Compare commits

...

6 Commits

Author SHA1 Message Date
Dillon Raphael
870986b5ad rename test-get-initial-props 2022-09-13 15:22:44 -04:00
Dillon Raphael
30406891b1 rename toolkit-app-passport & fix version of blitz in toolkit-app 2022-09-13 15:19:07 -04:00
github-actions[bot]
f1ba20f690 Version Packages (beta) (#3779)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-13 15:01:11 -04:00
Siddharth Suresh
aba000a812 Update CI (#3824) 2022-09-13 11:30:52 -04:00
Aleksandra
0b94a45039 Upgrade superjson to the latest version (#3827) 2022-09-12 18:05:44 +02:00
Dillon Raphael
6b788b03be Fix CI & Tests (#3822)
* set bash as shell for github action
2022-09-08 11:04:43 -04:00
29 changed files with 333 additions and 138 deletions

View File

@@ -0,0 +1,7 @@
---
"blitz": patch
"@blitzjs/next": patch
"@blitzjs/rpc": patch
---
Upgrade superjson to the latest version

View File

@@ -43,18 +43,24 @@
"cuddly-pugs-crash",
"curly-rules-speak",
"curly-seas-serve",
"cyan-bulldogs-heal",
"cyan-cars-greet",
"dirty-monkeys-greet",
"dirty-planets-chew",
"early-lamps-itch",
"eleven-humans-sort",
"empty-berries-rule",
"empty-turkeys-wave",
"fair-carrots-guess",
"fair-kangaroos-clean",
"fair-wombats-sneeze",
"famous-kings-explain",
"fast-clocks-push",
"fast-trainers-kneel",
"few-dogs-fetch",
"flat-bees-approve",
"fluffy-mangos-begin",
"fluffy-mice-wash",
"forty-timers-rhyme",
"four-brooms-juggle",
"four-meals-fry",
@@ -76,6 +82,7 @@
"happy-hotels-visit",
"healthy-rice-shout",
"heavy-apes-judge",
"honest-candles-yawn",
"hot-cups-rhyme",
"hot-drinks-approve",
"hungry-baboons-swim",
@@ -86,15 +93,18 @@
"lemon-seas-push",
"light-donkeys-double",
"long-bees-hope",
"long-dancers-jog",
"long-lobsters-drop",
"lovely-berries-sell",
"lovely-colts-share",
"lucky-cows-try",
"lucky-months-guess",
"mean-gorillas-reply",
"modern-cameras-pull",
"modern-ligers-behave",
"moody-bags-walk",
"moody-squids-cheer",
"nasty-suns-wash",
"nervous-beds-travel",
"nervous-dolls-rule",
"new-coats-turn",
@@ -125,19 +135,23 @@
"quiet-feet-travel",
"quiet-pans-hunt",
"quiet-sloths-rule",
"rare-crews-sleep",
"red-badgers-retire",
"rich-chairs-invent",
"rich-queens-travel",
"rotten-rocks-remember",
"shaggy-carpets-brake",
"sharp-falcons-begin",
"sharp-olives-sip",
"shy-olives-hang",
"shy-pumpkins-try",
"silent-colts-reply",
"silly-apricots-share",
"silly-shoes-agree",
"six-apricots-kick",
"slimy-humans-impress",
"slimy-needles-taste",
"slow-walls-camp",
"slow-walls-poke",
"small-socks-confess",
"smooth-planets-admire",
@@ -184,6 +198,7 @@
"wicked-rings-walk",
"wise-eels-visit",
"wise-frogs-give",
"wise-rabbits-complain"
"wise-rabbits-complain",
"young-birds-talk"
]
}

View File

@@ -1,5 +1,3 @@
# https://github.com/vercel/next.js/commits/canary/.github/workflows/build_test_deploy.yml
name: CI
on:
@@ -9,88 +7,74 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
TURBO_TOKEN: 05de0230f01174d1f8cb4845a01dc6c895ce28f04ebef2318ab11615791b871c35eabbf8
TURBO_TEAM: foo
jobs:
lint:
name: 'Lint: ${{ matrix.os }}'
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 6.32.6
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 16
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: pnpm manypkg check
- name: Turborepo local server
uses: felixmosh/turborepo-gh-artifacts@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
- name: Build
run: pnpm build -- --api="http://127.0.0.1:9080"
- name: Lint
run: pnpm lint -- --api="http://127.0.0.1:9080"
build:
runs-on: ubuntu-latest
name: Build
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 6.32.6
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 16
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm manypkg check
- name: Turborepo local server
uses: felixmosh/turborepo-gh-artifacts@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
- name: Build
run: pnpm build -- --api="http://127.0.0.1:9080"
- name: Build Apps
run: pnpm build:apps -- --api="http://127.0.0.1:9080"
Unit-Tests:
name: "Unit Test: ${{ matrix.os }} (node@16)"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
node_version:
- 16
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 6.32.6
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: pnpm manypkg check
- name: Turborepo local server
uses: felixmosh/turborepo-gh-artifacts@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
- name: Build
run: pnpm build -- --api="http://127.0.0.1:9080"
- name: Lint
run: pnpm lint -- --api="http://127.0.0.1:9080"
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
node_version:
- 16
name: Build - ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 6.32.6
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- run: pnpm manypkg check
- name: Turborepo local server
uses: felixmosh/turborepo-gh-artifacts@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
- name: Build
run: pnpm build -- --api="http://127.0.0.1:9080"
- name: Build Apps
run: pnpm build:apps -- --api="http://127.0.0.1:9080"
test:
name: 'Test: ${{ matrix.os }} (node@${{ matrix.NODE_VERSION }})'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
node_version:
- 16
fail-fast: false
env:
NODE_VERSION: ${{ matrix.NODE_VERSION }}
NODE_VERSION: 16
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -99,15 +83,20 @@ jobs:
uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 6.32.6
- name: Setup node@${{ matrix.NODE_VERSION }}
- name: Setup node@16
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.NODE_VERSION }}
cache: 'pnpm'
node-version: 16
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
shell: bash
- run: pnpm manypkg check
shell: bash
- name: Turborepo local server
uses: felixmosh/turborepo-gh-artifacts@v1
with:
@@ -116,7 +105,76 @@ jobs:
- name: Build
run: pnpm build -- --api="http://127.0.0.1:9080"
shell: bash
- name: Test
run: pnpm test -- --api="http://127.0.0.1:9080"
- name: Test Packages
run: pnpm test -- --filter=./packages/*
shell: bash
- name: Test Apps
run: pnpm test -- --filter=./apps/*
shell: bash
find-integration-tests:
name: "Find Integration Tests"
runs-on: ubuntu-latest
outputs:
folders: ${{ steps.set-matrix.outputs.folders }}
steps:
- uses: actions/checkout@v2
- id: set-matrix
name: "Find all folders"
shell: bash
run: |
cd ./integration-tests
tree -J -d -L 1 | jq -c '.[0].contents | map(.name | tostring)'
folders=$(tree -J -d -L 1 | jq -c '.[0].contents | map(.name | tostring)')
echo "::set-output name=folders::$folders"
Integration-Tests:
name: "Integration Test: ${{matrix.folder}} @ ${{ matrix.os }} "
needs: [find-integration-tests]
strategy:
matrix:
folder: ${{fromJSON(needs.find-integration-tests.outputs.folders)}}
os:
- ubuntu-latest
- windows-latest
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- run: echo ${{matrix.folder}}
- name: Checkout
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2
with:
version: 6.32.6
- name: Setup node@${{ matrix.NODE_VERSION }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.NODE_VERSION }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
shell: bash
- run: pnpm manypkg check
shell: bash
- name: Turborepo local server
uses: felixmosh/turborepo-gh-artifacts@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
- name: Build
run: pnpm build -- --api="http://127.0.0.1:9080"
shell: bash
- name: Test Packages
run: pnpm test -- --filter=./integration-tests/${{matrix.folder}}
shell: bash

View File

@@ -1,5 +1,5 @@
{
"name": "toolkit-app",
"name": "toolkit-app-passport",
"version": "1.0.1-alpha.16",
"scripts": {
"start:dev": "pnpm run prisma:start && blitz dev",
@@ -29,7 +29,7 @@
"@blitzjs/rpc": "workspace:*",
"@hookform/resolvers": "2.8.8",
"@prisma/client": "4.0.0",
"blitz": "workspace:2.0.0-beta.3",
"blitz": "workspace:2.0.0-beta.4",
"next": "12.2.5",
"openid-client": "5.1.8",
"prisma": "4.0.0",

View File

@@ -29,7 +29,7 @@
"@blitzjs/rpc": "workspace:*",
"@hookform/resolvers": "2.8.8",
"@prisma/client": "4.0.0",
"blitz": "workspace:2.0.0-beta.3",
"blitz": "workspace:2.0.0-beta.4",
"next": "12.2.5",
"prisma": "4.0.0",
"react": "18.2.0",

View File

@@ -12,8 +12,7 @@
"start": "next start",
"lint": "next lint",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
"prisma:start": "prisma generate && prisma migrate dev && pnpm run prisma:seed",
"prisma:seed": "prisma db push --force-reset && prisma db seed",
"prisma:start": "prisma generate && prisma migrate dev",
"prisma:studio": "prisma studio"
},
"dependencies": {

View File

@@ -1,7 +1,8 @@
import prisma from "./index"
import {SecurePassword} from "@blitzjs/auth"
import { SecurePassword } from "@blitzjs/auth"
const seed = async () => {
// await prisma.$reset()
const hashedPassword = await SecurePassword.hash("abcd1234")
@@ -12,7 +13,7 @@ const seed = async () => {
role: "user",
},
}).catch(console.error)
process.exit(0);
}

View File

@@ -128,6 +128,7 @@ describe("Auth Tests", () => {
try {
appPort = await findPort()
app = await launchApp(appDir, appPort, {cwd: process.cwd()})
// await seed()
} catch (error) {
console.log(error)
}

View File

@@ -0,0 +1,8 @@
/// <reference types="vitest" />
import {defineConfig} from "vitest/config"
export default defineConfig({
test: {
hookTimeout: 100000,
},
})

View File

@@ -1,5 +1,5 @@
{
"name": "test-trailing-slash",
"name": "test-get-initial-props",
"version": "0.0.0",
"private": true,
"scripts": {

View File

@@ -0,0 +1,8 @@
/// <reference types="vitest" />
import {defineConfig} from "vitest/config"
export default defineConfig({
test: {
hookTimeout: 100000,
},
})

View File

@@ -0,0 +1,8 @@
/// <reference types="vitest" />
import {defineConfig} from "vitest/config"
export default defineConfig({
test: {
hookTimeout: 100000,
},
})

View File

@@ -1,5 +1,15 @@
# @blitzjs/auth
## 2.0.0-beta.4
### Patch Changes
- 713aead9: Allow specifying custom strategy name in Blitz's passport adapter
- Updated dependencies [c213d521]
- Updated dependencies [0b94a450]
- Updated dependencies [161270e3]
- blitz@2.0.0-beta.4
## 2.0.0-beta.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@blitzjs/auth",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"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.3",
"blitz": "2.0.0-beta.4",
"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.3",
"@blitzjs/config": "workspace:2.0.0-beta.4",
"@testing-library/react": "13.0.0",
"@testing-library/react-hooks": "7.0.2",
"@types/cookie": "0.4.1",

View File

@@ -1,5 +1,16 @@
# @blitzjs/next
## 2.0.0-beta.4
### Patch Changes
- 69fb2803: Allow setting static page properties (e.g. `getInitialProps`) on the App component
- 0b94a450: Upgrade superjson to the latest version
- Updated dependencies [c213d521]
- Updated dependencies [0b94a450]
- Updated dependencies [f6dac093]
- @blitzjs/rpc@2.0.0-beta.4
## 2.0.0-beta.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@blitzjs/next",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"scripts": {
"build": "unbuild",
"dev": "pnpm predev && pnpm watch unbuild src --wait=0.2",
@@ -24,17 +24,17 @@
"eslint.js"
],
"dependencies": {
"@blitzjs/rpc": "2.0.0-beta.3",
"@blitzjs/rpc": "2.0.0-beta.4",
"@tanstack/react-query": "4.0.10",
"@types/hoist-non-react-statics": "3.3.1",
"debug": "4.3.3",
"fs-extra": "10.0.1",
"hoist-non-react-statics": "3.3.2",
"superjson": "1.8.0",
"superjson": "1.9.1",
"supports-color": "8.1.1"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.3",
"@blitzjs/config": "workspace:2.0.0-beta.4",
"@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.3",
"blitz": "2.0.0-beta.4",
"cross-spawn": "7.0.3",
"find-up": "4.1.0",
"next": "12.2.5",

View File

@@ -1,5 +1,15 @@
# @blitzjs/rpc
## 2.0.0-beta.4
### Patch Changes
- c213d521: Fix issue with the route name that's generated for nested routes in @blitzjs/rpc. This was causing issues for windows users.
- 0b94a450: Upgrade superjson to the latest version
- f6dac093: Improve RPC logging: print `resolverName()` insetad of `/resolverName()`
- Updated dependencies [713aead9]
- @blitzjs/auth@2.0.0-beta.4
## 2.0.0-beta.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@blitzjs/rpc",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"scripts": {
"build": "unbuild",
"predev": "wait-on -d 250 ../blitz/dist/index-server.d.ts && wait-on -d 250 ../blitz-auth/dist/index-browser.d.ts",
@@ -20,21 +20,21 @@
"dist/**"
],
"dependencies": {
"@blitzjs/auth": "2.0.0-beta.3",
"@blitzjs/auth": "2.0.0-beta.4",
"@tanstack/react-query": "4.0.10",
"b64-lite": "1.4.0",
"bad-behavior": "1.0.1",
"chalk": "^4.1.0",
"debug": "4.3.3",
"superjson": "1.8.0",
"superjson": "1.9.1",
"supports-color": "8.1.1"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.3",
"@blitzjs/config": "workspace:2.0.0-beta.4",
"@types/debug": "4.1.7",
"@types/react": "18.0.17",
"@types/react-dom": "17.0.14",
"blitz": "2.0.0-beta.3",
"blitz": "2.0.0-beta.4",
"next": "12.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",

View File

@@ -1,5 +1,19 @@
# blitz
## 2.0.0-beta.4
### Patch Changes
- c213d521: Fix issue with the route name that's generated for nested routes in @blitzjs/rpc. This was causing issues for windows users.
- 0b94a450: Upgrade superjson to the latest version
- 161270e3: Only run the prisma generate command when the schema file changes.
- Updated dependencies [7498aef4]
- Updated dependencies [22344d05]
- Updated dependencies [8fa9a56f]
- Updated dependencies [c53978d5]
- Updated dependencies [a84b8de4]
- @blitzjs/generator@2.0.0-beta.4
## 2.0.0-beta.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "blitz",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"scripts": {
"build": "unbuild",
"dev": "watch unbuild src --wait=0.2",
@@ -23,7 +23,7 @@
"blitz": "bin/blitz"
},
"dependencies": {
"@blitzjs/generator": "2.0.0-beta.3",
"@blitzjs/generator": "2.0.0-beta.4",
"arg": "5.0.1",
"boxen": "7.0.0",
"chalk": "^4.1.0",
@@ -47,7 +47,7 @@
"prompts": "2.4.2",
"resolve-cwd": "3.0.0",
"resolve-from": "5.0.0",
"superjson": "1.8.0",
"superjson": "1.9.1",
"supports-color": "8.1.1",
"ts-node": "10.7.0",
"tsconfig-paths": "4.0.0",
@@ -55,7 +55,7 @@
"watchpack": "2.1.1"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.3",
"@blitzjs/config": "workspace:2.0.0-beta.4",
"@types/cookie": "0.4.1",
"@types/cross-spawn": "6.0.2",
"@types/debug": "4.1.7",

View File

@@ -0,0 +1,8 @@
/// <reference types="vitest" />
import {defineConfig} from "vitest/config"
export default defineConfig({
test: {
hookTimeout: 100000,
},
})

View File

@@ -1,5 +1,24 @@
# @blitzjs/codemod
## 2.0.0-beta.4
### Patch Changes
- d3403cf8: Show file path on error when running the upgrade legacy codemod.
- 74a4ce8e: Add `AuthenticatedSessionContext` to the `upgrade-legacy` codemod import map
- 43e65cfe: Remove TypeScript type annotations from `next.config.js` (a JavaScript file) in the `upgrade-legacy` codemod.
- da914c92: Convert import statements to require when creating the next.config.js file in the codemod
- Updated dependencies [7498aef4]
- Updated dependencies [c213d521]
- Updated dependencies [0b94a450]
- Updated dependencies [22344d05]
- Updated dependencies [8fa9a56f]
- Updated dependencies [c53978d5]
- Updated dependencies [a84b8de4]
- Updated dependencies [161270e3]
- @blitzjs/generator@2.0.0-beta.4
- blitz@2.0.0-beta.4
## 2.0.0-beta.3
### Patch Changes

View File

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

View File

@@ -1,5 +1,7 @@
# @blitzjs/config
## 2.0.0-beta.4
## 2.0.0-beta.3
## 2.0.0-beta.2

View File

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

View File

@@ -1,5 +1,15 @@
# @blitzjs/generator
## 2.0.0-beta.4
### Patch Changes
- 7498aef4: Fix tsconfig.json referencing blitz-env.d.ts insetad of next-env.d.ts in new app templates
- 22344d05: New apps generated by the cli was missing the getLayout function in \_app, so when you used the getLayout property on your page, it didn't render. **You'll need to manually update your \_app if you generated an app with blitz v2**.
- 8fa9a56f: Fix eslint and types setup in minimal app template
- c53978d5: Fix upgrade-legacy `Update imports` step — import `getAntiCSRFToken` and `AuthenticatedMiddlewareCtx` from correct locations
- a84b8de4: Remove `-cookie-prefix` appended to the `cookiePrefix` config property in the new app template. It will also fix auth and CSRF issues for users upgrading from a legacy framework.
## 2.0.0-beta.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@blitzjs/generator",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"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.3",
"@blitzjs/config": "2.0.0-beta.4",
"@juanm04/cpx": "2.0.1",
"@types/babel__core": "7.1.19",
"@types/diff": "5.0.2",

View File

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

64
pnpm-lock.yaml generated
View File

@@ -450,7 +450,7 @@ importers:
"@vitejs/plugin-react": 1.3.0
delay: 5.0.0
eslint: 7.32.0
eslint-config-next: 12.2.5_hrkuebk64jiu2ut2d2sm4oylnu
eslint-config-next: 12.3.0_hrkuebk64jiu2ut2d2sm4oylnu
eslint-plugin-testing-library: 5.0.1_hrkuebk64jiu2ut2d2sm4oylnu
jsdom: 19.0.0
typescript: 4.6.3
@@ -692,7 +692,7 @@ importers:
react: 18.2.0
resolve-cwd: 3.0.0
resolve-from: 5.0.0
superjson: 1.8.0
superjson: 1.9.1
supports-color: 8.1.1
test-listen: 1.1.0
ts-node: 10.7.0
@@ -728,7 +728,7 @@ importers:
prompts: 2.4.2
resolve-cwd: 3.0.0
resolve-from: 5.0.0
superjson: 1.8.0_supports-color@8.1.1
superjson: 1.9.1
supports-color: 8.1.1
ts-node: 10.7.0_typescript@4.6.3
tsconfig-paths: 4.0.0
@@ -851,7 +851,7 @@ importers:
react: 18.2.0
react-dom: 18.2.0
resolve-from: 5.0.0
superjson: 1.8.0
superjson: 1.9.1
supports-color: 8.1.1
ts-jest: 27.1.4
typescript: ^4.5.3
@@ -864,7 +864,7 @@ importers:
debug: 4.3.3_supports-color@8.1.1
fs-extra: 10.0.1
hoist-non-react-statics: 3.3.2
superjson: 1.8.0_supports-color@8.1.1
superjson: 1.9.1
supports-color: 8.1.1
devDependencies:
"@blitzjs/config": link:../config
@@ -905,7 +905,7 @@ importers:
next: 12.2.5
react: 18.2.0
react-dom: 18.2.0
superjson: 1.8.0
superjson: 1.9.1
supports-color: 8.1.1
typescript: ^4.5.3
unbuild: 0.7.6
@@ -918,7 +918,7 @@ importers:
bad-behavior: 1.0.1
chalk: 4.1.2
debug: 4.3.3_supports-color@8.1.1
superjson: 1.8.0_supports-color@8.1.1
superjson: 1.9.1
supports-color: 8.1.1
devDependencies:
"@blitzjs/config": link:../config
@@ -3235,7 +3235,6 @@ packages:
semver: 5.7.1
transitivePeerDependencies:
- supports-color
dev: false
/@babel/preset-flow/7.17.12_@babel+core@7.18.2:
resolution:
@@ -4228,10 +4227,10 @@ packages:
dependencies:
glob: 7.1.7
/@next/eslint-plugin-next/12.2.5:
/@next/eslint-plugin-next/12.3.0:
resolution:
{
integrity: sha512-VBjVbmqEzGiOTBq4+wpeVXt/KgknnGB6ahvC/AxiIGnN93/RCSyXhFRI4uSfftM2Ba3w7ZO7076bfKasZsA0fw==,
integrity: sha512-jVdq1qYTNDjUtulnE8/hkPv0pHILV4jMg5La99iaY/FFm20WxVnsAZtbNnMvlPbf8dc010oO304SX9yXbg5PAw==,
}
dependencies:
glob: 7.1.7
@@ -5722,7 +5721,6 @@ packages:
typescript: 4.6.3
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/experimental-utils/5.28.0_hrkuebk64jiu2ut2d2sm4oylnu:
resolution:
@@ -7804,6 +7802,16 @@ packages:
keygrip: 1.1.0
dev: false
/copy-anything/3.0.2:
resolution:
{
integrity: sha512-CzATjGXzUQ0EvuvgOCI6A4BGOo2bcVx8B+eC2nF862iv9fopnPQwlrbACakNCHRIJbCSBj+J/9JeDf60k64MkA==,
}
engines: {node: ">=12.13"}
dependencies:
is-what: 4.1.7
dev: false
/copy-descriptor/0.1.1:
resolution:
{
@@ -9691,12 +9699,11 @@ packages:
transitivePeerDependencies:
- eslint-import-resolver-webpack
- supports-color
dev: false
/eslint-config-next/12.2.5_hrkuebk64jiu2ut2d2sm4oylnu:
/eslint-config-next/12.3.0_hrkuebk64jiu2ut2d2sm4oylnu:
resolution:
{
integrity: sha512-SOowilkqPzW6DxKp3a3SYlrfPi5Ajs9MIzp9gVfUDxxH9QFM5ElkR1hX5m/iICJuvCbWgQqFBiA3mCMozluniw==,
integrity: sha512-guHSkNyKnTBB8HU35COgAMeMV0E026BiYRYvyEVVaTOeFcnU3i1EI8/Da0Rl7H3Sgua5FEvoA0vYd2s8kdIUXg==,
}
peerDependencies:
eslint: ^7.23.0 || ^8.0.0
@@ -9705,7 +9712,7 @@ packages:
typescript:
optional: true
dependencies:
"@next/eslint-plugin-next": 12.2.5
"@next/eslint-plugin-next": 12.3.0
"@rushstack/eslint-patch": 1.1.3
"@typescript-eslint/parser": 5.28.0_hrkuebk64jiu2ut2d2sm4oylnu
eslint: 7.32.0
@@ -9729,7 +9736,6 @@ packages:
hasBin: true
peerDependencies:
eslint: ">=7.0.0"
dev: false
/eslint-config-prettier/8.5.0_eslint@7.32.0:
resolution:
@@ -12148,6 +12154,14 @@ packages:
dependencies:
call-bind: 1.0.2
/is-what/4.1.7:
resolution:
{
integrity: sha512-DBVOQNiPKnGMxRMLIYSwERAS5MVY1B7xYiGnpgctsOFvVDz9f9PFXXxMcTOHuoqYp4NK9qFYQaIC1NRRxLMpBQ==,
}
engines: {node: ">=12.13"}
dev: false
/is-windows/1.0.2:
resolution:
{
@@ -13468,13 +13482,6 @@ packages:
dependencies:
p-locate: 5.0.0
/lodash.clonedeep/4.5.0:
resolution:
{
integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==,
}
dev: false
/lodash.includes/4.3.0:
resolution:
{
@@ -17286,17 +17293,14 @@ packages:
minimist: 1.2.6
dev: true
/superjson/1.8.0_supports-color@8.1.1:
/superjson/1.9.1:
resolution:
{
integrity: sha512-8FWCa0T9JQ9kVax9nmRqEEebhbRGmU3IV1gevZWQGJRFmSNVN4hnyfb0858aWeEOoS3atwnhjYGleRQHTGI/lA==,
integrity: sha512-oT3HA2nPKlU1+5taFgz/HDy+GEaY+CWEbLzaRJVD4gZ7zMVVC4GDNFdgvAZt6/VuIk6D2R7RtPAiCHwmdzlMmg==,
}
engines: {node: ">=10"}
dependencies:
debug: 4.3.4_supports-color@8.1.1
lodash.clonedeep: 4.5.0
transitivePeerDependencies:
- supports-color
copy-anything: 3.0.2
dev: false
/supports-color/5.5.0:
@@ -17771,6 +17775,7 @@ packages:
typescript: 4.6.3
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
/ts-node/10.9.1_kakyiqi62sfonxvjmz3ft5vt7y:
resolution:
{
@@ -17804,6 +17809,7 @@ packages:
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
dev: true
/tsconfig-paths/3.14.1:
resolution:
{