* 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
* 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
* Switch from jest to vitest in new app templates
* Finish vitest setup
* Handle vitest.config.js vs vitest.config.ts
* Add proper vitest config to js templates
* Add changeset
* Update READMEs in new app templates
* Fix tests after vitest upgrade
* Update spyOn references in tests
* init tests
* fix custom blitz provider for testing-library render function
* fix mutation test setup and set globaThis react environment to true so the act function will work
* added query tests & moved blitz test utils to the utils dir
* clean queries and mutation test files
* remove .env file from qm tests
Co-authored-by: beerose <alexsandra.sikora@gmail.com>
* Auth tests setup
* WIP: Updated test-utils
* WIP: Fix lowdb for tests + passing unauth tests + create elementByXpath webdriver chain
* Using prisma & sqlite for tests
* manypkg fix dependency
* fix server mode for auth test
* Add .env template to auth integration test
* Add default value for .env + fix how chrome window is rendered in next-webdriver + install chromedriver in package.json
* Rename test directory
* Update pnpm-lock
* trying to set debug port
* add chrome to ci
* Install chrome with apt-get for github actions
* set headless and chrome bin in env file
* find chrome path inside webdriver
* run the right chrome command in github action based on os
* fix step cannot have both the and keys
* add explicit bash shell for github action
* use matrix os expression and run if statement under chrome run
* dont cancel in progress tests to see if one works
* add chrome driver
* remove potential conflicting chromedriver versions
* let selenium find chromedriver path instead of manually setting it
* set chrome option to no gpu & disable shm usage
* remove chrome install github action
* use chromedriver path for binary
* add --headless attribute to chrome driver options
* use chrome bin instead of chromedriver bin
* set path if chromewebdriver env variable present
* set next commands inside try/catch
* remove try/catch
* increase timeout
* disable gpu
* add back headless env
* set shell to bash
* set default shell
* set timeout for webdriver test function
* remove run chromedriver for windows since we're using bash
* scl_source enable
* remove scl_source enable
* add try catch
* remove bash default
* whitelist ips for chromedriver in windows matrix
* set shell to cmd for windows matrix
* console.log path
* force cmd for running chromedriver
* start chromedriver for cmd
* set default windows command to pwsh
* set path for windows test command
* set dynamic path for windows os
* remove if statement for test command
* remove chromedriver from github yaml
* remove windows os from tests
Co-authored-by: Aleksandra <alexsandra.sikora@gmail.com>
Co-authored-by: Dillon Raphael <dillonraphael@Dillons-MacBook-Pro.local>
Co-authored-by: Dillon Raphael <dillonraphael@Dillons-MBP.hitronhub.home>