diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b2c991c80..ae76c54c23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: node-version: 16.14.2 registry-url: https://registry.npmjs.org/ - run: | - pnpm install + pnpm --filter ./packages/** --filter query install git config --global user.name 'Tanner Linsley' git config --global user.email 'tannerlinsley@users.noreply.github.com' pnpm run cipublish diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ab5358865f..4c7e370192 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,7 +18,7 @@ jobs: node-version: ${{ matrix.node }} cache: 'pnpm' - name: Install dependencies - run: pnpm install + run: pnpm --filter "./packages/**" --filter query install - run: | pnpm run test:ci pnpm run test:size diff --git a/.gitignore b/.gitignore index 950bf7c71d..995f6c9661 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ # dependencies node_modules +package-lock.json +yarn.lock # builds types diff --git a/docs/community/liaoliao666-react-query-kit.md b/docs/community/liaoliao666-react-query-kit.md index d4ac7c1c80..c1174acf3d 100644 --- a/docs/community/liaoliao666-react-query-kit.md +++ b/docs/community/liaoliao666-react-query-kit.md @@ -21,6 +21,8 @@ should be installed as one of your project's `dependencies`: ```bash $ npm i react-query-kit # or +$ pnpm add react-query-kit +# or $ yarn add react-query-kit ``` @@ -74,4 +76,4 @@ export async function getStaticProps() { } ``` -Check the complete documentation on [GitHub](https://github.com/liaoliao666/react-query-kit). \ No newline at end of file +Check the complete documentation on [GitHub](https://github.com/liaoliao666/react-query-kit). diff --git a/docs/community/lukemorales-query-key-factory.md b/docs/community/lukemorales-query-key-factory.md index 3228482a03..8d6bc2cf54 100644 --- a/docs/community/lukemorales-query-key-factory.md +++ b/docs/community/lukemorales-query-key-factory.md @@ -12,6 +12,8 @@ You can install Query Key Factory via [NPM](https://www.npmjs.com/package/@lukem ```bash $ npm i @lukemorales/query-key-factory # or +$ pnpm add @lukemorales/query-key-factory +# or $ yarn add @lukemorales/query-key-factory ``` diff --git a/docs/devtools.md b/docs/devtools.md index 1e7498a015..625e2e9156 100644 --- a/docs/devtools.md +++ b/docs/devtools.md @@ -16,6 +16,8 @@ The devtools are a separate package that you need to install: ```bash $ npm i @tanstack/react-query-devtools # or +$ pnpm add @tanstack/react-query-devtools +# or $ yarn add @tanstack/react-query-devtools ``` diff --git a/docs/installation.md b/docs/installation.md index 4e8a75e0b9..1c9d2ce45e 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -12,6 +12,8 @@ or a good ol' `