* 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>
* 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
* 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.
* wip
* webpack loader working
* time to switch to babel
* wip
* wip - next broken
* build & babel working, but resolver not loaded at runtime
* webpack loaders fully working!
* rpc server handler ported
* fully working e2e!
* ci
* fix
* fix
* fix test
* refactor integration test setup
* port rpc integration test
* remove duplicate constants
* fix timeout
* add more explicit timeouts for tests
* use pnpm exec
* add custom _document for auth test
* await killapp
* add next as dependency for test utils
* update pnpm ci
* add vitest config file
* add hookTimeout to global vitest file
Co-authored-by: Dillon Raphael <dillon@creatorsneverdie.com>