Code Monkey home page Code Monkey logo

check-engines's People

Contributors

alasdairhurst avatar

Watchers

 avatar  avatar  avatar

check-engines's Issues

Identify dev dependencies and allow them to be ignored

Sometimes a target "production" version of a module can be lower than the build environment. Add a flag --ignore-dev to ignore devDependencies (and dependencies of them).

If a dependency is both dev and non-dev, then it should not be ignored with this flag.

Regular output should be updated to show if a dependency is dev or not.

Reduce minimum Node.js version to 8

The current minimum is 13 which isn't extremely new, but not that old either. Reduce the footprint of the module and replace any dependencies/code which requires Node.js > 8.

This allows the module to be used in more flexible environments.

Show versions of each offending modules and it's dependency tree

It's important to know if there are any modules which are offending, but since we just print out the name of the module it's not very useful. especially if there are multiple versions of the module, one of which may be valid against the target node, and another may not be.

An output like this would be useful

4.0.0
[email protected]

Then print the npm ls command with versions so the tree shows. Alternatively allow a -v, --verbose command which spawns npm.

alternatively pass a --flat command which prints all the modules and their versions
this can be piped to npm ls -

check-engines --flat | npm ls

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.