From fa7c99df25229a5603658c0f5f354757f32543fa Mon Sep 17 00:00:00 2001 From: Nethsara Sandeepa Elvitigala Date: Sat, 26 Sep 2026 23:43:16 +0530 Subject: [PATCH] fix(mac-configs): resolve the seed file from the package root SEED_PATH climbed three levels from the compiled command's directory, landing on dist/database/seeds, where tsc emits no JSON. Climb to the package root like MIGRATIONS_FOLDER does and read the seed from src/database/seeds, which exists in both source and container runs. --- .../modules/mac-config/commands/populate-mac-configs.command.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/macgamingdb-server/src/modules/mac-config/commands/populate-mac-configs.command.ts b/packages/macgamingdb-server/src/modules/mac-config/commands/populate-mac-configs.command.ts index cf85630..3341662 100644 --- a/packages/macgamingdb-server/src/modules/mac-config/commands/populate-mac-configs.command.ts +++ b/packages/macgamingdb-server/src/modules/mac-config/commands/populate-mac-configs.command.ts @@ -17,6 +17,8 @@ const SEED_PATH = path.join( '..', '..', '..', + '..', + 'src', 'database', 'seeds', 'mac-configs.json',