Skip to content

Commit

Permalink
fix: add husky config, upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed May 11, 2021
1 parent 158747d commit 86fa3ac
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 90 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
4 changes: 4 additions & 0 deletions .husky/pre-push
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint
4 changes: 0 additions & 4 deletions husky.config.cjs

This file was deleted.

9 changes: 4 additions & 5 deletions package.json
Expand Up @@ -47,7 +47,7 @@
"homepage": "https://github.com/nanoexpress/nanoexpress#readme",
"dependencies": {
"@dalisoft/events": "^0.2.0",
"ajv": "^8.2.0",
"ajv": "^8.3.0",
"busboy": "^0.3.1",
"cookie": "^0.4.1",
"fast-json-stringify": "^2.7.3",
Expand All @@ -56,20 +56,19 @@
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"commitlint-config-airlight": "^1.0.1",
"commitlint-config-airlight": "^1.0.2",
"coveralls": "^3.1.0",
"eslint": "^7.26.0",
"eslint-config-airlight-node": "^1.1.8",
"husky": "^6.0.0",
"husky-config-airlight": "^1.0.3",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"lint-staged-config-airlight": "^1.0.8",
"prettier": "^2.2.1",
"prettier": "^2.3.0",
"prettier-config-airlight": "^1.0.0",
"rollup": "^2.47.0",
"shx": "^0.3.3",
"smartlint": "^1.1.8",
"smartlint": "^1.1.9",
"typescript": "4.2.4"
}
}
109 changes: 28 additions & 81 deletions yarn.lock
Expand Up @@ -428,21 +428,6 @@
dependencies:
"@dalisoft/args" "^0.1.1"

"@eslint/eslintrc@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.0.tgz#99cc0a0584d72f1df38b900fb062ba995f395547"
integrity sha512-2ZPCc+uNbjV5ERJr+aKSPRwZgKd2z11x0EgLvb1PURmUrn9QNRXFqje0Ldq454PfAVyaJYyrDvvIKSFP4NnBog==
dependencies:
ajv "^6.12.4"
debug "^4.1.1"
espree "^7.3.0"
globals "^12.1.0"
ignore "^4.0.6"
import-fresh "^3.2.1"
js-yaml "^3.13.1"
minimatch "^3.0.4"
strip-json-comments "^3.1.1"

"@eslint/eslintrc@^0.4.1":
version "0.4.1"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.1.tgz#442763b88cecbe3ee0ec7ca6d6dd6168550cbf14"
Expand Down Expand Up @@ -1123,7 +1108,7 @@ ajv@^6.10.0, ajv@^6.11.0, ajv@^6.12.3, ajv@^6.12.4:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"

ajv@^8.0.1, ajv@^8.2.0:
ajv@^8.0.1:
version "8.2.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.2.0.tgz#c89d3380a784ce81b2085f48811c4c101df4c602"
integrity sha512-WSNGFuyWd//XO8n/m/EaOlNLtO0yL8EXT/74LqT4khdhpZjP7lkj/kT5uwRmGitKEVp/Oj7ZUHeGfPtgHhQ5CA==
Expand All @@ -1133,6 +1118,16 @@ ajv@^8.0.1, ajv@^8.2.0:
require-from-string "^2.0.2"
uri-js "^4.2.2"

ajv@^8.3.0:
version "8.3.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.3.0.tgz#25ee7348e32cdc4a1dbb38256bf6bdc451dd577c"
integrity sha512-RYE7B5An83d7eWnDR8kbdaIFqmKCNsP16ay1hDbJEU+sa0e3H9SebskCt0Uufem6cfAVu7Col6ubcn/W+Sm8/Q==
dependencies:
fast-deep-equal "^3.1.1"
json-schema-traverse "^1.0.0"
require-from-string "^2.0.2"
uri-js "^4.2.2"

ansi-colors@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348"
Expand Down Expand Up @@ -1772,10 +1767,10 @@ commander@^7.2.0:
resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==

commitlint-config-airlight@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/commitlint-config-airlight/-/commitlint-config-airlight-1.0.1.tgz#17edbeb8150c6dc38c765642a5a991a802e08d1e"
integrity sha512-NaJp/Po5woiS0mRAHZCYQuFFANa7mF0vUOa7ahO0N6DZq81gmvknjLwvIVKZo4orzwt//tEjY7PP0YofLKvzHg==
commitlint-config-airlight@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/commitlint-config-airlight/-/commitlint-config-airlight-1.0.2.tgz#de585d1ad241d90bff7665277a9f31466450f36b"
integrity sha512-gtruwGojrqKtH+QwfnQV2uJvk5lcjXYwijdRM0u37OhkIdC/GSivBzFZxD6OZgoT87LwxNFXqyr0/LVPqjuk8w==
dependencies:
"@commitlint/config-conventional" "^12.1.1"

Expand Down Expand Up @@ -2441,49 +2436,6 @@ eslint-visitor-keys@^2.0.0:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==

