Skip to content

Commit

Permalink
Merge branch 'release/v1.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkGriffiths committed Aug 14, 2019
2 parents f9e615a + d325317 commit 44b0a59
Show file tree
Hide file tree
Showing 8 changed files with 327 additions and 350 deletions.
45 changes: 23 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
---
branches:
only:
- master
- develop
- /^greenkeeper/.*$/
- /^feature/.*$/
- master
- develop
- "/^greenkeeper/.*$/"
- "/^feature/.*$/"
language: node_js
node_js:
- stable
- 11
- 10
- 9
- 8
- stable
- 11
- 10
- 9
- 8
env:
global:
- CC_TEST_REPORTER_ID=ba42fc27c58fe141f19793fa5acb42d4d229da491a4c7a1568ba50a69a009e1f
- CC_TEST_REPORTER_ID=ba42fc27c58fe141f19793fa5acb42d4d229da491a4c7a1568ba50a69a009e1f
before_install:
- '[[ $(node -v) =~ ^v12.*$ ]] || npm install -g npm@latest'
- npm install -g greenkeeper-lockfile
- "[[ $(node -v) =~ ^v12.*$ ]] || npm install -g npm@latest"
- npm install -g greenkeeper-lockfile
install: npm install
before_script:
- greenkeeper-lockfile-update
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
- greenkeeper-lockfile-update
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
> ./cc-test-reporter
- chmod +x ./cc-test-reporter
- "./cc-test-reporter before-build"
after_script:
- greenkeeper-lockfile-upload
- "[ $TRAVIS_NODE_VERSION = stable ]
&& nyc report --reporter=lcov
&& ./cc-test-reporter after-build --debug -t lcov --exit-code $TRAVIS_TEST_RESULT
|| echo 'Coverage skipped'"
- greenkeeper-lockfile-upload
- "[ $TRAVIS_NODE_VERSION = stable ] && nyc report --reporter=lcov && ./cc-test-reporter
after-build --debug -t lcov --exit-code $TRAVIS_TEST_RESULT || echo 'Coverage skipped'"
notifications:
slack:
secure: b30+M8/fYAvUaYwnjMRVgpf63V84HkaMHO6j/RSE8vCyPLF0kxJYlc1lsemGfR1czvEUxNz+IIvDhbdLdkeF7Fpdq2gLBa4MTEpBuzKGtwqC9Tup3u0hg1haNd0oGmMSextH4e2wvdaFXK+rIYebAYhNoP5qeW6OqtyqNVblL7I=
38 changes: 24 additions & 14 deletions bin/truwrap
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var _split = _interopDefault(require('lodash/split'));
var _forEach = _interopDefault(require('lodash/forEach'));

