Skip to content

Commit e2ac267

Browse files
authored
Merge pull request #10 from hackmdio/feature/extract-api-client
2 parents 8da65c4 + c7848b6 commit e2ac267

File tree

8 files changed

+104
-267
lines changed

8 files changed

+104
-267
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ EXAMPLE
175175
Login as HMD successfully!
176176
```
177177

178-
Alternatively, you may supply an email and password via the `CMD_EMAIL` and `CMD_PASSWORD` environment variables, respectively.
178+
Alternatively, you may supply an email and password via the `CMD_CLI_ID` and `CMD_CLI_PASSWORD` environment variables, respectively.
179179

180180
_See code: [src/commands/login.ts](https://github.com/hackmdio/codimd-cli/blob/v1.0.3/src/commands/login.ts)_
181181

package-lock.json

Lines changed: 59 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,25 @@
77
},
88
"bugs": "https://github.com/hackmdio/codimd-cli/issues",
99
"dependencies": {
10+
"@hackmd/api": "^1.0.1",
1011
"@oclif/command": "^1.5.19",
1112
"@oclif/config": "^1.13.3",
1213
"@oclif/plugin-help": "^2.2.3",
13-
"cheerio": "^1.0.0-rc.3",
1414
"cli-ux": "^5.4.4",
15-
"fetch-cookie": "^0.7.3",
1615
"fs-extra": "^8.1.0",
1716
"inquirer": "^6.5.2",
1817
"lodash": "^4.17.15",
19-
"node-fetch": "^2.6.0",
20-
"tough-cookie": "^3.0.1",
21-
"tough-cookie-filestore": "0.0.1",
2218
"tslib": "^1.10.0"
2319
},
2420
"devDependencies": {
2521
"@oclif/dev-cli": "^1.22.2",
2622
"@oclif/test": "^1.2.5",
2723
"@oclif/tslint": "^3.1.1",
2824
"@types/chai": "^4.2.7",
29-
"@types/cheerio": "^0.22.15",
3025
"@types/fs-extra": "^8.0.1",
3126
"@types/inquirer": "^6.5.0",
3227
"@types/mocha": "^5.2.7",
3328
"@types/node": "^10.17.13",
34-
"@types/node-fetch": "^2.5.4",
35-
"@types/tough-cookie": "^2.3.6",
36-
"@types/tough-cookie-filestore": "0.0.0",
3729
"chai": "^4.2.0",
3830
"dotenv": "^8.2.0",
3931
"globby": "^10.0.2",

0 commit comments

Comments
 (0)