w3tecch / typeorm-seeding

🌱 A delightful way to seed test data into your database.
https://www.npmjs.com/package/typeorm-seeding
MIT License
877 stars 131 forks source link

deps: migrate `faker` to `@faker-js/faker` #231

Closed xDivisionByZerox closed 1 year ago

xDivisionByZerox commented 2 years ago

Based on the suggestion from #216.

I tried my best to update all faker references with the new, official @faker.js/faker package. This change is highly suggested since faker is no longer maintained.

Sadly most of the dependencies in this repo are out of date which leads to compile time errors since @faker.js/faker requires at least typescript v4 for typing. So an update of the typescript package is required for this PR to be able to merge successfully (which requires ts-jest and jest version updates as a result).

jorgebodega commented 1 year ago

Please, check the issue list before sending anything to the repo

https://github.com/w3tecch/typeorm-seeding/issues?q=is%3Aissue+sort%3Aupdated-desc+label%3Afaker+is%3Aclosed