const name = "truwrap";
const version = "1.0.4";
const version = "1.0.5";
const description = "Smarter terminal text wrapping (handles 24bit color)";
const author = "Mark Griffiths <mark@thebespokepixel.com> (http://thebespokepixel.com/)";
const main = "index.js";
Expand Down Expand Up @@ -60,7 +60,7 @@ const devDependencies = {
"@babel/preset-env": "^7.5.5",
ava: "^2.2.0",
"babel-plugin-lodash": "^3.3.4",
"documentation-theme-bespoke": "^0.5.6",
"documentation-theme-bespoke": "^1.0.0",
gulp: "^4.0.2",
"gulp-better-rollup": "^4.0.1",
"gulp-chmod": "^3.0.0",
Expand Down Expand Up @@ -88,7 +88,7 @@ const dependencies = {
"os-locale": "^4.0.0",
"read-pkg-up": "^6.0.0",
"term-ng": "^1.0.4",
trucolor: "^1.0.3",
trucolor: "^1.0.6",
"update-notifier": "^3.0.1",
verbosity: "^1.1.2",
yargs: "^13.3.0"
Expand Down Expand Up @@ -138,25 +138,34 @@ const badges = {
}
},
readme: {
Status: [
"Publishing Status": [
[
"npm",
"travis",
"david"
],
[
"code-climate",
"code-climate-coverage",
"snyk"
"travis-com",
"rollup"
]
],
Developer: [
"greenkeeper",
"david-dev",
"rollup"
"Development Status": [
[
"greenkeeper",
"travis-com-dev"
],
[
"david-dev",
"david-devdeps-dev"
],
[
"snyk",
"code-climate",
"code-climate-coverage"
]
],
Help: [
"inch"
"Documentation/Help": [
"inch",
"twitter"
]
},
docs: [
Expand All @@ -169,6 +178,7 @@ const badges = {
"code-climate-coverage"
],
[
"snyk",
"david"
]
]
Expand Down
28 changes: 14 additions & 14 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8" />
<title>truwrap 1.0.4 | Documentation</title>
<title>truwrap 1.0.5 | Documentation</title>
<meta name='description' content='Smarter terminal text wrapping (handles 24bit color)'>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="assets/css/ace.min.css" rel="stylesheet">
Expand All @@ -15,7 +15,7 @@
<div id='split-left' class='overflow-auto fs0 height-viewport-100 sidebar'>
<div class='py1 px2'>
<h3 class="m0 no-anchor">truwrap</h3>
<div class="mb1"><code>1.0.4</code></div>
<div class="mb1"><code>1.0.5</code></div>
<input
placeholder="Filter"
id="filter-input"
Expand Down Expand Up @@ -113,9 +113,9 @@ <h3 class="m0 no-anchor">truwrap</h3>

</ul>
</div>
<div class="badges"><p><p><a href="https://github.com/thebespokepixel/truwrap" title="Github"><img src="https://img.shields.io/badge/github-source-4E73B6.svg?style=flat" alt="Github"></a> <a href="https://travis-ci.org/thebespokepixel/truwrap" title="Travis"><img src="https://img.shields.io/travis/thebespokepixel/truwrap.svg?branch=master&#x26;style=flat&#x26;logo=travis" alt="Travis"></a> <br>
</p> <p><a href="https://codeclimate.com/github/thebespokepixel/truwrap/maintainability" title="Code-climate"><img src="https://api.codeclimate.com/v1/badges/5732d1aad01d74b6ef4a/maintainability?style=flat" alt="Code-climate"></a> <a href="https://codeclimate.com/github/thebespokepixel/truwrap/test_coverage" title="Coverage"><img src="https://api.codeclimate.com/v1/badges/5732d1aad01d74b6ef4a/test_coverage?style=flat" alt="Coverage"></a> <br>
</p> <p><a href="https://david-dm.org/thebespokepixel/truwrap/master" title="David"><img src="https://img.shields.io/david/thebespokepixel/truwrap.svg?branch=master&#x26;style=flat" alt="David"></a> <br>
<div class="badges"><p><p><a href="https://github.com/thebespokepixel/truwrap" title="Github"><img src="https://img.shields.io/badge/github-source-4E73B6" alt="Github"></a> <a href="https://travis-ci.org/thebespokepixel/truwrap" title="Travis"><img src="https://img.shields.io/travis/thebespokepixel/truwrap/master?logo=travis" alt="Travis"></a> <br>
</p> <p><a href="https://codeclimate.com/github/thebespokepixel/truwrap/maintainability" title="Code-climate"><img src="https://api.codeclimate.com/v1/badges/5732d1aad01d74b6ef4a/maintainability" alt="Code-climate"></a> <a href="https://codeclimate.com/github/thebespokepixel/truwrap/test_coverage" title="Coverage"><img src="https://api.codeclimate.com/v1/badges/5732d1aad01d74b6ef4a/test_coverage" alt="Coverage"></a> <br>
</p> <p><a href="https://snyk.io/test/github/thebespokepixel/truwrap" title="Snyk"><img src="https://snyk.io/test/github/thebespokepixel/truwrap/badge.svg" alt="Snyk"></a> <a href="https://david-dm.org/thebespokepixel/truwrap/master" title="David"><img src="https://david-dm.org/thebespokepixel/truwrap/master/status.svg" alt="David"></a> <br>
</p> <br>
</p></div>
<div class="mt1 h6 quiet">
Expand Down Expand Up @@ -185,7 +185,7 @@ <h4>Programmatic usage</h4>
<h3>Advanced use</h3>
<p>To add. Containers, Tables, Panels and Images.</p>
<h3>Related</h3>
<p>For advanced 24bit colour handling see <a href="https://github.com/MarkGriffiths/trucolor">MarkGriffiths/trucolor</a> and <a href="https://www.npmjs.com/package/trucolor">npm trucolor</a>.</p>
<p>For advanced 24bit colour handling see <a href="https://github.com/thebespokepixel/trucolor">thebespokepixel/trucolor</a> and <a href="https://www.npmjs.com/package/trucolor">npm trucolor</a>.</p>


</section>
Expand Down Expand Up @@ -220,7 +220,7 @@ <h3 class='left m0 panel-title' id='truwrap'>
</h3>


<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/af5206f3804b49934b293011aa241649df946a98/src/index.js#L50-L218'>
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/1fa952084d55c99ec140d89ac17e8f7071b8e1e8/src/index.js#L50-L218'>
<span>src/index.js</span>
</a>

Expand Down Expand Up @@ -383,7 +383,7 @@ <h3 class='left m0 panel-title' id='api'>
</h3>


<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/af5206f3804b49934b293011aa241649df946a98/src/index.js#L100-L167'>
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/1fa952084d55c99ec140d89ac17e8f7071b8e1e8/src/index.js#L100-L167'>
<span>src/index.js</span>
</a>

Expand Down Expand Up @@ -432,7 +432,7 @@ <h3 class='left m0 panel-title' id='api'>
<div class='clearfix'>


<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/af5206f3804b49934b293011aa241649df946a98/src/index.js#L107-L113'>
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/1fa952084d55c99ec140d89ac17e8f7071b8e1e8/src/index.js#L107-L113'>
<span>src/index.js</span>
</a>

Expand Down Expand Up @@ -495,7 +495,7 @@ <h3 class='left m0 panel-title' id='api'>
<div class='clearfix'>


<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/af5206f3804b49934b293011aa241649df946a98/src/index.js#L119-L119'>
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/1fa952084d55c99ec140d89ac17e8f7071b8e1e8/src/index.js#L119-L119'>
<span>src/index.js</span>
</a>

Expand Down Expand Up @@ -558,7 +558,7 @@ <h3 class='left m0 panel-title' id='api'>
<div class='clearfix'>


<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/af5206f3804b49934b293011aa241649df946a98/src/index.js#L128-L134'>
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/1fa952084d55c99ec140d89ac17e8f7071b8e1e8/src/index.js#L128-L134'>
<span>src/index.js</span>
</a>

Expand Down Expand Up @@ -644,7 +644,7 @@ <h3 class='left m0 panel-title' id='api'>
<div class='clearfix'>


<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/af5206f3804b49934b293011aa241649df946a98/src/index.js#L142-L145'>
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/1fa952084d55c99ec140d89ac17e8f7071b8e1e8/src/index.js#L142-L145'>
<span>src/index.js</span>
</a>

Expand Down Expand Up @@ -722,7 +722,7 @@ <h3 class='left m0 panel-title' id='api'>
<div class='clearfix'>


<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/af5206f3804b49934b293011aa241649df946a98/src/index.js#L152-L155'>
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/1fa952084d55c99ec140d89ac17e8f7071b8e1e8/src/index.js#L152-L155'>
<span>src/index.js</span>
</a>

Expand Down Expand Up @@ -785,7 +785,7 @@ <h3 class='left m0 panel-title' id='api'>
<div class='clearfix'>


<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/af5206f3804b49934b293011aa241649df946a98/src/index.js#L163-L166'>
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/truwrap/blob/1fa952084d55c99ec140d89ac17e8f7071b8e1e8/src/index.js#L163-L166'>
<span>src/index.js</span>
</a>

Expand Down
Loading

0 comments on commit 44b0a59

Please sign in to comment.