diff --git a/apps/bob-pay/global.d.ts b/apps/bob-pay/src/types/global.d.ts similarity index 100% rename from apps/bob-pay/global.d.ts rename to apps/bob-pay/src/types/global.d.ts diff --git a/apps/bob-pay/src/types/images.d.ts b/apps/bob-pay/src/types/images.d.ts new file mode 100644 index 000000000..8760b5280 --- /dev/null +++ b/apps/bob-pay/src/types/images.d.ts @@ -0,0 +1,30 @@ +declare module '*.jpg' { + const value: string; + export default value; +} + +declare module '*.png' { + const value: string; + + export default value; +} + +declare module '*.svg' { + const value: string; + export default value; +} + +declare module '*.jpeg' { + const value: string; + export default value; +} + +declare module '*.webp' { + const value: string; + export default value; +} + +declare module '*.gif' { + const value: string; + export default value; +} diff --git a/apps/bob-pay/tsconfig.json b/apps/bob-pay/tsconfig.json index d04289285..33386dffc 100644 --- a/apps/bob-pay/tsconfig.json +++ b/apps/bob-pay/tsconfig.json @@ -31,6 +31,6 @@ "noUncheckedIndexedAccess": true, "forceConsistentCasingInFileNames": true }, - "include": ["next-env.d.ts", "global.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] } diff --git a/apps/evm/global.d.ts b/apps/evm/src/types/global.d.ts similarity index 100% rename from apps/evm/global.d.ts rename to apps/evm/src/types/global.d.ts diff --git a/apps/evm/src/types/images.d.ts b/apps/evm/src/types/images.d.ts new file mode 100644 index 000000000..8760b5280 --- /dev/null +++ b/apps/evm/src/types/images.d.ts @@ -0,0 +1,30 @@ +declare module '*.jpg' { + const value: string; + export default value; +} + +declare module '*.png' { + const value: string; + + export default value; +} + +declare module '*.svg' { + const value: string; + export default value; +} + +declare module '*.jpeg' { + const value: string; + export default value; +} + +declare module '*.webp' { + const value: string; + export default value; +} + +declare module '*.gif' { + const value: string; + export default value; +} diff --git a/apps/evm/tsconfig.json b/apps/evm/tsconfig.json index d04289285..33386dffc 100644 --- a/apps/evm/tsconfig.json +++ b/apps/evm/tsconfig.json @@ -31,6 +31,6 @@ "noUncheckedIndexedAccess": true, "forceConsistentCasingInFileNames": true }, - "include": ["next-env.d.ts", "global.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] } diff --git a/turbo.json b/turbo.json index e4ed70b8b..244ba750a 100644 --- a/turbo.json +++ b/turbo.json @@ -5,32 +5,29 @@ "build": { "outputs": [".next/**", "!.next/cache/**", "storybook-static/**"], "dependsOn": ["^build"], - "cache": true + "cache": false }, "lint": { - "outputs": [], - "cache": true, - "dependsOn": ["^lint"] + "cache": false, + "outputs": [] }, "dev": { - "cache": false, - "persistent": true + "cache": false }, "clean": { "cache": false }, "typecheck": { - "cache": true, + "cache": false, "dependsOn": ["^typecheck"] }, "test": { "dependsOn": ["build"], "outputs": [], - "cache": true + "cache": false }, "format:check": { - "outputs": [], - "cache": true + "cache": false }, "format:write": { "outputs": [], @@ -38,7 +35,7 @@ }, "files:check": { "outputs": [], - "cache": true + "cache": false } } }