From bc64ac971e3214e78a9a63393afd661ebd548506 Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Tue, 20 Oct 2026 20:17:12 +0900 Subject: [PATCH 1/2] docs(lit): remove '@tanstack/query-core' from the install commands since 'lit-query' already depends on it --- docs/framework/lit/installation.md | 12 +++++------- packages/lit-query/README.md | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/framework/lit/installation.md b/docs/framework/lit/installation.md index 9de2796bdf1..e412e5e031d 100644 --- a/docs/framework/lit/installation.md +++ b/docs/framework/lit/installation.md @@ -5,32 +5,30 @@ title: Installation > IMPORTANT: The Lit adapter is currently experimental and v0.1. Pin exact versions if you need extra release stability while the API is early. -Install Lit Query with Lit and TanStack Query Core: +Install Lit Query with Lit: ```sh -npm i @tanstack/lit-query @tanstack/query-core lit +npm i @tanstack/lit-query lit ``` or ```sh -pnpm add @tanstack/lit-query @tanstack/query-core lit +pnpm add @tanstack/lit-query lit ``` or ```sh -yarn add @tanstack/lit-query @tanstack/query-core lit +yarn add @tanstack/lit-query lit ``` or ```sh -bun add @tanstack/lit-query @tanstack/query-core lit +bun add @tanstack/lit-query lit ``` -`@tanstack/query-core` is a peer dependency of `@tanstack/lit-query`. Even though the Lit docs import user-facing APIs from `@tanstack/lit-query`, your app should install `@tanstack/query-core` explicitly. - ## Requirements Lit Query is intended for Lit 2.8 and newer, including Lit 3. It uses Lit reactive controllers and Lit context, so query consumers should be `ReactiveControllerHost` instances such as `LitElement`. diff --git a/packages/lit-query/README.md b/packages/lit-query/README.md index 49e903ab015..b2d97e11e00 100644 --- a/packages/lit-query/README.md +++ b/packages/lit-query/README.md @@ -25,7 +25,7 @@ it in production while the API is early. ## Install ```bash -npm install @tanstack/lit-query @tanstack/query-core lit +npm install @tanstack/lit-query lit ``` For local development in this repository: From e28d15174f8eab7b185ae404b1e9dcee8d6cea91 Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Tue, 20 Oct 2026 20:39:21 +0900 Subject: [PATCH 2/2] docs(lit): remove 'lit' from the install commands since apps using Lit Query already have it --- docs/framework/lit/installation.md | 10 +++++----- packages/lit-query/README.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/framework/lit/installation.md b/docs/framework/lit/installation.md index e412e5e031d..2e7aa02e46b 100644 --- a/docs/framework/lit/installation.md +++ b/docs/framework/lit/installation.md @@ -5,28 +5,28 @@ title: Installation > IMPORTANT: The Lit adapter is currently experimental and v0.1. Pin exact versions if you need extra release stability while the API is early. -Install Lit Query with Lit: +Install Lit Query: ```sh -npm i @tanstack/lit-query lit +npm i @tanstack/lit-query ``` or ```sh -pnpm add @tanstack/lit-query lit +pnpm add @tanstack/lit-query ``` or ```sh -yarn add @tanstack/lit-query lit +yarn add @tanstack/lit-query ``` or ```sh -bun add @tanstack/lit-query lit +bun add @tanstack/lit-query ``` ## Requirements diff --git a/packages/lit-query/README.md b/packages/lit-query/README.md index b2d97e11e00..b6db643c351 100644 --- a/packages/lit-query/README.md +++ b/packages/lit-query/README.md @@ -25,7 +25,7 @@ it in production while the API is early. ## Install ```bash -npm install @tanstack/lit-query lit +npm install @tanstack/lit-query ``` For local development in this repository: