From ad6e784a2f8d55a877d53bec6055208d35ff3c99 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Sat, 26 Mar 2022 02:52:15 -0500 Subject: [PATCH 1/3] Updated verion info. --- package.json | 2 +- theme/layout/Header.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b8a97ee..b1e975c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "name": "lucid-creations-media-potty-chart", "homepage": "https://lucidcreations.media/introducing-code-name-potty-chart/", - "version": "v0.0.7.4-alpha", + "version": "v0.0.7.5-alpha", "author": { "name": "Lucid Creations Media", "url": "https://lucidcreations.media", diff --git a/theme/layout/Header.tsx b/theme/layout/Header.tsx index 6e7dd57..5cd3acd 100644 --- a/theme/layout/Header.tsx +++ b/theme/layout/Header.tsx @@ -15,7 +15,7 @@ import appLogo from "../../public/images/logo.svg"; const Header = (): JSX.Element => { const appName = "LCM Potty Chart"; - const appVersion = "v0.0.7.4-alpha"; + const appVersion = "v0.0.7.5-alpha"; // Add transparency while not at the top of the page. const [transparentNavbar, setTransparentNavbar] = useState(false); -- 2.49.1 From aaf372ee8f7940c8bdce4131629e004ffd65e09a Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Sat, 26 Mar 2022 02:54:08 -0500 Subject: [PATCH 2/3] Upgraded types node & react, eslint, next, and prettier --- package.json | 10 +-- yarn.lock | 170 +++++++++++++++++++++++++++------------------------ 2 files changed, 95 insertions(+), 85 deletions(-) diff --git a/package.json b/package.json index b1e975c..16c67e2 100644 --- a/package.json +++ b/package.json @@ -20,25 +20,25 @@ "@emotion/react": "^11.8.2", "@emotion/styled": "^11.8.1", "@iconify/react": "^3.2.0", - "@types/react": "^17.0.41", + "@types/react": "^17.0.43", "date-fns": "^2.28.0", "formik": "^2.2.9", "framer-motion": "^6.2.8", - "next": "12.1.0", + "next": "12.1.1", "react": "17.0.2", "react-dom": "17.0.2", "sharp": "^0.30.3" }, "devDependencies": { - "@types/node": "^17.0.22", + "@types/node": "^17.0.23", "@typescript-eslint/eslint-plugin": "^5.16.0", - "eslint": "^8.11.0", + "eslint": "^8.12.0", "eslint-config-next": "12.1.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-react": "<7.28.0", "eslint-plugin-react-hooks": "^4.3.0", - "prettier": "^2.6.0", + "prettier": "^2.6.1", "typescript": "<4.6.0" }, "packageManager": "yarn@3.1.0" diff --git a/yarn.lock b/yarn.lock index 81f0311..73cd202 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1142,10 +1142,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:12.1.0": - version: 12.1.0 - resolution: "@next/env@npm:12.1.0" - checksum: 31037e019846a2c3eeb106d64d54084e0b86d1b9b92fdb7332eeb39d94cb4a8e11ddab1a088088f7aea7b60a4cb57781815539676fddedf4305f19f8c8bf5b7f +"@next/env@npm:12.1.1": + version: 12.1.1 + resolution: "@next/env@npm:12.1.1" + checksum: 910a14e2930f5deecca02b138b16c555e4a2958fc8bd8ff33ea1ea168f89069fad7c43e3c25518370e9cf8e7341189995632d382af4b38d64027f57bb7f9ca8b languageName: node linkType: hard @@ -1158,79 +1158,86 @@ __metadata: languageName: node linkType: hard -"@next/swc-android-arm64@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-android-arm64@npm:12.1.0" +"@next/swc-android-arm-eabi@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-android-arm-eabi@npm:12.1.1" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@next/swc-android-arm64@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-android-arm64@npm:12.1.1" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-darwin-arm64@npm:12.1.0" +"@next/swc-darwin-arm64@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-darwin-arm64@npm:12.1.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-darwin-x64@npm:12.1.0" +"@next/swc-darwin-x64@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-darwin-x64@npm:12.1.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm-gnueabihf@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-linux-arm-gnueabihf@npm:12.1.0" +"@next/swc-linux-arm-gnueabihf@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-linux-arm-gnueabihf@npm:12.1.1" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-linux-arm64-gnu@npm:12.1.0" +"@next/swc-linux-arm64-gnu@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-linux-arm64-gnu@npm:12.1.1" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-linux-arm64-musl@npm:12.1.0" +"@next/swc-linux-arm64-musl@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-linux-arm64-musl@npm:12.1.1" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-linux-x64-gnu@npm:12.1.0" +"@next/swc-linux-x64-gnu@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-linux-x64-gnu@npm:12.1.1" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-linux-x64-musl@npm:12.1.0" +"@next/swc-linux-x64-musl@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-linux-x64-musl@npm:12.1.1" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-win32-arm64-msvc@npm:12.1.0" +"@next/swc-win32-arm64-msvc@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-win32-arm64-msvc@npm:12.1.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-win32-ia32-msvc@npm:12.1.0" +"@next/swc-win32-ia32-msvc@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-win32-ia32-msvc@npm:12.1.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:12.1.0": - version: 12.1.0 - resolution: "@next/swc-win32-x64-msvc@npm:12.1.0" +"@next/swc-win32-x64-msvc@npm:12.1.1": + version: 12.1.1 + resolution: "@next/swc-win32-x64-msvc@npm:12.1.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -1375,10 +1382,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^17.0.22": - version: 17.0.22 - resolution: "@types/node@npm:17.0.22" - checksum: 72d1fc8bdc37f0c18b1160e7207b52fb569d0e2b459ac9a4cbd3ca40e478ffe1455efc2c6a253c81e0a7a7c7a899716535d9970cd9521f87d6050b7de04b9ba3 +"@types/node@npm:^17.0.23": + version: 17.0.23 + resolution: "@types/node@npm:17.0.23" + checksum: a3517554737cbb042e76c30d0e5482192ac4d9bea0eeb086e2622d9cabf460a0eb52a696b99fcd18e7fcc93c96db6cc7ae507f6608f256ef0b5c1d8c87a5a470 languageName: node linkType: hard @@ -1396,14 +1403,14 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^17.0.41": - version: 17.0.41 - resolution: "@types/react@npm:17.0.41" +"@types/react@npm:^17.0.43": + version: 17.0.43 + resolution: "@types/react@npm:17.0.43" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 1b086ec0ea5d666f05e19e0724e41278d27a2ca29a2cd71b9d9ab3fe27dba233806eb728d744e092c9fe9637ac738d8c5a05983cde84d215342949b47ecba2ef + checksum: 981b0993f5b3ea9d3488b8cc883201e8ae47ba7732929f788f450a79fd72829e658080d5084e67caa008e58d989b0abc1d5f36ff0a1cda09315ea3a3c0c9dc11 languageName: node linkType: hard @@ -2578,9 +2585,9 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.11.0": - version: 8.11.0 - resolution: "eslint@npm:8.11.0" +"eslint@npm:^8.12.0": + version: 8.12.0 + resolution: "eslint@npm:8.12.0" dependencies: "@eslint/eslintrc": ^1.2.1 "@humanwhocodes/config-array": ^0.9.2 @@ -2619,7 +2626,7 @@ __metadata: v8-compile-cache: ^2.0.3 bin: eslint: bin/eslint.js - checksum: a06a2ea37002d6c0a4f462fe31b4411185dc3da7857fafb896eb392ba95a1289cc3538056474b2f44f08012f265bede01a39d46df4ac39ebc6d7be90e2c8f9fa + checksum: 111bf9046b7a463049788dd00d7f4cd91e024029982352dff4811ce5dfa8cb1136aa127cd8a7a91508234d3e1b4fb6f638a1f5ef9ea08b1af93a18703a4a8dc1 languageName: node linkType: hard @@ -3574,11 +3581,11 @@ __metadata: "@emotion/react": ^11.8.2 "@emotion/styled": ^11.8.1 "@iconify/react": ^3.2.0 - "@types/node": ^17.0.22 - "@types/react": ^17.0.41 + "@types/node": ^17.0.23 + "@types/react": ^17.0.43 "@typescript-eslint/eslint-plugin": ^5.16.0 date-fns: ^2.28.0 - eslint: ^8.11.0 + eslint: ^8.12.0 eslint-config-next: 12.1.0 eslint-config-prettier: ^8.5.0 eslint-plugin-jsx-a11y: ^6.5.1 @@ -3586,8 +3593,8 @@ __metadata: eslint-plugin-react-hooks: ^4.3.0 formik: ^2.2.9 framer-motion: ^6.2.8 - next: 12.1.0 - prettier: ^2.6.0 + next: 12.1.1 + prettier: ^2.6.1 react: 17.0.2 react-dom: 17.0.2 sharp: ^0.30.3 @@ -3796,25 +3803,26 @@ __metadata: languageName: node linkType: hard -"next@npm:12.1.0": - version: 12.1.0 - resolution: "next@npm:12.1.0" +"next@npm:12.1.1": + version: 12.1.1 + resolution: "next@npm:12.1.1" dependencies: - "@next/env": 12.1.0 - "@next/swc-android-arm64": 12.1.0 - "@next/swc-darwin-arm64": 12.1.0 - "@next/swc-darwin-x64": 12.1.0 - "@next/swc-linux-arm-gnueabihf": 12.1.0 - "@next/swc-linux-arm64-gnu": 12.1.0 - "@next/swc-linux-arm64-musl": 12.1.0 - "@next/swc-linux-x64-gnu": 12.1.0 - "@next/swc-linux-x64-musl": 12.1.0 - "@next/swc-win32-arm64-msvc": 12.1.0 - "@next/swc-win32-ia32-msvc": 12.1.0 - "@next/swc-win32-x64-msvc": 12.1.0 + "@next/env": 12.1.1 + "@next/swc-android-arm-eabi": 12.1.1 + "@next/swc-android-arm64": 12.1.1 + "@next/swc-darwin-arm64": 12.1.1 + "@next/swc-darwin-x64": 12.1.1 + "@next/swc-linux-arm-gnueabihf": 12.1.1 + "@next/swc-linux-arm64-gnu": 12.1.1 + "@next/swc-linux-arm64-musl": 12.1.1 + "@next/swc-linux-x64-gnu": 12.1.1 + "@next/swc-linux-x64-musl": 12.1.1 + "@next/swc-win32-arm64-msvc": 12.1.1 + "@next/swc-win32-ia32-msvc": 12.1.1 + "@next/swc-win32-x64-msvc": 12.1.1 caniuse-lite: ^1.0.30001283 postcss: 8.4.5 - styled-jsx: 5.0.0 + styled-jsx: 5.0.1 use-subscription: 1.5.1 peerDependencies: fibers: ">= 3.1.0" @@ -3823,6 +3831,8 @@ __metadata: react-dom: ^17.0.2 || ^18.0.0-0 sass: ^1.3.0 dependenciesMeta: + "@next/swc-android-arm-eabi": + optional: true "@next/swc-android-arm64": optional: true "@next/swc-darwin-arm64": @@ -3854,7 +3864,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: 36dbafd5e640c420446dc05077f858ae4a8aaf5f91feb3c6c16c1b3f50b9fb63f743ef282a3bf0c68645442bef8aee643492f6dc62388a17f87064cde064d181 + checksum: 2ace9622e63d5680c385aa1a99e617ee985ba215e7e596d679b51f6af5f963983b69b3ecec4d6580cf187428ba33a6b7e7aa305a50236b2e2bc6c6ce7d5b34db languageName: node linkType: hard @@ -4203,12 +4213,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.6.0": - version: 2.6.0 - resolution: "prettier@npm:2.6.0" +"prettier@npm:^2.6.1": + version: 2.6.1 + resolution: "prettier@npm:2.6.1" bin: prettier: bin-prettier.js - checksum: 3e527ad62279676778a8404d18174d7ca2365ada4caba6eebbcdd9907d1187afd3bc6ade5b4e5f5d4549bb9fb71e45ca8930d71500017635524f8fc05bc52e93 + checksum: 78be1f8a3ddfad7c3d8a854b6c8941a3bb1ddfca4225c38d778e0fe1029a55368f71b3bbefff82c689015fbb4d391ec44add957f01308ad2725e01a7c1f37cb6 languageName: node linkType: hard @@ -4869,17 +4879,17 @@ __metadata: languageName: node linkType: hard -"styled-jsx@npm:5.0.0": - version: 5.0.0 - resolution: "styled-jsx@npm:5.0.0" +"styled-jsx@npm:5.0.1": + version: 5.0.1 + resolution: "styled-jsx@npm:5.0.1" peerDependencies: - react: ">= 16.8.0 || 17.x.x || 18.x.x" + react: ">= 16.8.0 || 17.x.x || ^18.0.0-0" peerDependenciesMeta: "@babel/core": optional: true babel-plugin-macros: optional: true - checksum: 4958238ac8b8e90ac7d906aca3821e3ffb0c70c34c78b87d27f0f11c830c8237c8f4c0e7952dc51373d6fa097b16a023dcc7c9ededd402d8483b5ed2d8cefda9 + checksum: b85eb03da76b566065b10911a24396659b45a34efa16eef87ed8ff2ce3ea7b9b6a9c0c92c3b2113f92cbca9ab12496690d72329cb9932759ea98d0386acb38a9 languageName: node linkType: hard -- 2.49.1 From 9357abdce1f25284df95dea3930726cf5bfa0fe4 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Sat, 26 Mar 2022 02:58:18 -0500 Subject: [PATCH 3/3] Locked eslint plugin next due to conflicts with other configs and plugins. --- package.json | 2 +- yarn.lock | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 16c67e2..f8b3302 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@types/node": "^17.0.23", "@typescript-eslint/eslint-plugin": "^5.16.0", "eslint": "^8.12.0", - "eslint-config-next": "12.1.0", + "eslint-config-next": "<12.1.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-react": "<7.28.0", diff --git a/yarn.lock b/yarn.lock index 73cd202..8cba73a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1149,12 +1149,12 @@ __metadata: languageName: node linkType: hard -"@next/eslint-plugin-next@npm:12.1.0": - version: 12.1.0 - resolution: "@next/eslint-plugin-next@npm:12.1.0" +"@next/eslint-plugin-next@npm:12.0.10": + version: 12.0.10 + resolution: "@next/eslint-plugin-next@npm:12.0.10" dependencies: glob: 7.1.7 - checksum: d6875f65e102f62fe90495229862f838fed00508980edff376c8c0e8ddf6c47a1a030fc2f8906890e08e34740cd174e5d70ecefa9ace81edda9949fa7ad06763 + checksum: ceb95880458ab6fc67fb58350e9f87ca8ac0adf0b50bf099e03bb84b4d7d48888d29518e09cf281a1181d9c240d3babdfb5b8649e7dad79332f77f0f7d01293c languageName: node linkType: hard @@ -2383,11 +2383,11 @@ __metadata: languageName: node linkType: hard -"eslint-config-next@npm:12.1.0": - version: 12.1.0 - resolution: "eslint-config-next@npm:12.1.0" +"eslint-config-next@npm:<12.1.0": + version: 12.0.10 + resolution: "eslint-config-next@npm:12.0.10" dependencies: - "@next/eslint-plugin-next": 12.1.0 + "@next/eslint-plugin-next": 12.0.10 "@rushstack/eslint-patch": ^1.0.8 "@typescript-eslint/parser": ^5.0.0 eslint-import-resolver-node: ^0.3.4 @@ -2403,7 +2403,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 38664b2fdc6643c5c35f40612606f208350d0472ff12f177e6dc8a2065f59f0c092f494d568c681212eda60a74660c2ffe329132d74938739ae5c668ffe989c8 + checksum: 37f84056f8c957fc4341e4c32e14ab227ebfc56526612ea0b775812602215311b98e062506732dc43ceca1ef98e259dedd2de776c2e584a0819d6abfca15f1cf languageName: node linkType: hard @@ -3586,7 +3586,7 @@ __metadata: "@typescript-eslint/eslint-plugin": ^5.16.0 date-fns: ^2.28.0 eslint: ^8.12.0 - eslint-config-next: 12.1.0 + eslint-config-next: <12.1.0 eslint-config-prettier: ^8.5.0 eslint-plugin-jsx-a11y: ^6.5.1 eslint-plugin-react: <7.28.0 -- 2.49.1