Skip to content

Commit

Permalink
chore: update old faker package to a new one (#136)
Browse files Browse the repository at this point in the history
Change dependency `faker` to `@faker-js/faker` package
  • Loading branch information
omermorad authored Jan 21, 2022
1 parent 4338fb2 commit 9370127
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^15.0.0",
"@commitlint/config-lerna-scopes": "^12.1.4",
"@faker-js/faker": "^5.5.3",
"@manypkg/cli": "^0.19.1",
"@types/faker": "^5.5.7",
"@types/jest": "26.0.24",
Expand All @@ -73,7 +74,6 @@
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^23.11.0",
"eslint-plugin-prettier": "^3.1.3",
"faker": "^5.5.3",
"husky": "^7.0.1",
"jest": "27.0.6",
"jest-gherkin": "^0.0.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/faker.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '@faker-js/faker' {
import faker from 'faker';
export default faker;
}
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,11 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"

"@faker-js/faker@^5.5.3":
version "5.5.3"
resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-5.5.3.tgz#18e3af6b8eae7984072bbeb0c0858474d7c4cefe"
integrity sha512-R11tGE6yIFwqpaIqcfkcg7AICXzFg14+5h5v0TfF/9+RMDL6jhzCy/pxHVOfbALGdtVYdt6JdR21tuxEgl34dw==

"@fimbul/bifrost@^0.21.0":
version "0.21.0"
resolved "https://registry.yarnpkg.com/@fimbul/bifrost/-/bifrost-0.21.0.tgz#d0fafa25938fda475657a6a1e407a21bbe02c74e"
Expand Down

0 comments on commit 9370127

Please sign in to comment.