@beauraines/rtm-cli 1.14.2 → 1.14.4

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.
@@ -6,12 +6,16 @@ on:
6
6
  types: [completed]
7
7
  branches: [master,main]
8
8
 
9
+ permissions:
10
+ contents: write
11
+ id-token: write
12
+
9
13
  jobs:
10
14
  publish-new-version:
11
15
  runs-on: ubuntu-latest
12
16
  if: ${{ github.event.workflow_run.conclusion == 'success' }}
13
17
  steps:
14
- - uses: actions/checkout@v3
18
+ - uses: actions/checkout@v6
15
19
  with:
16
20
  fetch-depth: '0'
17
21
  - name: git setup
@@ -19,10 +23,11 @@ jobs:
19
23
  git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
20
24
  git config --local user.name "github-actions[bot]"
21
25
  - name: setup node
22
- uses: actions/setup-node@v3
26
+ uses: actions/setup-node@v6
23
27
  with:
24
- node-version: 18.x
28
+ node-version: '24'
25
29
  registry-url: 'https://registry.npmjs.org'
30
+ cache: 'npm'
26
31
  - name: npm install
27
32
  run: npm ci
28
33
 
@@ -41,13 +46,11 @@ jobs:
41
46
 
42
47
  - name: Publish to NPM
43
48
  if: steps.should_release.outcome == 'success'
44
- run: npm publish
45
- env:
46
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
49
+ run: npm publish --provenance
47
50
 
48
51
  - name: Push commits to GitHub
49
52
  if: steps.should_release.outcome == 'success'
50
- uses: ad-m/github-push-action@master
53
+ uses: ad-m/github-push-action@v1.0.0
51
54
  with:
52
55
  github_token: ${{ secrets.GITHUB_TOKEN }}
53
56
  branch: ${{ github.ref }}
@@ -6,6 +6,9 @@ on:
6
6
  pull_request:
7
7
  branches: [ main ]
8
8
 
9
+ permissions:
10
+ contents: read
11
+
9
12
  jobs:
10
13
  build:
11
14
 
@@ -13,13 +16,14 @@ jobs:
13
16
 
14
17
  strategy:
15
18
  matrix:
16
- node-version: [18.x,20.x]
19
+ node-version: [20.x,22.x]
17
20
 
18
21
  steps:
19
- - uses: actions/checkout@v3
22
+ - uses: actions/checkout@v6
20
23
  - name: Use Node.js ${{ matrix.node-version }}
21
- uses: actions/setup-node@v3
24
+ uses: actions/setup-node@v6
22
25
  with:
23
26
  node-version: ${{ matrix.node-version }}
27
+ cache: 'npm'
24
28
  - run: npm ci
