Giter Club home page Giter Club logo

ukhomeoffice.version-check-task's Introduction

Grunt Dependency Version Check For Build Tasks

This repository contains a working Grunt task together with example package.json designed for incorporation into UK Government projects that rely on the govuk frontend toolkit.

Running the command $ grunt checkVersion will produce the following result if your dependency or dependencies are up to date

Success

And the following if you are out of date

Failure

Installation

To install simply clone this repository into your chosen directory then:

cd versionCheckTask
npm install
grunt versioncheck

Modification, Extension and Gerneral Information

This example has been setup with two tasks. The first grunt versioncheck will check the version of dependencies specified in the package.json and will exit with an error code when one is out of date. The second grunt checkVersion will notify the user whether the dependency is in or out of date but will not cause the task to exit if the dependency is out of date. This is particularly useful when including this task as part of a projects build scripts.

By default the task will check all project dependencies specified in your project's package.json to skip this add the name of the dependecy to the skip array held under the versioncheck task.

ukhomeoffice.version-check-task's People

Contributors

alrw avatar

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.