Skip to content

screwdriver-cd/generator-screwdriver

Repository files navigation

generator-screwdriver

Version Downloads Build Status Open Issues License

Yeoman generator for building Screwdriver Node Modules

This Yeoman generator creates a new npm module pre-loaded with:

  • License
  • README with a variety of badges
  • CONTRIBUTING doc
  • JSCS and JSHint configs
  • Screwdriver config
  • package.json
  • Labels for Github issues and pull requests

Prerequisites

Usage

  1. Create a Github repository.

  2. Install Yeoman and generator-screwdriver using npm.

$ npm install -g yo
$ npm install -g generator-screwdriver
  1. Get a Github token.
  • Go to the create Github Personal Access Tokens page
  • Fill in "Token description" with "Screwdriver-token"
  • Select scopes "repo" and "admin:org"
  • Click Generate token
  1. Clone your repository and generate your new project.
$ git clone [email protected]:$REPO.git
$ cd $REPO
$ yo screwdriver
  1. Create Git commit and push to master.

  2. Publish the npm package and add git tags.

$ npm publish
$ git tag v0.0.1 && git push origin --tags

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.