Skip to content

Commit

Permalink
docs: divided installation scripts (#7881)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay-Karia authored Aug 19, 2024
1 parent 59a6d3d commit 3292791
Show file tree
Hide file tree
Showing 12 changed files with 195 additions and 39 deletions.
18 changes: 15 additions & 3 deletions docs/eslint/eslint-plugin-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,23 @@ The plugin is a separate package that you need to install:

```bash
$ npm i -D @tanstack/eslint-plugin-query
# or
```

or

```bash
$ pnpm add -D @tanstack/eslint-plugin-query
# or
```

or

```bash
$ yarn add -D @tanstack/eslint-plugin-query
# or
```

or

```bash
$ bun add -D @tanstack/eslint-plugin-query
```

Expand Down
18 changes: 15 additions & 3 deletions docs/framework/angular/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,23 @@ The devtools are a separate package that you need to install:

```bash
$ npm i @tanstack/angular-query-devtools-experimental
# or
```

or

```bash
$ pnpm add @tanstack/angular-query-devtools-experimental
# or
```

or

```bash
$ yarn add @tanstack/angular-query-devtools-experimental
# or
```

or

```bash
$ bun add @tanstack/angular-query-devtools-experimental
```

Expand Down
18 changes: 15 additions & 3 deletions docs/framework/angular/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,23 @@ _Angular Query is compatible with Angular v16 and higher_

```bash
npm i @tanstack/angular-query-experimental
# or
```

or

```bash
pnpm add @tanstack/angular-query-experimental
# or
```

or

```bash
yarn add @tanstack/angular-query-experimental
# or
```

or

```bash
bun add @tanstack/angular-query-experimental
```

Expand Down
18 changes: 15 additions & 3 deletions docs/framework/react/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,23 @@ The devtools are a separate package that you need to install:

```bash
$ npm i @tanstack/react-query-devtools
# or
```

or

```bash
$ pnpm add @tanstack/react-query-devtools
# or
```

or

```bash
$ yarn add @tanstack/react-query-devtools
# or
```

or

```bash
$ bun add @tanstack/react-query-devtools
```

Expand Down
36 changes: 30 additions & 6 deletions docs/framework/react/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,23 @@ or a good ol' `<script>` via

```bash
npm i @tanstack/react-query
# or
```

or

```bash
pnpm add @tanstack/react-query
# or
```

or

```bash
yarn add @tanstack/react-query
# or
```

or

```bash
bun add @tanstack/react-query
```

Expand Down Expand Up @@ -58,10 +70,22 @@ It is recommended to also use our [ESLint Plugin Query](../../../eslint/eslint-p

```bash
npm i -D @tanstack/eslint-plugin-query
# or
```

or

```bash
pnpm add -D @tanstack/eslint-plugin-query
# or
```

or

```bash
yarn add -D @tanstack/eslint-plugin-query
# or
```

or

```bash
bun add -D @tanstack/eslint-plugin-query
```
18 changes: 15 additions & 3 deletions docs/framework/solid/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,23 @@ The devtools are a separate package that you need to install:

```bash
$ npm i @tanstack/solid-query-devtools
# or
```

or

```bash
$ pnpm add @tanstack/solid-query-devtools
# or
```

or

```bash
$ yarn add @tanstack/solid-query-devtools
# or
```

or

```bash
$ bun add @tanstack/solid-query-devtools
```

Expand Down
18 changes: 15 additions & 3 deletions docs/framework/solid/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,23 @@ or a good ol' `<script>` via

```bash
npm i @tanstack/solid-query
# or
```

or

```bash
pnpm add @tanstack/solid-query
# or
```

or

```bash
yarn add @tanstack/solid-query
# or
```

or

```bash
bun add @tanstack/solid-query
```

Expand Down
18 changes: 15 additions & 3 deletions docs/framework/svelte/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,23 @@ You can install Svelte Query via [NPM](https://npmjs.com).

```bash
npm i @tanstack/svelte-query
# or
```

or

```bash
pnpm add @tanstack/svelte-query
# or
```

or

```bash
yarn add @tanstack/svelte-query
# or
```

or

```bash
bun add @tanstack/svelte-query
```

Expand Down
18 changes: 15 additions & 3 deletions docs/framework/vue/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,23 @@ The devtools component is a separate package that you need to install:

```bash
$ npm i @tanstack/vue-query-devtools
# or
```

or

```bash
$ pnpm add @tanstack/vue-query-devtools
# or
```

or

```bash
$ yarn add @tanstack/vue-query-devtools
# or
```

or

```bash
$ bun add @tanstack/vue-query-devtools
```

Expand Down
18 changes: 15 additions & 3 deletions docs/framework/vue/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,23 @@ You can install Vue Query via [NPM](https://npmjs.com).

```bash
npm i @tanstack/vue-query
# or
```

or

```bash
pnpm add @tanstack/vue-query
# or
```

or

```bash
yarn add @tanstack/vue-query
# or
```

or

```bash
bun add @tanstack/vue-query
```

Expand Down
18 changes: 15 additions & 3 deletions packages/angular-query-experimental/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,23 @@ Visit https://tanstack.com/query/latest/docs/framework/angular/overview

```bash
$ npm i @tanstack/angular-query-experimental
# or
```

or

```bash
$ pnpm add @tanstack/angular-query-experimental
# or
```

or

```bash
$ yarn add @tanstack/angular-query-experimental
# or
```

or

```bash
$ bun add @tanstack/angular-query-experimental
```

Expand Down
18 changes: 15 additions & 3 deletions packages/vue-query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,23 @@ Visit https://tanstack.com/query/latest/docs/vue/overview

```bash
$ npm i @tanstack/vue-query
# or
```

or

```bash
$ pnpm add @tanstack/vue-query
# or
```

or

```bash
$ yarn add @tanstack/vue-query
# or
```

or

```bash
$ bun add @tanstack/vue-query
```

Expand Down

0 comments on commit 3292791

Please sign in to comment.