Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Releases: cellsjs/piscosour

v0.3.2

12 Apr 08:09
Compare
Choose a tag to compare

Features:

  • new function on plugin launcher that return the child process instance this.executeStreamed

Fixes:

  • Resolve problem calling method isWin without parenthesis

v0.3.1

11 Apr 15:04
Compare
Choose a tag to compare

Documentation

  • Autogenerated documentation for recipe.

Fix problems in windows

  1. Use path.sep instead /
  2. spawn: cmd \c for windows. (workaround)
  3. delete calls to process.env.CWD. in one shot

v0.3.0

06 Apr 14:14
Compare
Choose a tag to compare

Break back compatibility:

  • Now piscosour doesn't expose fsUtils utility. now is inside the fsplugin of core.

Before

var fsUtils = require('piscosour').fsUtils

fsUtils.exists('path');

After

this.fsExists('path');

Features:

  • User commands load from config. Parameter commands set the user commands for pisco help.

params.json, or straw.json or piscosour.json

    "commands" : [
        "component:validate",
        "component::lint",
        "component::unit-tests",
        "component::demo-tests",
        "environment:download"
    ],
  • Documentation auto-generation. All info.md files are merged into the readme.md file.
  • In the error object thrown by any shot: only take into account error message if available
  • Cookbook plugin: Utilities to see if you are on a recipe directory
  • Fsutils plugin: encapsulate fs utilities. fsExists, fsCreateDir, fsReadConfig, fsReadFile, fsCopyDirFiltered, fsCopyFileFiltered, fsAppendBundle.
  • Config plugin: expose config object in any shot. this.config.

Fixes:

  • Launcher plugin, resolve stdout instead of stderr in sh output

v0.2.0

23 Mar 12:15
Compare
Choose a tag to compare

break back compatibility

Features:

Fixes:

  • When a shot is not well defined the error was confuse. Now is more clear.

v0.1.0

08 Mar 17:02
Compare
Choose a tag to compare

Features

  • Is possible to configure one shot twice in a straw
  • Parameters are availables in shot.runner.params wherever the user sets its. this is the preferrer order
    1. Command line option (pisco [command] --optionName optionValue)
    2. Environment Variable prefix in the env parameter of prompt.
    3. Configuration file .piscosour/piscosour.json
    4. Configuration file piscosour.json in the recipe.
    5. Configuration file straw.json in the recipe ([recipeRoot]/straws/[recipeName]/straw.json)
    6. Configuration file params.json in the recipe. ([recipeRoot]/shots/[shotName]/[repoType]/params.json)
    7. "value" inside a prompt definition
    8. Ask interactive the user
  • Straws are only defined in straw.json inside a recipe.
  • Config loading refactor. Now recipes information are stored.
  • New documentation

Fixes

  • Implementation of a non-deprecated fs.exists method.