* Use this.rootContext instead of webpack internals
Ensures the root context is read from the public API that webpack exposes. This is the first step for Turbopack support as Turbopack includes `this.rootContext` as well
* Turbopack support for Blitz
* Update packages/blitz-rpc/src/server/loader/server/loader-server.ts
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
* fix: CI and update next.js version in test app
* feat: add tests for turbo and expose new `turbo` boolean
* upgrade to latest next version
* use latest canary in internal packages and tests
* chore: add changeset
* chore: minor fix on how the test is run
* fix stray DYNAMIC_SERVER_USAGE thrown
* cleanup
* chore: changeset
* pnpm lock fix
* fix turbo tests
* fixes
* oops
* add turbo config only when needed
* remove need for any change to `next.config.js`
---------
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com>
* fix: remove custom errors thrown by blitz
* Create curvy-cougars-lick.md
* use require and eval rather than the await which becomes a `yield import` possibly causing the issue
* pnpm lock fix
* Update .changeset/curvy-cougars-lick.md
* add comment
* use correct error type
* Apply suggestions from code review
* upgrade to next 14
* use default react import
* use `next/compat/router`
* set baseurl for next13 app
* get it working
* fix Error Component
* fix floating promisis
* Create modern-cups-cheat.md
* fix type of error boundary
* get react query working again
* remove experimental
* remove broken test since next export is removed
* fix qm integration test
* fix mismatch of cookie names in client and server
* fix `auth-with-rpc`
* fix unit tests
* fix snapshot
* remove `@tanstack/query-core` dep from `@blitzjs/rpc`
* Update .changeset/modern-cups-cheat.md
* fix: lockfile
* regression: re-export react query client utilites
* Update .changeset/modern-cups-cheat.md
* do not export `withRouter`
* revert change to `BlitzProvider`
* remove unnecessary next types
* add logic to auto handle role with usage of `redirectAuthenticatedTo`
* Create hot-knives-vanish.md
* fix `globalThis.__BLITZ_GET_RSC_CONTEXT` being overriden
* pnpm lock fix
* export `next-auth` and all its requirements in a sub-directory
* Create modern-insects-raise.md
* undo changes to `secure-password` adapter
* try another way
* Update .changeset/modern-insects-raise.md
* Update .changeset/modern-insects-raise.md
* patch next-auth
* feat: Load Head lazyily using `dynamic`
* feat: upgrate turbo and fix layout.tsx
* fix: pnpm lock version
* Create chatty-scissors-jump.md
* Update .changeset/chatty-scissors-jump.md
* fix: move `dynamic` call to the top of the file
* add loading state to be null and no ssr
* upgrade to next 13.5.2 and update location of internal function
* Create lucky-teachers-sleep.md
* fix bootupMarkers
* fix issues with qm integration test
* Update integration-tests/utils/next-test-utils.ts
* next.js generated stuff
* Update .changeset/lucky-teachers-sleep.md
* remove unnecessary next lints to the integration-tests
* Update main.yml
* Revert "remove unnecessary next lints to the integration-tests"
This reverts commit 3226b2e3ba.
* chore: add nix
This could help contributers... contribute!
* build: use turborepo pipelines for coordination
instead of hacking it with sleeps and such....
* chore: update dev script
now we're cooking with gas! no more hacks, no more awkward flags
* chore: update pnpm version requirement
you want to support v6?? then use a v6-compatible pnpm version
* chore: update pnpm-lock
* initial port
* read custom template values from blitz-server
* fix unit tests
* add unit tests
* remove comments
* make db import generic
* fix blitz genrate not updating values
* cleanup
* fix parent generation in createMutation and components, and move existing pages when --parent is called
* cleanup
* Create silly-peas-work.md
* Update .changeset/silly-peas-work.md
* add types for codegen
* fix belongsTo not working
* fix pnpm-lock
* use latest blitz logging setup in generator
* show error when structure of codegen is incorrect using zod
* cleanup
* make prisma import generic
* update tests
* generic prisma to work on subsequent runs
* initial commit adding dropdown option when using belongTo and parent flag
* cleanup
* fix --parent flag
* fix type
* Update getUsers.ts
* fix duplicate
* update prop type to options for --parent or belongsTo option and add LabelSelectField
* update tests
* Update blitz-server.ts
* fix lock file and add react-final-form select component
* fix default bug for string values in #2863
* Update apps/toolkit-app/app/blitz-server.ts
* update to latest changes
* implement suggessions
* fix tests and remove custom log
* add required test and remove error if prisma does not exist
* remove error log if no prisma schema
* works without prisma
* move zod to devDeps
* fix zod version
* preWriteFile and postWriteFile hooks
* fix pnpm lock
* Update packages/generator/src/generators/template-builders/field-values-builder.ts
Co-authored-by: John Vandivier <vandivier_john@yahoo.com>
* initial revert changes to log and add better types
* minor fix
* minor fix
* Update main.yml
* fix playwright issue
* Update main.yml
* try agin
* fix env location
* fix path
* fix version
* try another way
* with deps
* fix version
* cleanup
* add new zod `datetime`
Co-authored-by: Tobias <tobias@fixmycity.de>
* pnpm lock
* update zod to 3.20.0 in generator
* update unit tests
* Create pr-release.yml
* add changeset pre exit to fix error
* update to latest
* fix syntax
* try again
* feature: Consolidate mutations schema to schemas.ts file (#4057)
* fix global install issue
* update the templates from suggestions
* merge the default and custom config
* fix custom codegen
* fix validations
* add partial type to codegen
* commit to rerun the action
---------
Co-authored-by: John Vandivier <vandivier_john@yahoo.com>
Co-authored-by: Tobias <tobias@fixmycity.de>
* secure-password breaking changes
* fix
* more fixes
* fix secure-password imports
* add codemod
* add secure-password to auth integration test
* Apply suggestions from code review
* try adding playwrigth to package.json
* without server mode
* add one to fix conficting ports
* another try
* add waitPort in the right place
* use same port
* manually kill the process
* remove the server mode
* cleanup