From f961e60c0e35f688413170ffdc452ff8badf7631 Mon Sep 17 00:00:00 2001 From: Christoph Stenglein Date: Sat, 11 Jun 2022 13:22:25 +0200 Subject: [PATCH] update dependencies, add typing for tailwind config --- package.json | 12 ++-- tailwind.config.js | 1 + yarn.lock | 138 +++++++++++++++++++++++++++------------------ 3 files changed, 91 insertions(+), 60 deletions(-) diff --git a/package.json b/package.json index 7e562f5b..a6cc5f26 100644 --- a/package.json +++ b/package.json @@ -53,15 +53,15 @@ "dependencies": { "axios": "^0.27.2", "http-proxy-middleware": "^2.0.6", - "i18next": "^21.8.8", + "i18next": "^21.8.9", "qrcode.react": "^3.0.2", "rc-tooltip": "^5.1.1", "react": "^18.1.0", "react-dom": "^18.1.0", "react-hook-form": "^7.30.0", - "react-i18next": "^11.17.0", + "react-i18next": "^11.17.1", "react-router-dom": "^6.3.0", - "react-toastify": "^9.0.3" + "react-toastify": "^9.0.4" }, "devDependencies": { "@testing-library/dom": "^8.13.0", @@ -74,13 +74,13 @@ "@types/react-dom": "^18.0.5", "autoprefixer": "^10.4.7", "husky": "^8.0.1", - "lint-staged": "^13.0.0", - "msw": "^0.42.0", + "lint-staged": "^13.0.1", + "msw": "^0.42.1", "postcss": "^8.4.14", "prettier": "^2.6.2", "prettier-plugin-tailwindcss": "^0.1.11", "react-scripts": "5.0.1", - "tailwindcss": "^3.0.24", + "tailwindcss": "^3.1.2", "typescript": "~4.7.3" }, "packageManager": "yarn@3.2.1" diff --git a/tailwind.config.js b/tailwind.config.js index 9c9202e0..b72238ab 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,3 +1,4 @@ +/** @type {import('tailwindcss').Config} */ module.exports = { content: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"], darkMode: "class", // or 'media' or 'class' diff --git a/yarn.lock b/yarn.lock index a6b323e8..eac3c637 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3075,7 +3075,7 @@ __metadata: languageName: node linkType: hard -"acorn-node@npm:^1.6.1": +"acorn-node@npm:^1.8.2": version: 1.8.2 resolution: "acorn-node@npm:1.8.2" dependencies: @@ -4270,10 +4270,10 @@ __metadata: languageName: node linkType: hard -"colorette@npm:^2.0.10, colorette@npm:^2.0.16": - version: 2.0.16 - resolution: "colorette@npm:2.0.16" - checksum: cd55596a3a2d1071c1a28eee7fd8a5387593ff1bd10a3e8d0a6221499311fe34a9f2b9272d77c391e0e003dcdc8934fb2f8d106e7ef1f7516f8060c901d41a27 +"colorette@npm:^2.0.10, colorette@npm:^2.0.16, colorette@npm:^2.0.17": + version: 2.0.17 + resolution: "colorette@npm:2.0.17" + checksum: 693a56d816846e0e213f92c8061b65eb5025030b28a113f90c539fe34c860abc41132c03599af26bcbc213170a31bac1bf2d4c535ccad5ac7b5cb3248f9d98a8 languageName: node linkType: hard @@ -4969,16 +4969,16 @@ __metadata: languageName: node linkType: hard -"detective@npm:^5.2.0": - version: 5.2.0 - resolution: "detective@npm:5.2.0" +"detective@npm:^5.2.1": + version: 5.2.1 + resolution: "detective@npm:5.2.1" dependencies: - acorn-node: ^1.6.1 + acorn-node: ^1.8.2 defined: ^1.0.0 - minimist: ^1.1.1 + minimist: ^1.2.6 bin: detective: bin/detective.js - checksum: 2ab266aecbd695b42e4703cfa560178ceac4308a74baece58185775426e65573d563d84f33e6a3b28ef3a544aa0c039c0730ada939c6458862e6643f66044f32 + checksum: dc4601bbc6be850edb3c2dab7a0eaf5a6169a15ad201679c66d40ea1986df816eeaecd590047f15b0780285f3eeea13b82dca0d4c52a47e744a571e326a72dc9 languageName: node linkType: hard @@ -6729,12 +6729,12 @@ __metadata: languageName: node linkType: hard -"i18next@npm:^21.8.8": - version: 21.8.8 - resolution: "i18next@npm:21.8.8" +"i18next@npm:^21.8.9": + version: 21.8.9 + resolution: "i18next@npm:21.8.9" dependencies: "@babel/runtime": ^7.17.2 - checksum: 2d5e1868f2830b8487014b7bf8dfa72af13224c0991892d7e0ccc56ceabab35a60ca285a90d2a9f587c49ab67ea8e0d0f032a3fd1d14ff0ecbfd3e1a5c1e8510 + checksum: 4e5303c935ca8402f880a673f56a36038a1effa93ee8b8356ff67c927d5d21ec766b44459e7b95c354b640e685ab3a90ad4ba3bd5fc073d96675c3f9b6765b90 languageName: node linkType: hard @@ -8067,12 +8067,12 @@ __metadata: languageName: node linkType: hard -"lint-staged@npm:^13.0.0": - version: 13.0.0 - resolution: "lint-staged@npm:13.0.0" +"lint-staged@npm:^13.0.1": + version: 13.0.1 + resolution: "lint-staged@npm:13.0.1" dependencies: cli-truncate: ^3.1.0 - colorette: ^2.0.16 + colorette: ^2.0.17 commander: ^9.3.0 debug: ^4.3.4 execa: ^6.1.0 @@ -8081,12 +8081,12 @@ __metadata: micromatch: ^4.0.5 normalize-path: ^3.0.0 object-inspect: ^1.12.2 - pidtree: ^0.5.0 + pidtree: ^0.6.0 string-argv: ^0.3.1 yaml: ^2.1.1 bin: lint-staged: bin/lint-staged.js - checksum: cd0810ae48297ecbf962fa727755424ed519cc02e27074fa27415b145f01b26936a3049bdb1a3db1ff564dd88d4261032173beacf18ee26c1eaa4b9ca19d5adb + checksum: a321b351bbdc7dba09c9f026e385b887dabaaea1258eb478fbbe73dc395e11ebe26c946f8514426c7fc7e3e0efbe0761fe64f70e0d26361f912af79f80bf3e4e languageName: node linkType: hard @@ -8475,7 +8475,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.1.1, minimist@npm:^1.2.0, minimist@npm:^1.2.6": +"minimist@npm:^1.2.0, minimist@npm:^1.2.6": version: 1.2.6 resolution: "minimist@npm:1.2.6" checksum: d15428cd1e11eb14e1233bcfb88ae07ed7a147de251441d61158619dfb32c4d7e9061d09cab4825fdee18ecd6fce323228c8c47b5ba7cd20af378ca4048fb3fb @@ -8593,9 +8593,9 @@ __metadata: languageName: node linkType: hard -"msw@npm:^0.42.0": - version: 0.42.0 - resolution: "msw@npm:0.42.0" +"msw@npm:^0.42.1": + version: 0.42.1 + resolution: "msw@npm:0.42.1" dependencies: "@mswjs/cookies": ^0.2.0 "@mswjs/interceptors": ^0.16.3 @@ -8624,7 +8624,7 @@ __metadata: optional: true bin: msw: cli/index.js - checksum: 9d347129004f4a8b88af73bc261f34578429fa35431bcfd7ee93aeaa177b552ffb39bb3e334ab84dd49cc0b32aa5d7721e38ad995bcc82dc4dc847bb5d047da0 + checksum: 8b3078978303ebc4e4dfc29092bf47b82982694f4d90fbcad62e626a969198e393f66c954f71603c942d1f20c6147de60b77765b233a88c00f3e0eb7bbaf2ce2 languageName: node linkType: hard @@ -9285,12 +9285,19 @@ __metadata: languageName: node linkType: hard -"pidtree@npm:^0.5.0": - version: 0.5.0 - resolution: "pidtree@npm:0.5.0" +"pidtree@npm:^0.6.0": + version: 0.6.0 + resolution: "pidtree@npm:0.6.0" bin: pidtree: bin/pidtree.js - checksum: 371cd14bbc9bdee2a6a44596dd521dd3565e223481e0b1afffdca3f1c29831850bfa7784114dc30d245d37e7d186cec035e036256b39f75d878d19498fe0df6a + checksum: 8fbc073ede9209dd15e80d616e65eb674986c93be49f42d9ddde8dbbd141bb53d628a7ca4e58ab5c370bb00383f67d75df59a9a226dede8fa801267a7030c27a + languageName: node + linkType: hard + +"pify@npm:^2.3.0": + version: 2.3.0 + resolution: "pify@npm:2.3.0" + checksum: 9503aaeaf4577acc58642ad1d25c45c6d90288596238fb68f82811c08104c800e5a7870398e9f015d82b44ecbcbef3dc3d4251a1cbb582f6e5959fe09884b2ba languageName: node linkType: hard @@ -9593,6 +9600,19 @@ __metadata: languageName: node linkType: hard +"postcss-import@npm:^14.1.0": + version: 14.1.0 + resolution: "postcss-import@npm:14.1.0" + dependencies: + postcss-value-parser: ^4.0.0 + read-cache: ^1.0.0 + resolve: ^1.1.7 + peerDependencies: + postcss: ^8.0.0 + checksum: cd45d406e90f67cdab9524352e573cc6b4462b790934a05954e929a6653ebd31288ceebc8ce3c3ed7117ae672d9ebbec57df0bceec0a56e9b259c2e71d47ca86 + languageName: node + linkType: hard + "postcss-initial@npm:^4.0.1": version: 4.0.1 resolution: "postcss-initial@npm:4.0.1" @@ -10116,7 +10136,7 @@ __metadata: languageName: node linkType: hard -"postcss-value-parser@npm:^4.1.0, postcss-value-parser@npm:^4.2.0": +"postcss-value-parser@npm:^4.0.0, postcss-value-parser@npm:^4.1.0, postcss-value-parser@npm:^4.2.0": version: 4.2.0 resolution: "postcss-value-parser@npm:4.2.0" checksum: 819ffab0c9d51cf0acbabf8996dffbfafbafa57afc0e4c98db88b67f2094cb44488758f06e5da95d7036f19556a4a732525e84289a425f4f6fd8e412a9d7442f @@ -10133,7 +10153,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.3.5, postcss@npm:^8.4.12, postcss@npm:^8.4.14, postcss@npm:^8.4.4, postcss@npm:^8.4.7": +"postcss@npm:^8.3.5, postcss@npm:^8.4.14, postcss@npm:^8.4.4, postcss@npm:^8.4.7": version: 8.4.14 resolution: "postcss@npm:8.4.14" dependencies: @@ -10360,9 +10380,9 @@ __metadata: axios: ^0.27.2 http-proxy-middleware: ^2.0.6 husky: ^8.0.1 - i18next: ^21.8.8 - lint-staged: ^13.0.0 - msw: ^0.42.0 + i18next: ^21.8.9 + lint-staged: ^13.0.1 + msw: ^0.42.1 postcss: ^8.4.14 prettier: ^2.6.2 prettier-plugin-tailwindcss: ^0.1.11 @@ -10371,11 +10391,11 @@ __metadata: react: ^18.1.0 react-dom: ^18.1.0 react-hook-form: ^7.30.0 - react-i18next: ^11.17.0 + react-i18next: ^11.17.1 react-router-dom: ^6.3.0 react-scripts: 5.0.1 - react-toastify: ^9.0.3 - tailwindcss: ^3.0.24 + react-toastify: ^9.0.4 + tailwindcss: ^3.1.2 typescript: ~4.7.3 languageName: unknown linkType: soft @@ -10540,9 +10560,9 @@ __metadata: languageName: node linkType: hard -"react-i18next@npm:^11.17.0": - version: 11.17.0 - resolution: "react-i18next@npm:11.17.0" +"react-i18next@npm:^11.17.1": + version: 11.17.1 + resolution: "react-i18next@npm:11.17.1" dependencies: "@babel/runtime": ^7.14.5 html-escaper: ^2.0.2 @@ -10555,7 +10575,7 @@ __metadata: optional: true react-native: optional: true - checksum: 0ed6823af56f4133bf1664262206be6651cbea95e2f9275411d6346c6b8009e277b32fe60702fd06607d13b8979913bd013da702e25fa3f4e1bd73e403417296 + checksum: 7b28776fe2f48c5d5f7cae3db9b2dd8741aedbd39e83a6d456e7d381e3718dee38f4119efe58a0f657cc75a85d18b1ada8b07dbe2515249946e1928ed92058e8 languageName: node linkType: hard @@ -10671,15 +10691,15 @@ __metadata: languageName: node linkType: hard -"react-toastify@npm:^9.0.3": - version: 9.0.3 - resolution: "react-toastify@npm:9.0.3" +"react-toastify@npm:^9.0.4": + version: 9.0.4 + resolution: "react-toastify@npm:9.0.4" dependencies: clsx: ^1.1.1 peerDependencies: react: ">=16" react-dom: ">=16" - checksum: 4beacd1dbfcdcd70d70c6ce12f85b9bab5554b7659262654283efc8813ad55dd595a27faf359da2061249dc8eea563cc80139be95a03c75f40fccb3c34de2349 + checksum: 130c443f1c6f72033dbed6b5c41c88a5fab6c7e8f7bc320c400c09bc7ca11116158d554feb212b160aa1320308b69771217663bd0762b5ffd5f68bef6dba5b86 languageName: node linkType: hard @@ -10692,6 +10712,15 @@ __metadata: languageName: node linkType: hard +"read-cache@npm:^1.0.0": + version: 1.0.0 + resolution: "read-cache@npm:1.0.0" + dependencies: + pify: ^2.3.0 + checksum: cffc728b9ede1e0667399903f9ecaf3789888b041c46ca53382fa3a06303e5132774dc0a96d0c16aa702dbac1ea0833d5a868d414f5ab2af1e1438e19e6657c6 + languageName: node + linkType: hard + "readable-stream@npm:^2.0.1": version: 2.3.7 resolution: "readable-stream@npm:2.3.7" @@ -10933,7 +10962,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.14.2, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0": +"resolve@npm:^1.1.7, resolve@npm:^1.14.2, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.0": version: 1.22.0 resolution: "resolve@npm:1.22.0" dependencies: @@ -10956,7 +10985,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin": +"resolve@patch:resolve@^1.1.7#~builtin, resolve@patch:resolve@^1.14.2#~builtin, resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.20.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin": version: 1.22.0 resolution: "resolve@patch:resolve@npm%3A1.22.0#~builtin::version=1.22.0&hash=07638b" dependencies: @@ -11965,14 +11994,14 @@ __metadata: languageName: node linkType: hard -"tailwindcss@npm:^3.0.2, tailwindcss@npm:^3.0.24": - version: 3.0.24 - resolution: "tailwindcss@npm:3.0.24" +"tailwindcss@npm:^3.0.2, tailwindcss@npm:^3.1.2": + version: 3.1.2 + resolution: "tailwindcss@npm:3.1.2" dependencies: arg: ^5.0.1 chokidar: ^3.5.3 color-name: ^1.1.4 - detective: ^5.2.0 + detective: ^5.2.1 didyoumean: ^1.2.2 dlv: ^1.1.3 fast-glob: ^3.2.11 @@ -11982,7 +12011,8 @@ __metadata: normalize-path: ^3.0.0 object-hash: ^3.0.0 picocolors: ^1.0.0 - postcss: ^8.4.12 + postcss: ^8.4.14 + postcss-import: ^14.1.0 postcss-js: ^4.0.0 postcss-load-config: ^3.1.4 postcss-nested: 5.0.6 @@ -11995,7 +12025,7 @@ __metadata: bin: tailwind: lib/cli.js tailwindcss: lib/cli.js - checksum: 52a21192b70ab90678d6cec24ca6f93b3a396599e2d842f6077b670be14e577b1e3fbae8776e64505d383118746287353ed99d2a047258254f4ce3879b996b58 + checksum: 0c097830374640de83ff4bbed06a891eb74f40cdafdcbfaf69faf65219a6e1b0fadd0cac1da8c70c9633742938e0818c2ba551f9ce47b8051c4e11adebdac8c6 languageName: node linkType: hard