elementary / houston

Debian-repository-based AppCenter Dashboard, the backend for elementary AppCenter on elementary OS 5.1 and earlier.
https://developer.elementary.io
MIT License
162 stars 32 forks source link

Too many dependencies #284

Closed aberba closed 8 years ago

aberba commented 8 years ago

Too many dependencies makes code more complicated. You have to learn all those libs to contribute. If this code will be maintained for a long time, them devs really need to cut-down on the dependencies.

http://www.haneycodes.net/npm-left-pad-have-we-forgotten-how-to-program/

cassidyjames commented 8 years ago

Thanks for taking a look at our project! However, this is not an actionable issue. If you have specific instances of dependencies that could be removed in favor of simple solutions, please file those as individual issues. :)

btkostner commented 8 years ago

What we currently have:

 "dependencies": {
    "babel-core": "^6.9.1",
    "babel-loader": "^6.2.5",
    "babel-plugin-syntax-async-functions": "^6.8.0",
    "babel-plugin-syntax-export-extensions": "^6.8.0",
    "babel-plugin-transform-export-extensions": "^6.8.0",
    "babel-plugin-transform-regenerator": "^6.9.0",
    "babel-polyfill": "^6.9.1",
    "babel-preset-es2015": "^6.9.0",
    "babel-register": "^6.9.0",
    "bluebird": "^3.4.0",
    "co": "^4.6.0",
    "css-loader": "^0.25.0",
    "debug": "^2.2.0",
    "del": "^2.2.0",
    "dockerode": "^2.2.10",
    "gulp-babel": "6.0.0",
    "gulp-postcss": "^6.2.0",
    "gulp-webpack": "^1.5.0",
    "gulp": "3.9.0",
    "ini": "^1.3.4",
    "jade": "^1.11.0",
    "jsonwebtoken": "^7.1.9",
    "koa-convert": "^1.2.0",
    "koa-passport": "^2.1.0",
    "koa-router": "^7.0.1",
    "koa-session": "^3.3.1",
    "koa-static": "^3.0.0",
    "koa-views": "^4.1.0",
    "koa": "^2.0.0",
    "lodash": "^4.13.1",
    "moment": "^2.15.1",
    "mongoose": "^4.4.19",
    "monq": "^0.3.4",
    "nodegit": "^0.14.1",
    "nunjucks": "^2.4.2",
    "passport-github": "^1.1.0",
    "pluralize": "^1.2.1",
    "postcss-cssnext": "^2.8.0",
    "postcss-loader": "^0.13.0",
    "raven": "^0.12.1",
    "raw-body": "^2.1.6",
    "semver": "^5.1.0",
    "socket.io-client": "^1.4.6",
    "socket.io": "^1.4.6",
    "style-loader": "^0.13.1",
    "superagent": "^2.0.0",
    "syslogd": "^1.1.2",
    "webpack": "^2.1.0-beta.20"
  },

Used for new JavaScript features not in node yet (12/49):

    "babel-core": "^6.9.1",
    "babel-loader": "^6.2.5",
    "babel-plugin-syntax-async-functions": "^6.8.0",
    "babel-plugin-syntax-export-extensions": "^6.8.0",
    "babel-plugin-transform-export-extensions": "^6.8.0",
    "babel-plugin-transform-regenerator": "^6.9.0",
    "babel-polyfill": "^6.9.1",
    "babel-preset-es2015": "^6.9.0",
    "babel-register": "^6.9.0",
    "bluebird": "^3.4.0",
    "co": "^4.6.0",
    "koa-convert": "^1.2.0"

Used for client side building (9/49):

    "css-loader": "^0.25.0",
    "gulp-babel": "6.0.0",
    "gulp-postcss": "^6.2.0",
    "gulp-webpack": "^1.5.0",
    "gulp": "3.9.0",
    "postcss-cssnext": "^2.8.0",
    "postcss-loader": "^0.13.0",
    "style-loader": "^0.13.1",
    "webpack": "^2.1.0-beta.20"

Actually relevant to code being ran (28/49):

  "debug": "^2.2.0",
  "del": "^2.2.0",
  "dockerode": "^2.2.10",
  "ini": "^1.3.4",
  "jade": "^1.11.0",
  "jsonwebtoken": "^7.1.9",
  "koa-convert": "^1.2.0",
  "koa-passport": "^2.1.0",
  "koa-router": "^7.0.1",
  "koa-session": "^3.3.1",
  "koa-static": "^3.0.0",
  "koa-views": "^4.1.0",
  "koa": "^2.0.0",
  "lodash": "^4.13.1",
  "moment": "^2.15.1",
  "mongoose": "^4.4.19",
  "monq": "^0.3.4",
  "nodegit": "^0.14.1",
  "nunjucks": "^2.4.2",
  "passport-github": "^1.1.0",
  "pluralize": "^1.2.1",
  "raven": "^0.12.1",
  "raw-body": "^2.1.6",
  "semver": "^5.1.0",
  "superagent": "^2.0.0",
  "syslogd": "^1.1.2",

Welcome to the nodejs ecosystem ¯\_(ツ)_/¯