Skip to content

Commit 2f8a3c3

Browse files
committed
chore: add docs:build script
1 parent 6792a10 commit 2f8a3c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"build:packages-docs": "pnpm build && node scripts/inlineInheritDoc.ts",
1010
"build": "pnpm run -r --filter \"vue-apollo*\" --filter \"@vue/apollo*\" build",
1111
"docs:dev": "pnpm run -r --filter \"private-vue-apollo-docs\" dev",
12+
"docs:build": "pnpm run build:packages-docs && pnpm run -r --filter \"private-vue-apollo-docs\" build",
1213
"lint": "eslint . --cache",
1314
"release": "pnpm run build && pnpm run test && sheep release -b v5",
1415
"test": "pnpm run -r --sequential test"

packages/docs/data/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ By default, Apollo Client doesn't modify operation types regardless of whether t
186186
Create a TypeScript declaration file (e.g., `apollo-client.d.ts`) in your project:
187187

188188
```ts
189+
import type { GraphQLCodegenDataMasking } from '@apollo/client/masking'
189190
// This import is necessary to ensure all Apollo Client imports
190191
// are still available to the rest of the application.
191192
import '@apollo/client'
192-
import type { GraphQLCodegenDataMasking } from '@apollo/client/masking'
193193

194194
declare module '@apollo/client' {
195195
interface TypeOverrides extends GraphQLCodegenDataMasking.TypeOverrides {}

0 commit comments

Comments
 (0)