Skip to content

Commit

Permalink
0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed May 3, 2019
1 parent 479165b commit 8760571
Show file tree
Hide file tree
Showing 24 changed files with 162 additions and 144 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# [0.1.0](https://github.com/rafamel/kpo/compare/v0.0.4...v0.1.0) (2019-05-03)


### Bug Fixes

* overwrites error constructors and helpers for locally imported kpo instances ([0a420d4](https://github.com/rafamel/kpo/commit/0a420d4))
* **core/options:** setBase doesn't strip undefined values to fully preserve passed options ([479165b](https://github.com/rafamel/kpo/commit/479165b))
* **core/tasks:** fixes path parsing and printing ([51d34a3](https://github.com/rafamel/kpo/commit/51d34a3))
* **core/tasks:** tries to run package.json tasks only when task is not found on kpo, but not for any ([20344a8](https://github.com/rafamel/kpo/commit/20344a8))


### Features

* **core:** deals with different executing and imported kpo instances ([2b7478a](https://github.com/rafamel/kpo/commit/2b7478a))
* **core/load:** passes public functions if kpo scripts file exports a function ([04a93b8](https://github.com/rafamel/kpo/commit/04a93b8))



## [0.0.4](https://github.com/rafamel/kpo/compare/v0.0.3...v0.0.4) (2019-05-02)


Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions docs/globals.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>kpo 0.0.4</title>
<title>kpo 0.1.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="index.html" class="title">kpo 0.0.4</a>
<a href="index.html" class="title">kpo 0.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -54,7 +54,7 @@
<a href="globals.html">Globals</a>
</li>
</ul>
<h1> kpo 0.0.4</h1>
<h1> kpo 0.1.0</h1>
</div>
</div>
</header>
Expand Down
14 changes: 7 additions & 7 deletions docs/interfaces/iclioptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ICliOptions | kpo 0.0.4</title>
<title>ICliOptions | kpo 0.1.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.0.4</a>
<a href="../index.html" class="title">kpo 0.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -109,7 +109,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> directory</h3>
<div class="tsd-signature tsd-kind-icon">directory<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/types.ts#L128">types.ts:128</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/types.ts#L128">types.ts:128</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -125,7 +125,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> env</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ioptions.html">IOptions</a>.<a href="ioptions.html#env">env</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/types.ts#L73">types.ts:73</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/types.ts#L73">types.ts:73</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -140,7 +140,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> file</h3>
<div class="tsd-signature tsd-kind-icon">file<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/types.ts#L124">types.ts:124</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/types.ts#L124">types.ts:124</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -156,7 +156,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> log</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ioptions.html">IOptions</a>.<a href="ioptions.html#log">log</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/types.ts#L81">types.ts:81</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/types.ts#L81">types.ts:81</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -172,7 +172,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> silent</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ioptions.html">IOptions</a>.<a href="ioptions.html#silent">silent</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/types.ts#L77">types.ts:77</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/types.ts#L77">types.ts:77</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
12 changes: 6 additions & 6 deletions docs/interfaces/iconfirmoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IConfirmOptions | kpo 0.0.4</title>
<title>IConfirmOptions | kpo 0.1.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.0.4</a>
<a href="../index.html" class="title">kpo 0.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -103,7 +103,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> initial</h3>
<div class="tsd-signature tsd-kind-icon">initial<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/prompts/confirm.ts#L14">public/prompts/confirm.ts:14</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/prompts/confirm.ts#L14">public/prompts/confirm.ts:14</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -118,7 +118,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> no</h3>
<div class="tsd-signature tsd-kind-icon">no<span class="tsd-signature-symbol">:</span> <a href="../globals.html#tscript" class="tsd-signature-type">TScript</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/prompts/confirm.ts#L22">public/prompts/confirm.ts:22</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/prompts/confirm.ts#L22">public/prompts/confirm.ts:22</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -133,7 +133,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> timeout</h3>
<div class="tsd-signature tsd-kind-icon">timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/prompts/confirm.ts#L26">public/prompts/confirm.ts:26</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/prompts/confirm.ts#L26">public/prompts/confirm.ts:26</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -148,7 +148,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> yes</h3>
<div class="tsd-signature tsd-kind-icon">yes<span class="tsd-signature-symbol">:</span> <a href="../globals.html#tscript" class="tsd-signature-type">TScript</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/prompts/confirm.ts#L18">public/prompts/confirm.ts:18</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/prompts/confirm.ts#L18">public/prompts/confirm.ts:18</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
10 changes: 5 additions & 5 deletions docs/interfaces/iexecoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IExecOptions | kpo 0.0.4</title>
<title>IExecOptions | kpo 0.1.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.0.4</a>
<a href="../index.html" class="title">kpo 0.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -107,7 +107,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> cwd</h3>
<div class="tsd-signature tsd-kind-icon">cwd<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/types.ts#L147">types.ts:147</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/types.ts#L147">types.ts:147</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -122,7 +122,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> env</h3>
<div class="tsd-signature tsd-kind-icon">env<span class="tsd-signature-symbol">:</span> <a href="ioftype.html" class="tsd-signature-type">IOfType</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/types.ts#L151">types.ts:151</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/types.ts#L151">types.ts:151</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -137,7 +137,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> stdio</h3>
<div class="tsd-signature tsd-kind-icon">stdio<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"pipe"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"ignore"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"inherit"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/types.ts#L155">types.ts:155</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/types.ts#L155">types.ts:155</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
8 changes: 4 additions & 4 deletions docs/interfaces/ifsoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IFsOptions | kpo 0.0.4</title>
<title>IFsOptions | kpo 0.1.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.0.4</a>
<a href="../index.html" class="title">kpo 0.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -106,7 +106,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> confirm</h3>
<div class="tsd-signature tsd-kind-icon">confirm<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/fs/types.ts#L8">public/fs/types.ts:8</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/fs/types.ts#L8">public/fs/types.ts:8</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -121,7 +121,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> fail</h3>
<div class="tsd-signature tsd-kind-icon">fail<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/fs/types.ts#L12">public/fs/types.ts:12</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/fs/types.ts#L12">public/fs/types.ts:12</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
10 changes: 5 additions & 5 deletions docs/interfaces/ifswriteoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IFsWriteOptions | kpo 0.0.4</title>
<title>IFsWriteOptions | kpo 0.1.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.0.4</a>
<a href="../index.html" class="title">kpo 0.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -108,7 +108,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> confirm</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ifsoptions.html">IFsOptions</a>.<a href="ifsoptions.html#confirm">confirm</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/fs/types.ts#L8">public/fs/types.ts:8</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/fs/types.ts#L8">public/fs/types.ts:8</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -124,7 +124,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> fail</h3>
<aside class="tsd-sources">
<p>Inherited from <a href="ifsoptions.html">IFsOptions</a>.<a href="ifsoptions.html#fail">fail</a></p>
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/fs/types.ts#L12">public/fs/types.ts:12</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/fs/types.ts#L12">public/fs/types.ts:12</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -139,7 +139,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> overwrite</h3>
<div class="tsd-signature tsd-kind-icon">overwrite<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/fs/types.ts#L22">public/fs/types.ts:22</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/fs/types.ts#L22">public/fs/types.ts:22</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
8 changes: 4 additions & 4 deletions docs/interfaces/ilistoptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>IListOptions | kpo 0.0.4</title>
<title>IListOptions | kpo 0.1.0</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
Expand All @@ -22,7 +22,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">kpo 0.0.4</a>
<a href="../index.html" class="title">kpo 0.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -94,7 +94,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> all</h3>
<div class="tsd-signature tsd-kind-icon">all<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/kpo/list.ts#L13">public/kpo/list.ts:13</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/kpo/list.ts#L13">public/kpo/list.ts:13</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -109,7 +109,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> scopes</h3>
<div class="tsd-signature tsd-kind-icon">scopes<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/0521531/src/public/kpo/list.ts#L17">public/kpo/list.ts:17</a></li>
<li>Defined in <a href="https://github.com/rafamel/kpo/blob/479165b/src/public/kpo/list.ts#L17">public/kpo/list.ts:17</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
Loading

0 comments on commit 8760571

Please sign in to comment.