lysyi3m / npmdc Goto Github PK
View Code? Open in Web Editor NEWruby gem to check for missed NPM dependencies
License: MIT License
ruby gem to check for missed NPM dependencies
License: MIT License
When using with Rails, npmdc should start only for server, not for console or rake tasks
Npmdc::Checker
has overgrown it's functionality and is too complex. We should refactor it to make more readable and fix Rubocop offenses.
.rubocop.yml
in the FIXME section.For projects with yarn add support for version-matching based on yarn.lock
file instead of package.json
-based matching.
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
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.
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).
At the moment, we maintain cross Ruby and Rails tests with manually created gemfiles which is not very cozy to maintain.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.