Skip to content

Commit 5af2fd6

Browse files
committed
Bump dependencies
1 parent 0fd853a commit 5af2fd6

File tree

9 files changed

+857
-2082
lines changed

9 files changed

+857
-2082
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Node.js
1616
uses: actions/setup-node@v1
1717
with:
18-
node-version: 12
18+
node-version: 16
1919

2020
- name: Install yarn dependencies
2121
run: yarn

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Node.js
1616
uses: actions/setup-node@v1
1717
with:
18-
node-version: 12
18+
node-version: 16
1919

2020
- name: Install yarn dependencies
2121
run: yarn

next-env.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/// <reference types="next" />
2-
/// <reference types="next/types/global" />
32
/// <reference types="next/image-types/global" />
43

54
// NOTE: This file should not be edited

next.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
module.exports = {
2-
target: 'serverless',
32
images: {
43
domains: ['rdl.ink'],
54
},

package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -21,39 +21,39 @@
2121
]
2222
},
2323
"dependencies": {
24-
"@types/javascript-time-ago": "^2.0.3",
25-
"@types/styled-components": "^5.1.9",
26-
"@types/styled-system": "^5.1.11",
27-
"babel-plugin-styled-components": "^1.12.0",
28-
"fast-glob": "^3.2.5",
29-
"framer-motion": "^4.1.17",
30-
"gray-matter": "^4.0.2",
31-
"javascript-time-ago": "^2.3.8",
32-
"next": "^11.1.2",
33-
"next-mdx-remote": "^3.0.1",
34-
"notion-client": "^4.8.6",
35-
"notion-utils": "^4.8.6",
36-
"prettier": "^2.4.0",
37-
"prismjs": "^1.25.0",
24+
"fast-glob": "^3.2.11",
25+
"framer-motion": "^6.2.3",
26+
"gray-matter": "^4.0.3",
27+
"javascript-time-ago": "^2.3.11",
28+
"next": "^12.0.9",
29+
"next-mdx-remote": "^3.0.8",
30+
"notion-client": "^4.15.0",
31+
"notion-utils": "^4.15.0",
32+
"prettier": "^2.5.1",
33+
"prismjs": "^1.26.0",
3834
"raw-loader": "^4.0.2",
3935
"react": "^17.0.2",
4036
"react-dom": "^17.0.2",
41-
"react-icons": "^4.2.0",
42-
"react-notion-x": "^4.9.0",
43-
"styled-components": "^5.3.1",
37+
"react-icons": "^4.3.1",
38+
"react-notion-x": "^4.15.0",
39+
"reactdom": "^2.0.0",
40+
"styled-components": "^5.3.3",
4441
"styled-system": "^5.1.5"
4542
},
4643
"devDependencies": {
47-
"@types/react": "^17.0.3",
48-
"@typescript-eslint/parser": "^4.21.0",
44+
"@types/javascript-time-ago": "^2.0.3",
45+
"@types/react": "^17.0.38",
46+
"@types/styled-components": "^5.1.21",
47+
"@types/styled-system": "^5.1.15",
48+
"@typescript-eslint/parser": "^5.10.1",
4949
"eslint": "^7.31.0",
50-
"eslint-config-next": "^11.0.1",
51-
"eslint-config-prettier": "^8.1.0",
52-
"eslint-plugin-import": "^2.22.1",
53-
"eslint-plugin-prettier": "^3.3.1",
50+
"eslint-config-next": "^12.0.9",
51+
"eslint-config-prettier": "^8.3.0",
52+
"eslint-plugin-import": "^2.25.4",
53+
"eslint-plugin-prettier": "^4.0.0",
5454
"husky": "4",
55-
"lint-staged": "^11.0.1",
56-
"next-sitemap": "^1.6.168",
57-
"typescript": "^4.4.3"
55+
"lint-staged": "^12.3.2",
56+
"next-sitemap": "^2.1.2",
57+
"typescript": "^4.5.5"
5858
}
5959
}

pages/about.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
SiGooglecloud,
1414
SiTerraform,
1515
SiReact,
16-
SiNextDotJs,
16+
SiNextdotjs,
1717
SiPython,
1818
SiGraphql,
1919
} from 'react-icons/si';
@@ -52,7 +52,7 @@ const About = ({ experiences }: AboutProps): JSX.Element => {
5252
url: 'https://aws.amazon.com/',
5353
},
5454
{
55-
Icon: SiNextDotJs,
55+
Icon: SiNextdotjs,
5656
url: 'https://nextjs.org/',
5757
},
5858
{

pages/bookmarks.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import TimeAgo from 'javascript-time-ago';
66

77
import { Title, Container, Text, Grid, Link, Card } from '@components';
88

9-
import en from 'javascript-time-ago/locale/en';
9+
import en from 'javascript-time-ago/locale/en.json';
1010

1111
TimeAgo.addDefaultLocale(en);
1212
const timeAgo = new TimeAgo('en-US');

tsconfig.json

+35-12
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"forceConsistentCasingInFileNames": true,
77
"isolatedModules": true,
88
"jsx": "preserve",
9-
"lib": ["dom", "es2017"],
9+
"lib": [
10+
"dom",
11+
"es2017"
12+
],
1013
"module": "esnext",
1114
"moduleResolution": "node",
1215
"noEmit": true,
@@ -16,18 +19,38 @@
1619
"resolveJsonModule": true,
1720
"skipLibCheck": true,
1821
"strict": true,
19-
"target": "esnext",
2022
"baseUrl": ".",
2123
"paths": {
22-
"@icons": ["icons"],
23-
"@icons/*": ["icons/*"],
24-
"@styles/*": ["styles/*"],
25-
"@posts": ["posts"],
26-
"@posts/*": ["posts/*"],
27-
"@components": ["components"],
28-
"@components/*": ["components/*"]
29-
}
24+
"@icons": [
25+
"icons"
26+
],
27+
"@icons/*": [
28+
"icons/*"
29+
],
30+
"@styles/*": [
31+
"styles/*"
32+
],
33+
"@posts": [
34+
"posts"
35+
],
36+
"@posts/*": [
37+
"posts/*"
38+
],
39+
"@components": [
40+
"components"
41+
],
42+
"@components/*": [
43+
"components/*"
44+
]
45+
},
46+
"incremental": true,
47+
"target": "es5"
3048
},
31-
"exclude": ["node_modules"],
32-
"include": ["**/*.ts", "**/*.tsx"]
49+
"exclude": [
50+
"node_modules"
51+
],
52+
"include": [
53+
"**/*.ts",
54+
"**/*.tsx"
55+
]
3356
}

0 commit comments

Comments
 (0)