Skip to content

Commit c0e3691

Browse files
committed
chore: bump dependencies and update husky config
1 parent 6507e9c commit c0e3691

File tree

4 files changed

+524
-405
lines changed

4 files changed

+524
-405
lines changed

.husky/pre-commit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged
5+
npx pretty-quick --staged

.husky/pre-push

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx tsc
5+
npm run lint

package.json

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,55 +8,52 @@
88
"postbuild": "next-sitemap",
99
"lint": "next lint",
1010
"start": "next start",
11-
"format": "prettier --write ."
12-
},
13-
"husky": {
14-
"hooks": {
15-
"pre-commit": "lint-staged"
16-
}
11+
"format": "prettier --write .",
12+
"prepack": "husky install"
1713
},
1814
"lint-staged": {
19-
"*.+(ts|tsx)": [
20-
"prettier --write"
15+
"*.{js,ts,tsx}": [
16+
"next lint --fix"
2117
]
2218
},
2319
"dependencies": {
24-
"@notionhq/client": "^1.0.4",
20+
"@notionhq/client": "^2.2.0",
2521
"fast-glob": "^3.2.11",
26-
"framer-motion": "^6.3.16",
22+
"framer-motion": "^7.2.1",
2723
"gray-matter": "^4.0.3",
28-
"javascript-time-ago": "^2.5.5",
24+
"javascript-time-ago": "^2.5.7",
2925
"lodash": "^4.17.21",
30-
"next": "^12.2.0",
31-
"next-mdx-remote": "^4.0.3",
32-
"notion-client": "^6.12.9",
33-
"notion-utils": "^6.12.9",
26+
"next": "^12.2.5",
27+
"next-mdx-remote": "^4.1.0",
28+
"notion-client": "^6.13.8",
29+
"notion-utils": "^6.13.4",
3430
"prettier": "^2.7.1",
35-
"prismjs": "^1.28.0",
31+
"prismjs": "^1.29.0",
3632
"raw-loader": "^4.0.2",
3733
"react": "^18.2.0",
3834
"react-dom": "^18.2.0",
3935
"react-icons": "^4.4.0",
40-
"react-notion-x": "^6.12.10",
36+
"react-notion-x": "^6.13.9",
4137
"reactdom": "^2.0.0",
4238
"styled-components": "^5.3.5",
4339
"styled-system": "^5.1.5"
4440
},
4541
"devDependencies": {
4642
"@types/javascript-time-ago": "^2.0.3",
47-
"@types/lodash": "^4.14.182",
48-
"@types/react": "^18.0.14",
49-
"@types/styled-components": "^5.1.25",
43+
"@types/lodash": "^4.14.184",
44+
"@types/react": "^18.0.18",
45+
"@types/styled-components": "^5.1.26",
5046
"@types/styled-system": "^5.1.15",
51-
"@typescript-eslint/parser": "^5.30.0",
52-
"eslint": "^8.18.0",
53-
"eslint-config-next": "^12.2.0",
47+
"@typescript-eslint/parser": "^5.36.1",
48+
"eslint": "^8.23.0",
49+
"eslint-config-next": "^12.2.5",
5450
"eslint-config-prettier": "^8.5.0",
5551
"eslint-plugin-import": "^2.26.0",
5652
"eslint-plugin-prettier": "^4.2.1",
57-
"husky": "4",
53+
"husky": "8.0.1",
5854
"lint-staged": "^13.0.3",
59-
"next-sitemap": "^3.1.7",
60-
"typescript": "^4.7.4"
55+
"next-sitemap": "^3.1.21",
56+
"pretty-quick": "^3.1.3",
57+
"typescript": "^4.8.2"
6158
}
6259
}

0 commit comments

Comments
 (0)