From 6c15d2374be31e849c32006ef2bcf068b2d73b91 Mon Sep 17 00:00:00 2001 From: Graeme Houston Date: Tue, 27 Aug 2024 11:32:22 +0100 Subject: [PATCH] Refactor: update import statements to use absolute paths - Replace '@' alias with full package imports throughout the project - Remove module-resolver plugin from Babel config - Remove path aliases from tsconfig.json This change ensures better compatibility when the package is consumed by external projects. --- babel.config.js | 14 +--- lib/components/atoms/Button/index.tsx | 8 +- .../atoms/LoadingIndicator/index.tsx | 2 +- lib/components/atoms/ProgressBar/index.tsx | 6 +- lib/components/atoms/Text/index.tsx | 4 +- lib/components/atoms/Tile/index.tsx | 4 +- lib/components/atoms/TileContainer/index.tsx | 23 +++--- lib/components/atoms/index.ts | 2 + lib/components/molecules/Carousel/index.tsx | 12 +-- lib/components/molecules/Grid/index.tsx | 8 +- .../molecules/ProgressIndicator/index.tsx | 6 +- .../molecules/SectionHeader/index.tsx | 2 +- lib/components/molecules/index.ts | 4 +- lib/components/organisms/BadgeTile/index.tsx | 10 +-- lib/components/organisms/BannerTile/index.tsx | 6 +- .../organisms/ContentTile/index.tsx | 10 +-- lib/components/organisms/PointsTile/index.tsx | 7 +- .../organisms/RewardCategoryTile/index.tsx | 5 +- lib/components/organisms/RewardTile/index.tsx | 8 +- lib/components/organisms/Section/index.tsx | 11 +-- lib/components/organisms/TierTile/index.tsx | 17 ++-- lib/context/SDKContext.tsx | 4 +- lib/context/ThemeContext.tsx | 12 +-- lib/types/theme.ts | 4 +- lib/utils/styling.ts | 2 +- package.json | 1 - tsconfig.json | 6 +- yarn.lock | 78 ------------------- 28 files changed, 89 insertions(+), 187 deletions(-) diff --git a/babel.config.js b/babel.config.js index 99e4e9b..d6dfbc8 100644 --- a/babel.config.js +++ b/babel.config.js @@ -4,17 +4,5 @@ module.exports = { "@babel/preset-react", "@babel/preset-typescript", ], - plugins: [ - "@babel/plugin-proposal-export-namespace-from", - "react-native-web", - [ - "module-resolver", - { - root: ["./lib"], - alias: { - "@": "./lib", - }, - }, - ], - ], + plugins: ["@babel/plugin-proposal-export-namespace-from", "react-native-web"], }; diff --git a/lib/components/atoms/Button/index.tsx b/lib/components/atoms/Button/index.tsx index f70ece7..e53e6bb 100644 --- a/lib/components/atoms/Button/index.tsx +++ b/lib/components/atoms/Button/index.tsx @@ -1,9 +1,9 @@ -import { useTheme } from "@/context/ThemeContext"; -import { Variant } from "@/types/theme"; -import { useResponsiveScale } from "@/utils/responsiveScaling"; -import { createVariantSystem } from "@/utils/variant"; import React from "react"; import { StyleSheet, Text, TouchableOpacity, View } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { Variant } from "../../../types/theme"; +import { useResponsiveScale } from "../../../utils/responsiveScaling"; +import { createVariantSystem } from "../../../utils/variant"; type ButtonProps = { title: string; diff --git a/lib/components/atoms/LoadingIndicator/index.tsx b/lib/components/atoms/LoadingIndicator/index.tsx index c4a830f..c8156da 100644 --- a/lib/components/atoms/LoadingIndicator/index.tsx +++ b/lib/components/atoms/LoadingIndicator/index.tsx @@ -1,6 +1,6 @@ -import { useTheme } from "@/context/ThemeContext"; import React from "react"; import { ActivityIndicator, StyleSheet, View } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; type LoadingIndicatorProps = { // Define your props here diff --git a/lib/components/atoms/ProgressBar/index.tsx b/lib/components/atoms/ProgressBar/index.tsx index 0013a07..2bc8614 100644 --- a/lib/components/atoms/ProgressBar/index.tsx +++ b/lib/components/atoms/ProgressBar/index.tsx @@ -1,8 +1,8 @@ -import { useTheme } from "@/context/ThemeContext"; -import { Size, ThemeObject, Variant } from "@/types/theme"; -import { createVariantSystem } from "@/utils/variant"; import React from "react"; import { StyleSheet, View, ViewStyle } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { Size, ThemeObject, Variant } from "../../../types/theme"; +import { createVariantSystem } from "../../../utils/variant"; export type ProgressBarProps = { percentage: number; diff --git a/lib/components/atoms/Text/index.tsx b/lib/components/atoms/Text/index.tsx index d62ea9b..9c6527b 100644 --- a/lib/components/atoms/Text/index.tsx +++ b/lib/components/atoms/Text/index.tsx @@ -1,5 +1,3 @@ -import { useTheme } from "@/context/ThemeContext"; -import { createResponsiveStyle } from "@/utils/responsiveHelper"; import React from "react"; import { Text as RNText, @@ -7,6 +5,8 @@ import { StyleSheet, TextStyle, } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { createResponsiveStyle } from "../../../utils/responsiveHelper"; type TextVariant = | "eyebrow" diff --git a/lib/components/atoms/Tile/index.tsx b/lib/components/atoms/Tile/index.tsx index 9c73550..72f630e 100644 --- a/lib/components/atoms/Tile/index.tsx +++ b/lib/components/atoms/Tile/index.tsx @@ -1,8 +1,8 @@ -import { useSectionContext } from "@/components/organisms/Section"; -import { useTheme } from "@/context/ThemeContext"; import Color from "color"; import React from "react"; import { StyleSheet, View } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { useSectionContext } from "../../organisms/Section"; import LoadingIndicator from "../LoadingIndicator"; type TileProps = { diff --git a/lib/components/atoms/TileContainer/index.tsx b/lib/components/atoms/TileContainer/index.tsx index 7ed8db7..4cb51a0 100644 --- a/lib/components/atoms/TileContainer/index.tsx +++ b/lib/components/atoms/TileContainer/index.tsx @@ -1,12 +1,3 @@ -import { - BadgeTile, - BannerTile, - ContentTile, - PointsTile, - RewardCategoryTile, - RewardTile, - TierTile, -} from "@/components/organisms"; import { BadgeTileConfig, BannerTileConfig, @@ -17,8 +8,18 @@ import { TierTileConfig, Tile, TileType, -} from "@/types/tile"; -import { useResponsiveScale } from "@/utils/responsiveScaling"; +} from "../../../types/tile"; +import { useResponsiveScale } from "../../../utils/responsiveScaling"; +import { + BadgeTile, + BannerTile, + ContentTile, + PointsTile, + RewardCategoryTile, + RewardTile, + TierTile, +} from "../../organisms"; + import React from "react"; import { StyleSheet, View } from "react-native"; diff --git a/lib/components/atoms/index.ts b/lib/components/atoms/index.ts index 7557fc6..d24c0ce 100644 --- a/lib/components/atoms/index.ts +++ b/lib/components/atoms/index.ts @@ -4,6 +4,7 @@ import Image from "./Image"; import LoadingIndicator from "./LoadingIndicator"; import ProgressBar from "./ProgressBar"; import Text from "./Text"; +import Tile from "./Tile"; import TileContainer from "./TileContainer"; export { @@ -13,5 +14,6 @@ export { LoadingIndicator, ProgressBar, Text, + Tile, TileContainer, }; diff --git a/lib/components/molecules/Carousel/index.tsx b/lib/components/molecules/Carousel/index.tsx index a2a6803..ed5b6de 100644 --- a/lib/components/molecules/Carousel/index.tsx +++ b/lib/components/molecules/Carousel/index.tsx @@ -1,9 +1,3 @@ -import { Icon } from "@/components/atoms"; -import { SectionHeader } from "@/components/molecules"; -import { BannerTile } from "@/components/organisms/"; -import { useTheme } from "@/context/ThemeContext"; -import { Section } from "@/types/section"; -import { BannerTileConfig, Tile, TileType } from "@/types/tile"; import React, { useRef, useState } from "react"; import { NativeScrollEvent, @@ -13,6 +7,12 @@ import { TouchableOpacity, View, } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { Section } from "../../../types/section"; +import { BannerTileConfig, Tile, TileType } from "../../../types/tile"; +import { Icon } from "../../atoms"; +import { SectionHeader } from "../../molecules"; +import { BannerTile } from "../../organisms"; type CarouselProps = { section: Section; diff --git a/lib/components/molecules/Grid/index.tsx b/lib/components/molecules/Grid/index.tsx index d43ffb5..f5263d0 100644 --- a/lib/components/molecules/Grid/index.tsx +++ b/lib/components/molecules/Grid/index.tsx @@ -1,9 +1,9 @@ -import { TileContainer } from "@/components/atoms"; -import { Section as SectionData } from "@/types/section"; -import { Tile, TileHeight, TileType } from "@/types/tile"; -import { useResponsiveScale } from "@/utils/responsiveScaling"; import React from "react"; import { StyleSheet, useWindowDimensions, View } from "react-native"; +import { Section as SectionData } from "../../../types/section"; +import { Tile, TileHeight, TileType } from "../../../types/tile"; +import { useResponsiveScale } from "../../../utils/responsiveScaling"; +import { TileContainer } from "../../atoms"; import SectionHeader from "../SectionHeader"; type GridProps = { diff --git a/lib/components/molecules/ProgressIndicator/index.tsx b/lib/components/molecules/ProgressIndicator/index.tsx index 73dfbbb..61c8a3f 100644 --- a/lib/components/molecules/ProgressIndicator/index.tsx +++ b/lib/components/molecules/ProgressIndicator/index.tsx @@ -1,8 +1,8 @@ -import { Icon, ProgressBar } from "@/components/atoms"; -import { useTheme } from "@/context/ThemeContext"; -import { Size, Variant } from "@/types/theme"; import React from "react"; import { StyleSheet, View } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { Size, Variant } from "../../../types/theme"; +import { Icon, ProgressBar } from "../../atoms"; export type ProgressIndicatorProps = { currentPoints: number; diff --git a/lib/components/molecules/SectionHeader/index.tsx b/lib/components/molecules/SectionHeader/index.tsx index 793a17e..ce7bb3e 100644 --- a/lib/components/molecules/SectionHeader/index.tsx +++ b/lib/components/molecules/SectionHeader/index.tsx @@ -1,6 +1,6 @@ -import { Text } from "@/components/atoms"; import React from "react"; import { StyleSheet, View } from "react-native"; +import { Text } from "../../atoms"; type SectionHeaderProps = { title?: string; diff --git a/lib/components/molecules/index.ts b/lib/components/molecules/index.ts index c3b8e38..b50b3b8 100644 --- a/lib/components/molecules/index.ts +++ b/lib/components/molecules/index.ts @@ -1,5 +1,5 @@ import Carousel from "./Carousel"; +import Grid from "./Grid"; import ProgressIndicator from "./ProgressIndicator"; import SectionHeader from "./SectionHeader"; -export { Carousel, ProgressIndicator, SectionHeader , Grid}; -import Grid from './Grid'; +export { Carousel, Grid, ProgressIndicator, SectionHeader }; diff --git a/lib/components/organisms/BadgeTile/index.tsx b/lib/components/organisms/BadgeTile/index.tsx index 4294d01..54a2bf2 100644 --- a/lib/components/organisms/BadgeTile/index.tsx +++ b/lib/components/organisms/BadgeTile/index.tsx @@ -1,8 +1,8 @@ -import { Icon, Text } from "@/components/atoms"; -import Tile from "@/components/atoms/Tile"; -import { useSectionContext } from "@/components/organisms/Section"; -import { BadgeTileConfig } from "@/types/tile"; -import { createResponsiveStyle } from "@/utils/responsiveHelper"; +import { BadgeTileConfig } from "../../../types/tile"; +import { createResponsiveStyle } from "../../../utils/responsiveHelper"; +import { Icon, Text, Tile } from "../../atoms"; +import { useSectionContext } from "../Section"; + import React from "react"; import { Image, StyleSheet, View } from "react-native"; diff --git a/lib/components/organisms/BannerTile/index.tsx b/lib/components/organisms/BannerTile/index.tsx index a1c607f..7f79a72 100644 --- a/lib/components/organisms/BannerTile/index.tsx +++ b/lib/components/organisms/BannerTile/index.tsx @@ -1,8 +1,8 @@ -import { Button, Text } from "@/components/atoms"; -import { useTheme } from "@/context/ThemeContext"; -import { BannerTileConfig } from "@/types/tile"; import React from "react"; import { Image, Linking, StyleSheet, View } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { BannerTileConfig } from "../../../types/tile"; +import { Button, Text } from "../../atoms"; type BannerTileProps = { configuration: BannerTileConfig; diff --git a/lib/components/organisms/ContentTile/index.tsx b/lib/components/organisms/ContentTile/index.tsx index 625e9ad..cda6013 100644 --- a/lib/components/organisms/ContentTile/index.tsx +++ b/lib/components/organisms/ContentTile/index.tsx @@ -1,10 +1,10 @@ -import { Text } from "@/components/atoms"; -import Tile from "@/components/atoms/Tile"; -import { useSectionContext } from "@/components/organisms/Section"; -import { ContentTileConfig } from "@/types/tile"; -import { createResponsiveStyle } from "@/utils/responsiveHelper"; import React from "react"; import { Image, StyleSheet, View } from "react-native"; +import { ContentTileConfig } from "../../../types/tile"; +import { createResponsiveStyle } from "../../../utils/responsiveHelper"; +import { Text, Tile } from "../../atoms"; + +import { useSectionContext } from "../Section"; type ContentTileProps = { configuration: ContentTileConfig; }; diff --git a/lib/components/organisms/PointsTile/index.tsx b/lib/components/organisms/PointsTile/index.tsx index 5275427..08a7d1f 100644 --- a/lib/components/organisms/PointsTile/index.tsx +++ b/lib/components/organisms/PointsTile/index.tsx @@ -1,9 +1,8 @@ -import { Text } from "@/components/atoms"; -import Tile from "@/components/atoms/Tile"; -import { useTheme } from "@/context/ThemeContext"; -import { PointsTileConfig } from "@/types/tile"; import React from "react"; import { Image, StyleSheet, View } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { PointsTileConfig } from "../../../types/tile"; +import { Text, Tile } from "../../atoms"; import { useSectionContext } from "../Section"; type PointsTileProps = { diff --git a/lib/components/organisms/RewardCategoryTile/index.tsx b/lib/components/organisms/RewardCategoryTile/index.tsx index fc3e3a8..2a8be83 100644 --- a/lib/components/organisms/RewardCategoryTile/index.tsx +++ b/lib/components/organisms/RewardCategoryTile/index.tsx @@ -1,8 +1,7 @@ -import Tile from "@/components/atoms/Tile"; -import { useTheme } from "@/context/ThemeContext"; -import { RewardCategoryTileConfig } from "@/types/tile"; import React from "react"; import { Image, StyleSheet, Text, View } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { RewardCategoryTileConfig } from "../../../types/tile"; type RewardCategoryTileProps = { configuration: RewardCategoryTileConfig; diff --git a/lib/components/organisms/RewardTile/index.tsx b/lib/components/organisms/RewardTile/index.tsx index 6997f72..eed86a4 100644 --- a/lib/components/organisms/RewardTile/index.tsx +++ b/lib/components/organisms/RewardTile/index.tsx @@ -1,11 +1,11 @@ +import React, { createContext, useContext } from "react"; +import { RewardTileConfig } from "../../../types/tile"; import { Button as ButtonAtom, Image as ImageAtom, Text, -} from "@/components/atoms"; -import Tile from "@/components/atoms/Tile"; -import { RewardTileConfig } from "@/types/tile"; -import React, { createContext, useContext } from "react"; + Tile, +} from "../../atoms"; type RewardTileContextType = { configuration: RewardTileConfig; diff --git a/lib/components/organisms/Section/index.tsx b/lib/components/organisms/Section/index.tsx index 2155e1f..923833b 100644 --- a/lib/components/organisms/Section/index.tsx +++ b/lib/components/organisms/Section/index.tsx @@ -1,8 +1,9 @@ -import { Icon } from "@/components/atoms"; -import { Carousel, Grid } from "@/components/molecules"; -import { useSDK } from "@/context/SDKContext"; -import { useTheme } from "@/context/ThemeContext"; -import { Section as SectionData, SectionType } from "@/types/section"; +import { useSDK } from "../../../context/SDKContext"; +import { useTheme } from "../../../context/ThemeContext"; +import { Section as SectionData, SectionType } from "../../../types/section"; +import { Icon } from "../../atoms"; +import { Carousel, Grid } from "../../molecules"; + import React, { createContext, useContext, useEffect, useState } from "react"; import { StyleSheet, Text, View } from "react-native"; diff --git a/lib/components/organisms/TierTile/index.tsx b/lib/components/organisms/TierTile/index.tsx index e1bb3bd..2fca28c 100644 --- a/lib/components/organisms/TierTile/index.tsx +++ b/lib/components/organisms/TierTile/index.tsx @@ -1,23 +1,18 @@ // @ts-nocheck -import { Text } from "@/components/atoms"; -import Tile from "@/components/atoms/Tile"; -import { ProgressIndicator } from "@/components/molecules"; -import { useSectionContext } from "@/components/organisms/Section"; -import { useTheme } from "@/context/ThemeContext"; -import { TierTileConfig, TierTileType } from "@/types/tile"; -import { useResponsiveScale } from "@/utils/responsiveScaling"; +// TODO: Fix this file import React from "react"; import { View } from "react-native"; +import { useTheme } from "../../../context/ThemeContext"; +import { TierTileConfig, TierTileType } from "../../../types/tile"; +import { useResponsiveScale } from "../../../utils/responsiveScaling"; +import { Text, Tile } from "../../atoms"; +import { ProgressIndicator } from "../../molecules"; type TierTileProps = { configuration: TierTileConfig; }; const TierTile: React.FC = ({ configuration }) => { - const { ms, ps } = useResponsiveScale(); - const { loading } = useSectionContext(); - const { theme } = useTheme(); - if (!configuration?.tier) return null; const renderTierTileContent = () => { diff --git a/lib/context/SDKContext.tsx b/lib/context/SDKContext.tsx index afaea57..adba056 100644 --- a/lib/context/SDKContext.tsx +++ b/lib/context/SDKContext.tsx @@ -1,6 +1,6 @@ -import { Section } from "@/types/section"; -import { Tile } from "@/types/tile"; import React, { createContext, ReactNode, useContext } from "react"; +import { Section } from "../types/section"; +import { Tile } from "../types/tile"; type SDKConfig = { apiKey: string; diff --git a/lib/context/ThemeContext.tsx b/lib/context/ThemeContext.tsx index 4bea8b8..97eca09 100644 --- a/lib/context/ThemeContext.tsx +++ b/lib/context/ThemeContext.tsx @@ -1,9 +1,3 @@ -import { defaultTheme, sizes } from "@/utils/styling"; -import { - getDerivedColor, - getDerivedColorPercentages, - getReadableTextColor, -} from "@/utils/themeHelpers"; import React, { createContext, useContext, useEffect, useState } from "react"; import { BaseThemeObject, @@ -11,6 +5,12 @@ import { ThemeObject, ThemeProviderProps, } from "../types/theme"; +import { defaultTheme } from "../utils/styling"; +import { + getDerivedColor, + getDerivedColorPercentages, + getReadableTextColor, +} from "../utils/themeHelpers"; const ThemeContext = createContext(undefined); diff --git a/lib/types/theme.ts b/lib/types/theme.ts index f9b7d59..d7d33a9 100644 --- a/lib/types/theme.ts +++ b/lib/types/theme.ts @@ -1,6 +1,6 @@ -import { sizes } from "@/utils/styling"; -import { DerivedColors } from "@/utils/themeHelpers"; import { ReactNode } from "react"; +import { sizes } from "../utils/styling"; +import { DerivedColors } from "../utils/themeHelpers"; export type BaseThemeObject = { accent: string; diff --git a/lib/utils/styling.ts b/lib/utils/styling.ts index 108d20a..c26cf29 100644 --- a/lib/utils/styling.ts +++ b/lib/utils/styling.ts @@ -1,4 +1,4 @@ -import { BaseThemeObject } from "@/types/theme"; +import { BaseThemeObject } from "../types/theme"; export const sizes = { borderRadius: 15, diff --git a/package.json b/package.json index 7ef4e29..00fc1fb 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "@types/react-dom": "^18.2.7", "@types/react-native": "^0.72.2", "babel-loader": "^9.1.3", - "babel-plugin-module-resolver": "^5.0.2", "babel-plugin-react-native-web": "^0.19.9", "chromatic": "^11.7.1", "concurrently": "^8.2.2", diff --git a/tsconfig.json b/tsconfig.json index 4a068c7..50627a0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,11 +14,7 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react-native", - "baseUrl": ".", - "paths": { - "@/*": ["lib/*"] - } + "jsx": "react-native" }, "include": ["lib"] } diff --git a/yarn.lock b/yarn.lock index fd2a9b0..5d39bd8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2903,17 +2903,6 @@ babel-loader@^9.1.3: find-cache-dir "^4.0.0" schema-utils "^4.0.0" -babel-plugin-module-resolver@^5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/babel-plugin-module-resolver/-/babel-plugin-module-resolver-5.0.2.tgz#cdeac5d4aaa3b08dd1ac23ddbf516660ed2d293e" - integrity sha512-9KtaCazHee2xc0ibfqsDeamwDps6FZNo5S0Q81dUqEuFzVwPhcT4J5jOqIVvgCA3Q/wO9hKYxN/Ds3tIsp5ygg== - dependencies: - find-babel-config "^2.1.1" - glob "^9.3.3" - pkg-up "^3.1.0" - reselect "^4.1.7" - resolve "^1.22.8" - babel-plugin-polyfill-corejs2@^0.4.10: version "0.4.11" resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz#30320dfe3ffe1a336c15afdcdafd6fd615b25e33" @@ -3056,13 +3045,6 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -brace-expansion@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" - integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== - dependencies: - balanced-match "^1.0.0" - braces@^3.0.3, braces@~3.0.2: version "3.0.3" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" @@ -4234,14 +4216,6 @@ finalhandler@1.2.0: statuses "2.0.1" unpipe "~1.0.0" -find-babel-config@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/find-babel-config/-/find-babel-config-2.1.1.tgz#93703fc8e068db5e4c57592900c5715dd04b7e5b" - integrity sha512-5Ji+EAysHGe1OipH7GN4qDjok5Z1uw5KAwDCbicU/4wyTZY7CqOCzcWbG7J5ad9mazq67k89fXlbc1MuIfl9uA== - dependencies: - json5 "^2.2.3" - path-exists "^4.0.0" - find-cache-dir@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" @@ -4506,16 +4480,6 @@ glob@^7.1.1, glob@^7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^9.3.3: - version "9.3.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-9.3.5.tgz#ca2ed8ca452781a3009685607fdf025a899dfe21" - integrity sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q== - dependencies: - fs.realpath "^1.0.0" - minimatch "^8.0.2" - minipass "^4.2.4" - path-scurry "^1.6.1" - globals@^11.1.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" @@ -5378,11 +5342,6 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" -lru-cache@^10.2.0: - version "10.4.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" - integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== - lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -5816,13 +5775,6 @@ minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.1: dependencies: brace-expansion "^1.1.7" -minimatch@^8.0.2: - version "8.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-8.0.4.tgz#847c1b25c014d4e9a7f68aaf63dedd668a626229" - integrity sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA== - dependencies: - brace-expansion "^2.0.1" - minimist@^1.2.6: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" @@ -5835,21 +5787,11 @@ minipass@^3.0.0: dependencies: yallist "^4.0.0" -minipass@^4.2.4: - version "4.2.8" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.2.8.tgz#f0010f64393ecfc1d1ccb5f582bcaf45f48e1a3a" - integrity sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ== - minipass@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": - version "7.1.2" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" - integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== - minizlib@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" @@ -6267,14 +6209,6 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-scurry@^1.6.1: - version "1.11.1" - resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" - integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== - dependencies: - lru-cache "^10.2.0" - minipass "^5.0.0 || ^6.0.2 || ^7.0.0" - path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" @@ -6350,13 +6284,6 @@ pkg-types@^1.1.1: mlly "^1.7.1" pathe "^1.1.2" -pkg-up@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-3.1.0.tgz#100ec235cc150e4fd42519412596a28512a0def5" - integrity sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA== - dependencies: - find-up "^3.0.0" - polished@^4.2.2: version "4.3.1" resolved "https://registry.yarnpkg.com/polished/-/polished-4.3.1.tgz#5a00ae32715609f83d89f6f31d0f0261c6170548" @@ -6899,11 +6826,6 @@ requires-port@^1.0.0: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== -reselect@^4.1.7: - version "4.1.8" - resolved "https://registry.yarnpkg.com/reselect/-/reselect-4.1.8.tgz#3f5dc671ea168dccdeb3e141236f69f02eaec524" - integrity sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ== - resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d"