FormidableLabs/builder-support

Name: builder-support

Owner: Formidable

Description: Builder support libraries

Created: 2015-12-11 22:35:47.0

Updated: 2017-02-02 17:45:30.0

Pushed: 2017-09-25 20:02:27.0

Homepage: null

Size: 42

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Travis Status Coverage Status

Builder Support Tools

Support tools for authoring builder archetypes.

Installation

To use the production and development workflows, install both this package and the development module:

m install --save-dev builder-support
Usage
builder-support gen-dev

Use this tool to create an ARCHETYPE-dev module for publishing alongside ARCHETYPE with the same version numbers, details, etc.

This tools assumes an archetype structure of:

Assuming those exist, then the tool:

This supports a workflow as follows:

m HISTORY.md              # Version notes
m package.json            # Bump version
ilder-support gen-dev     # Generate `ARCHETYPE-dev` files
m run builder:check       # Last check!
t add .
t commit -m "Version bump"
t tag -a "vNUMBER" -m "Version NUMBER"
t push && git push --tags
m publish                 # Publish main project

blish dev project in same repo
 dev && npm publish

R) Publish dev project in different, parallel repo
 ../ARCHETYPE-dev
t commit -m "Version bump"
t tag -a "vNUMBER" -m "Version NUMBER"
t push && git push --tags
m publish                 # Publish dev project

If you are bootstrapping a new archetype you will need to ensure either that a ARCHETYPE/dev or ../ARCHETYPE-dev directory exists. The rest of the files when then be properly generated into the dev project.

And you should be good to run builder-support gen-dev in the project root.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.