flash-oss / medici

Double-entry accounting system for nodejs + mongoose
MIT License
307 stars 83 forks source link

fix: package dependencies for `ts-mocha` and `eslint-plugin-promise` #73

Closed adam2k closed 2 years ago

adam2k commented 2 years ago

ts-mocha and eslint-plugin-promise contain invalid versions producing npm warnings and errors.

Error Message:

npx npm@6 list --depth 1
...
npm ERR! peer dep missing: eslint@^7.0.0, required by eslint-plugin-promise@5.2.0
npm ERR! peer dep missing: mocha@^3.X.X || ^4.X.X || ^5.X.X || ^6.X.X || ^7.X.X || ^8.X.X, required by ts-mocha@8.0.0

After any install command:

npm WARN eslint-plugin-promise@5.2.0 requires a peer of eslint@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ts-mocha@8.0.0 requires a peer of mocha@^3.X.X || ^4.X.X || ^5.X.X || ^6.X.X || ^7.X.X || ^8.X.X but none is installed. You must install peer dependencies yourself.

To reproduce this pull request you can run the following commands:

$ npx npm@6 install ts-mocha@^9.0.0
$ npx npm@6 install eslint-plugin-promise@^6.0.0