From b6fe5b6e843aacdbae3d717bde16cc9572224be5 Mon Sep 17 00:00:00 2001 From: Onizuka-wl Date: Thu, 3 Oct 2024 15:44:45 -0300 Subject: [PATCH] chore: check for capitalized name of files (#22) * chore: renamed some files, only components are capitalized * chore: git is not detecting file renames * chore: renamed again * chore: renamed due to github error no tracking filename changes * chore: renamed again * chore: removed capitalized name for theme folder --- src/config/index.ts | 2 +- src/config/{Theme => themes}/index.ts | 0 src/config/{Theme => themes}/muiThemeConfig.ts | 0 src/config/{Theme => themes}/rainbowTheme.ts | 0 src/config/{Theme => themes}/theme.ts | 0 src/types/{Config.ts => config.ts} | 0 src/types/index.ts | 4 ++-- src/types/{Theme.ts => theme.ts} | 0 src/utils/index.ts | 2 +- src/utils/{Variables.ts => variables.ts} | 0 10 files changed, 4 insertions(+), 4 deletions(-) rename src/config/{Theme => themes}/index.ts (100%) rename src/config/{Theme => themes}/muiThemeConfig.ts (100%) rename src/config/{Theme => themes}/rainbowTheme.ts (100%) rename src/config/{Theme => themes}/theme.ts (100%) rename src/types/{Config.ts => config.ts} (100%) rename src/types/{Theme.ts => theme.ts} (100%) rename src/utils/{Variables.ts => variables.ts} (100%) diff --git a/src/config/index.ts b/src/config/index.ts index 00898c2..b60eac2 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -1,9 +1,9 @@ import { createPublicClient, http } from 'viem'; import { mainnet } from 'viem/chains'; import { Config } from '~/types'; -import { getCustomThemes } from './Theme'; import { getConstants } from './constants'; import { getEnv } from './env'; +import { getCustomThemes } from './themes'; // this provider if for load data when the user is disconnected export const publicClient = createPublicClient({ diff --git a/src/config/Theme/index.ts b/src/config/themes/index.ts similarity index 100% rename from src/config/Theme/index.ts rename to src/config/themes/index.ts diff --git a/src/config/Theme/muiThemeConfig.ts b/src/config/themes/muiThemeConfig.ts similarity index 100% rename from src/config/Theme/muiThemeConfig.ts rename to src/config/themes/muiThemeConfig.ts diff --git a/src/config/Theme/rainbowTheme.ts b/src/config/themes/rainbowTheme.ts similarity index 100% rename from src/config/Theme/rainbowTheme.ts rename to src/config/themes/rainbowTheme.ts diff --git a/src/config/Theme/theme.ts b/src/config/themes/theme.ts similarity index 100% rename from src/config/Theme/theme.ts rename to src/config/themes/theme.ts diff --git a/src/types/Config.ts b/src/types/config.ts similarity index 100% rename from src/types/Config.ts rename to src/types/config.ts diff --git a/src/types/index.ts b/src/types/index.ts index 54d9f8d..fca3052 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,2 +1,2 @@ -export * from './Config'; -export * from './Theme'; +export * from './config'; +export * from './theme'; diff --git a/src/types/Theme.ts b/src/types/theme.ts similarity index 100% rename from src/types/Theme.ts rename to src/types/theme.ts diff --git a/src/utils/index.ts b/src/utils/index.ts index a54ea12..e558945 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,4 +1,4 @@ export * from './getTheme'; -export * from './Variables'; +export * from './variables'; export * from './config'; export * from './format'; diff --git a/src/utils/Variables.ts b/src/utils/variables.ts similarity index 100% rename from src/utils/Variables.ts rename to src/utils/variables.ts