diff --git a/src/server/services/githubJsonService.ts b/src/server/services/githubJsonService.ts index 906b6e7..1a852ce 100644 --- a/src/server/services/githubJsonService.ts +++ b/src/server/services/githubJsonService.ts @@ -3,7 +3,7 @@ import { writeFile, mkdir, readdir, readFile } from 'fs/promises'; import { join } from 'path'; import { env } from '../../env.js'; import type { Script, ScriptCard, GitHubFile } from '../../types/script'; -import { repositoryService } from './repositoryService.js'; +import { repositoryService } from './repositoryService'; export class GitHubJsonService { private branch: string | null = null; diff --git a/src/server/services/repositoryService.ts b/src/server/services/repositoryService.ts index aa9dabb..7444a87 100644 --- a/src/server/services/repositoryService.ts +++ b/src/server/services/repositoryService.ts @@ -1,5 +1,5 @@ /* eslint-disable @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-argument, @typescript-eslint/prefer-regexp-exec */ -import { prisma } from '../db.js'; +import { prisma } from '../db'; export class RepositoryService { /** diff --git a/tsconfig.json b/tsconfig.json index 7b62e00..d58a28e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ /* Strictness */ "strict": true, "noUncheckedIndexedAccess": true, - "checkJs": true, + "checkJs": false, /* Bundled projects */ "lib": [ "dom", @@ -44,12 +44,12 @@ "next-env.d.ts", "**/*.ts", "**/*.tsx", - "**/*.cjs", - "**/*.js", ".next/types/**/*.ts", ".next/dev/types/**/*.ts" ], "exclude": [ - "node_modules" + "node_modules", + "**/*.js", + "**/*.cjs" ] }