Comparing version 0.3.0 to 1.0.0
20
cli.js
#!/usr/bin/env node | ||
'use strict'; | ||
var yosay = require('./index.js'); | ||
var pkg = require('./package.json'); | ||
var yosay = require('./'); | ||
@@ -11,19 +10,18 @@ require('taketalk')({ | ||
}, | ||
help: function () { | ||
console.log([ | ||
pkg.description, | ||
'', | ||
'Usage', | ||
' $ yosay <string>', | ||
' $ yosay <string> --maxLength 8', | ||
' $ echo <string> | yosay', | ||
' ' + pkg.description, | ||
'', | ||
'Example', | ||
' $ yosay "Sindre is a horse"', | ||
' Usage', | ||
' yosay <string>', | ||
' yosay <string> --maxLength 8', | ||
' echo <string> | yosay', | ||
'', | ||
' Example', | ||
' yosay "Sindre is a horse"', | ||
yosay('Sindre is a horse') | ||
].join('\n')); | ||
}, | ||
version: pkg.version | ||
}); |
'use strict'; | ||
var chalk = require('chalk'); | ||
@@ -46,3 +45,2 @@ var pad = require('pad-component'); | ||
var frame; | ||
var unstyledMessage; | ||
var styledIndexes = {}; | ||
@@ -49,0 +47,0 @@ var completedString = ''; |
{ | ||
"name": "yosay", | ||
"version": "0.3.0", | ||
"version": "1.0.0", | ||
"description": "Tell Yeoman what to say", | ||
@@ -11,3 +11,7 @@ "license": "BSD", | ||
"yo", | ||
"cowsay" | ||
"cowsay", | ||
"say", | ||
"box", | ||
"message", | ||
"ansi" | ||
], | ||
@@ -31,11 +35,11 @@ "homepage": "http://yeoman.io", | ||
"dependencies": { | ||
"ansi-regex": "^0.2.1", | ||
"ansi-regex": "^1.0.0", | ||
"ansi-styles": "^1.1.0", | ||
"chalk": "^0.4.0", | ||
"minimist": "^0.2.0", | ||
"chalk": "^0.5.1", | ||
"minimist": "^1.1.0", | ||
"pad-component": "0.0.1", | ||
"string-length": "^0.1.2", | ||
"strip-ansi": "^0.2.1", | ||
"taketalk": "^0.1.0", | ||
"word-wrap": "^0.1.2" | ||
"string-length": "^1.0.0", | ||
"strip-ansi": "^2.0.0", | ||
"taketalk": "^0.1.1", | ||
"word-wrap": "^0.1.3" | ||
}, | ||
@@ -42,0 +46,0 @@ "devDependencies": { |
@@ -44,11 +44,14 @@ # yosay [![Build Status](https://travis-ci.org/yeoman/yosay.svg?branch=master)](https://travis-ci.org/yeoman/yosay) | ||
$ npm install --global yosay | ||
``` | ||
``` | ||
$ yosay --help | ||
Usage | ||
$ yosay <string> | ||
$ yosay <string> --maxLength 8 | ||
$ echo <string> | yosay | ||
Usage | ||
yosay <string> | ||
yosay <string> --maxLength 8 | ||
echo <string> | yosay | ||
Example | ||
$ yosay 'Sindre is a horse' | ||
Example | ||
yosay 'Sindre is a horse' | ||
@@ -68,3 +71,4 @@ _-----_ | ||
## License | ||
[BSD license](http://opensource.org/licenses/bsd-license.php) | ||
Copyright (c) Google |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7124
0
73
+ Addedansi-regex@1.1.12.1.1(transitive)
+ Addedchalk@0.5.1(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-ansi@0.1.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedstring-length@1.0.1(transitive)
+ Addedstrip-ansi@0.3.02.0.13.0.1(transitive)
+ Addedsupports-color@0.2.0(transitive)
- Removedansi-regex@0.1.0(transitive)
- Removedansi-styles@1.0.0(transitive)
- Removedchalk@0.4.0(transitive)
- Removedhas-color@0.1.7(transitive)
- Removedminimist@0.2.4(transitive)
- Removedstring-length@0.1.2(transitive)
- Removedstrip-ansi@0.1.10.2.2(transitive)
Updatedansi-regex@^1.0.0
Updatedchalk@^0.5.1
Updatedminimist@^1.1.0
Updatedstring-length@^1.0.0
Updatedstrip-ansi@^2.0.0
Updatedtaketalk@^0.1.1
Updatedword-wrap@^0.1.3