Giter Club home page Giter Club logo

availity-toolkit's People

Contributors

dnoler avatar jamiecrisman avatar jsarman avatar kaseypowers avatar ricardo-rossi avatar robmcguinness avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

availity-toolkit's Issues

Document recipe for overriding availity-workflow gulp task

var gulp = require('gulp');
var path = require('path');

var del = require('./node_modules/availity-workflow/node_modules/del');
var runSequence = require('./node_modules/availity-workflow/node_modules/run-sequence');

var workflow = require('availity-workflow');

var context = workflow.use({
  gulp: gulp
});

gulp.task('default', ['copy:pdfs', 'av:default']);
gulp.task('lint', ['av:lint']);
gulp.task('test', ['av:test']);
gulp.task('release', ['av:release']);
gulp.task('test:server', ['av:test:server']);

var dest = context.settings.isProduction() ? path.join('./dist/') : path.join('./build/');

gulp.task('copy:pdfs', function() {
  gulp.src('project/app/**/*.pdf')
    .pipe(gulp.dest(dest));
});


// Duplicate of gulp task found inside availity-workflow.
// Needed to hook into the lifecycle of the release task for custom
// image copy.
context.gulp.task('av:release:sequence', function(cb) {

  del.sync([context.settings.dest()]);

  runSequence(
    'av:lint',
    context.settings.isProduction() ?  'av:release:bump' : 'av:noop',
    ['av:copy', 'av:concat', 'copy:pdfs'],
    'av:build',
    context.settings.isProduction() ?  'av:release:add' : 'av:noop',
    context.settings.isProduction() ?  'av:release:tag' : 'av:noop',
    cb
  );
});

./node_modules/.bin/av init error

Followed the Getting Started steps in the readme to create a new project. At the './node_modules/.bin/av init' step I ran into this error. Tried with node 5.3.0 and 6.3.1

./node_modules/.bin/av init
? author name:
? author email:
? project name: dashboard
? project description: Dashboard
? project version: 0.0.1
? git url:
? license UNLICENSED
? keywords - separated by commas: ()

/Users/foo/workspaces/barProject/node_modules/rx/dist/rx.js:77
throw e;
^

TypeError: value.toLowerCase is not a function
at Object.validate (/Users/foo/workspaces/barProject/node_modules/availity-workflow/cli/commands/init.js:118:33)
at /Users/foo/workspaces/barProject/node_modules/inquirer/node_modules/run-async/index.js:26:25
at /Users/foo/workspaces/barProject/node_modules/inquirer/node_modules/run-async/index.js:25:19
at /Users/foo/workspaces/barProject/node_modules/inquirer/lib/prompts/base.js:89:14
at process._tickCallback (internal/process/next_tick.js:103:7)

foo$
foo$ node -v
v6.3.1

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.