Giter VIP home page Giter VIP logo

npmdc's People

Contributors

aderyabin avatar andrew8xx8 avatar hmlon avatar iskvmk avatar lysyi3m avatar palkan avatar psdcoder avatar sponomarev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

npmdc's Issues

Refactor Npmdc::Checker

Npmdc::Checker has overgrown it's functionality and is too complex. We should refactor it to make more readable and fix Rubocop offenses.

  • Ignored Rubocop rules are mentioned in .rubocop.yml in the FIXME section.
  • All the refactored code should be readable and covered with specs
  • The code should be extracted into meaningful methods and/or classes

Yarn support

For projects with yarn add support for version-matching based on yarn.lock file instead of package.json-based matching.

Non-version dependencies

According to official package.json documentation we need to support following "non-version" formats for dependency matching:

Git urls:

git://github.com/user/project.git#commit-ish
git+ssh://user@hostname:project.git#commit-ish
git+ssh://user@hostname/project.git#commit-ish
git+http://user@hostname/project/blah.git#commit-ish
git+https://user@hostname/project/blah.git#commit-ish

Github urls:

user/repo
user/repo#commit-ish

Local paths:

../foo/bar
~/foo/bar
./foo/bar
/foo/bar
file:../foo/bar

Run only in development mode with Rails

What do you think about restrict usage of this gem with rails apps only to development mode? It can be done by adding details about development section of Gemfile to Readme, and/or adding a check for Rails.env.development in code.

Exit rails process on errors

npmdc should suppress Rails process if there are any "serious" errors occurred (i.e missed packages or version mismatch errors; missed package.json file shouldn't be cricitical).

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.