Comparing version 2.3.0 to 2.3.1
History | ||
======= | ||
## 2.3.1 | ||
* Fix `builder run envs` on Node `v4.x` with respect to | ||
`_.isPlainObject(process.env)` bug. ( [@exogen][] ) | ||
[#63](https://github.com/FormidableLabs/builder/issues/63) | ||
## 2.3.0 | ||
@@ -60,2 +66,3 @@ | ||
[@exogen]: https://github.com/exogen | ||
[@ryan-roemer]: https://github.com/ryan-roemer |
@@ -231,3 +231,5 @@ "use strict"; | ||
// Add each specific set of environment variables. | ||
var taskShOpts = _.merge({}, shOpts, { env: taskEnv }); | ||
// Clone `shOpts` to turn `env` into a plain object: in Node 4+ | ||
// `process.env` is a special object which changes merge behavior. | ||
var taskShOpts = _.merge(_.cloneDeep(shOpts), { env: taskEnv }); | ||
var taskOpts = _.extend({ tracker: tracker, taskEnv: taskEnv }, opts); | ||
@@ -234,0 +236,0 @@ |
{ | ||
"name": "builder", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "An NPM-based task runner", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -41,3 +41,3 @@ [![Travis Status][trav_img]][trav_site] | ||
At a high level `builder` is a tool for consuming `package.json` `scripts` | ||
commands, providing sensible / flexible defaults, and support various scenarios | ||
commands, providing sensible / flexible defaults, and supporting various scenarios | ||
("archetypes") for your common use cases across multiple projects. | ||
@@ -64,5 +64,5 @@ | ||
**Note**: Most archetypes have an `ARCHTEYPE` package and parallel | ||
**Note**: Most archetypes have an `ARCHETYPE` package and parallel | ||
`ARCHETYPE-dev` npm package. The `ARCHETYPE` package contains _almost_ | ||
everything needed for the archtype (prod dependencies, scripts, etc.) except | ||
everything needed for the archetype (prod dependencies, scripts, etc.) except | ||
for the `devDependencies` which the latter `ARCHETYPE-dev` package is solely | ||
@@ -91,4 +91,4 @@ responsible for bringing in. | ||
To help you keep up with project-specific builder requirements, a globally- | ||
installed `builder` will detect if a locally-installed version of `builder` is | ||
To help you keep up with project-specific builder requirements, a globally-installed | ||
`builder` will detect if a locally-installed version of `builder` is | ||
available and switch to that instead: | ||
@@ -164,3 +164,3 @@ | ||
* `--tries`: Number of times to attempt a task (default: `1`) | ||
* `--setup`: Single task to run for the entirety of <action>. | ||
* `--setup`: Single task to run for the entirety of `<action>`. | ||
@@ -181,3 +181,3 @@ ##### builder concurrent | ||
* `--tries`: Number of times to attempt a task (default: `1`) | ||
* `--setup`: Single task to run for the entirety of <action>. | ||
* `--setup`: Single task to run for the entirety of `<action>`. | ||
* `--queue`: Number of concurrent processes to run (default: unlimited - `0|null`) | ||
@@ -193,3 +193,3 @@ * `--[no-]buffer`: Buffer output until process end (default: `false`) | ||
Run a single task from `script` concurrently for item in an array of different | ||
Run a single task from `script` concurrently for each item in an array of different | ||
environment variables. Roughly analogous to: | ||
@@ -220,3 +220,3 @@ | ||
* `--tries`: Number of times to attempt a task (default: `1`) | ||
* `--setup`: Single task to run for the entirety of <action>. | ||
* `--setup`: Single task to run for the entirety of `<action>`. | ||
* `--queue`: Number of concurrent processes to run (default: unlimited - `0|null`) | ||
@@ -439,3 +439,3 @@ * `--[no-]buffer`: Buffer output until process end (default: `false`) | ||
* Review all of the combined `scripts` tasks and: | ||
* resolve duplicate tasks names | ||
* resolve duplicate task names | ||
* revise configuration file paths for the moved files | ||
@@ -442,0 +442,0 @@ * replace instances of `builder run <task>` with `npm run <task>` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49631
933