@beauraines/toggl-cli 2.8.0 → 2.8.3

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,6 +6,8 @@ on:
6
6
  pull_request:
7
7
  branches: [ main ]
8
8
 
9
+ permissions:
10
+ contents: read
9
11
 
10
12
  jobs:
11
13
  build:
@@ -14,14 +16,15 @@ jobs:
14
16
 
15
17
  strategy:
16
18
  matrix:
17
- node-version: [18.x,20.x]
19
+ node-version: [20.x,22.x]
18
20
 
19
21
  steps:
20
- - uses: actions/checkout@v3
22
+ - uses: actions/checkout@v6
21
23
  - name: Use Node.js ${{ matrix.node-version }}
22
- uses: actions/setup-node@v3
24
+ uses: actions/setup-node@v6
23
25
  with:
24
26
  node-version: ${{ matrix.node-version }}
27
+ cache: 'npm'
25
28
  - run: npm ci
26
29
  - run: npm run build --if-present
27
30
  - run: npm test
@@ -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 }}
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
+ ### [2.8.3](https://github.com/beauraines/toggl-cli/compare/v2.8.0...v2.8.3) (2026-03-24)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **deps:** bump dotenv from 17.2.3 to 17.3.1 ([#231](https://github.com/beauraines/toggl-cli/issues/231)) ([1846f00](https://github.com/beauraines/toggl-cli/commit/1846f004902fa95f85b7e07ff8b07546a0bca26c))
11
+
5
12
  ## [2.8.0](https://github.com/beauraines/toggl-cli/compare/v2.7.0...v2.8.0) (2026-02-28)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beauraines/toggl-cli",
3
- "version": "2.8.0",
3
+ "version": "2.8.3",
4
4
  "description": "CLI client for Toggl Time Tracker",
5
5
  "main": "cli.js",
6
6
  "bin": {
@@ -41,8 +41,8 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@eslint/eslintrc": "^3.1.0",
44
- "@eslint/js": "^9.5.0",
45
- "eslint": "^9.5.0",
44
+ "@eslint/js": "^10.0.1",
45
+ "eslint": "^10.0.2",
46
46
  "eslint-plugin-jest": "^29.5.0",
47
47
  "globals": "^17.3.0",
48
48
  "jest": "^30.2.0",