Skip to content

Commit dcf5d6d

Browse files
committed
fix: Update all deps and release
1 parent 3148553 commit dcf5d6d

7 files changed

Lines changed: 2272 additions & 2479 deletions

File tree

.circleci/config.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/coverage.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v4
15-
16-
- name: Use Node.js 22
17-
uses: actions/setup-node@v4
14+
- uses: actions/checkout@v6
15+
16+
- name: Use Node.js 24
17+
uses: actions/setup-node@v6
1818
with:
19-
node-version: '22.x'
19+
node-version: '24.x'
2020
cache: 'yarn'
2121

2222
- name: Install dependencies
2323
run: yarn install --frozen-lockfile
24-
24+
2525
- name: Run tests with coverage
2626
run: yarn test --coverage
2727

2828
- name: Upload coverage to Codecov
29-
uses: codecov/codecov-action@v5
29+
uses: codecov/codecov-action@v6
3030
with:
3131
token: ${{ secrets.CODECOV_TOKEN }}
3232
file: ./coverage/lcov.info

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222

2323
- name: Setup Node.js
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v6
2525
with:
26-
node-version: '22.x'
26+
node-version: '24.x'
2727
cache: 'yarn'
2828

2929
- name: Install dependencies
@@ -38,5 +38,4 @@ jobs:
3838
- name: Release
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4241
run: npx semantic-release

index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Command } from 'commander';
2-
import * as fs from 'fs';
2+
import fs = require('fs');
33
import { runCLI } from './index';
44
import printTableFromInp from './src/service';
55

@@ -95,4 +95,4 @@ describe('CLI', () => {
9595
runCLI(['node', 'index.js']);
9696
expect(mockConsoleLog).toHaveBeenCalledWith('Error: Cant detect input option');
9797
});
98-
});
98+
});

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./jestconfig.json');

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@
3737
},
3838
"homepage": "https://console-table.netlify.app/docs/doc-cli-install-quick-start",
3939
"dependencies": {
40-
"commander": "^14.0.0",
41-
"console-table-printer": "^2.14.3"
40+
"commander": "^14.0.3",
41+
"console-table-printer": "^2.15.2"
4242
},
4343
"devDependencies": {
4444
"@semantic-release/changelog": "^6.0.3",
4545
"@semantic-release/git": "^10.0.1",
46-
"@types/jest": "^29.5.14",
47-
"@types/node": "^24.0.0",
48-
"@typescript-eslint/eslint-plugin": "^8.34.0",
49-
"@typescript-eslint/parser": "^8.34.0",
50-
"eslint": "^9.28.0",
46+
"@types/jest": "^30.0.0",
47+
"@types/node": "^25.9.1",
48+
"@typescript-eslint/eslint-plugin": "^8.60.0",
49+
"@typescript-eslint/parser": "^8.60.0",
50+
"eslint": "^10.4.0",
5151
"eslint-config-airbnb-base": "^15.0.0",
52-
"eslint-plugin-import": "^2.31.0",
52+
"eslint-plugin-import": "^2.32.0",
5353
"husky": "^9.1.7",
54-
"jest": "^30.0.0",
55-
"prettier": "^3.5.3",
54+
"jest": "^30.4.2",
55+
"prettier": "^3.8.3",
5656
"pretty-quick": "^4.2.2",
57-
"semantic-release": "^24.2.5",
58-
"ts-jest": "^29.3.4",
59-
"typescript": "^5.8.3"
57+
"semantic-release": "^25.0.3",
58+
"ts-jest": "^29.4.11",
59+
"typescript": "^6.0.3"
6060
}
6161
}

0 commit comments

Comments
 (0)