Skip to content

Commit

Permalink
feat: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
martapanc committed Feb 16, 2024
1 parent afb598f commit 817030a
Show file tree
Hide file tree
Showing 7 changed files with 2,873 additions and 1,647 deletions.
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
#yarn lint:strict
#npx lint-staged
yarn lint:fix
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# misc
.DS_Store
*.pem
.yarn

# debug
npm-debug.log*
Expand Down
6 changes: 3 additions & 3 deletions .vscode/css.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"body": [
"/* #region /**=========== ${1} =========== */",
"$0",
"/* #endregion /**======== ${1} =========== */"
]
}
"/* #endregion /**======== ${1} =========== */",
],
},
}
72 changes: 36 additions & 36 deletions .vscode/typescriptreact.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@
//#region //*=========== React ===========
"import React": {
"prefix": "ir",
"body": ["import * as React from 'react';"]
"body": ["import * as React from 'react';"],
},
"React.useState": {
"prefix": "us",
"body": [
"const [${1}, set${1/(^[a-zA-Z])(.*)/${1:/upcase}${2}/}] = React.useState<$3>(${2:initial${1/(^[a-zA-Z])(.*)/${1:/upcase}${2}/}})$0"
]
"const [${1}, set${1/(^[a-zA-Z])(.*)/${1:/upcase}${2}/}] = React.useState<$3>(${2:initial${1/(^[a-zA-Z])(.*)/${1:/upcase}${2}/}})$0",
],
},
"React.useEffect": {
"prefix": "uf",
"body": ["React.useEffect(() => {", " $0", "}, []);"]
"body": ["React.useEffect(() => {", " $0", "}, []);"],
},
"React.useReducer": {
"prefix": "ur",
"body": [
"const [state, dispatch] = React.useReducer(${0:someReducer}, {",
" ",
"})"
]
"})",
],
},
"React.useRef": {
"prefix": "urf",
"body": ["const ${1:someRef} = React.useRef($0)"]
"body": ["const ${1:someRef} = React.useRef($0)"],
},
"React Functional Component": {
"prefix": "rc",
Expand All @@ -36,8 +36,8 @@
" $0",
" </div>",
" )",
"}"
]
"}",
],
},
"React Functional Component with Props": {
"prefix": "rcp",
Expand All @@ -52,8 +52,8 @@
" $0",
" </div>",
" )",
"}"
]
"}",
],
},
//#endregion //*======== React ===========

Expand All @@ -64,17 +64,17 @@
"body": [
"//#region //*=========== ${1} ===========",
"${TM_SELECTED_TEXT}$0",
"//#endregion //*======== ${1} ==========="
]
"//#endregion //*======== ${1} ===========",
],
},
"Region CSS": {
"prefix": "regc",
"scope": "css, scss",
"body": [
"/* #region /**=========== ${1} =========== */",
"${TM_SELECTED_TEXT}$0",
"/* #endregion /**======== ${1} =========== */"
]
"/* #endregion /**======== ${1} =========== */",
],
},
//#endregion //*======== Commons ===========

Expand All @@ -98,8 +98,8 @@
" </main>",
" </Layout>",
" )",
"}"
]
"}",
],
},
"Next API": {
"prefix": "napi",
Expand All @@ -111,8 +111,8 @@
" } else {",
" res.status(405).json({ message: 'Method Not Allowed' });",
" }",
"}"
]
"}",
],
},
"Get Static Props": {
"prefix": "gsp",
Expand All @@ -121,8 +121,8 @@
" return {",
" props: {}",
" };",
"}"
]
"}",
],
},
"Get Static Paths": {
"prefix": "gspa",
Expand All @@ -134,8 +134,8 @@
" ],",
" fallback: ",
" };",
"}"
]
"}",
],
},
"Get Server Side Props": {
"prefix": "gssp",
Expand All @@ -144,50 +144,50 @@
" return {",
" props: {}",
" };",
"}"
]
"}",
],
},
"Infer Get Static Props": {
"prefix": "igsp",
"body": "InferGetStaticPropsType<typeof getStaticProps>"
"body": "InferGetStaticPropsType<typeof getStaticProps>",
},
"Infer Get Server Side Props": {
"prefix": "igssp",
"body": "InferGetServerSidePropsType<typeof getServerSideProps>"
"body": "InferGetServerSidePropsType<typeof getServerSideProps>",
},
"Import useRouter": {
"prefix": "imust",
"body": ["import { useRouter } from 'next/router';"]
"body": ["import { useRouter } from 'next/router';"],
},
"Import Next Image": {
"prefix": "imimg",
"body": ["import Image from 'next/image';"]
"body": ["import Image from 'next/image';"],
},
"Import Next Link": {
"prefix": "iml",
"body": ["import Link from 'next/link';"]
"body": ["import Link from 'next/link';"],
},
//#endregion //*======== Next.js ===========

//#region //*=========== Snippet Wrap ===========
"Wrap with Fragment": {
"prefix": "ff",
"body": ["<>", "\t${TM_SELECTED_TEXT}", "</>"]
"body": ["<>", "\t${TM_SELECTED_TEXT}", "</>"],
},
"Wrap with clsx": {
"prefix": "cx",
"body": ["{clsx([${TM_SELECTED_TEXT}$0])}"]
"body": ["{clsx([${TM_SELECTED_TEXT}$0])}"],
},
"Wrap with clsxm": {
"prefix": "cxm",
"body": ["{clsxm([${TM_SELECTED_TEXT}$0, className])}"]
"body": ["{clsxm([${TM_SELECTED_TEXT}$0, className])}"],
},
//#endregion //*======== Snippet Wrap ===========

