This website requires JavaScript.
About
Status
₊˚⊹Discord
Explore
Register
Sign in
Reference in a new issue
Blame
Copy permalink
Reference in a new issue
Copy permalink
TanStack
/
router
Star
0
Fork
You've already forked router
0
mirror of
https://github.com/TanStack/router.git
synced
2026-11-16 19:38:07 +00:00
Code
Issues
Releases
Packages
Activity
devtools-solid-2
router
/
e2e
/
react-start
/
basic-react-query
/
playwright.config.ts
42 lines
1.1 KiB
Raw
Permalink
Normal View
History
feat(react-router): add `context` option to route (#2104) * feat(react-router): add types for routeContext * perf(react-router): optimise new types for `routeContext` * chore(react-router): add type tests for routeContext and beforeLoad * checkpoint * ci: apply automated fixes * updates docs * fix: tests * fix: context * chore: fix the lockfile * ci: apply automated fixes * style(react-router): fixup the eslint errors * fix: hydration mismatch during SSR, refactor matchRoutes to take location * fix: serialize beforeLoadContext during SSR * examples: add start-basic-auth * fix: history export parseHref * feat: routeOptions.preload to allow disabling route-level preloading * fix: full support for href redirects * feat: useServerFn hook to allow handling server side effects like redirects outside of router lifecycles * fix: server redirect and notFound now default to 200 status code for runtime to handle * fix: update pnpm * ci: apply automated fixes * examples: fix start-basic-auth * tests: fix playwright * tests: fix playwright * tests: fix playwright * sean's changes to the route context branch (#2141) * chore: type the objects used for `routeContext` and `beforeLoad` * refactor: move the defaultTransformer from start to react-router * test: add tests to the defaultTransformer * test(react-router): add runtime unit tests for the `context` function * examples: init start-clerk-basic * fix: lockfile * ci: apply automated fixes * test: remove failing test for WIP clerk example * tests: fix more clerk wip tests * fix: lockfile * tests: more clerk fixes * tests: skip WIP clerk example --------- Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-20 21:39:17 +02:00
test(e2e): use locally hosted api over an external provider (#4725) A lot of our e2e tests are querying external endpoints like [typicode.com](https://jsonplaceholder.typicode.com) or [example.com](https://example.com) This is not ideal as it makes the e2e tests beholden to external factors for example unavailability or rate limiting of these endpoints. This PR addresses this by starting and stopping a local dummy server for each test that needs to query external endpoints and mocks the results. The setup and teardown have been implemented on each test package individually so as to allow custom requirements where needed. --------- Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-07-22 00:15:28 +02:00
test(e2e): derive e2e testing ports from the package name (#2939) * test(e2e): add the derivePort utility * test(e2e): use the utility on start-basic and start-website * test(e2e): use the utility on the remaining start sandboxes * test(e2e): use the utility on the react-router sandboxes * test(e2e): remove unneeded script from `basic-esbuild-file-based`
2024-12-07 10:53:11 +13:00
feat(react-router): add `context` option to route (#2104) * feat(react-router): add types for routeContext * perf(react-router): optimise new types for `routeContext` * chore(react-router): add type tests for routeContext and beforeLoad * checkpoint * ci: apply automated fixes * updates docs * fix: tests * fix: context * chore: fix the lockfile * ci: apply automated fixes * style(react-router): fixup the eslint errors * fix: hydration mismatch during SSR, refactor matchRoutes to take location * fix: serialize beforeLoadContext during SSR * examples: add start-basic-auth * fix: history export parseHref * feat: routeOptions.preload to allow disabling route-level preloading * fix: full support for href redirects * feat: useServerFn hook to allow handling server side effects like redirects outside of router lifecycles * fix: server redirect and notFound now default to 200 status code for runtime to handle * fix: update pnpm * ci: apply automated fixes * examples: fix start-basic-auth * tests: fix playwright * tests: fix playwright * tests: fix playwright * sean's changes to the route context branch (#2141) * chore: type the objects used for `routeContext` and `beforeLoad` * refactor: move the defaultTransformer from start to react-router * test: add tests to the defaultTransformer * test(react-router): add runtime unit tests for the `context` function * examples: init start-clerk-basic * fix: lockfile * ci: apply automated fixes * test: remove failing test for WIP clerk example * tests: fix more clerk wip tests * fix: lockfile * tests: more clerk fixes * tests: skip WIP clerk example --------- Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-20 21:39:17 +02:00
test(e2e): use locally hosted api over an external provider (#4725) A lot of our e2e tests are querying external endpoints like [typicode.com](https://jsonplaceholder.typicode.com) or [example.com](https://example.com) This is not ideal as it makes the e2e tests beholden to external factors for example unavailability or rate limiting of these endpoints. This PR addresses this by starting and stopping a local dummy server for each test that needs to query external endpoints and mocks the results. The setup and teardown have been implemented on each test package individually so as to allow custom requirements where needed. --------- Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-07-22 00:15:28 +02:00
fix: upgrade to vinxi 0.5 and vite 6 (#2923) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-12-06 00:36:10 +01:00
feat(react-router): add `context` option to route (#2104) * feat(react-router): add types for routeContext * perf(react-router): optimise new types for `routeContext` * chore(react-router): add type tests for routeContext and beforeLoad * checkpoint * ci: apply automated fixes * updates docs * fix: tests * fix: context * chore: fix the lockfile * ci: apply automated fixes * style(react-router): fixup the eslint errors * fix: hydration mismatch during SSR, refactor matchRoutes to take location * fix: serialize beforeLoadContext during SSR * examples: add start-basic-auth * fix: history export parseHref * feat: routeOptions.preload to allow disabling route-level preloading * fix: full support for href redirects * feat: useServerFn hook to allow handling server side effects like redirects outside of router lifecycles * fix: server redirect and notFound now default to 200 status code for runtime to handle * fix: update pnpm * ci: apply automated fixes * examples: fix start-basic-auth * tests: fix playwright * tests: fix playwright * tests: fix playwright * sean's changes to the route context branch (#2141) * chore: type the objects used for `routeContext` and `beforeLoad` * refactor: move the defaultTransformer from start to react-router * test: add tests to the defaultTransformer * test(react-router): add runtime unit tests for the `context` function * examples: init start-clerk-basic * fix: lockfile * ci: apply automated fixes * test: remove failing test for WIP clerk example * tests: fix more clerk wip tests * fix: lockfile * tests: more clerk fixes * tests: skip WIP clerk example --------- Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-20 21:39:17 +02:00
fix: upgrade to vinxi 0.5 and vite 6 (#2923) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-12-06 00:36:10 +01:00
feat(react-router): add `context` option to route (#2104) * feat(react-router): add types for routeContext * perf(react-router): optimise new types for `routeContext` * chore(react-router): add type tests for routeContext and beforeLoad * checkpoint * ci: apply automated fixes * updates docs * fix: tests * fix: context * chore: fix the lockfile * ci: apply automated fixes * style(react-router): fixup the eslint errors * fix: hydration mismatch during SSR, refactor matchRoutes to take location * fix: serialize beforeLoadContext during SSR * examples: add start-basic-auth * fix: history export parseHref * feat: routeOptions.preload to allow disabling route-level preloading * fix: full support for href redirects * feat: useServerFn hook to allow handling server side effects like redirects outside of router lifecycles * fix: server redirect and notFound now default to 200 status code for runtime to handle * fix: update pnpm * ci: apply automated fixes * examples: fix start-basic-auth * tests: fix playwright * tests: fix playwright * tests: fix playwright * sean's changes to the route context branch (#2141) * chore: type the objects used for `routeContext` and `beforeLoad` * refactor: move the defaultTransformer from start to react-router * test: add tests to the defaultTransformer * test(react-router): add runtime unit tests for the `context` function * examples: init start-clerk-basic * fix: lockfile * ci: apply automated fixes * test: remove failing test for WIP clerk example * tests: fix more clerk wip tests * fix: lockfile * tests: more clerk fixes * tests: skip WIP clerk example --------- Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-20 21:39:17 +02:00
test(e2e): use locally hosted api over an external provider (#4725) A lot of our e2e tests are querying external endpoints like [typicode.com](https://jsonplaceholder.typicode.com) or [example.com](https://example.com) This is not ideal as it makes the e2e tests beholden to external factors for example unavailability or rate limiting of these endpoints. This PR addresses this by starting and stopping a local dummy server for each test that needs to query external endpoints and mocks the results. The setup and teardown have been implemented on each test package individually so as to allow custom requirements where needed. --------- Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-07-22 00:15:28 +02:00
fix: upgrade to vinxi 0.5 and vite 6 (#2923) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-12-06 00:36:10 +01:00
feat(react-router): add `context` option to route (#2104) * feat(react-router): add types for routeContext * perf(react-router): optimise new types for `routeContext` * chore(react-router): add type tests for routeContext and beforeLoad * checkpoint * ci: apply automated fixes * updates docs * fix: tests * fix: context * chore: fix the lockfile * ci: apply automated fixes * style(react-router): fixup the eslint errors * fix: hydration mismatch during SSR, refactor matchRoutes to take location * fix: serialize beforeLoadContext during SSR * examples: add start-basic-auth * fix: history export parseHref * feat: routeOptions.preload to allow disabling route-level preloading * fix: full support for href redirects * feat: useServerFn hook to allow handling server side effects like redirects outside of router lifecycles * fix: server redirect and notFound now default to 200 status code for runtime to handle * fix: update pnpm * ci: apply automated fixes * examples: fix start-basic-auth * tests: fix playwright * tests: fix playwright * tests: fix playwright * sean's changes to the route context branch (#2141) * chore: type the objects used for `routeContext` and `beforeLoad` * refactor: move the defaultTransformer from start to react-router * test: add tests to the defaultTransformer * test(react-router): add runtime unit tests for the `context` function * examples: init start-clerk-basic * fix: lockfile * ci: apply automated fixes * test: remove failing test for WIP clerk example * tests: fix more clerk wip tests * fix: lockfile * tests: more clerk fixes * tests: skip WIP clerk example --------- Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-20 21:39:17 +02:00
fix: upgrade to vinxi 0.5 and vite 6 (#2923) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-12-06 00:36:10 +01:00
test(e2e): use locally hosted api over an external provider (#4725) A lot of our e2e tests are querying external endpoints like [typicode.com](https://jsonplaceholder.typicode.com) or [example.com](https://example.com) This is not ideal as it makes the e2e tests beholden to external factors for example unavailability or rate limiting of these endpoints. This PR addresses this by starting and stopping a local dummy server for each test that needs to query external endpoints and mocks the results. The setup and teardown have been implemented on each test package individually so as to allow custom requirements where needed. --------- Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-07-22 00:15:28 +02:00
fix: upgrade to vinxi 0.5 and vite 6 (#2923) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-12-06 00:36:10 +01:00
feat(react-router): add `context` option to route (#2104) * feat(react-router): add types for routeContext * perf(react-router): optimise new types for `routeContext` * chore(react-router): add type tests for routeContext and beforeLoad * checkpoint * ci: apply automated fixes * updates docs * fix: tests * fix: context * chore: fix the lockfile * ci: apply automated fixes * style(react-router): fixup the eslint errors * fix: hydration mismatch during SSR, refactor matchRoutes to take location * fix: serialize beforeLoadContext during SSR * examples: add start-basic-auth * fix: history export parseHref * feat: routeOptions.preload to allow disabling route-level preloading * fix: full support for href redirects * feat: useServerFn hook to allow handling server side effects like redirects outside of router lifecycles * fix: server redirect and notFound now default to 200 status code for runtime to handle * fix: update pnpm * ci: apply automated fixes * examples: fix start-basic-auth * tests: fix playwright * tests: fix playwright * tests: fix playwright * sean's changes to the route context branch (#2141) * chore: type the objects used for `routeContext` and `beforeLoad` * refactor: move the defaultTransformer from start to react-router * test: add tests to the defaultTransformer * test(react-router): add runtime unit tests for the `context` function * examples: init start-clerk-basic * fix: lockfile * ci: apply automated fixes * test: remove failing test for WIP clerk example * tests: fix more clerk wip tests * fix: lockfile * tests: more clerk fixes * tests: skip WIP clerk example --------- Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-20 21:39:17 +02:00