From 8b9ad3f40cd98b54ccb26f8f92f158909fbdeb05 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Aug 2022 13:37:07 +0200 Subject: [PATCH] Version Packages (alpha) (#3705) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 11 ++++++++++- apps/toolkit-app/package.json | 2 +- packages/blitz-auth/CHANGELOG.md | 7 +++++++ packages/blitz-auth/package.json | 6 +++--- packages/blitz-next/CHANGELOG.md | 8 ++++++++ packages/blitz-next/package.json | 8 ++++---- packages/blitz-rpc/CHANGELOG.md | 7 +++++++ packages/blitz-rpc/package.json | 8 ++++---- packages/blitz/CHANGELOG.md | 10 ++++++++++ packages/blitz/package.json | 6 +++--- packages/codemod/CHANGELOG.md | 13 +++++++++++++ packages/codemod/package.json | 6 +++--- packages/config/CHANGELOG.md | 2 ++ packages/config/package.json | 2 +- packages/generator/CHANGELOG.md | 8 ++++++++ packages/generator/package.json | 4 ++-- packages/pkg-template/package.json | 2 +- 17 files changed, 87 insertions(+), 23 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index c7bfeed6a3..b2fd1553c6 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -18,7 +18,8 @@ "test-qm": "0.0.0", "test-no-suspense": "0.0.0", "test-trailing-slash": "0.0.0", - "test-middleware": "0.0.0" + "test-middleware": "0.0.0", + "test-react-query-utils": "0.0.0" }, "changesets": [ "big-phones-bow", @@ -27,12 +28,15 @@ "breezy-moose-behave", "bright-mangos-run", "calm-carpets-deny", + "calm-horses-tie", "calm-nails-wait", "calm-tomatoes-drive", + "clean-hats-pump", "clean-walls-wink", "clever-radios-lie", "cool-doors-invent", "cool-horses-check", + "cuddly-pugs-crash", "curly-rules-speak", "curly-seas-serve", "dirty-monkeys-greet", @@ -71,6 +75,7 @@ "lemon-games-press", "lemon-seas-push", "light-donkeys-double", + "long-bees-hope", "lovely-colts-share", "lucky-cows-try", "mean-gorillas-reply", @@ -92,6 +97,7 @@ "olive-feet-rhyme", "olive-sheep-rhyme", "perfect-eyes-repeat", + "perfect-trains-double", "plenty-bottles-swim", "polite-lizards-love", "poor-peas-lick", @@ -120,11 +126,14 @@ "slow-walls-poke", "small-socks-confess", "smooth-planets-admire", + "smooth-rice-clap", "smooth-stingrays-drum", "smooth-tools-train", "soft-adults-smell", "sour-lemons-hunt", + "sour-mails-lick", "spicy-beds-float", + "spotty-dingos-stare", "stale-jobs-drum", "strong-apes-reply", "stupid-walls-sell", diff --git a/apps/toolkit-app/package.json b/apps/toolkit-app/package.json index 79f5053517..226c235788 100644 --- a/apps/toolkit-app/package.json +++ b/apps/toolkit-app/package.json @@ -29,7 +29,7 @@ "@blitzjs/rpc": "workspace:*", "@hookform/resolvers": "2.8.8", "@prisma/client": "4.0.0", - "blitz": "workspace:2.0.0-alpha.68", + "blitz": "workspace:2.0.0-alpha.69", "next": "12.2.0", "prisma": "4.0.0", "react": "18.0.0", diff --git a/packages/blitz-auth/CHANGELOG.md b/packages/blitz-auth/CHANGELOG.md index c5228f2088..ed72b3fb5b 100644 --- a/packages/blitz-auth/CHANGELOG.md +++ b/packages/blitz-auth/CHANGELOG.md @@ -1,5 +1,12 @@ # @blitzjs/auth +## 2.0.0-alpha.69 + +### Patch Changes + +- Updated dependencies [fd31e56b] + - blitz@2.0.0-alpha.69 + ## 2.0.0-alpha.68 ### Patch Changes diff --git a/packages/blitz-auth/package.json b/packages/blitz-auth/package.json index 7cfd3c1ef3..699bec85f8 100644 --- a/packages/blitz-auth/package.json +++ b/packages/blitz-auth/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/auth", - "version": "2.0.0-alpha.68", + "version": "2.0.0-alpha.69", "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-alpha.68", + "blitz": "2.0.0-alpha.69", "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-alpha.68", + "@blitzjs/config": "workspace:2.0.0-alpha.69", "@testing-library/react": "13.0.0", "@testing-library/react-hooks": "7.0.2", "@types/cookie": "0.4.1", diff --git a/packages/blitz-next/CHANGELOG.md b/packages/blitz-next/CHANGELOG.md index 711fa1d1dd..d5fa401eda 100644 --- a/packages/blitz-next/CHANGELOG.md +++ b/packages/blitz-next/CHANGELOG.md @@ -1,5 +1,13 @@ # @blitzjs/next +## 2.0.0-alpha.69 + +### Patch Changes + +- a3c92cb8: Allow using `RouteUrlObject` as `redirect.destination` in `getStaticProps` and `getServerSideProps` +- Updated dependencies [49028024] + - @blitzjs/rpc@2.0.0-alpha.69 + ## 2.0.0-alpha.68 ### Patch Changes diff --git a/packages/blitz-next/package.json b/packages/blitz-next/package.json index fadf7fc2b4..466256f2c5 100644 --- a/packages/blitz-next/package.json +++ b/packages/blitz-next/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/next", - "version": "2.0.0-alpha.68", + "version": "2.0.0-alpha.69", "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-alpha.68", + "@blitzjs/rpc": "2.0.0-alpha.69", "@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-alpha.68", + "@blitzjs/config": "workspace:2.0.0-alpha.69", "@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.1", "@types/react-dom": "17.0.14", "@types/testing-library__react-hooks": "4.0.0", - "blitz": "2.0.0-alpha.68", + "blitz": "2.0.0-alpha.69", "cross-spawn": "7.0.3", "find-up": "4.1.0", "next": "12.2.0", diff --git a/packages/blitz-rpc/CHANGELOG.md b/packages/blitz-rpc/CHANGELOG.md index 9e3e09e670..816bf47793 100644 --- a/packages/blitz-rpc/CHANGELOG.md +++ b/packages/blitz-rpc/CHANGELOG.md @@ -1,5 +1,12 @@ # @blitzjs/rpc +## 2.0.0-alpha.69 + +### Patch Changes + +- 49028024: Add `getQueryData` utility to get an existing query's cached data + - @blitzjs/auth@2.0.0-alpha.69 + ## 2.0.0-alpha.68 ### Patch Changes diff --git a/packages/blitz-rpc/package.json b/packages/blitz-rpc/package.json index dab1a8d59e..f0ebed63df 100644 --- a/packages/blitz-rpc/package.json +++ b/packages/blitz-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/rpc", - "version": "2.0.0-alpha.68", + "version": "2.0.0-alpha.69", "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,7 +20,7 @@ "dist/**" ], "dependencies": { - "@blitzjs/auth": "2.0.0-alpha.68", + "@blitzjs/auth": "2.0.0-alpha.69", "@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-alpha.68", + "@blitzjs/config": "workspace:2.0.0-alpha.69", "@types/debug": "4.1.7", "@types/react": "18.0.1", "@types/react-dom": "17.0.14", - "blitz": "2.0.0-alpha.68", + "blitz": "2.0.0-alpha.69", "next": "12.2.0", "react": "18.0.0", "react-dom": "18.0.0", diff --git a/packages/blitz/CHANGELOG.md b/packages/blitz/CHANGELOG.md index a0ffc3ad2f..c536de9e5a 100644 --- a/packages/blitz/CHANGELOG.md +++ b/packages/blitz/CHANGELOG.md @@ -1,5 +1,15 @@ # blitz +## 2.0.0-alpha.69 + +### Patch Changes + +- fd31e56b: Add back blitz generate command +- Updated dependencies [fd31e56b] +- Updated dependencies [6baab190] +- Updated dependencies [37623a4f] + - @blitzjs/generator@2.0.0-alpha.69 + ## 2.0.0-alpha.68 ### Patch Changes diff --git a/packages/blitz/package.json b/packages/blitz/package.json index fbc7ccc9fd..f7859f5d77 100644 --- a/packages/blitz/package.json +++ b/packages/blitz/package.json @@ -1,6 +1,6 @@ { "name": "blitz", - "version": "2.0.0-alpha.68", + "version": "2.0.0-alpha.69", "scripts": { "build": "unbuild", "dev": "watch unbuild src --wait=0.2", @@ -23,7 +23,7 @@ "blitz": "bin/blitz" }, "dependencies": { - "@blitzjs/generator": "2.0.0-alpha.68", + "@blitzjs/generator": "2.0.0-alpha.69", "arg": "5.0.1", "boxen": "7.0.0", "chalk": "^4.1.0", @@ -55,7 +55,7 @@ "watchpack": "2.1.1" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-alpha.68", + "@blitzjs/config": "workspace:2.0.0-alpha.69", "@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 c277ca78cf..7a2f73bf7a 100644 --- a/packages/codemod/CHANGELOG.md +++ b/packages/codemod/CHANGELOG.md @@ -1,5 +1,18 @@ # @blitzjs/codemod +## 2.0.0-alpha.69 + +### Patch Changes + +- 86af6dec: Wrap middlewares with BlitzServerMiddleware function with codemod +- 72a332e0: Wrap `blitz.config.ts` with the `withBlitz` function during the codemod step instead of creating a blank `next.config.js` file. +- 2d1482fc: Allow codemod to finish if `cookiePrefix` is undefined. Then show error at the end of running the codemod. +- Updated dependencies [fd31e56b] +- Updated dependencies [6baab190] +- Updated dependencies [37623a4f] + - blitz@2.0.0-alpha.69 + - @blitzjs/generator@2.0.0-alpha.69 + ## 2.0.0-alpha.68 ### Patch Changes diff --git a/packages/codemod/package.json b/packages/codemod/package.json index 72cb105600..2ffedb351d 100644 --- a/packages/codemod/package.json +++ b/packages/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/codemod", - "version": "2.0.0-alpha.68", + "version": "2.0.0-alpha.69", "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-alpha.68", + "@blitzjs/generator": "2.0.0-alpha.69", "arg": "5.0.1", - "blitz": "2.0.0-alpha.68", + "blitz": "2.0.0-alpha.69", "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 89cbcba856..4b6a465ef8 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,7 @@ # @blitzjs/config +## 2.0.0-alpha.69 + ## 2.0.0-alpha.68 ## 2.0.0-alpha.67 diff --git a/packages/config/package.json b/packages/config/package.json index 24becc769c..204849e408 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,7 +1,7 @@ { "name": "@blitzjs/config", "private": true, - "version": "2.0.0-alpha.68", + "version": "2.0.0-alpha.69", "license": "MIT", "dependencies": { "@typescript-eslint/eslint-plugin": "5.9.1", diff --git a/packages/generator/CHANGELOG.md b/packages/generator/CHANGELOG.md index 78182f79a8..91ca5cd895 100644 --- a/packages/generator/CHANGELOG.md +++ b/packages/generator/CHANGELOG.md @@ -1,5 +1,13 @@ # @blitzjs/generator +## 2.0.0-alpha.69 + +### Patch Changes + +- fd31e56b: Add back blitz generate command +- 6baab190: Add type checking to next.config.js files in new app templates +- 37623a4f: Fix typo in a next.config.js file name + ## 2.0.0-alpha.68 ### Patch Changes diff --git a/packages/generator/package.json b/packages/generator/package.json index e1812f15d3..4bf76452f2 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/generator", - "version": "2.0.0-alpha.68", + "version": "2.0.0-alpha.69", "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-alpha.68", + "@blitzjs/config": "2.0.0-alpha.69", "@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 81b8d69314..4162f9d31a 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-alpha.68", + "@blitzjs/config": "2.0.0-alpha.69", "@types/react": "18.0.1", "@types/react-dom": "17.0.14", "react": "18.0.0",