"Logger": {
"prefix": "lg",
"body": [
"logger({ ${1:${CLIPBOARD}} }, '${TM_FILENAME} line ${TM_LINE_NUMBER}')"
]
}
"logger({ ${1:${CLIPBOARD}} }, '${TM_FILENAME} line ${TM_LINE_NUMBER}')",
],
},
}
Binary file modified .yarn/install-state.gz
Binary file not shown.
114 changes: 57 additions & 57 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,89 +22,89 @@
},
"dependencies": {
"@anatoliygatt/dark-mode-toggle": "^1.0.1",
"@emotion/react": "^11.11.1",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@heroicons/react": "^2.0.18",
"@mui/material": "^5.14.16",
"@heroicons/react": "^2.1.1",
"@mui/material": "^5.15.10",
"@sendgrid/mail": "^7.7.0",
"@types/cookie": "^0.5.2",
"@types/react-google-recaptcha": "^2.1.5",
"@types/styled-components": "^5.1.0",
"classnames": "^2.3.2",
"clsx": "^2.0.0",
"cookie": "^0.5.0",
"@types/cookie": "^0.5.4",
"@types/react-google-recaptcha": "^2.1.9",
"@types/styled-components": "^5.1.34",
"classnames": "^2.5.1",
"clsx": "^2.1.0",
"cookie": "^0.6.0",
"focus-trap-react": "^10.2.3",
"formik": "^2.4.5",
"framer-motion": "^10.16.1",
"i18next": "^23.6.0",
"framer-motion": "^10.18.0",
"i18next": "^23.8.2",
"inquirer-fuzzy-path": "^2.3.0",
"js-cookie": "^3.0.5",
"moment": "^2.29.4",
"next": "^14.0.1",
"next-cloudinary": "^5.1.0",
"moment": "^2.30.1",
"next": "^14.1.0",
"next-cloudinary": "^5.20.0",
"next-themes": "^0.2.1",
"nodemailer": "^6.9.7",
"plop": "^4.0.0",
"nodemailer": "^6.9.9",
"plop": "^4.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-google-recaptcha": "^3.1.0",
"react-headroom": "^3.2.1",
"react-i18next": "^13.3.1",
"react-icons": "^4.10.1",
"react-markdown": "^9.0.0",
"react-i18next": "^13.5.0",
"react-icons": "^4.12.0",
"react-markdown": "^9.0.1",
"react-moment": "^1.1.3",
"react-string-replace": "^1.1.1",
"react-syntax-highlighter": "^15.5.0",
"react-tippy": "^1.4.0",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.0",
"styled-components": "^6.1.0",
"tailwind-merge": "^2.0.0",
"typed.js": "^2.0.16",
"styled-components": "^6.1.8",
"tailwind-merge": "^2.2.1",
"typed.js": "^2.1.0",
"unified": "^11.0.4",
"yup": "^1.3.2"
"yup": "^1.3.3"
},
"devDependencies": {
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@storybook/addon-essentials": "^7.5.2",
"@storybook/addon-interactions": "^7.5.2",
"@storybook/addon-links": "^7.5.2",
"@storybook/addon-mdx-gfm": "^7.5.2",
"@storybook/blocks": "^7.5.2",
"@storybook/nextjs": "^7.5.2",
"@storybook/react": "^7.5.2",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@storybook/addon-essentials": "^7.6.16",
"@storybook/addon-interactions": "^7.6.16",
"@storybook/addon-links": "^7.6.16",
"@storybook/addon-mdx-gfm": "^7.6.16",
"@storybook/blocks": "^7.6.16",
"@storybook/nextjs": "^7.6.16",
"@storybook/react": "^7.6.16",
"@storybook/testing-library": "^0.2.2",
"@svgr/webpack": "^8.1.0",
"@tailwindcss/forms": "^0.5.3",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.4",
"@types/js-cookie": "^3.0.4",
"@types/react": "^18.2.7",
"@types/react-headroom": "^3.2.0",
"@types/react-syntax-highlighter": "^15.5.7",
"@tailwindcss/forms": "^0.5.7",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
"@types/js-cookie": "^3.0.6",
"@types/react": "^18.2.55",
"@types/react-headroom": "^3.2.3",
"@types/react-syntax-highlighter": "^15.5.11",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.52.0",
"eslint-config-next": "^14.0.1",
"eslint-config-prettier": "^9.0.0",
"autoprefixer": "^10.4.17",
"eslint": "^8.56.0",
"eslint-config-next": "^14.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-unused-imports": "^3.1.0",
"husky": "^8.0.3",
"jest": "^29.6.4",
"jest-environment-jsdom": "^29.6.4",
"lint-staged": "^15.0.2",
"next-router-mock": "^0.9.10",
"next-sitemap": "^4.2.2",
"postcss": "^8.4.31",
"prettier": "^3.0.2",
"prettier-plugin-tailwindcss": "^0.5.6",
"storybook": "^7.5.2",
"tailwindcss": "^3.3.5",
"typescript": "^5.2.2"
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"next-router-mock": "^0.9.12",
"next-sitemap": "^4.2.3",
"postcss": "^8.4.35",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"storybook": "^7.6.16",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
Expand Down
Loading

0 comments on commit 817030a

Please sign in to comment.