Skip to content

Commit

Permalink
fix Cannot read properties of null (reading 'isReady') for pnpm/yarn …
Browse files Browse the repository at this point in the history
…v3 (#4008)
  • Loading branch information
flybayer authored Dec 16, 2022
1 parent 74a14b7 commit 03bad31
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 96 deletions.
7 changes: 7 additions & 0 deletions .changeset/khaki-pens-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@blitzjs/auth": minor
"@blitzjs/next": minor
"@blitzjs/rpc": minor
---

fix Cannot read properties of null (reading 'isReady') for pnpm/yarn v3
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

* @beerose @dillonraphael
* @dillonraphael

packages/generator/templates**/* @flybayer
2 changes: 1 addition & 1 deletion packages/blitz-auth/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {BuildConfig} from "unbuild"

const config: BuildConfig = {
entries: ["./src/index-browser", "./src/index-server"],
externals: ["index-browser.cjs", "index-browser.mjs", "react", "next"],
externals: ["index-browser.cjs", "index-browser.mjs", "react"],
declaration: true,
rollup: {
emitCJS: true,
Expand Down
5 changes: 4 additions & 1 deletion packages/blitz-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"@types/secure-password": "3.1.1",
"b64-lite": "1.4.0",
"bad-behavior": "1.0.1",
"blitz": "2.0.0-beta.19",
"cookie": "0.4.1",
"cookie-session": "2.0.0",
"debug": "4.3.3",
Expand All @@ -39,6 +38,9 @@
"supports-color": "8.1.1",
"url": "0.11.0"
},
"peerDependencies": {
"blitz": "*"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.19",
"@testing-library/react": "13.4.0",
Expand All @@ -48,6 +50,7 @@
"@types/jsonwebtoken": "8.5.8",
"@types/react": "18.0.25",
"@types/react-dom": "17.0.14",
"blitz": "2.0.0-beta.19",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "^4.8.4",
Expand Down
12 changes: 1 addition & 11 deletions packages/blitz-next/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,7 @@ import {BuildConfig} from "unbuild"

const config: BuildConfig = {
entries: ["./src/index-browser", "./src/index-server"],
externals: [
"index-browser.cjs",
"index-browser.mjs",
"blitz",
".blitz",
"react",
"next",
"next/head",
"next/router",
"next/dist/shared/lib/router/router",
],
externals: ["index-browser.cjs", "index-browser.mjs", "blitz", ".blitz"],
declaration: true,
rollup: {
emitCJS: true,
Expand Down
5 changes: 5 additions & 0 deletions packages/blitz-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
"superjson": "1.11.0",
"supports-color": "8.1.1"
},
"peerDependencies": {
"blitz": "*",
"next": "*",
"react": "*"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.19",
"@testing-library/dom": "8.13.0",
Expand Down
7 changes: 0 additions & 7 deletions packages/blitz-rpc/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,8 @@ const config: BuildConfig = {
"index-browser.mjs",
"index-server.cjs",
"index-server.mjs",
"react",
"blitz",
"@blitzjs/auth",
"next",
"zod",
"next",
"next/router",
"next/dist/client/normalize-trailing-slash",
"next/dist/client/add-base-path",
],
declaration: true,
rollup: {
Expand Down
5 changes: 5 additions & 0 deletions packages/blitz-rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"superjson": "1.11.0",
"supports-color": "8.1.1"
},
"peerDependencies": {
"blitz": "*",
"next": "*",
"react": "*"
},
"devDependencies": {
"@blitzjs/auth": "2.0.0-beta.19",
"@blitzjs/config": "workspace:2.0.0-beta.19",
Expand Down
Loading

0 comments on commit 03bad31

Please sign in to comment.