Skip to content

Commit fc94464

Browse files
authored
[BREAKING] Upgrade deps, drop support for Node v10 (#100)
* Upgrade deps for security patches * Drop support for Node 10
1 parent d3a5c32 commit fc94464

File tree

5 files changed

+1056
-1059
lines changed

5 files changed

+1056
-1059
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@ name: Node.js CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
7-
branches: [ master ]
7+
branches: [master]
88

99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node-version: [10.x, 12.x, 14.x]
14+
node-version: [12.x, 14.x]
1515
steps:
16-
- uses: actions/checkout@v2
17-
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v1
19-
with:
20-
node-version: ${{ matrix.node-version }}
21-
- run: npm i -g yarn
22-
- run: yarn
23-
- run: yarn build
24-
- run: yarn reflect
25-
- run: yarn isclean
26-
- run: yarn lint
27-
- run: yarn prettier
28-
- run: yarn test
16+
- uses: actions/checkout@v2
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
- run: npm i -g yarn
22+
- run: yarn
23+
- run: yarn build
24+
- run: yarn reflect
25+
- run: yarn isclean
26+
- run: yarn lint
27+
- run: yarn prettier
28+
- run: yarn test

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ As the project grows, these guidelines may evolve.
88

99
Codehawk-cli is a pure Node.JS program. All you need to develop the project is
1010

11-
- Node.js v10+ (v14 recommended)
11+
- Node.js v12+ (v14+ or latest LTS is recommended)
1212
- Git (no specific version required but v2+ is recommended)
1313
- Yarn (v1 recommended, v2 currently untested)
1414

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ JavaScript (including TypeScript and Flow) projects are supported for analysis.
1111

1212
It works by traversing a directory and discovering all supported filetypes, runs a static analysis routine on each file, then performs project-wide analysis such as inter-dependency counting and test coverage mapping.
1313

14-
The CLI runs as a Node.js process. Node.js >=12 is recommended, but >=10 should also work. <10 is unsupported.
14+
The CLI runs as a Node.js process. Node.js >=12 is required, but >=14 is recommended. Node v10 and under is not supported.
1515

1616
## Usage
1717

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"main": "build/codehawk.js",
7474
"types": "build/codehawk.d.ts",
7575
"engines": {
76-
"node": ">=10"
76+
"node": ">=12"
7777
},
7878
"jest": {
7979
"preset": "ts-jest",

0 commit comments

Comments
 (0)