Comparing version 1.1.4 to 1.2.0
{ | ||
"name": "berber", | ||
"version": "1.1.4", | ||
"version": "1.2.0", | ||
"description": "Static site generator generator on top of gulp ecosystem", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
"callsites": "^2.0.0", | ||
"chalk": "^1.1.3", | ||
"chalk": "^2.0.0", | ||
"find-root": "^1.0.0", | ||
@@ -41,3 +41,3 @@ "minimisted": "^2.0.0", | ||
"devDependencies": { | ||
"codecov": "^2.2.0", | ||
"codecov": "^3.0.0", | ||
"kocha": "^1.8.0", | ||
@@ -44,0 +44,0 @@ "nyc": "^11.0.2", |
@@ -1,2 +0,2 @@ | ||
# berber v1.1.4 | ||
# berber v1.2.0 | ||
@@ -226,2 +226,10 @@ [![CircleCI](https://circleci.com/gh/kt3k/berber.svg?style=svg)](https://circleci.com/gh/kt3k/berber) | ||
Example: | ||
```js | ||
debugPagePath('__mytool__') | ||
// => This makes the debug page path to be `http://localhost:[port]/__mytool__` | ||
``` | ||
The default of the debug page path is `__berber__`. | ||
## loggerTitle(title) | ||
@@ -246,2 +254,6 @@ | ||
- [domaindoc][domaindoc] is a static site generator for building documentation site of domain models of your software. | ||
- [langsheet][langsheet] | ||
- [langsheet][langsheet] is a static site generator for building i18n phrase table. | ||
- [remarker][remarker] | ||
- [remarker][remarker] is a static site generator for slideshow, which generates remark-based slideshow html from input markdown files. | ||
@@ -254,1 +266,3 @@ # License | ||
[bulbo]: https://github.com/kt3k/bulbo | ||
[langsheet]: https://github.com/kt3k/langsheet | ||
[remarker]: https://github.com/kt3k/remarker |
@@ -56,2 +56,10 @@ const path = require('path') | ||
if (this.helpMessage) { | ||
console.log(this.helpMessage) | ||
} else { | ||
this.showDefaultHelpMessage() | ||
} | ||
} | ||
showDefaultHelpMessage () { | ||
const name = this.name | ||
@@ -58,0 +66,0 @@ console.log(` |
@@ -18,2 +18,3 @@ const Berber = require('./berber') | ||
exports.setLogger = logger => bulbo.setLogger(logger) | ||
exports.helpMessage = helpMessage => { berber.helpMessage = helpMessage } | ||
exports.action = (name, description, cb) => berber.addAction(name, description, cb) | ||
@@ -20,0 +21,0 @@ |
Sorry, the diff of this file is not supported yet
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
129173
266
15
275
+ Addedansi-styles@3.2.1(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedsupports-color@5.5.0(transitive)
Updatedchalk@^2.0.0