Skip to content

Commit 4f33ca7

Browse files
committed
Bump to 2.2.0
Signed-off-by: Eric Wang <[email protected]>
1 parent 9a8ec3d commit 4f33ca7

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

docs/commands.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ Display version information.
398398
Short:
399399

400400
$ leetcode version
401-
2.1.1
401+
2.2.0
402402

403403
Verbose:
404404

@@ -408,7 +408,7 @@ Verbose:
408408
| | ___ ___| |_ ___ ___ __| | ___
409409
| |/ _ \/ _ \ __|/ __|/ _ \ / _` |/ _ \
410410
| | __/ __/ |_ (__| (_) | (_| | __/
411-
|_|\___|\___|\__|\___|\___/ \__,_|\___| CLI v2.1.1
411+
|_|\___|\___|\__|\___|\___/ \__,_|\___| CLI v2.2.0
412412

413413
[Environment]
414414
Node v8.1.4

docs/releases.md

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
layout: default
33
title: Release Notes
44
---
5+
# 2.2.0
6+
7+
* `config`
8+
* add new `config` command to manage user configs.
9+
* try to save user from manually editing config file (~/.lcconfig).
10+
* start to use new json config format. (NOTE: not compatible with old format!)
11+
* `show`
12+
* print suppoerted language list.
13+
* add Release Notes page.
14+
* remove several legacy hacks.
15+
516
# 2.1.1
617
* `show`
718
* add `-e` option to open editor for coding.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "leetcode-cli",
3-
"version": "2.1.1",
3+
"version": "2.2.0",
44
"description": "A cli tool to enjoy leetcode!",
55
"preferGlobal": "true",
66
"bin": {
@@ -33,7 +33,7 @@
3333
"ansi-styles": "3.2.0",
3434
"cheerio": "0.20.0",
3535
"he": "1.1.1",
36-
"nconf": "^0.10.0",
36+
"nconf": "0.10.0",
3737
"prompt": "1.0.0",
3838
"request": "2.83.0",
3939
"sprintf-js": "1.1.1",

0 commit comments

Comments
 (0)