Skip to content

Commit

Permalink
chore: upgrade deps, node version and cleanup old config
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyulin committed Sep 27, 2021
1 parent dca779b commit 022dda0
Show file tree
Hide file tree
Showing 9 changed files with 4,369 additions and 4,367 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2
references:
container-config-node8: &container-config-node8
docker:
- image: circleci/node:12
- image: circleci/node:14
restore-deps-cache: &restore-deps-cache
restore_cache:
keys:
Expand Down
1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ rules:
jest/no-identical-title: error
jest/no-try-expect: 'off'
jest/valid-expect: error
jest/no-conditional-expect: 'off'
prettier/prettier:
- error
- {
Expand Down
4 changes: 0 additions & 4 deletions .huskyrc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/erbium
v14.17.6
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ SHELL := /bin/bash -v
## COMMANDS
install:
@yarn
@husky install

upgrade:
@yarn upgrade-interactive --latest

nvm-update:
@bash -l -c 'nvm install --latest-npm --reinstall-packages-from=$(shell node -v)'

cleanup:
@rm -rf node_modules coverage dist types docs *.log
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
'@babel/preset-env',
{
targets: {
node: '12.18',
node: '14.17',
},
},
],
Expand Down
16 changes: 0 additions & 16 deletions book.json

This file was deleted.

54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,37 +19,37 @@
"write-yaml": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/node": "^7.10.1",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@commitlint/prompt-cli": "^11.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/preset-env": "^7.15.6",
"@babel/preset-typescript": "^7.15.0",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/prompt-cli": "^13.1.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-plugin-module-resolver": "^4.0.0",
"coveralls": "^3.1.0",
"documentation": "^13.0.2",
"eslint": "^7.10.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.12.0",
"babel-jest": "^27.2.1",
"babel-plugin-module-resolver": "^4.1.0",
"coveralls": "^3.1.1",
"documentation": "^13.2.5",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard-jsdoc": "^9.3.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.0.2",
"eslint-plugin-jsdoc": "^30.6.2",
"eslint-plugin-prettier": "^3.1.4",
"eslint_d": "^9.1.2",
"gh-pages": "^3.1.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"prettier": "^2.1.2",
"semantic-release": "^17.1.2",
"typescript": "^4.0.3"
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.2",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint_d": "^11.0.0",
"gh-pages": "^3.2.3",
"husky": "^7.0.0",
"jest": "^27.2.1",
"prettier": "^2.4.1",
"semantic-release": "^18.0.0",
"typescript": "^4.4.3"
},
"optionalDependencies": {},
"engines": {
Expand Down
Loading

0 comments on commit 022dda0

Please sign in to comment.