Comparing version 0.2.5 to 0.3.0
@@ -45,16 +45,7 @@ #!/usr/bin/env node | ||
function toBool(x) { | ||
if (x === "true") { | ||
return true; | ||
} else if (x === "false") { | ||
return false; | ||
} else { | ||
return true; | ||
} | ||
} | ||
program.usage("[options] file.js"); | ||
program.version(pkgJson.version); | ||
program.option("-o, --output <file>", "Output file"); | ||
program.option("-c, --code <switch>", "Include code in output file", toBool); | ||
program.option("--no-code", "Don't include code in the output file"); | ||
program.option("--no-meld", "Don't meld consecutive line-breaks into single"); | ||
@@ -80,2 +71,7 @@ function cli(argv) { | ||
// Meld | ||
if (program.meld) { | ||
litContents = litContents.replace(/\n\n+/g, "\n\n"); | ||
} | ||
// Output | ||
@@ -82,0 +78,0 @@ if (program.output) { |
{ | ||
"name": "ljs", | ||
"description": "Generate docs from your source", | ||
"version": "0.2.5", | ||
"version": "0.3.0", | ||
"homepage": "https://github.com/phadej/ljs", | ||
@@ -35,3 +35,3 @@ "author": { | ||
"devDependencies": { | ||
"eslint": "^0.8.2", | ||
"eslint": "^0.10.2", | ||
"jscs": "^1.6.2", | ||
@@ -49,6 +49,6 @@ "jshint": "~2.5.1" | ||
"esprima": "~1.2.2", | ||
"commander": "~2.3.0", | ||
"glob": "~4.0.2", | ||
"commander": "~2.5.1", | ||
"glob": "~4.3.1", | ||
"underscore": "~1.7.0" | ||
} | ||
} |
@@ -28,11 +28,11 @@ # ljs | ||
## Release History | ||
- 0.2.5 Use eslint and jscs. Update underscore | ||
- 0.2.4 Use commander | ||
- 0.2.3 Strip only empty lines from beginning of code blocks | ||
- 0.2.2 Whitespace handling for included files | ||
- 0.2.1 Dependencies update | ||
- 0.2.0 Initial release | ||
- **0.3.0** — *2014-12-21* — `--no-code` & `--no-meld` | ||
- **0.2.5** — *2014-10-11* — Use eslint and jscs. Update underscore | ||
- **0.2.4** — *2014-07-18* — Use commander | ||
- **0.2.3** — *2014-07-03* — Strip only empty lines from beginning of code blocks | ||
- **0.2.2** — *2014-07-02* — Whitespace handling for included files | ||
- **0.2.1** — *2014-07-01* — Dependencies update | ||
- **0.2.0** — *2014-05-25* — Initial release | ||
- Split out of [grunt-literate](https://github.com/phadej/grunt-literate) 0.1.5 | ||
@@ -53,3 +53,2 @@ | ||
The MIT License (MIT) | ||
@@ -56,0 +55,0 @@ |
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
16053
9
281
73
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcommander@2.5.1(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedglob@4.3.5(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedminimatch@2.0.10(transitive)
- Removedcommander@2.3.0(transitive)
- Removedglob@4.0.6(transitive)
- Removedgraceful-fs@3.0.12(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedminimatch@1.0.0(transitive)
- Removednatives@1.1.6(transitive)
- Removedsigmund@1.0.1(transitive)
Updatedcommander@~2.5.1
Updatedglob@~4.3.1