Giter VIP home page Giter VIP logo

semwhip's Introduction

semwhip

WIP - validates your package.json for versioned dependencies

Usage

Validates dependencies based on either an array of owner (user/organization) names, or an array of repo names.

const pkg = require('./package.json');
// {
//   name: "My Repo",
//   version: "1.0.0",
//   description: "The quick brown fox writes a bunch a ES6",
//   dependencies: {
//     "foo": "git+https://github.com/the-grid/foo.git#0.1.0",
//     "bar": "git+https://github.com/someone-else/bar.git#1.5.0",
//     "baz": "^1.0.0",
//     "qux": "*"
//   }
// };

let options;

options = {
  repos: ['bar', 'baz'];
}

// OR

options = {
  includeOwner: ['the-grid']
}

semwhip(pkg, options);

semwhip's People

Contributors

jemgold avatar

Stargazers

Ryen Beatty avatar Paul Young avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

semwhip's Issues

Disallow all non-semver commit-ish suffixes

Maybe this is already the case but I couldn't see anything in the README or tests to support the idea.

In addition to disallowing commit SHAs, I think:

  • The suffix should be required, otherwise it's the same as providing #master
  • Branch names should not be allowed, e.g. #branch-name
  • Any tag name that does not conform to the server spec should not be allowed, e.g. #tag-name

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.