From 1421a6c615948c008117276d661a6f79e8af8e0c Mon Sep 17 00:00:00 2001 From: Douglas Duteil Date: Wed, 8 Jan 2025 16:04:47 +0100 Subject: [PATCH] fix(pkg): ensure to build before migrate (#917) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d36addbe..ffee20ef 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "build": "run-s build:**", "build:assets": "vite build --clearScreen false", "build:db:conditionaly-load-fixtures": "if [ \"$RUN_FIXTURES\" = \"True\" ]; then npm run fixtures:load; fi", - "build:db:migrate": "npm run --silent migrate -- up", "build:workspaces": "npm run build --if-present --workspaces", + "build:db:migrate": "npm run --silent migrate -- up", "delete-database": "if [ \"$ENABLE_DATABASE_DELETION\" = \"True\" ]; then tsx scripts/run-sql-script.ts scripts/delete_all.sql; fi", "predev": "npm run build:workspaces", "dev": "NODE_ENV=development concurrently \"npm:watch:*\"",