diff --git a/README.md b/README.md index 13d4e734..50f1e2a4 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ If you've never worked with the technologies used in this repo, here are some li - [**Learn Next.js**](https://nextjs.org/learn) - [Next.js documentation](https://github.com/vercel/next.js) - [styled-components documentation](https://styled-components.com) (this very website!) +- [Typescript documentation](https://www.typescriptlang.org/docs) ### Running locally diff --git a/package.json b/package.json index 51fc7ab0..c29f9964 100644 --- a/package.json +++ b/package.json @@ -39,15 +39,15 @@ "react-transition-group": "^4.4.5", "styled-components": "beta", "styled-theming": "^2.2.0", - "stylis": "^4", - "stylis-plugin-rtl": "^2" + "stylis": "^4.1.4", + "stylis-plugin-rtl": "^2.1.1" }, "devDependencies": { - "@types/enzyme": "^3.10.12", - "@types/jest": "^29.5.0", - "@types/mdx": "^2.0.4", - "@types/node": "^18.15.11", - "@types/react": "^17.0.56", + "@types/enzyme": "^3.10.13", + "@types/jest": "^29.5.1", + "@types/mdx": "^2.0.5", + "@types/node": "^18.16.3", + "@types/react": "^17.0.58", "@types/webpack-bundle-analyzer": "^4.6.0", "@types/zeit__next-source-maps": "^0.0.2", "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7", @@ -57,12 +57,12 @@ "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "jest-styled-components": "^7.1.1", - "lint-staged": "^13.2.0", - "prettier": "^2.8.7", + "lint-staged": "^13.2.2", + "prettier": "^2.8.8", "react-test-renderer": "^17.0.2", "rimraf": "^3.0.2", "ts-jest": "^29.1.0", - "typescript": "^5.0.3", + "typescript": "^5.0.4", "webpack-bundle-analyzer": "^4.8.0" }, "packageManager": "yarn@3.5.0" diff --git a/yarn.lock b/yarn.lock index 8ca88fd4..82b8807c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2598,13 +2598,13 @@ __metadata: languageName: node linkType: hard -"@types/enzyme@npm:^3.10.12": - version: 3.10.12 - resolution: "@types/enzyme@npm:3.10.12" +"@types/enzyme@npm:^3.10.13": + version: 3.10.13 + resolution: "@types/enzyme@npm:3.10.13" dependencies: "@types/cheerio": "*" - "@types/react": "*" - checksum: 356e9142566b68c9b324ae71a7b93f03512a1c009a1d337a25ce4f495590f3e79de08aa4a0016d6224cb228c27832d92b6d7d3276ba5962302c41d0577e8a912 + "@types/react": ^16 + checksum: a7983c56a9991bb9446a9468fbf0d5905d46574122ab76d87dab690685321bbe1875ce152f731481700a15e646b22560187ceb0b9591f5c6940a01be60e1f961 languageName: node linkType: hard @@ -2685,13 +2685,13 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:^29.5.0": - version: 29.5.0 - resolution: "@types/jest@npm:29.5.0" +"@types/jest@npm:^29.5.1": + version: 29.5.1 + resolution: "@types/jest@npm:29.5.1" dependencies: expect: ^29.0.0 pretty-format: ^29.0.0 - checksum: cd877e5c56d299cceb8bfdcbb1a77723c706750dd3c3bc47403bc3599b8faff590a3b009c68bb5b11bf7a8c77d1fb01de5e124329b4a08e65f1cdda28b0ecdb8 + checksum: 0a22491dec86333c0e92b897be2c809c922a7b2b0aa5604ac369810d6b2360908b4a3f2c6892e8a237a54fa1f10ecefe0e823ec5fcb7915195af4dfe88d2197e languageName: node linkType: hard @@ -2722,10 +2722,10 @@ __metadata: languageName: node linkType: hard -"@types/mdx@npm:^2.0.4": - version: 2.0.4 - resolution: "@types/mdx@npm:2.0.4" - checksum: 79e011ea17751741f69fa0a8bada8c596ca273c5510d4b37e8fa0dd8b5f93c6b8eb4a351da426454df7b4ddbaa8dfc3aae88562417300b968cc8964afac3a6ca +"@types/mdx@npm:^2.0.5": + version: 2.0.5 + resolution: "@types/mdx@npm:2.0.5" + checksum: 1069baff0b2d0fb0bc724748e2386af626cc30f8ef99e680afb4dee566ed0aeabd31cea774212a7033f491e594a0acc234116078b252cba94ac413f91eb585a3 languageName: node linkType: hard @@ -2736,10 +2736,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.15.11": - version: 18.15.11 - resolution: "@types/node@npm:18.15.11" - checksum: 977b4ad04708897ff0eb049ecf82246d210939c82461922d20f7d2dcfd81bbc661582ba3af28869210f7e8b1934529dcd46bff7d448551400f9d48b9d3bddec3 +"@types/node@npm:^18.16.3": + version: 18.16.3 + resolution: "@types/node@npm:18.16.3" + checksum: 816b39d45b05ebdc6f362b630970df3f6d82f71d418a2555353522f4eeeb078fa201de5299f02c09a09faa975e43b2745fe19c263d44069f87ddf37d6c37b717 languageName: node linkType: hard @@ -2764,25 +2764,25 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*": - version: 18.0.33 - resolution: "@types/react@npm:18.0.33" +"@types/react@npm:^16": + version: 16.14.40 + resolution: "@types/react@npm:16.14.40" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 4fbd2b2b6a26378bdfde121081a6406ec2d39e4ba87ea5f6897ab7bb2198713165e6fd703ad4ed7ba1d4f23ef54a4c9f108f3105c7ed8e136411ee6bdebc5669 + checksum: f39af6e4bc1c5f85d3720109284caf5c8f2d771bf3f2d222abef89a46f369c640c25ac40fd318fb969e1ba06176443bca74a7ee563df8b1d947a21372bc707e7 languageName: node linkType: hard -"@types/react@npm:^17.0.56": - version: 17.0.56 - resolution: "@types/react@npm:17.0.56" +"@types/react@npm:^17.0.58": + version: 17.0.58 + resolution: "@types/react@npm:17.0.58" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: c9e156395c5b97407ae51886659c2ba16a8e62d4fad8ceb29293f76931b58de42a385a179b32da725e72cd04d74c2d60e54cd495c8815b4feee2e4da381b7e52 + checksum: 4eaf32b86c43f388c681e34a00921c508dd88a1d1022aebfadc5fe802b7c5bed863de1a17eed31e43ca2d65222952dfe79a022055a0e6e4e1ad89fc5a42ec05e languageName: node linkType: hard @@ -6795,9 +6795,9 @@ __metadata: languageName: node linkType: hard -"lint-staged@npm:^13.2.0": - version: 13.2.0 - resolution: "lint-staged@npm:13.2.0" +"lint-staged@npm:^13.2.2": + version: 13.2.2 + resolution: "lint-staged@npm:13.2.2" dependencies: chalk: 5.2.0 cli-truncate: ^3.1.0 @@ -6811,10 +6811,10 @@ __metadata: object-inspect: ^1.12.3 pidtree: ^0.6.0 string-argv: ^0.3.1 - yaml: ^2.2.1 + yaml: ^2.2.2 bin: lint-staged: bin/lint-staged.js - checksum: dcaa8fbbde567eb8ac27230a18b3a22f30c278c524c0e27cf7d4110d662d5d33ed68a585a2e1b05075ef1c262e853f557a5ae046188b723603246d63e6b9f07b + checksum: f34f6e2e85e827364658ab8717bf8b35239473c2d4959d746b053a4cf158ac657348444c755820a8ef3eac2d4753a37c52e9db3e201ee20b085f26d2f2fbc9ed languageName: node linkType: hard @@ -8093,12 +8093,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.8.7": - version: 2.8.7 - resolution: "prettier@npm:2.8.7" +"prettier@npm:^2.8.8": + version: 2.8.8 + resolution: "prettier@npm:2.8.8" bin: prettier: bin-prettier.js - checksum: fdc8f2616f099f5f0d685907f4449a70595a0fc1d081a88919604375989e0d5e9168d6121d8cc6861f21990b31665828e00472544d785d5940ea08a17660c3a6 + checksum: b49e409431bf129dd89238d64299ba80717b57ff5a6d1c1a8b1a28b590d998a34e083fa13573bc732bb8d2305becb4c9a4407f8486c81fa7d55100eb08263cf8 languageName: node linkType: hard @@ -9312,11 +9312,11 @@ __metadata: "@styled-icons/boxicons-regular": ^10.47.0 "@styled-icons/fa-brands": ^10.47.0 "@styled-icons/material": ^10.47.0 - "@types/enzyme": ^3.10.12 - "@types/jest": ^29.5.0 - "@types/mdx": ^2.0.4 - "@types/node": ^18.15.11 - "@types/react": ^17.0.56 + "@types/enzyme": ^3.10.13 + "@types/jest": ^29.5.1 + "@types/mdx": ^2.0.5 + "@types/node": ^18.16.3 + "@types/react": ^17.0.58 "@types/webpack-bundle-analyzer": ^4.6.0 "@types/zeit__next-source-maps": ^0.0.2 "@wojtekmaj/enzyme-adapter-react-17": ^0.6.7 @@ -9332,11 +9332,11 @@ __metadata: jest: ^29.5.0 jest-environment-jsdom: ^29.5.0 jest-styled-components: ^7.1.1 - lint-staged: ^13.2.0 + lint-staged: ^13.2.2 markdown-to-jsx: ^7.2.0 next: ^12.3.4 polished: ^4.2.2 - prettier: ^2.8.7 + prettier: ^2.8.8 react: ^17.0.2 react-dom: ^17.0.2 react-is: ^17.0.2 @@ -9346,10 +9346,10 @@ __metadata: rimraf: ^3.0.2 styled-components: beta styled-theming: ^2.2.0 - stylis: ^4 - stylis-plugin-rtl: ^2 + stylis: ^4.1.4 + stylis-plugin-rtl: ^2.1.1 ts-jest: ^29.1.0 - typescript: ^5.0.3 + typescript: ^5.0.4 webpack-bundle-analyzer: ^4.8.0 languageName: unknown linkType: soft @@ -9414,7 +9414,7 @@ __metadata: languageName: node linkType: hard -"stylis-plugin-rtl@npm:^2": +"stylis-plugin-rtl@npm:^2.1.1": version: 2.1.1 resolution: "stylis-plugin-rtl@npm:2.1.1" dependencies: @@ -9425,13 +9425,20 @@ __metadata: languageName: node linkType: hard -"stylis@npm:^4, stylis@npm:^4.1.3": +"stylis@npm:^4.1.3": version: 4.1.3 resolution: "stylis@npm:4.1.3" checksum: d04dbffcb9bf2c5ca8d8dc09534203c75df3bf711d33973ea22038a99cc475412a350b661ebd99cbc01daa50d7eedcf0d130d121800eb7318759a197023442a6 languageName: node linkType: hard +"stylis@npm:^4.1.4": + version: 4.1.4 + resolution: "stylis@npm:4.1.4" + checksum: cd929bd89709def13b47e6c16b11317bf996a09b4e987fc45a235549c3adf49d41531e017d7df511daa095bc9468c923ae9094a934fe9c62440b7351874dafb7 + languageName: node + linkType: hard + "sucrase@npm:^3.21.0": version: 3.31.0 resolution: "sucrase@npm:3.31.0" @@ -9792,23 +9799,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.0.3": - version: 5.0.3 - resolution: "typescript@npm:5.0.3" +"typescript@npm:^5.0.4": + version: 5.0.4 + resolution: "typescript@npm:5.0.4" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 3cce0576d218cb4277ff8b6adfef1a706e9114a98b4261a38ad658a7642f1b274a8396394f6cbff8c0ba852996d7ed2e233e9b8431d5d55ac7c2f6fea645af02 + checksum: 82b94da3f4604a8946da585f7d6c3025fff8410779e5bde2855ab130d05e4fd08938b9e593b6ebed165bda6ad9292b230984f10952cf82f0a0ca07bbeaa08172 languageName: node linkType: hard -"typescript@patch:typescript@^5.0.3#~builtin": - version: 5.0.3 - resolution: "typescript@patch:typescript@npm%3A5.0.3#~builtin::version=5.0.3&hash=85af82" +"typescript@patch:typescript@^5.0.4#~builtin": + version: 5.0.4 + resolution: "typescript@patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=85af82" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 5580367025ff7ee1f2a61e5affdbddccfe6e893bc662aa33fefdbf12de7e493173fa7d47475e9e15121828691004c4ed13bcd115e57866baed97b54c60954e1c + checksum: bb309d320c59a26565fb3793dba550576ab861018ff3fd1b7fccabbe46ae4a35546bc45f342c0a0b6f265c801ccdf64ffd68f548f117ceb7f0eac4b805cd52a9 languageName: node linkType: hard @@ -10522,7 +10529,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.2.1": +"yaml@npm:^2.2.2": version: 2.2.2 resolution: "yaml@npm:2.2.2" checksum: d90c235e099e30094dcff61ba3350437aef53325db4a6bcd04ca96e1bfe7e348b191f6a7a52b5211e2dbc4eeedb22a00b291527da030de7c189728ef3f2b4eb3