Skip to content

Commit ee33c09

Browse files
committed
fix(plugin-mock) - align documentation with the implementation
1 parent 302dfc3 commit ee33c09

File tree

7 files changed

+460
-1133
lines changed

7 files changed

+460
-1133
lines changed

.changeset/easy-lights-trade.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@graphql-mesh/plugin-mock': patch
3+
---
4+
5+
Align documentation with the implementation
6+
7+
- Export `MockStore`, `useMock` and `IMockStore` from the package.

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,6 @@
158158
],
159159
"**/*.{ts,tsx,graphql,yml,json,md,js,mjs,cjs,mdx}": [
160160
"prettier --write"
161-
],
162-
"yarn.lock": [
163-
"yarn dedupe && git add yarn.lock"
164161
]
165162
}
166163
}

packages/plugins/mock/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"@graphql-mesh/string-interpolation": "^0.5.9",
4040
"@graphql-mesh/types": "^0.104.14",
4141
"@graphql-mesh/utils": "^0.104.14",
42-
"@graphql-tools/mock": "^9.0.3",
42+
"@graphql-tools/executor": "^1.4.9",
43+
"@graphql-tools/mock": "^9.1.0",
4344
"@graphql-tools/schema": "^10.0.5",
4445
"@graphql-tools/utils": "^10.8.0",
4546
"faker": "5.5.3",

0 commit comments

Comments
 (0)