Dillon Raphael
0936cb38a6
Remove the NODE_ENV development check when patching nextjs ( #3742 )
2022-08-17 17:51:31 +02:00
Aleksandra
8ada2c26f7
Include ResetPasswordPage in new app template ( #3743 )
2022-08-17 17:25:57 +02:00
Aleksandra
eb9715688c
Add BlitzPage type to auth pages in new app template ( #3750 )
2022-08-17 17:17:12 +02:00
Siddharth Suresh
ebfb562bfa
Fix #3735 Add Script as a Default Import of Next.js ( #3736 )
...
* Fix #3735 Add Script as a Default Import of Next,js
2022-08-17 11:03:28 -04:00
Siddharth Suresh
a3b5fdd03e
Fix #3745 Change ES6 import to require syntax ( #3746 )
...
* Fix #3745 Change ES6 import to require syntax
* fix error in syntax of callExpression
2022-08-17 10:44:52 -04:00
Aleksandra
3f9fe8f043
Exit process after finishing blitz new command ( #3749 )
2022-08-17 16:19:13 +02:00
Guillermo Antony Cava Nuñez
db7233db6a
version bump to fix hydration mismatch react error ( #3739 )
...
Co-authored-by: Aleksandra <alexsandra.sikora@gmail.com >
2022-08-17 15:34:40 +02:00
Blitz.js Bot
1a6e953976
(meta) added @corydeppen as contributor
2022-08-16 04:27:27 -04:00
Dillon Raphael
58ae66fdb5
Remove console log from blitz util file ( #3738 )
...
* remove console log from blitz util file
2022-08-15 15:06:14 -04:00
github-actions[bot]
6eb5bc8987
Version Packages (beta) ( #3732 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@blitzjs/generator@2.0.0-beta.1
@blitzjs/rpc@2.0.0-beta.1
blitz@2.0.0-beta.1
@blitzjs/next@2.0.0-beta.1
@blitzjs/codemod@2.0.0-beta.1
@blitzjs/auth@2.0.0-beta.1
v2.0.0-beta.1
2022-08-15 11:38:08 +02:00
Aleksandra
0f4926fd1f
Set latest tag in package json files ( #3731 )
2022-08-15 11:29:21 +02:00
github-actions[bot]
dff9fd042a
Version Packages (beta) ( #3730 )
...
* Version Packages (beta)
* Update version number
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: beerose <alexsandra.sikora@gmail.com >
@blitzjs/codemod@2.0.0-beta.0
@blitzjs/generator@2.0.0-beta.0
@blitzjs/next@2.0.0-beta.0
@blitzjs/rpc@2.0.0-beta.0
blitz@2.0.0-beta.0
@blitzjs/auth@2.0.0-beta.0
v2.0.0-beta.0
2022-08-15 10:38:03 +02:00
Aleksandra
2cc888eff8
Update changeset config ( #3729 )
2022-08-15 10:13:57 +02:00
github-actions[bot]
8a0a97bebb
Version Packages (alpha) ( #3724 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@blitzjs/codemod@2.0.0-alpha.71
@blitzjs/auth@2.0.0-alpha.71
@blitzjs/generator@2.0.0-alpha.71
@blitzjs/next@2.0.0-alpha.71
@blitzjs/rpc@2.0.0-alpha.71
blitz@2.0.0-alpha.71
v2.0.0-alpha.71
2022-08-14 15:57:22 +02:00
Aleksandra
176c7b8b57
Use correct path for log utilities import ( #3721 )
2022-08-14 15:49:43 +02:00
Aleksandra
b307931f2e
Point to main branch instead of canary in README.md
2022-08-13 11:33:47 +02:00
Aleksandra
14375e25c4
Update sponsors list ( #3720 )
2022-08-13 11:30:30 +02:00
github-actions[bot]
8b755574b5
Version Packages (alpha) ( #3717 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@blitzjs/generator@2.0.0-alpha.70
@blitzjs/auth@2.0.0-alpha.70
@blitzjs/next@2.0.0-alpha.70
@blitzjs/rpc@2.0.0-alpha.70
blitz@2.0.0-alpha.70
@blitzjs/codemod@2.0.0-alpha.70
v2.0.0-alpha.70
2022-08-12 20:05:18 +02:00
Aleksandra
4656e6ecd6
Print model added or updated in schema.prisma after running model generator ( #3718 )
2022-08-12 20:01:15 +02:00
Aleksandra
1e0ec7a972
Add missing BlitzPage type to Home page ( #3716 )
2022-08-12 19:43:40 +02:00
Dillon Raphael
f88702c1c1
Minimal codemod fixes ( #3715 )
...
* fix removing trailing comma when removing BlitzConfig from next.config.js during codemod
* fix codemod for consolidating pages
2022-08-12 13:21:25 -04:00
github-actions[bot]
8b9ad3f40c
Version Packages (alpha) ( #3705 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@blitzjs/codemod@2.0.0-alpha.69
@blitzjs/generator@2.0.0-alpha.69
@blitzjs/next@2.0.0-alpha.69
@blitzjs/rpc@2.0.0-alpha.69
blitz@2.0.0-alpha.69
@blitzjs/auth@2.0.0-alpha.69
v2.0.0-alpha.69
2022-08-12 13:37:07 +02:00
Daniel Bannert
37623a4f4c
add missing g in next.config.js file name ( #3713 )
...
* feat: added missing g in confi.js
* Add Changeset
Co-authored-by: beerose <alexsandra.sikora@gmail.com >
2022-08-12 13:28:47 +02:00
Aleksandra
6baab1907e
Add type checking to next.config.js files in templates ( #3710 )
2022-08-12 11:37:06 +02:00
JH.Lee
b5de25c3d8
(meta) add @orionmiz as contributor ( #3712 )
2022-08-12 11:24:26 +02:00
Dillon Raphael
86af6dec5f
Wrap middlewares with BlitzServerMiddleware function with codemod ( #3711 )
...
* wrap middlewares with BlitzServerMiddleware function & fix generating next config file
2022-08-11 14:39:59 -04:00
Blitz.js Bot
52a6338772
(meta) added @siddhsuresh as contributor
2022-08-11 11:11:28 -04:00
Siddharth Suresh
72a332e013
#3602 Fix the way next.config.js file is created by the codemod ( #3709 )
...
* #3602 fix the way next.config.js file is created by the codemod
* Update upgrade-legacy.ts
* remove middleware block
2022-08-11 11:11:23 -04:00
Dillon Raphael
fd31e56bc5
blitz generate changeset
2022-08-11 10:47:03 -04:00
Dillon Raphael
e2fac297fd
Add back generate command ( #3707 )
...
* add back generate command
* use Routes object in generator templates
* update query & mutation templates to use resolver
2022-08-11 10:34:57 -04:00
Aleksandra
a3c92cb863
Allow using RouteUrlObject as redirect.destination in getStaticProps and getServerSideProps ( #3699 )
2022-08-11 13:20:57 +02:00
Dillon Raphael
2d1482fc8b
Store error for cookiePrefix if undefined & show error at the end of codemod ( #3704 )
...
* store error for cookiePrefix if undefined & show error at the end
* rename to collectedErrors
* fix type & update error message
2022-08-10 15:40:17 -04:00
Blitz.js Bot
85b15a9cfb
(meta) added @edrickleong as contributor
2022-08-10 05:17:42 -04:00
Edrick Leong
4902802402
Add getQueryData utility to get an existing query's cached data ( #3648 )
...
* feat: add getQueryData
* test: add integration test for getQueryData
* Add changeset
Co-authored-by: Aleksandra <alexsandra.sikora@gmail.com >
2022-08-10 11:17:37 +02:00
github-actions[bot]
0bc107fd7f
Version Packages (alpha) ( #3684 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@blitzjs/codemod@2.0.0-alpha.68
@blitzjs/rpc@2.0.0-alpha.68
blitz@2.0.0-alpha.68
@blitzjs/auth@2.0.0-alpha.68
@blitzjs/generator@2.0.0-alpha.68
@blitzjs/next@2.0.0-alpha.68
v2.0.0-alpha.68
2022-08-10 10:36:04 +02:00
Dillon Raphael
cb55ed266d
check if DocumentHead is self closing in the codemod step ( #3702 )
2022-08-09 13:21:26 -04:00
Aleksandra
271c58ac62
Fix Cannot find module 'generate' error ( #3700 )
2022-08-09 14:32:22 +02:00
Dillon Raphael
06427f67f2
Throw error if cookiePrefix is undefined during codemod ( #3696 )
...
* throws error if cookiePrefix is undefined
* create ExpectedError class
2022-08-08 16:35:17 -04:00
Dillon Raphael
f120f6723a
Add DocumentProps to codemod import map ( #3695 )
...
* add DocumentProps & DocumentContext to import map & clean up post structuring of _document imports from next/document
2022-08-08 16:10:33 -04:00
Blitz.js Bot
bac5e740ba
(meta) added @oltdaniel as contributor
2022-08-08 15:35:24 -04:00
Daniel Oltmanns
630c718129
Fixes #3614 - changed console logs to standard logger ( #3693 )
...
* Fixes #3614 - changed console logs to standard logger
I tried to keep the logging format close to what has been present before, by also including the chalk package for coloring.
* Create great-candles-stare.md
Co-authored-by: Dillon Raphael <dillon@creatorsneverdie.com >
2022-08-08 15:35:20 -04:00
Aleksandra
078fe47419
Add '@testing-library/jest-dom' to new app dependecies ( #3694 )
2022-08-08 19:23:33 +02:00
Aleksandra
8dfaad088d
Set correct packages versions in package.json with upgrade-legacy codemod ( #3678 )
2022-08-08 18:54:21 +02:00
Aleksandra
dd299ae89f
Add ts-jest dependency to the new app templates ( #3688 )
2022-08-08 18:10:22 +02:00
Aleksandra
41608c4c34
Run codegen tasks after installing dependecies in the new command ( #3692 )
2022-08-08 17:57:39 +02:00
Aleksandra
70b334a2f7
Remove trailing comma from tsconfig.json in new app template ( #3687 )
2022-08-08 12:12:18 +02:00
Dillon Raphael
f0ca738d56
Run the codegen tasks on blitz dev ( #3683 )
2022-08-05 19:13:45 +02:00
github-actions[bot]
1010858446
Version Packages (alpha) ( #3680 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@blitzjs/rpc@2.0.0-alpha.67
@blitzjs/auth@2.0.0-alpha.67
@blitzjs/codemod@2.0.0-alpha.67
@blitzjs/generator@2.0.0-alpha.67
@blitzjs/next@2.0.0-alpha.67
blitz@2.0.0-alpha.67
v2.0.0-alpha.67
2022-08-05 15:44:22 +02:00
Dillon Raphael
ebd74b4e97
Fix template path for the generator ( #3679 )
2022-08-05 15:35:31 +02:00
Aleksandra
8870580710
Utilities cleanup ( #3677 )
2022-08-05 14:42:25 +02:00