Skip to content

Commit

Permalink
Merge pull request #12 from homer0/homer0_node14
Browse files Browse the repository at this point in the history
Drop Node 12 support and update dependencies
  • Loading branch information
homer0 authored Apr 25, 2022
2 parents 1d9a1fd + 060e21d commit 0d80372
Show file tree
Hide file tree
Showing 5 changed files with 2,843 additions and 2,968 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '14' ]
node: [ '14', '16' ]
name: Run jest and ESLint (Node ${{ matrix.node }})
steps:
- uses: actions/checkout@v2
Expand All @@ -18,7 +18,7 @@ jobs:
- run: yarn lint:all
- run: yarn test
- name: Coveralls
if: ${{ matrix.node == '12' }}
if: ${{ matrix.node == '14' }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
14
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,42 +14,42 @@
],
"license": "MIT",
"dependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.16.11",
"5to6-codemod": "1.8.0",
"chalk": "^4.1.2",
"del": "^6.0.0",
"fs-extra": "^10.0.0",
"fs-extra": "^10.1.0",
"jscodeshift": "0.10.0"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@homer0/eslint-plugin": "^8.0.2",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@homer0/eslint-plugin": "^9.0.2",
"@homer0/prettier-config": "^1.1.1",
"@homer0/prettier-plugin-jsdoc": "^4.0.6",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.1",
"eslint": "^8.0.1",
"husky": "^7.0.2",
"is-ci": "^3.0.0",
"jest": "^27.2.5",
"@homer0/prettier-plugin-jsdoc": "^5.1.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"eslint": "^8.14.0",
"husky": "^7.0.4",
"is-ci": "^3.0.1",
"jest": "^27.5.1",
"jimple": "^1.5.0",
"jsdoc": "^3.6.7",
"jsdoc": "^3.6.10",
"jsdoc-ts-utils": "^2.0.1",
"docdash": "homer0/docdash#semver:^2.1.0",
"leasot": "^12.0.0",
"lint-staged": "^11.2.3",
"prettier": "^2.4.1",
"semantic-release": "^17.4.7"
"leasot": "^13.1.0",
"lint-staged": "^12.4.0",
"prettier": "^2.6.2",
"semantic-release": "^19.0.2"
},
"main": "src/index.js",
"bin": {
"cjs2esm": "./src/bin.js"
},
"engine-strict": true,
"engines": {
"node": ">=12"
"node": ">=14"
},
"commitlint": {
"extends": [
Expand Down
5 changes: 4 additions & 1 deletion tests/bin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ describe('bin', () => {
*
* @returns {Promise}
*/
const sleep = () => new Promise((resolve) => setTimeout(resolve, 300));
const sleep = () =>
new Promise((resolve) => {
setTimeout(resolve, 300);
});

it('should execute the tool', async () => {
const config = {
Expand Down
Loading

0 comments on commit 0d80372

Please sign in to comment.