diff --git a/.gitignore b/.gitignore index 45a2547..bd2eb9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ node_modules -.vscode/*.code-snippets tsconfig.temp.json -*.prompt.* dist -*.tsbuildinfo \ No newline at end of file +*.tsbuildinfo +*.prompt.* +.vscode/*.code-snippets \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index b62024e..b6621bd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ { "typescript.tsdk": "node_modules/typescript/lib", - "explorer.sortOrder": "mixed", "typescript.enablePromptUseWorkspaceTsdk": true, + "github.copilot.enable": { + "*": false, + }, + "explorer.sortOrder": "mixed", } \ No newline at end of file diff --git a/renovate.json b/renovate.json index a9a7f86..29b50a8 100644 --- a/renovate.json +++ b/renovate.json @@ -7,7 +7,13 @@ "excludePackagePatterns": [ "typescript", "vitest", - "@total-typescript/exercise-cli" + "jsdom", + "prettier", + "vite-tsconfig-paths", + "react", + "@types/react", + "@total-typescript/exercise-cli", + "zod" ], "enabled": false } diff --git a/scripts/setup.ts b/scripts/setup.ts deleted file mode 100644 index 354d20d..0000000 --- a/scripts/setup.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { fetch } from "cross-fetch"; - -global.fetch = fetch; diff --git a/vite.config.ts b/vite.config.mts similarity index 76% rename from vite.config.ts rename to vite.config.mts index 251dac0..c5cfc0c 100644 --- a/vite.config.ts +++ b/vite.config.mts @@ -1,11 +1,9 @@ import { defineConfig } from "vitest/config"; import tsconfigPaths from "vite-tsconfig-paths"; -import path from "path"; export default defineConfig({ test: { include: ["src/**/*{problem,solution,explainer}*.{ts,tsx}"], - setupFiles: [path.resolve(__dirname, "scripts/setup.ts")], passWithNoTests: true, environment: "jsdom", },