Theodo-UK / nestjs-admin

A generic administration interface for TypeORM entities
https://nestjs-admin.com
MIT License
536 stars 59 forks source link

Update peerDependencies #222

Closed alex-grover closed 3 years ago

alex-grover commented 3 years ago

Currently, running npm install nestjs-admin on a new NestJS project fails because of incompatible peer dependencies:

$ npm install nestjs-admin

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: project@0.0.1
npm ERR! Found: @nestjs/common@7.6.15
npm ERR! node_modules/@nestjs/common
npm ERR!   @nestjs/common@"^7.5.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @nestjs/common@"^6.0.0" from nestjs-admin@0.4.1
npm ERR! node_modules/nestjs-admin
npm ERR!   nestjs-admin@"*" from the root project

Following #188 it seems like Nest v7 should work. I'm not sure how to easily test this locally as the repo isn't directly installable via NPM, so if a maintainer could test that would be appreciated!

Also bump the ts-jest version because the current one has an incompatible dependency with the project's typescript version.