Skip to content

Commit 0ac86a5

Browse files
committed
chore(deps): updated dependencies
1 parent 7083a05 commit 0ac86a5

31 files changed

+6586
-5601
lines changed

.eslintrc.js

Lines changed: 0 additions & 84 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
.idea
23

34
# dependencies
45
/node_modules
@@ -39,4 +40,4 @@ next-env.d.ts
3940
# next-sitemap
4041
robots.txt
4142
sitemap.xml
42-
sitemap-*.xml
43+
sitemap-*.xml

.vscode/css.code-snippets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"body": [
55
"/* #region /**=========== ${1} =========== */",
66
"$0",
7-
"/* #endregion /**======== ${1} =========== */"
8-
]
9-
}
7+
"/* #endregion /**======== ${1} =========== */",
8+
],
9+
},
1010
}

.vscode/typescriptreact.code-snippets

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22
//#region //*=========== React ===========
33
"import React": {
44
"prefix": "ir",
5-
"body": ["import * as React from 'react';"]
5+
"body": ["import * as React from 'react';"],
66
},
77
"React.useState": {
88
"prefix": "us",
99
"body": [
10-
"const [${1}, set${1/(^[a-zA-Z])(.*)/${1:/upcase}${2}/}] = React.useState<$3>(${2:initial${1/(^[a-zA-Z])(.*)/${1:/upcase}${2}/}})$0"
11-
]
10+
"const [${1}, set${1/(^[a-zA-Z])(.*)/${1:/upcase}${2}/}] = React.useState<$3>(${2:initial${1/(^[a-zA-Z])(.*)/${1:/upcase}${2}/}})$0",
11+
],
1212
},
1313
"React.useEffect": {
1414
"prefix": "uf",
15-
"body": ["React.useEffect(() => {", " $0", "}, []);"]
15+
"body": ["React.useEffect(() => {", " $0", "}, []);"],
1616
},
1717
"React.useReducer": {
1818
"prefix": "ur",
1919
"body": [
2020
"const [state, dispatch] = React.useReducer(${0:someReducer}, {",
2121
" ",
22-
"})"
23-
]
22+
"})",
23+
],
2424
},
2525
"React.useRef": {
2626
"prefix": "urf",
27-
"body": ["const ${1:someRef} = React.useRef($0)"]
27+
"body": ["const ${1:someRef} = React.useRef($0)"],
2828
},
2929
"React Functional Component": {
3030
"prefix": "rc",
@@ -36,8 +36,8 @@
3636
" $0",
3737
" </div>",
3838
" )",
39-
"}"
40-
]
39+
"}",
40+
],
4141
},
4242
"React Functional Component with Props": {
4343
"prefix": "rcp",
@@ -52,8 +52,8 @@
5252
" $0",
5353
" </div>",
5454
" )",
55-
"}"
56-
]
55+
"}",
56+
],
5757
},
5858
//#endregion //*======== React ===========
5959

@@ -64,17 +64,17 @@
6464
"body": [
6565
"//#region //*=========== ${1} ===========",
6666
"${TM_SELECTED_TEXT}$0",
67-
"//#endregion //*======== ${1} ==========="
68-
]
67+
"//#endregion //*======== ${1} ===========",
68+
],
6969
},
7070
"Region CSS": {
7171
"prefix": "regc",
7272
"scope": "css, scss",
7373
"body": [
7474
"/* #region /**=========== ${1} =========== */",
7575
"${TM_SELECTED_TEXT}$0",
76-
"/* #endregion /**======== ${1} =========== */"
77-
]
76+
"/* #endregion /**======== ${1} =========== */",
77+
],
7878
},
7979
//#endregion //*======== Commons ===========
8080

@@ -98,8 +98,8 @@
9898
" </main>",
9999
" </Layout>",
100100
" )",
101-
"}"
102-
]
101+
"}",
102+
],
103103
},
104104
"Next API": {
105105
"prefix": "napi",
@@ -111,8 +111,8 @@
111111
" } else {",
112112
" res.status(405).json({ message: 'Method Not Allowed' });",
113113
" }",
114-
"}"
115-
]
114+
"}",
115+
],
116116
},
117117
"Get Static Props": {
118118
"prefix": "gsp",
@@ -121,8 +121,8 @@
121121
" return {",
122122
" props: {}",
123123
" };",
124-
"}"
125-
]
124+
"}",
125+
],
126126
},
127127
"Get Static Paths": {
128128
"prefix": "gspa",
@@ -134,8 +134,8 @@
134134
" ],",
135135
" fallback: ",
136136
" };",
137-
"}"
138-
]
137+
"}",
138+
],
139139
},
140140
"Get Server Side Props": {
141141
"prefix": "gssp",
@@ -144,50 +144,50 @@
144144
" return {",
145145
" props: {}",
146146
" };",
147-
"}"
148-
]
147+
"}",
148+
],
149149
},
150150
"Infer Get Static Props": {
151151
"prefix": "igsp",
152-
"body": "InferGetStaticPropsType<typeof getStaticProps>"
152+
"body": "InferGetStaticPropsType<typeof getStaticProps>",
153153
},
154154
"Infer Get Server Side Props": {
155155
"prefix": "igssp",
156-
"body": "InferGetServerSidePropsType<typeof getServerSideProps>"
156+
"body": "InferGetServerSidePropsType<typeof getServerSideProps>",
157157
},
158158
"Import useRouter": {
159159
"prefix": "imust",
160-
"body": ["import { useRouter } from 'next/router';"]
160+
"body": ["import { useRouter } from 'next/router';"],
161161
},
162162
"Import Next Image": {
163163
"prefix": "imimg",
164-
"body": ["import Image from 'next/image';"]
164+
"body": ["import Image from 'next/image';"],
165165
},
166166
"Import Next Link": {
167167
"prefix": "iml",
168-
"body": ["import Link from 'next/link';"]
168+
"body": ["import Link from 'next/link';"],
169169
},
170170
//#endregion //*======== Next.js ===========
171171

172172
//#region //*=========== Snippet Wrap ===========
173173
"Wrap with Fragment": {
174174
"prefix": "ff",
175-
"body": ["<>", "\t${TM_SELECTED_TEXT}", "</>"]
175+
"body": ["<>", "\t${TM_SELECTED_TEXT}", "</>"],
176176
},
177177
"Wrap with clsx": {
178178
"prefix": "cx",
179-
"body": ["{clsx([${TM_SELECTED_TEXT}$0])}"]
179+
"body": ["{clsx([${TM_SELECTED_TEXT}$0])}"],
180180
},
181181
"Wrap with clsxm": {
182182
"prefix": "cxm",
183-
"body": ["{clsxm([${TM_SELECTED_TEXT}$0, className])}"]
183+
"body": ["{clsxm([${TM_SELECTED_TEXT}$0, className])}"],
184184
},
185185
//#endregion //*======== Snippet Wrap ===========
186186

187187
"Logger": {
188188
"prefix": "lg",
189189
"body": [
190-
"logger({ ${1:${CLIPBOARD}} }, '${TM_FILENAME} line ${TM_LINE_NUMBER}')"
191-
]
192-
}
190+
"logger({ ${1:${CLIPBOARD}} }, '${TM_FILENAME} line ${TM_LINE_NUMBER}')",
191+
],
192+
},
193193
}

0 commit comments

Comments
 (0)