Skip to content

Commit d9478e0

Browse files
chore(ci): filter out examples (#4239)
* filter out examples * typo * update docs and gitignore to account for pnpm switch
1 parent 6c06966 commit d9478e0

31 files changed

Lines changed: 50 additions & 16 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
node-version: 16.14.2
2727
registry-url: https://registry.npmjs.org/
2828
- run: |
29-
pnpm install
29+
pnpm --filter ./packages/** --filter query install
3030
git config --global user.name 'Tanner Linsley'
3131
git config --global user.email 'tannerlinsley@users.noreply.github.com'
3232
pnpm run cipublish

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
node-version: ${{ matrix.node }}
1919
cache: 'pnpm'
2020
- name: Install dependencies
21-
run: pnpm install
21+
run: pnpm --filter "./packages/**" --filter query install
2222
- run: |
2323
pnpm run test:ci
2424
pnpm run test:size

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
# dependencies
55
node_modules
6+
package-lock.json
7+
yarn.lock
68

79
# builds
810
types

docs/community/liaoliao666-react-query-kit.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ should be installed as one of your project's `dependencies`:
2121
```bash
2222
$ npm i react-query-kit
2323
# or
24+
$ pnpm add react-query-kit
25+
# or
2426
$ yarn add react-query-kit
2527
```
2628

@@ -74,4 +76,4 @@ export async function getStaticProps() {
7476
}
7577
```
7678

77-
Check the complete documentation on [GitHub](https://github.com/liaoliao666/react-query-kit).
79+
Check the complete documentation on [GitHub](https://github.com/liaoliao666/react-query-kit).

docs/community/lukemorales-query-key-factory.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ You can install Query Key Factory via [NPM](https://www.npmjs.com/package/@lukem
1212
```bash
1313
$ npm i @lukemorales/query-key-factory
1414
# or
15+
$ pnpm add @lukemorales/query-key-factory
16+
# or
1517
$ yarn add @lukemorales/query-key-factory
1618
```
1719

docs/devtools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The devtools are a separate package that you need to install:
1616
```bash
1717
$ npm i @tanstack/react-query-devtools
1818
# or
19+
$ pnpm add @tanstack/react-query-devtools
20+
# or
1921
$ yarn add @tanstack/react-query-devtools
2022
```
2123

docs/installation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ or a good ol' `<script>` via
1212
```bash
1313
$ npm i @tanstack/react-query
1414
# or
15+
$ pnpm add @tanstack/react-query
16+
# or
1517
$ yarn add @tanstack/react-query
1618
```
1719

docs/plugins/createAsyncStoragePersister.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ npm install @tanstack/query-async-storage-persister @tanstack/react-query-persis
1111
```
1212
or
1313
```bash
14+
pnpm add @tanstack/query-async-storage-persister @tanstack/react-query-persist-client
15+
```
16+
or
17+
```bash
1418
yarn add @tanstack/query-async-storage-persister @tanstack/react-query-persist-client
1519
```
1620

docs/plugins/createSyncStoragePersister.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ npm install @tanstack/query-sync-storage-persister @tanstack/react-query-persist
1111
```
1212
or
1313
```bash
14+
pnpm add @tanstack/query-sync-storage-persister @tanstack/react-query-persist-client
15+
```
16+
or
17+
```bash
1418
yarn add @tanstack/query-sync-storage-persister @tanstack/react-query-persist-client
1519
```
1620

examples/react/auto-refetching/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# production
1212
/build
1313

14+
pnpm-lock.yaml
1415
yarn.lock
1516
package-lock.json
1617

0 commit comments

Comments
 (0)