25
29
  - run: npm test
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
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.14.4](https://github.com/beauraines/rtm-cli/compare/v1.14.3...v1.14.4) (2026-03-24)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **deps:** bump @beauraines/rtm-api from 1.14.1 to 1.14.3 ([#180](https://github.com/beauraines/rtm-cli/issues/180)) ([3d1e6ec](https://github.com/beauraines/rtm-cli/commit/3d1e6ec8f7f03b0331e235b78dbc43258877feda)), closes [#76](https://github.com/beauraines/rtm-cli/issues/76) [debug-js/debug#1005](https://github.com/debug-js/debug/issues/1005) [debug-js/debug#997](https://github.com/debug-js/debug/issues/997) [#987](https://github.com/beauraines/rtm-cli/issues/987) [debug-js/debug#988](https://github.com/debug-js/debug/issues/988) [debug-js/debug#997](https://github.com/debug-js/debug/issues/997) [debug-js/debug#988](https://github.com/debug-js/debug/issues/988) [#987](https://github.com/beauraines/rtm-cli/issues/987) [#988](https://github.com/beauraines/rtm-cli/issues/988) [#77](https://github.com/beauraines/rtm-cli/issues/77) [#6088](https://github.com/beauraines/rtm-cli/issues/6088) [#6071](https://github.com/beauraines/rtm-cli/issues/6071) [#6062](https://github.com/beauraines/rtm-cli/issues/6062) [#6056](https://github.com/beauraines/rtm-cli/issues/6056) [#6053](https://github.com/beauraines/rtm-cli/issues/6053) [#6052](https://github.com/beauraines/rtm-cli/issues/6052) [#6039](https://github.com/beauraines/rtm-cli/issues/6039) [#6023](https://github.com/beauraines/rtm-cli/issues/6023) [#5968](https://github.com/beauraines/rtm-cli/issues/5968) [#86](https://github.com/beauraines/rtm-cli/issues/86) [#76](https://github.com/beauraines/rtm-cli/issues/76) [#77](https://github.com/beauraines/rtm-cli/issues/77) [#81](https://github.com/beauraines/rtm-cli/issues/81) [#75](https://github.com/beauraines/rtm-cli/issues/75) [#84](https://github.com/beauraines/rtm-cli/issues/84)
11
+
12
+ ### [1.14.3](https://github.com/beauraines/rtm-cli/compare/v1.14.2...v1.14.3) (2026-02-25)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **deps:** bump minimatch ([#171](https://github.com/beauraines/rtm-cli/issues/171)) ([263f37d](https://github.com/beauraines/rtm-cli/commit/263f37dadd7619c64ecac2f5ee2af5c5d5bd0371))
18
+
5
19
  ### [1.14.2](https://github.com/beauraines/rtm-cli/compare/v1.14.1...v1.14.2) (2026-01-25)
6
20
 
7
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beauraines/rtm-cli",
3
- "version": "1.14.2",
3
+ "version": "1.14.4",
4
4
  "description": "RTM CLI",
5
5
  "keywords": [
6
6
  "rtm",
@@ -39,7 +39,7 @@
39
39
  "@beauraines/rtm-api": "^1.14.0",
40
40
  "chalk": "^4.0.0",
41
41
  "cli-table3": "^0.6.3",
42
- "commander": "^2.11.0",
42
+ "commander": "^11.1.0",
43
43
  "copy-paste": "^2.1.1",
44
44
  "dateformat": "^4.0.0",
45
45
  "debug": "^4.3.4",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "archiver": "^5.3.1",
58
- "eslint": "^9.5.0",
58
+ "eslint": "^10.0.2",
59
59
  "eslint-plugin-jest": "^29.0.1",
60
60
  "jest": "^30.0.4",
61
61
  "pkg": "^5.8.0"
package/src/cli.js CHANGED
@@ -50,9 +50,9 @@ function setup() {
50
50
  .option('-p, --plain', 'do not use styled/colored text (overrides --color)')
51
51
  .option('-c, --color', 'force the use of styled/colored text')
52
52
  .option('-s, --status', 'toggle the display of the status spinner')
53
- .option('-x, --completed [value]', 'set display of completed tasks (true/false/number of days)')
54
- .option('-d, --hideDue [value]', 'hide tasks due more than n days from today (false/number of days)')
55
- .option('-f, --config [file]', 'specify configuration file', function(file) {
53
+ .option('-x, --completed <value>', 'set display of completed tasks (true/false/number of days)')
54
+ .option('-d, --hideDue <value>', 'hide tasks due more than n days from today (false/number of days)')
55
+ .option('-f, --config <file>', 'specify configuration file', function(file) {
56
56
  config.reset(file);
57
57
  parsePlugins();
58
58
  parseAliases();
@@ -384,7 +384,8 @@ function parseAliases() {
384
384
  }
385
385
 
386
386
  // Parse the command
387
- global._program.parse(args);
387
+ const parsed = global._program.parse(args);
388
+ const opts = parsed.opts();
388
389
 
389
390
  });
390
391
 
@@ -416,7 +417,8 @@ function start() {
416
417
 
417
418
  // Parse the process arguments
418
419
  else {
419
- program.parse(process.argv);
420
+ const parsed = program.parse(process.argv);
421
+ const opts = parsed.opts();
420
422
  }
421
423
 
422
424
 
@@ -41,7 +41,8 @@ function prompt() {
41
41
 
42
42
  // Parse the line command with commander
43
43
  else if ( commands.indexOf(cmd) > -1 || aliases.indexOf(cmd) > -1 ) {
44
- global._program.parse(params);
44
+ const parsed = global._program.parse(params);
45
+ const opts = parsed.opts();
45
46
  }
46
47
 
47
48
  // Nothing entered