eslint@^7.25.0:
version "7.25.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.25.0.tgz#1309e4404d94e676e3e831b3a3ad2b050031eb67"
integrity sha512-TVpSovpvCNpLURIScDRB6g5CYu/ZFq9GfX2hLNIV4dSBKxIWojeDODvYl3t0k0VtMxYeR8OXPCFE5+oHMlGfhw==
dependencies:
"@babel/code-frame" "7.12.11"
"@eslint/eslintrc" "^0.4.0"
ajv "^6.10.0"
chalk "^4.0.0"
cross-spawn "^7.0.2"
debug "^4.0.1"
doctrine "^3.0.0"
enquirer "^2.3.5"
eslint-scope "^5.1.1"
eslint-utils "^2.1.0"
eslint-visitor-keys "^2.0.0"
espree "^7.3.1"
esquery "^1.4.0"
esutils "^2.0.2"
file-entry-cache "^6.0.1"
functional-red-black-tree "^1.0.1"
glob-parent "^5.0.0"
globals "^13.6.0"
ignore "^4.0.6"
import-fresh "^3.0.0"
imurmurhash "^0.1.4"
is-glob "^4.0.0"
js-yaml "^3.13.1"
json-stable-stringify-without-jsonify "^1.0.1"
levn "^0.4.1"
lodash "^4.17.21"
minimatch "^3.0.4"
natural-compare "^1.4.0"
optionator "^0.9.1"
progress "^2.0.0"
regexpp "^3.1.0"
semver "^7.2.1"
strip-ansi "^6.0.0"
strip-json-comments "^3.1.0"
table "^6.0.4"
text-table "^0.2.0"
v8-compile-cache "^2.0.3"

eslint@^7.26.0:
version "7.26.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.26.0.tgz#d416fdcdcb3236cd8f282065312813f8c13982f6"
Expand Down Expand Up @@ -3331,11 +3283,6 @@ human-signals@^2.1.0:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==

husky-config-airlight@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/husky-config-airlight/-/husky-config-airlight-1.0.3.tgz#aac29aed1f183aff5b29a26bb8bd9a7774154bb4"
integrity sha512-p2q1LPGsXvtQvLxmzoFGFr4ZYH89lxItn1mjpM536YYokNeHmJ5wUcHR4pz4YISHw/5RVTZ0vssSCR/Nj9qhQg==

husky@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
Expand Down Expand Up @@ -5433,10 +5380,10 @@ prettier-config-airlight@^1.0.0:
resolved "https://registry.yarnpkg.com/prettier-config-airlight/-/prettier-config-airlight-1.0.0.tgz#2ff571aee286dc0510cff9fc1a62e464611a112f"
integrity sha512-hQwk2waEYms62lmWWZQAhUZSI+jSllVftBtBzeJhBhmk5AGP5+UyFZrocKZMx1sKmLhL6/eQulkB2gTULG8Ntw==

prettier@^2.1.2, prettier@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
prettier@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"
integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==

pretty-format@^26.6.2:
version "26.6.2"
Expand Down Expand Up @@ -6002,18 +5949,18 @@ smart-buffer@^4.1.0:
resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.1.0.tgz#91605c25d91652f4661ea69ccf45f1b331ca21ba"
integrity sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw==

smartlint@^1.1.8:
version "1.1.8"
resolved "https://registry.yarnpkg.com/smartlint/-/smartlint-1.1.8.tgz#50c2e9a9984bbda6f43ce5bde0b75083afad7f4d"
integrity sha512-7og91WGLVUQAH10X/MYOqoUeZ1wy8WE20KQCnIdV/YJJQf0x/aAMidljz0wxsMNFuXdCikaP/Av7lHaP4pW6eg==
smartlint@^1.1.9:
version "1.1.9"
resolved "https://registry.yarnpkg.com/smartlint/-/smartlint-1.1.9.tgz#53055d282d9fe4fde80e3741fd1fabd97bbe5c26"
integrity sha512-V4A/2XAEekGnoqZNNUSCc1lpSvOBYuuDn2EQcoTjH73sRCc1FZknf2PY8ALjHU9FVWkodRSQT7UgZbT4VaqvlQ==
dependencies:
"@ls-lint/ls-lint" "^1.9.2"
"@stoplight/spectral" "^5.9.1"
dockerfilelint "^1.8.0"
eslint "^7.25.0"
eslint "^7.26.0"
htmlhint "^0.14.1"
markdownlint-cli2 "0.1.3"
prettier "^2.1.2"
prettier "^2.3.0"
stylelint "^13.13.1"

snapdragon-node@^2.0.1:
Expand Down Expand Up @@ -6678,9 +6625,9 @@ tunnel-agent@^0.6.0:
dependencies:
safe-buffer "^5.0.1"

"turbo-json-parse@https://github.com/dalisoft/turbo-json-parse/archive/master.tar.gz":
version "2.3.0"
resolved "https://github.com/dalisoft/turbo-json-parse/archive/master.tar.gz#6837f00c7188a7b47776fc65bf53687ef6887f7e"
"turbo-json-parse@https://github.com/dalisoft/turbo-json-parse/releases/download/v2.4.0/turbo-json-parse-2.4.0.tgz":
version "2.4.0"
resolved "https://github.com/dalisoft/turbo-json-parse/releases/download/v2.4.0/turbo-json-parse-2.4.0.tgz#fc8b6ec43aff18ac978c1b7affe38eb6f46f1037"
dependencies:
generate-function "^2.3.1"

Expand Down

0 comments on commit 86fa3ac

Please sign in to comment.