Skip to content

Commit c624a80

Browse files
Merge pull request #54 from shelfio/feature/update-deps
2 parents 52d13a3 + 7efab54 commit c624a80

File tree

5 files changed

+14
-47
lines changed

5 files changed

+14
-47
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version: 2.1
66
parameters:
77
node_version:
88
type: string
9-
default: '18.18.0'
9+
default: '20.12.2'
1010

1111
commands:
1212
install_deps:

.husky/_/husky.sh

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +0,0 @@
1-
#!/bin/sh
2-
if [ -z "$husky_skip_init" ]; then
3-
debug () {
4-
if [ "$HUSKY_DEBUG" = "1" ]; then
5-
echo "husky (debug) - $1"
6-
fi
7-
}
8-
9-
readonly hook_name="$(basename "$0")"
10-
debug "starting $hook_name..."
11-
12-
if [ "$HUSKY" = "0" ]; then
13-
debug "HUSKY env variable is set to 0, skipping hook"
14-
exit 0
15-
fi
16-
17-
if [ -f ~/.huskyrc ]; then
18-
debug "sourcing ~/.huskyrc"
19-
. ~/.huskyrc
20-
fi
21-
22-
export readonly husky_skip_init=1
23-
sh -e "$0" "$@"
24-
exitCode="$?"
25-
26-
if [ $exitCode != 0 ]; then
27-
echo "husky - $hook_name hook exited with code $exitCode (error)"
28-
fi
29-
30-
exit $exitCode
31-
fi

.husky/pre-commit

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
yarn lint-staged --shell "/bin/sh" --verbose
4-
1+
yarn lint-staged

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"lint": "yarn lint:ci --fix",
2323
"lint:ci": "eslint . --ext .js,.ts,.json",
2424
"prepack": "yarn build",
25+
"prepare": "husky",
2526
"size": "size-limit",
2627
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
2728
"type-check": "tsc --noEmit"
@@ -44,23 +45,23 @@
4445
"preset": "ts-jest/presets/default-esm"
4546
},
4647
"devDependencies": {
47-
"@shelf/eslint-config": "3.11.2",
48+
"@shelf/eslint-config": "3.15.1",
4849
"@shelf/prettier-config": "1.0.0",
4950
"@shelf/tsconfig": "0.1.0",
50-
"@size-limit/preset-small-lib": "10.0.1",
51-
"@types/jest": "29.5.7",
51+
"@size-limit/preset-small-lib": "11.1.2",
52+
"@types/jest": "29.5.12",
5253
"benny": "3.7.1",
5354
"eslint": "8.52.0",
54-
"husky": "8.0.3",
55+
"husky": "9.0.11",
5556
"jest": "29.7.0",
56-
"lint-staged": "15.0.2",
57-
"prettier": "3.0.3",
58-
"size-limit": "10.0.1",
59-
"ts-jest": "29.1.1",
60-
"typescript": "5.2.2"
57+
"lint-staged": "15.2.2",
58+
"prettier": "3.2.5",
59+
"size-limit": "11.1.2",
60+
"ts-jest": "29.1.2",
61+
"typescript": "5.4.5"
6162
},
6263
"engines": {
63-
"node": ">=16"
64+
"node": ">=18"
6465
},
6566
"publishConfig": {
6667
"access": "public"

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": ["github>shelfio/renovate-config-public"],
3-
"labels": ["frontend", "dependencies"],
3+
"labels": ["frontend"],
44
"ignoreDeps": ["cimg/node"]
55
}

0 commit comments

Comments
 (0)