@beauraines/rtm-cli 1.8.14 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +3 -0
- package/package.json +3 -3
- package/src/utils/login.js +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.9.0](https://github.com/beauraines/rtm-cli/compare/v1.8.14...v1.9.0) (2025-08-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* login workaround ([#145](https://github.com/beauraines/rtm-cli/issues/145)) ([7a308d4](https://github.com/beauraines/rtm-cli/commit/7a308d4d164fdd4ecac7507a4e2940d3a0b2d325)), closes [#68](https://github.com/beauraines/rtm-cli/issues/68) [#131](https://github.com/beauraines/rtm-cli/issues/131)
|
|
11
|
+
|
|
5
12
|
### [1.8.14](https://github.com/beauraines/rtm-cli/compare/v1.8.13...v1.8.14) (2025-07-05)
|
|
6
13
|
|
|
7
14
|
|
package/README.md
CHANGED
|
@@ -4,6 +4,9 @@ Remember The Milk Command Line Interface
|
|
|
4
4
|
**node module:** [rtm-cli](https://www.npmjs.com/package/@beauraines/rtm-cli)<br />
|
|
5
5
|
**GitHub repo:** [beauraines/rtm-cli](https://github.com/beauraines/rtm-cli)
|
|
6
6
|
|
|
7
|
+
|
|
8
|
+
❗❗ **Resolved login issue blocking new users** ❗❗
|
|
9
|
+
|
|
7
10
|
---
|
|
8
11
|
|
|
9
12
|
This Node module provides a command line interface, written in JavaScript,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beauraines/rtm-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "RTM CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rtm",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"archiver": "^5.3.1",
|
|
56
56
|
"eslint": "^9.5.0",
|
|
57
|
-
"eslint-plugin-jest": "^
|
|
58
|
-
"jest": "^
|
|
57
|
+
"eslint-plugin-jest": "^29.0.1",
|
|
58
|
+
"jest": "^30.0.4",
|
|
59
59
|
"pkg": "^5.8.0"
|
|
60
60
|
},
|
|
61
61
|
"pkg": {
|
package/src/utils/login.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
const cp = require('copy-paste');
|
|
4
4
|
const log = require('./log.js');
|
|
5
5
|
const finish = require('../utils/finish.js');
|
|
6
|
+
const readline = require("node:readline")
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -17,6 +18,9 @@ function login(callback) {
|
|
|
17
18
|
|
|
18
19
|
log.info("Authorization Required:");
|
|
19
20
|
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
20
24
|
// Get the Auth URL
|
|
21
25
|
log.spinner.start('Getting Login URL...');
|
|
22
26
|
client.auth.getAuthUrl(function(err, url, frob) {
|
|
@@ -35,8 +39,14 @@ function login(callback) {
|
|
|
35
39
|
log.style(') and authorize RTM CLI:', true);
|
|
36
40
|
log.style(url, 'blue.underline', true);
|
|
37
41
|
|
|
42
|
+
|
|
43
|
+
const rl = readline.createInterface({
|
|
44
|
+
input: process.stdin,
|
|
45
|
+
output: process.stdout
|
|
46
|
+
});
|
|
47
|
+
|
|
38
48
|
// Wait for User Input
|
|
39
|
-
|
|
49
|
+
rl.question('Press [enter] when done: ', function() {
|
|
40
50
|
log.spinner.start('Logging In...');
|
|
41
51
|
|
|
42
52
|
// Get the Authorized User
|