* change BlitzApiRequest to NextApiRequest & update import map & fail catch for custom server
* fix page consolidation when there are sub directories
* Update prisma db export/import
* Update db imports in templates
* update root types file
* update error messages + merge main + changeset
Co-authored-by: beerose <alexsandra.sikora@gmail.com>
* init migrate cli command
* make sure migrate command can only be run in legacy blitz directory
* extract codemods into its own package/cli
* removed unused dependencies
* renamed codemods bin directory
* update next.config file to use withBlitz
* codemods update package.json step
* codemod for blitz server & client setup, as well as the blitz rpc route in pages dir
* fix ignore previous step if statement to check for less than instead of equal
* move files from app/pages to root pages directory
* remove blitz babel plugin & update imports inside app dir
* consolidate pages from app dir to root pages dir
* move all api directories to the root pages dir
* use generator templates for blitz rpc route & server/client setup files
* update custom server file
* make custom server step work with require statement & import statements
* useRouterQuery to useRouter().query
* pkg dependecy & import map updates
* Change import map
* Add BlitzLayout to import map
* import withBlitz and wrap App function in _app
* modify _document to use next.js imports
* fix default import for next modules & add useParam to source map
* gssp/gsp
* api routes
* dont run api wrap on rpc/[[...blitz]] & error on usage of local middleware
* DRY cleanup
* update codemod steps
* add ignore extension to getAllFiles
* add more imports to source map
* check for invokeWithMiddleware
* add error counter to middleware checker
* rename codemod & fix silly typo error
* update bin file & change all invokeWithMiddleware to invoke
* add logging from blitz
* manypkg fix
* add codemod test
* lockfile
* fix test
* show errors for invokeWithMiddleware
* update invokeWithMiddleware error message
* line break in new app generator before your new blitz app is ready
* Apply suggestions from code review
* Add changeset
* changeset
* pnpmlock
Co-authored-by: beerose <alexsandra.sikora@gmail.com>
* add strict-peer-dependencies=false
side-effects-cache=false to npmrc generator template
* add comment to generated npmrc file
* update versions of next for full and minimal templates
* pinned next version to 12.1.6 in generator templates
* add next back to root package
* fix lock file
* add changeset
Co-authored-by: Aleksandra <alexsandra.sikora@gmail.com>
* no suspense test and trailing slash test
* use playwright for integration tests
* remove seed from server mode test in auth integration
* change pkg-dir version for blitz cli
* use pkg-dir 5.0.0
* clean up
* move seed location in auth test
* explict timeout for auth test
Co-authored-by: beerose <alexsandra.sikora@gmail.com>