Skip to content

Commit

Permalink
Bump version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Oct 24, 2020
1 parent 0659a88 commit e74aec5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.2] - 2020-10-16
## [1.3.0] - 2020-10-24

### Added
- Clean `utm_*` queries.

### Fixed
- Fix `decodeURI` error.

## [1.2.1] - 2020-10-17

### Fixed
- Handle JSDOM error.

## [1.2.0] - 2020-10-16

### Added
- Add timeout option support.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wabarc/cairn",
"version": "1.2.1",
"version": "1.3.0",
"description": "Node package and CLI tool for saving web page as single HTML file",
"main": "dist/cairn.js",
"types": "dist/cairn.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@ class Handler {

private parser() {
const program = new Command();
const version = process.env.npm_package_version || '0.0.1';

program
.name('cairn')
.usage('[options] url1 [url2]...[urlN]')
.version('1.0.0', '-v, --version', 'output the current version')
.version(version, '-v, --version', 'output the current version')
.description('CLI tool for saving web page as single HTML file');

program.option('-o, --output <string>', 'path to save archival result');
Expand Down

0 comments on commit e74aec5

Please sign in to comment.