1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Move type-fest to a dev dependency and update import to import type

This commit is contained in:
William Oldham 2023-12-09 15:37:37 +00:00
parent 9fb12e7e34
commit a837894f6d
3 changed files with 6 additions and 6 deletions

View file

@ -27,7 +27,6 @@
"node-forge": "^1.3.1", "node-forge": "^1.3.1",
"ofetch": "^1.0.0", "ofetch": "^1.0.0",
"react": "^17.0.2", "react": "^17.0.2",
"type-fest": "^4.3.3",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-ga4": "^2.0.0", "react-ga4": "^2.0.0",
"react-google-recaptcha-v3": "^1.10.1", "react-google-recaptcha-v3": "^1.10.1",
@ -84,6 +83,7 @@
"@typescript-eslint/eslint-plugin": "^5.13.0", "@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0", "@typescript-eslint/parser": "^5.13.0",
"@vitejs/plugin-react": "^3.1.0", "@vitejs/plugin-react": "^3.1.0",
"type-fest": "^4.3.3",
"autoprefixer": "^10.4.13", "autoprefixer": "^10.4.13",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^8.10.0", "eslint": "^8.10.0",

View file

@ -110,9 +110,6 @@ dependencies:
subsrt-ts: subsrt-ts:
specifier: ^2.1.1 specifier: ^2.1.1
version: 2.1.1 version: 2.1.1
type-fest:
specifier: ^4.3.3
version: 4.3.3
zustand: zustand:
specifier: ^4.3.9 specifier: ^4.3.9
version: 4.4.1(@types/react@17.0.65)(immer@10.0.2)(react@17.0.2) version: 4.4.1(@types/react@17.0.65)(immer@10.0.2)(react@17.0.2)
@ -241,6 +238,9 @@ devDependencies:
tailwindcss-themer: tailwindcss-themer:
specifier: ^3.1.0 specifier: ^3.1.0
version: 3.1.0(tailwindcss@3.3.3) version: 3.1.0(tailwindcss@3.3.3)
type-fest:
specifier: ^4.3.3
version: 4.3.3
typescript: typescript:
specifier: ^4.6.4 specifier: ^4.6.4
version: 4.9.5 version: 4.9.5
@ -6056,7 +6056,7 @@ packages:
/type-fest@4.3.3: /type-fest@4.3.3:
resolution: {integrity: sha512-bxhiFii6BBv6UiSDq7uKTMyADT9unXEl3ydGefndVLxFeB44LRbT4K7OJGDYSyDrKnklCC1Pre68qT2wbUl2Aw==} resolution: {integrity: sha512-bxhiFii6BBv6UiSDq7uKTMyADT9unXEl3ydGefndVLxFeB44LRbT4K7OJGDYSyDrKnklCC1Pre68qT2wbUl2Aw==}
engines: {node: '>=16'} engines: {node: '>=16'}
dev: false dev: true
/typed-array-buffer@1.0.0: /typed-array-buffer@1.0.0:
resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==}

View file

@ -1,7 +1,7 @@
import { useCallback } from "react"; import { useCallback } from "react";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { useHistory } from "react-router-dom"; import { useHistory } from "react-router-dom";
import { RequireExactlyOne } from "type-fest"; import type { RequireExactlyOne } from "type-fest";
import { Icon, Icons } from "@/components/Icon"; import { Icon, Icons } from "@/components/Icon";
import { BrandPill } from "@/components/layout/BrandPill"; import { BrandPill } from "@/components/layout/BrandPill";