Skip to content

Commit 1efc68c

Browse files
feat: Faker js version upgrade (#195)
Co-authored-by: Ivan Goncharov <ivan.goncharov.ua@gmail.com>
1 parent b447c4c commit 1efc68c

File tree

5 files changed

+216
-256
lines changed

5 files changed

+216
-256
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![npm](https://img.shields.io/npm/l/graphql-faker.svg)](https://github.com/graphql-kit/graphql-faker/blob/master/LICENSE)
1010
[![docker](https://img.shields.io/docker/build/apisguru/graphql-faker.svg)](https://hub.docker.com/r/apisguru/graphql-faker/)
1111

12-
Mock your future API or extend the existing API with realistic data from [faker.js](https://github.com/Marak/faker.js). **No coding required**.
12+
Mock your future API or extend the existing API with realistic data from [faker.js](https://fakerjs.dev/). **No coding required**.
1313
All you need is to write [GraphQL SDL](https://alligator.io/graphql/graphql-sdl/). Don't worry, we will provide you with examples in our SDL editor.
1414

1515
In the GIF below we add fields to types inside real GitHub API and you can make queries from GraphiQL, Apollo, Relay, etc. and receive **real data mixed with mock data.**

package-lock.json

Lines changed: 21 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@
3737
"check:spelling": "cspell --cache --no-progress '**/*'"
3838
},
3939
"dependencies": {
40+
"@faker-js/faker": "8.0.2",
4041
"body-parser": "1.19.0",
4142
"chalk": "4.1.0",
4243
"cors": "2.8.5",
4344
"express": "4.17.1",
4445
"express-graphql": "0.12.0",
45-
"faker": "5.5.3",
4646
"graphql": "14.7.0",
4747
"graphql-voyager": "1.0.0-rc.31",
4848
"moment": "2.29.1",
@@ -52,7 +52,6 @@
5252
"devDependencies": {
5353
"@types/body-parser": "1.19.0",
5454
"@types/cors": "2.8.10",
55-
"@types/faker": "5.5.1",
5655
"@types/node": "20.2.5",
5756
"@types/react": "16.9.35",
5857
"@types/react-dom": "16.9.8",

0 commit comments

Comments
 (0)