Fix seed import: remove .js extension from competition-configs import

The .js extension caused ERR_MODULE_NOT_FOUND in Docker when tsx
tried to resolve the TypeScript source file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-02-15 23:42:31 +01:00
parent 0b4e56b287
commit ac970fc6a0
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ import {
AdvancementRuleType, AdvancementRuleType,
} from '@prisma/client' } from '@prisma/client'
import bcrypt from 'bcryptjs' import bcrypt from 'bcryptjs'
import { defaultRoundConfig } from '../src/types/competition-configs.js' import { defaultRoundConfig } from '../src/types/competition-configs'
import { readFileSync } from 'fs' import { readFileSync } from 'fs'
import { parse } from 'csv-parse/sync' import { parse } from 'csv-parse/sync'
import { join, dirname } from 'path' import { join, dirname } from 'path'