requirements

🚦 Check and align required software versions in your project

MIT License

Downloads
765
Stars
16
Committers
4

Bot releases are hidden (Show)

requirements - v2.0.1 Latest Release

Published by chimurai 5 months ago

What's Changed

Full Changelog: https://github.com/chimurai/requirements/compare/v2.0.0...v2.0.1

requirements - v2.0.0

Published by chimurai 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/chimurai/requirements/compare/v1.4.1...v2.0.0

requirements - v2.0.0-beta.3

Published by chimurai 6 months ago

What's Changed

New Contributors

--edit test--

Full Changelog: https://github.com/chimurai/requirements/compare/v1.4.1...v2.0.0-beta.3

requirements - v2.0.0-beta.2

Published by chimurai 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/chimurai/requirements/compare/v1.4.1...v2.0.0-beta.2

requirements - v2.0.0-beta.1

Published by chimurai 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/chimurai/requirements/compare/v1.4.1...v2.0.0-beta.1

requirements - v2.0.0-beta.0

Published by chimurai 6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/chimurai/requirements/compare/v1.4.1...v2.0.0-beta.0

requirements - v1.4.1

Published by chimurai over 3 years ago

  • bump dependencies
requirements - v1.4.0

Published by chimurai about 4 years ago

  • feature: install message and update message in configuration:
module.exports = {
  software: {
    node: '*',
    yarn: '~1.17.3',
    nginx: {
      semver: '>= 1.16.x',
      optional: true, // optional (won't fail)
      installMessage: '<install instruction>', // custom message when binary is not found
      updateMessage: '<update instruction>', // custom message when binary has wrong version
    },
    httpd: {
      semver: '^1.x',
      flag: '-v', // custom version flag
    },
  },
};
requirements - v1.2.0

Published by chimurai about 5 years ago

requirements - v1.1.0

Published by chimurai about 5 years ago

requirements - v1.0.0

Published by chimurai about 5 years ago

Changes

  • complete rewrite
  • configurable version flag
  • throws on errors
  • force option; don't throw on errors
  • quiet option; only print result on errors

Migration instructions

OLD:

.requirementsrc

{
  "software": {
    "java": ">= 1.7.x",
    "mvn": "^4.x",
    "node": ">= 5.x",
    "npm": ">= 3.x",
    "eslint": "^3.x",
    "yarn": "^0.x"
  }
}

NEW:

requirements.config.js

module.exports = {
  "software": {
    "java": ">= 1.7.x",
    "mvn": "^4.x",
    "node": ">= 5.x",
    "npm": ">= 3.x",
    "eslint": "^3.x",
    "yarn": "^0.x"
  }
}
Package Rankings
Top 6.82% on Npmjs.org
Badges
Extracted from project README
npm coveralls dependency Status snyk code style: prettier