Fix seed import: remove .js extension from competition-configs import
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m3s
All checks were successful
Build and Push Docker Image / build (push) Successful in 7m3s
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:
@@ -18,7 +18,7 @@ import {
|
||||
AdvancementRuleType,
|
||||
} from '@prisma/client'
|
||||
import bcrypt from 'bcryptjs'
|
||||
import { defaultRoundConfig } from '../src/types/competition-configs.js'
|
||||
import { defaultRoundConfig } from '../src/types/competition-configs'
|
||||
import { readFileSync } from 'fs'
|
||||
import { parse } from 'csv-parse/sync'
|
||||
import { join, dirname } from 'path'
|
||||
|
||||
Reference in New Issue
Block a user