baer / pint

A small concurrent build system for Grunt.js
http://www.pintjs.com
MIT License
100 stars 4 forks source link

Loosen up dependencies #4

Closed paazmaya closed 5 years ago

paazmaya commented 10 years ago

Currently the dependencies defined in package.json are somewhat strict.

  "dependencies": {
    "commander" : "2.1.0",
    "underscore" : "1.5.2",
    "async" : "~0.2.10"
  },
  "devDependencies": {
    "pint": "0.2.1",
    "grunt-contrib-jshint": "0.8.0",
    "grunt-mocha-test": "0.9.0",
    "chai": "1.9.0",
    "sinon": "1.8.1"
  },
  "peerDependencies": {
    "grunt": "~0.4.0",
    "grunt-cli": "~0.1.11",
    "load-grunt-tasks": "~0.3.0"
  },

Perhaps putting ~ on each of them might help in short term but perhaps taking out the patch level could offer longer satisfaction. For example:

  "dependencies": {
    "commander" : "~2.1",
    "underscore" : "~1.5",
    "async" : "~0.2"
  },
  "devDependencies": {
    "pint": "~0.2",
    "grunt-contrib-jshint": "~0.8",
    "grunt-mocha-test": "~0.9",
    "chai": "~1.9",
    "sinon": "~1.8"
  },
  "peerDependencies": {
    "grunt": "~0.4",
    "grunt-cli": "~0.1",
    "load-grunt-tasks": "~0.3"
  },

Hopefully this guide can help: https://github.com/isaacs/node-semver#ranges