From 589849973dfbad5b70a35abe00f00700f9470208 Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Fri, 30 Oct 2026 01:30:25 +0900 Subject: [PATCH 1/2] docs(examples): add router and framework suffix to 'docs/config.json' labels and 'package.json' names --- docs/config.json | 94 +++++++++---------- examples/angular/devtools-panel/package.json | 2 +- .../query-options-from-a-service/package.json | 2 +- .../load-more-infinite-scroll/package.json | 2 +- examples/lit/offline/package.json | 2 +- examples/lit/prefetching/package.json | 2 +- examples/lit/rick-morty/package.json | 2 +- examples/lit/star-wars/package.json | 2 +- .../load-more-infinite-scroll/package.json | 2 +- examples/preact/offline/package.json | 2 +- examples/preact/prefetching/package.json | 2 +- examples/preact/rick-morty/package.json | 2 +- examples/preact/star-wars/package.json | 2 +- examples/react/auto-refetching/package.json | 2 +- .../package.json | 2 +- .../load-more-infinite-scroll/package.json | 2 +- examples/react/pagination/package.json | 2 +- examples/react/prefetching/package.json | 2 +- examples/react/react-router/package.json | 2 +- examples/react/rick-morty/package.json | 2 +- examples/react/star-wars/package.json | 2 +- examples/solid/auto-refetching/package.json | 2 +- .../solid/optimistic-updates/package.json | 2 +- examples/solid/pagination/package.json | 2 +- examples/solid/prefetching/package.json | 2 +- examples/solid/rick-morty/package.json | 2 +- examples/solid/solid-router/package.json | 2 +- .../solid/solid-start-streaming/package.json | 2 +- examples/solid/star-wars/package.json | 2 +- examples/svelte/auto-refetching/package.json | 2 +- examples/svelte/basic/package.json | 2 +- .../package.json | 2 +- .../load-more-infinite-scroll/package.json | 2 +- examples/svelte/offline/package.json | 2 +- .../svelte/optimistic-updates/package.json | 2 +- examples/svelte/pagination/package.json | 2 +- examples/svelte/playground/package.json | 2 +- examples/svelte/prefetching/package.json | 2 +- examples/svelte/rick-morty/package.json | 2 +- examples/svelte/ssr/package.json | 2 +- examples/svelte/star-wars/package.json | 2 +- examples/vue/auto-refetching/package.json | 2 +- .../package.json | 2 +- .../load-more-infinite-scroll/package.json | 2 +- examples/vue/offline/package.json | 2 +- examples/vue/optimistic-updates/package.json | 2 +- examples/vue/pagination/package.json | 2 +- examples/vue/prefetching/package.json | 2 +- examples/vue/rick-morty/package.json | 2 +- examples/vue/star-wars/package.json | 2 +- examples/vue/vue-router/package.json | 2 +- 51 files changed, 97 insertions(+), 97 deletions(-) diff --git a/docs/config.json b/docs/config.json index 329bd6f499e..5c2999b1ee5 100644 --- a/docs/config.json +++ b/docs/config.json @@ -6718,23 +6718,23 @@ "to": "framework/react/examples/basic-graphql-request" }, { - "label": "Auto Refetching / Polling / Realtime", + "label": "Auto Refetching / Polling / Realtime (Next.js)", "to": "framework/react/examples/auto-refetching" }, { - "label": "Optimistic Updates", + "label": "Optimistic Updates (Next.js)", "to": "framework/react/examples/nextjs-app-optimistic-updates" }, { - "label": "Pagination", + "label": "Pagination (Next.js)", "to": "framework/react/examples/pagination" }, { - "label": "Load-More & Infinite Scroll", + "label": "Load-More & Infinite Scroll (Next.js)", "to": "framework/react/examples/load-more-infinite-scroll" }, { - "label": "Infinite query with Max pages", + "label": "Infinite query with Max pages (Next.js)", "to": "framework/react/examples/infinite-query-with-max-pages" }, { @@ -6750,15 +6750,15 @@ "to": "framework/react/examples/playground" }, { - "label": "Prefetching", + "label": "Prefetching (Next.js)", "to": "framework/react/examples/prefetching" }, { - "label": "Star Wars", + "label": "Star Wars (React Router)", "to": "framework/react/examples/star-wars" }, { - "label": "Rick And Morty", + "label": "Rick And Morty (React Router)", "to": "framework/react/examples/rick-morty" }, { @@ -6859,11 +6859,11 @@ "to": "framework/solid/examples/devtools-panel" }, { - "label": "Star Wars", + "label": "Star Wars (Solid Router)", "to": "framework/solid/examples/star-wars" }, { - "label": "Rick And Morty", + "label": "Rick And Morty (Solid Router)", "to": "framework/solid/examples/rick-morty" }, { @@ -6879,19 +6879,19 @@ "to": "framework/solid/examples/batching" }, { - "label": "Auto Refetching / Polling / Realtime", + "label": "Auto Refetching / Polling / Realtime (SolidStart)", "to": "framework/solid/examples/auto-refetching" }, { - "label": "Optimistic Updates", + "label": "Optimistic Updates (SolidStart)", "to": "framework/solid/examples/optimistic-updates" }, { - "label": "Pagination", + "label": "Pagination (SolidStart)", "to": "framework/solid/examples/pagination" }, { - "label": "Prefetching", + "label": "Prefetching (SolidStart)", "to": "framework/solid/examples/prefetching" } ] @@ -6952,11 +6952,11 @@ "to": "framework/vue/examples/chat" }, { - "label": "Star Wars", + "label": "Star Wars (Vue Router)", "to": "framework/vue/examples/star-wars" }, { - "label": "Rick And Morty", + "label": "Rick And Morty (Vue Router)", "to": "framework/vue/examples/rick-morty" }, { @@ -6964,7 +6964,7 @@ "to": "framework/vue/examples/vue-router" }, { - "label": "Offline Queries and Mutations", + "label": "Offline Queries and Mutations (Vue Router)", "to": "framework/vue/examples/offline" }, { @@ -6976,27 +6976,27 @@ "to": "framework/vue/examples/batching" }, { - "label": "Auto Refetching / Polling / Realtime", + "label": "Auto Refetching / Polling / Realtime (Nuxt)", "to": "framework/vue/examples/auto-refetching" }, { - "label": "Optimistic Updates", + "label": "Optimistic Updates (Nuxt)", "to": "framework/vue/examples/optimistic-updates" }, { - "label": "Pagination", + "label": "Pagination (Nuxt)", "to": "framework/vue/examples/pagination" }, { - "label": "Load-More & Infinite Scroll", + "label": "Load-More & Infinite Scroll (Nuxt)", "to": "framework/vue/examples/load-more-infinite-scroll" }, { - "label": "Infinite query with Max pages", + "label": "Infinite query with Max pages (Nuxt)", "to": "framework/vue/examples/infinite-query-with-max-pages" }, { - "label": "Prefetching", + "label": "Prefetching (Nuxt)", "to": "framework/vue/examples/prefetching" } ] @@ -7009,31 +7009,31 @@ "to": "framework/svelte/examples/simple" }, { - "label": "Basic", + "label": "Basic (SvelteKit)", "to": "framework/svelte/examples/basic" }, { - "label": "Auto Refetching / Polling / Realtime", + "label": "Auto Refetching / Polling / Realtime (SvelteKit)", "to": "framework/svelte/examples/auto-refetching" }, { - "label": "SSR", + "label": "SSR (SvelteKit)", "to": "framework/svelte/examples/ssr" }, { - "label": "Optimistic Updates", + "label": "Optimistic Updates (SvelteKit)", "to": "framework/svelte/examples/optimistic-updates" }, { - "label": "Playground", + "label": "Playground (SvelteKit)", "to": "framework/svelte/examples/playground" }, { - "label": "Star Wars", + "label": "Star Wars (SvelteKit)", "to": "framework/svelte/examples/star-wars" }, { - "label": "Infinite Queries", + "label": "Infinite Queries (SvelteKit)", "to": "framework/svelte/examples/load-more-infinite-scroll" }, { @@ -7057,7 +7057,7 @@ "to": "framework/svelte/examples/shadow-dom" }, { - "label": "Rick And Morty", + "label": "Rick And Morty (SvelteKit)", "to": "framework/svelte/examples/rick-morty" }, { @@ -7065,7 +7065,7 @@ "to": "framework/svelte/examples/sveltekit" }, { - "label": "Offline Queries and Mutations", + "label": "Offline Queries and Mutations (SvelteKit)", "to": "framework/svelte/examples/offline" }, { @@ -7073,15 +7073,15 @@ "to": "framework/svelte/examples/batching" }, { - "label": "Pagination", + "label": "Pagination (SvelteKit)", "to": "framework/svelte/examples/pagination" }, { - "label": "Infinite query with Max pages", + "label": "Infinite query with Max pages (SvelteKit)", "to": "framework/svelte/examples/infinite-query-with-max-pages" }, { - "label": "Prefetching", + "label": "Prefetching (SvelteKit)", "to": "framework/svelte/examples/prefetching" } ] @@ -7126,11 +7126,11 @@ "to": "framework/lit/examples/chat" }, { - "label": "Star Wars", + "label": "Star Wars (@lit-labs/router)", "to": "framework/lit/examples/star-wars" }, { - "label": "Rick And Morty", + "label": "Rick And Morty (@lit-labs/router)", "to": "framework/lit/examples/rick-morty" }, { @@ -7138,7 +7138,7 @@ "to": "framework/lit/examples/batching" }, { - "label": "Offline Queries and Mutations", + "label": "Offline Queries and Mutations (@lit-labs/router)", "to": "framework/lit/examples/offline" }, { @@ -7150,7 +7150,7 @@ "to": "framework/lit/examples/optimistic-updates" }, { - "label": "Load-More & Infinite Scroll", + "label": "Load-More & Infinite Scroll (@lit-labs/router)", "to": "framework/lit/examples/load-more-infinite-scroll" }, { @@ -7158,7 +7158,7 @@ "to": "framework/lit/examples/infinite-query-with-max-pages" }, { - "label": "Prefetching", + "label": "Prefetching (@lit-labs/router)", "to": "framework/lit/examples/prefetching" } ] @@ -7199,11 +7199,11 @@ "to": "framework/angular/examples/rxjs" }, { - "label": "Query options from a service", + "label": "Query options from a service (Angular Router)", "to": "framework/angular/examples/query-options-from-a-service" }, { - "label": "Devtools embedded panel", + "label": "Devtools embedded panel (Angular Router)", "to": "framework/angular/examples/devtools-panel" } ] @@ -7248,15 +7248,15 @@ "to": "framework/preact/examples/devtools-panel" }, { - "label": "Star Wars", + "label": "Star Wars (preact-iso)", "to": "framework/preact/examples/star-wars" }, { - "label": "Rick And Morty", + "label": "Rick And Morty (preact-iso)", "to": "framework/preact/examples/rick-morty" }, { - "label": "Offline Queries and Mutations", + "label": "Offline Queries and Mutations (preact-iso)", "to": "framework/preact/examples/offline" }, { @@ -7280,7 +7280,7 @@ "to": "framework/preact/examples/pagination" }, { - "label": "Load-More & Infinite Scroll", + "label": "Load-More & Infinite Scroll (preact-iso)", "to": "framework/preact/examples/load-more-infinite-scroll" }, { @@ -7288,7 +7288,7 @@ "to": "framework/preact/examples/infinite-query-with-max-pages" }, { - "label": "Prefetching", + "label": "Prefetching (preact-iso)", "to": "framework/preact/examples/prefetching" }, { diff --git a/examples/angular/devtools-panel/package.json b/examples/angular/devtools-panel/package.json index b1e34aa78da..a4953724f85 100644 --- a/examples/angular/devtools-panel/package.json +++ b/examples/angular/devtools-panel/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-angular-devtools-panel", + "name": "@tanstack/query-example-angular-devtools-panel-angular-router", "type": "module", "scripts": { "ng": "ng", diff --git a/examples/angular/query-options-from-a-service/package.json b/examples/angular/query-options-from-a-service/package.json index 65e00fe06de..048f2dc211c 100644 --- a/examples/angular/query-options-from-a-service/package.json +++ b/examples/angular/query-options-from-a-service/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-angular-query-options-from-a-service", + "name": "@tanstack/query-example-angular-query-options-from-a-service-angular-router", "type": "module", "scripts": { "ng": "ng", diff --git a/examples/lit/load-more-infinite-scroll/package.json b/examples/lit/load-more-infinite-scroll/package.json index 7b3392f7aae..eb3dddae8fa 100644 --- a/examples/lit/load-more-infinite-scroll/package.json +++ b/examples/lit/load-more-infinite-scroll/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-lit-load-more-infinite-scroll", + "name": "@tanstack/query-example-lit-load-more-infinite-scroll-lit-labs-router", "private": true, "type": "module", "scripts": { diff --git a/examples/lit/offline/package.json b/examples/lit/offline/package.json index 258571a5896..6c158d6ae46 100644 --- a/examples/lit/offline/package.json +++ b/examples/lit/offline/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-lit-offline", + "name": "@tanstack/query-example-lit-offline-lit-labs-router", "private": true, "type": "module", "scripts": { diff --git a/examples/lit/prefetching/package.json b/examples/lit/prefetching/package.json index 35af19cfe0a..d4cf0784244 100644 --- a/examples/lit/prefetching/package.json +++ b/examples/lit/prefetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-lit-prefetching", + "name": "@tanstack/query-example-lit-prefetching-lit-labs-router", "private": true, "type": "module", "scripts": { diff --git a/examples/lit/rick-morty/package.json b/examples/lit/rick-morty/package.json index 5e1c7c11afa..a0624414c7e 100644 --- a/examples/lit/rick-morty/package.json +++ b/examples/lit/rick-morty/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-lit-rick-morty", + "name": "@tanstack/query-example-lit-rick-morty-lit-labs-router", "private": true, "type": "module", "scripts": { diff --git a/examples/lit/star-wars/package.json b/examples/lit/star-wars/package.json index 261339936c5..583d7b03bba 100644 --- a/examples/lit/star-wars/package.json +++ b/examples/lit/star-wars/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-lit-star-wars", + "name": "@tanstack/query-example-lit-star-wars-lit-labs-router", "private": true, "type": "module", "scripts": { diff --git a/examples/preact/load-more-infinite-scroll/package.json b/examples/preact/load-more-infinite-scroll/package.json index a38a850ce45..dabbe558f00 100644 --- a/examples/preact/load-more-infinite-scroll/package.json +++ b/examples/preact/load-more-infinite-scroll/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-preact-load-more-infinite-scroll", + "name": "@tanstack/query-example-preact-load-more-infinite-scroll-preact-iso", "private": true, "type": "module", "scripts": { diff --git a/examples/preact/offline/package.json b/examples/preact/offline/package.json index 5fdea1ed075..0bdda03a25b 100644 --- a/examples/preact/offline/package.json +++ b/examples/preact/offline/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-preact-offline", + "name": "@tanstack/query-example-preact-offline-preact-iso", "private": true, "type": "module", "scripts": { diff --git a/examples/preact/prefetching/package.json b/examples/preact/prefetching/package.json index 4b5873e2d81..f05fad84c46 100644 --- a/examples/preact/prefetching/package.json +++ b/examples/preact/prefetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-preact-prefetching", + "name": "@tanstack/query-example-preact-prefetching-preact-iso", "private": true, "type": "module", "scripts": { diff --git a/examples/preact/rick-morty/package.json b/examples/preact/rick-morty/package.json index 93e099d431a..f3158b5279d 100644 --- a/examples/preact/rick-morty/package.json +++ b/examples/preact/rick-morty/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-preact-rick-morty", + "name": "@tanstack/query-example-preact-rick-morty-preact-iso", "private": true, "type": "module", "scripts": { diff --git a/examples/preact/star-wars/package.json b/examples/preact/star-wars/package.json index f6933ea338a..a0ca72be772 100644 --- a/examples/preact/star-wars/package.json +++ b/examples/preact/star-wars/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-preact-star-wars", + "name": "@tanstack/query-example-preact-star-wars-preact-iso", "private": true, "type": "module", "scripts": { diff --git a/examples/react/auto-refetching/package.json b/examples/react/auto-refetching/package.json index 13bcbe299ec..a82a7965f29 100644 --- a/examples/react/auto-refetching/package.json +++ b/examples/react/auto-refetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-auto-refetching", + "name": "@tanstack/query-example-react-auto-refetching-nextjs", "private": true, "type": "module", "scripts": { diff --git a/examples/react/infinite-query-with-max-pages/package.json b/examples/react/infinite-query-with-max-pages/package.json index f155ff91df7..cae6b1a655a 100644 --- a/examples/react/infinite-query-with-max-pages/package.json +++ b/examples/react/infinite-query-with-max-pages/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-infinite-query-with-max-pages", + "name": "@tanstack/query-example-react-infinite-query-with-max-pages-nextjs", "private": true, "type": "module", "scripts": { diff --git a/examples/react/load-more-infinite-scroll/package.json b/examples/react/load-more-infinite-scroll/package.json index 6e5b902b61d..9167dd8bf7e 100644 --- a/examples/react/load-more-infinite-scroll/package.json +++ b/examples/react/load-more-infinite-scroll/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-load-more-infinite-scroll", + "name": "@tanstack/query-example-react-load-more-infinite-scroll-nextjs", "private": true, "type": "module", "scripts": { diff --git a/examples/react/pagination/package.json b/examples/react/pagination/package.json index 6d4705754b7..e1ad9ab8ef0 100644 --- a/examples/react/pagination/package.json +++ b/examples/react/pagination/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-pagination", + "name": "@tanstack/query-example-react-pagination-nextjs", "private": true, "type": "module", "scripts": { diff --git a/examples/react/prefetching/package.json b/examples/react/prefetching/package.json index 60a217c872e..1077a2b52b8 100644 --- a/examples/react/prefetching/package.json +++ b/examples/react/prefetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-prefetching", + "name": "@tanstack/query-example-react-prefetching-nextjs", "private": true, "type": "module", "scripts": { diff --git a/examples/react/react-router/package.json b/examples/react/react-router/package.json index c02a276c8fe..be01aae2636 100644 --- a/examples/react/react-router/package.json +++ b/examples/react/react-router/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-router", + "name": "@tanstack/query-example-react-react-router", "private": true, "type": "module", "scripts": { diff --git a/examples/react/rick-morty/package.json b/examples/react/rick-morty/package.json index 30547421527..5df8d11ad97 100644 --- a/examples/react/rick-morty/package.json +++ b/examples/react/rick-morty/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-rick-morty", + "name": "@tanstack/query-example-react-rick-morty-react-router", "private": true, "type": "module", "scripts": { diff --git a/examples/react/star-wars/package.json b/examples/react/star-wars/package.json index 12a634ee343..4e060e04f1d 100644 --- a/examples/react/star-wars/package.json +++ b/examples/react/star-wars/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-star-wars", + "name": "@tanstack/query-example-react-star-wars-react-router", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/auto-refetching/package.json b/examples/solid/auto-refetching/package.json index 0c1156dda65..42aea55d302 100644 --- a/examples/solid/auto-refetching/package.json +++ b/examples/solid/auto-refetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-auto-refetching", + "name": "@tanstack/query-example-solid-auto-refetching-solid-start", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/optimistic-updates/package.json b/examples/solid/optimistic-updates/package.json index 8fdf480e26a..5c0f0e929bb 100644 --- a/examples/solid/optimistic-updates/package.json +++ b/examples/solid/optimistic-updates/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-optimistic-updates", + "name": "@tanstack/query-example-solid-optimistic-updates-solid-start", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/pagination/package.json b/examples/solid/pagination/package.json index d73e63e848c..04cb947c6e2 100644 --- a/examples/solid/pagination/package.json +++ b/examples/solid/pagination/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-pagination", + "name": "@tanstack/query-example-solid-pagination-solid-start", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/prefetching/package.json b/examples/solid/prefetching/package.json index 961b0ba3acd..81cc7c4bfdf 100644 --- a/examples/solid/prefetching/package.json +++ b/examples/solid/prefetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-prefetching", + "name": "@tanstack/query-example-solid-prefetching-solid-start", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/rick-morty/package.json b/examples/solid/rick-morty/package.json index d483cd208d7..7584e8d9b24 100644 --- a/examples/solid/rick-morty/package.json +++ b/examples/solid/rick-morty/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-rick-morty", + "name": "@tanstack/query-example-solid-rick-morty-solid-router", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/solid-router/package.json b/examples/solid/solid-router/package.json index c00a1e3e803..1db12666dfe 100644 --- a/examples/solid/solid-router/package.json +++ b/examples/solid/solid-router/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-router", + "name": "@tanstack/query-example-solid-solid-router", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/solid-start-streaming/package.json b/examples/solid/solid-start-streaming/package.json index 316148807c0..3c1f3972813 100644 --- a/examples/solid/solid-start-streaming/package.json +++ b/examples/solid/solid-start-streaming/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-start-streaming", + "name": "@tanstack/query-example-solid-solid-start-streaming", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/star-wars/package.json b/examples/solid/star-wars/package.json index d6ec228e989..518411f8b1f 100644 --- a/examples/solid/star-wars/package.json +++ b/examples/solid/star-wars/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-star-wars", + "name": "@tanstack/query-example-solid-star-wars-solid-router", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/auto-refetching/package.json b/examples/svelte/auto-refetching/package.json index da72d3600d0..79f6eca8a4f 100644 --- a/examples/svelte/auto-refetching/package.json +++ b/examples/svelte/auto-refetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-auto-refetching", + "name": "@tanstack/query-example-svelte-auto-refetching-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/basic/package.json b/examples/svelte/basic/package.json index 1813db46f78..52b85a68315 100644 --- a/examples/svelte/basic/package.json +++ b/examples/svelte/basic/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-basic", + "name": "@tanstack/query-example-svelte-basic-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/infinite-query-with-max-pages/package.json b/examples/svelte/infinite-query-with-max-pages/package.json index 8bc4996775d..1f7289a5ece 100644 --- a/examples/svelte/infinite-query-with-max-pages/package.json +++ b/examples/svelte/infinite-query-with-max-pages/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-infinite-query-with-max-pages", + "name": "@tanstack/query-example-svelte-infinite-query-with-max-pages-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/load-more-infinite-scroll/package.json b/examples/svelte/load-more-infinite-scroll/package.json index a420f2b8b6f..55ae703d7f3 100644 --- a/examples/svelte/load-more-infinite-scroll/package.json +++ b/examples/svelte/load-more-infinite-scroll/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-load-more-infinite-scroll", + "name": "@tanstack/query-example-svelte-load-more-infinite-scroll-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/offline/package.json b/examples/svelte/offline/package.json index fa12703aa43..be76dd1e85b 100644 --- a/examples/svelte/offline/package.json +++ b/examples/svelte/offline/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-offline", + "name": "@tanstack/query-example-svelte-offline-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/optimistic-updates/package.json b/examples/svelte/optimistic-updates/package.json index f9dfd45bbb0..b0454cb9067 100644 --- a/examples/svelte/optimistic-updates/package.json +++ b/examples/svelte/optimistic-updates/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-optimistic-updates", + "name": "@tanstack/query-example-svelte-optimistic-updates-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/pagination/package.json b/examples/svelte/pagination/package.json index 830a9e3ce69..13eca13b624 100644 --- a/examples/svelte/pagination/package.json +++ b/examples/svelte/pagination/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-pagination", + "name": "@tanstack/query-example-svelte-pagination-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/playground/package.json b/examples/svelte/playground/package.json index d133f54fa34..1fe370ae2bf 100644 --- a/examples/svelte/playground/package.json +++ b/examples/svelte/playground/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-playground", + "name": "@tanstack/query-example-svelte-playground-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/prefetching/package.json b/examples/svelte/prefetching/package.json index 62312c5fe89..d4763fb2dde 100644 --- a/examples/svelte/prefetching/package.json +++ b/examples/svelte/prefetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-prefetching", + "name": "@tanstack/query-example-svelte-prefetching-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/rick-morty/package.json b/examples/svelte/rick-morty/package.json index 51b3c5ead90..ca403ae1c9b 100644 --- a/examples/svelte/rick-morty/package.json +++ b/examples/svelte/rick-morty/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-rick-morty", + "name": "@tanstack/query-example-svelte-rick-morty-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/ssr/package.json b/examples/svelte/ssr/package.json index f1f55c1118e..dfd87eceec6 100644 --- a/examples/svelte/ssr/package.json +++ b/examples/svelte/ssr/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-ssr", + "name": "@tanstack/query-example-svelte-ssr-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/svelte/star-wars/package.json b/examples/svelte/star-wars/package.json index 7a32bf342af..68dabea317c 100644 --- a/examples/svelte/star-wars/package.json +++ b/examples/svelte/star-wars/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-svelte-star-wars", + "name": "@tanstack/query-example-svelte-star-wars-sveltekit", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/auto-refetching/package.json b/examples/vue/auto-refetching/package.json index 1e022cedd06..5ad110521d1 100644 --- a/examples/vue/auto-refetching/package.json +++ b/examples/vue/auto-refetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-auto-refetching", + "name": "@tanstack/query-example-vue-auto-refetching-nuxt", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/infinite-query-with-max-pages/package.json b/examples/vue/infinite-query-with-max-pages/package.json index 55183d7922d..9c603242752 100644 --- a/examples/vue/infinite-query-with-max-pages/package.json +++ b/examples/vue/infinite-query-with-max-pages/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-infinite-query-with-max-pages", + "name": "@tanstack/query-example-vue-infinite-query-with-max-pages-nuxt", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/load-more-infinite-scroll/package.json b/examples/vue/load-more-infinite-scroll/package.json index d88f190696c..4767dc462d5 100644 --- a/examples/vue/load-more-infinite-scroll/package.json +++ b/examples/vue/load-more-infinite-scroll/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-load-more-infinite-scroll", + "name": "@tanstack/query-example-vue-load-more-infinite-scroll-nuxt", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/offline/package.json b/examples/vue/offline/package.json index 99eaf7af14c..a67e3b74b62 100644 --- a/examples/vue/offline/package.json +++ b/examples/vue/offline/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-offline", + "name": "@tanstack/query-example-vue-offline-vue-router", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/optimistic-updates/package.json b/examples/vue/optimistic-updates/package.json index 526b4aaef7a..c2f84529d15 100644 --- a/examples/vue/optimistic-updates/package.json +++ b/examples/vue/optimistic-updates/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-optimistic-updates", + "name": "@tanstack/query-example-vue-optimistic-updates-nuxt", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/pagination/package.json b/examples/vue/pagination/package.json index d2a743212f3..d4320b27719 100644 --- a/examples/vue/pagination/package.json +++ b/examples/vue/pagination/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-pagination", + "name": "@tanstack/query-example-vue-pagination-nuxt", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/prefetching/package.json b/examples/vue/prefetching/package.json index 97b19f0dc6e..e2ebe21105f 100644 --- a/examples/vue/prefetching/package.json +++ b/examples/vue/prefetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-prefetching", + "name": "@tanstack/query-example-vue-prefetching-nuxt", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/rick-morty/package.json b/examples/vue/rick-morty/package.json index 7f517702450..415f6c229a5 100644 --- a/examples/vue/rick-morty/package.json +++ b/examples/vue/rick-morty/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-rick-morty", + "name": "@tanstack/query-example-vue-rick-morty-vue-router", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/star-wars/package.json b/examples/vue/star-wars/package.json index 6bcee1f071a..3638f1b4f08 100644 --- a/examples/vue/star-wars/package.json +++ b/examples/vue/star-wars/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-star-wars", + "name": "@tanstack/query-example-vue-star-wars-vue-router", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/vue-router/package.json b/examples/vue/vue-router/package.json index c8d00830293..c24ae7b2407 100644 --- a/examples/vue/vue-router/package.json +++ b/examples/vue/vue-router/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-router", + "name": "@tanstack/query-example-vue-vue-router", "private": true, "type": "module", "scripts": { From aa68bd1ce63543e621494acf5de647e02662c3f9 Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Fri, 30 Oct 2026 01:33:12 +0900 Subject: [PATCH 2/2] docs(examples): distinguish Next.js App/Pages Router and Nuxt/SolidStart major versions in example labels and names --- docs/config.json | 34 +++++++++---------- examples/react/auto-refetching/package.json | 2 +- .../package.json | 2 +- .../load-more-infinite-scroll/package.json | 2 +- examples/react/pagination/package.json | 2 +- examples/react/prefetching/package.json | 2 +- examples/solid/auto-refetching/package.json | 2 +- .../solid/optimistic-updates/package.json | 2 +- examples/solid/pagination/package.json | 2 +- examples/solid/prefetching/package.json | 2 +- examples/vue/auto-refetching/package.json | 2 +- .../package.json | 2 +- .../load-more-infinite-scroll/package.json | 2 +- examples/vue/optimistic-updates/package.json | 2 +- examples/vue/pagination/package.json | 2 +- examples/vue/prefetching/package.json | 2 +- 16 files changed, 32 insertions(+), 32 deletions(-) diff --git a/docs/config.json b/docs/config.json index 5c2999b1ee5..07b9a6d1dc8 100644 --- a/docs/config.json +++ b/docs/config.json @@ -6718,23 +6718,23 @@ "to": "framework/react/examples/basic-graphql-request" }, { - "label": "Auto Refetching / Polling / Realtime (Next.js)", + "label": "Auto Refetching / Polling / Realtime (Next.js Pages Router)", "to": "framework/react/examples/auto-refetching" }, { - "label": "Optimistic Updates (Next.js)", + "label": "Optimistic Updates (Next.js App Router)", "to": "framework/react/examples/nextjs-app-optimistic-updates" }, { - "label": "Pagination (Next.js)", + "label": "Pagination (Next.js Pages Router)", "to": "framework/react/examples/pagination" }, { - "label": "Load-More & Infinite Scroll (Next.js)", + "label": "Load-More & Infinite Scroll (Next.js Pages Router)", "to": "framework/react/examples/load-more-infinite-scroll" }, { - "label": "Infinite query with Max pages (Next.js)", + "label": "Infinite query with Max pages (Next.js Pages Router)", "to": "framework/react/examples/infinite-query-with-max-pages" }, { @@ -6750,7 +6750,7 @@ "to": "framework/react/examples/playground" }, { - "label": "Prefetching (Next.js)", + "label": "Prefetching (Next.js Pages Router)", "to": "framework/react/examples/prefetching" }, { @@ -6827,7 +6827,7 @@ "to": "framework/solid/examples/default-query-function" }, { - "label": "Solid Start", + "label": "SolidStart 1", "to": "framework/solid/examples/solid-start-streaming" }, { @@ -6879,19 +6879,19 @@ "to": "framework/solid/examples/batching" }, { - "label": "Auto Refetching / Polling / Realtime (SolidStart)", + "label": "Auto Refetching / Polling / Realtime (SolidStart 2)", "to": "framework/solid/examples/auto-refetching" }, { - "label": "Optimistic Updates (SolidStart)", + "label": "Optimistic Updates (SolidStart 2)", "to": "framework/solid/examples/optimistic-updates" }, { - "label": "Pagination (SolidStart)", + "label": "Pagination (SolidStart 2)", "to": "framework/solid/examples/pagination" }, { - "label": "Prefetching (SolidStart)", + "label": "Prefetching (SolidStart 2)", "to": "framework/solid/examples/prefetching" } ] @@ -6976,27 +6976,27 @@ "to": "framework/vue/examples/batching" }, { - "label": "Auto Refetching / Polling / Realtime (Nuxt)", + "label": "Auto Refetching / Polling / Realtime (Nuxt 4)", "to": "framework/vue/examples/auto-refetching" }, { - "label": "Optimistic Updates (Nuxt)", + "label": "Optimistic Updates (Nuxt 4)", "to": "framework/vue/examples/optimistic-updates" }, { - "label": "Pagination (Nuxt)", + "label": "Pagination (Nuxt 4)", "to": "framework/vue/examples/pagination" }, { - "label": "Load-More & Infinite Scroll (Nuxt)", + "label": "Load-More & Infinite Scroll (Nuxt 4)", "to": "framework/vue/examples/load-more-infinite-scroll" }, { - "label": "Infinite query with Max pages (Nuxt)", + "label": "Infinite query with Max pages (Nuxt 4)", "to": "framework/vue/examples/infinite-query-with-max-pages" }, { - "label": "Prefetching (Nuxt)", + "label": "Prefetching (Nuxt 4)", "to": "framework/vue/examples/prefetching" } ] diff --git a/examples/react/auto-refetching/package.json b/examples/react/auto-refetching/package.json index a82a7965f29..941253086e7 100644 --- a/examples/react/auto-refetching/package.json +++ b/examples/react/auto-refetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-auto-refetching-nextjs", + "name": "@tanstack/query-example-react-auto-refetching-nextjs-pages-router", "private": true, "type": "module", "scripts": { diff --git a/examples/react/infinite-query-with-max-pages/package.json b/examples/react/infinite-query-with-max-pages/package.json index cae6b1a655a..e5d2bf10095 100644 --- a/examples/react/infinite-query-with-max-pages/package.json +++ b/examples/react/infinite-query-with-max-pages/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-infinite-query-with-max-pages-nextjs", + "name": "@tanstack/query-example-react-infinite-query-with-max-pages-nextjs-pages-router", "private": true, "type": "module", "scripts": { diff --git a/examples/react/load-more-infinite-scroll/package.json b/examples/react/load-more-infinite-scroll/package.json index 9167dd8bf7e..94a7988ea53 100644 --- a/examples/react/load-more-infinite-scroll/package.json +++ b/examples/react/load-more-infinite-scroll/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-load-more-infinite-scroll-nextjs", + "name": "@tanstack/query-example-react-load-more-infinite-scroll-nextjs-pages-router", "private": true, "type": "module", "scripts": { diff --git a/examples/react/pagination/package.json b/examples/react/pagination/package.json index e1ad9ab8ef0..a6713c2cd61 100644 --- a/examples/react/pagination/package.json +++ b/examples/react/pagination/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-pagination-nextjs", + "name": "@tanstack/query-example-react-pagination-nextjs-pages-router", "private": true, "type": "module", "scripts": { diff --git a/examples/react/prefetching/package.json b/examples/react/prefetching/package.json index 1077a2b52b8..9e21271b4da 100644 --- a/examples/react/prefetching/package.json +++ b/examples/react/prefetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-react-prefetching-nextjs", + "name": "@tanstack/query-example-react-prefetching-nextjs-pages-router", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/auto-refetching/package.json b/examples/solid/auto-refetching/package.json index 42aea55d302..b03623d13be 100644 --- a/examples/solid/auto-refetching/package.json +++ b/examples/solid/auto-refetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-auto-refetching-solid-start", + "name": "@tanstack/query-example-solid-auto-refetching-solid-start2", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/optimistic-updates/package.json b/examples/solid/optimistic-updates/package.json index 5c0f0e929bb..0144ddef016 100644 --- a/examples/solid/optimistic-updates/package.json +++ b/examples/solid/optimistic-updates/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-optimistic-updates-solid-start", + "name": "@tanstack/query-example-solid-optimistic-updates-solid-start2", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/pagination/package.json b/examples/solid/pagination/package.json index 04cb947c6e2..efaccb66386 100644 --- a/examples/solid/pagination/package.json +++ b/examples/solid/pagination/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-pagination-solid-start", + "name": "@tanstack/query-example-solid-pagination-solid-start2", "private": true, "type": "module", "scripts": { diff --git a/examples/solid/prefetching/package.json b/examples/solid/prefetching/package.json index 81cc7c4bfdf..8d7cdddc71c 100644 --- a/examples/solid/prefetching/package.json +++ b/examples/solid/prefetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-solid-prefetching-solid-start", + "name": "@tanstack/query-example-solid-prefetching-solid-start2", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/auto-refetching/package.json b/examples/vue/auto-refetching/package.json index 5ad110521d1..5922ec429ee 100644 --- a/examples/vue/auto-refetching/package.json +++ b/examples/vue/auto-refetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-auto-refetching-nuxt", + "name": "@tanstack/query-example-vue-auto-refetching-nuxt4", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/infinite-query-with-max-pages/package.json b/examples/vue/infinite-query-with-max-pages/package.json index 9c603242752..e6eaf8e3048 100644 --- a/examples/vue/infinite-query-with-max-pages/package.json +++ b/examples/vue/infinite-query-with-max-pages/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-infinite-query-with-max-pages-nuxt", + "name": "@tanstack/query-example-vue-infinite-query-with-max-pages-nuxt4", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/load-more-infinite-scroll/package.json b/examples/vue/load-more-infinite-scroll/package.json index 4767dc462d5..6ac6f6eebcc 100644 --- a/examples/vue/load-more-infinite-scroll/package.json +++ b/examples/vue/load-more-infinite-scroll/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-load-more-infinite-scroll-nuxt", + "name": "@tanstack/query-example-vue-load-more-infinite-scroll-nuxt4", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/optimistic-updates/package.json b/examples/vue/optimistic-updates/package.json index c2f84529d15..6611462af98 100644 --- a/examples/vue/optimistic-updates/package.json +++ b/examples/vue/optimistic-updates/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-optimistic-updates-nuxt", + "name": "@tanstack/query-example-vue-optimistic-updates-nuxt4", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/pagination/package.json b/examples/vue/pagination/package.json index d4320b27719..f4fd19fa2a6 100644 --- a/examples/vue/pagination/package.json +++ b/examples/vue/pagination/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-pagination-nuxt", + "name": "@tanstack/query-example-vue-pagination-nuxt4", "private": true, "type": "module", "scripts": { diff --git a/examples/vue/prefetching/package.json b/examples/vue/prefetching/package.json index e2ebe21105f..81d235c02ff 100644 --- a/examples/vue/prefetching/package.json +++ b/examples/vue/prefetching/package.json @@ -1,5 +1,5 @@ { - "name": "@tanstack/query-example-vue-prefetching-nuxt", + "name": "@tanstack/query-example-vue-prefetching-nuxt4", "private": true, "type": "module", "scripts": {