diff --git a/package.json b/package.json index e00be88..ac30da9 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "nx run-many --target=build --all && NODE_ENV=production op run --env-file=dev.env -- node dist/api/main.js", "lint": "nx run-many --target=lint --all", - "build": "nx run-many --target=build --all", + "build": "pnpm db:gen && nx run-many --target=build --all", "test": "nx run-many --target=test --all --passWithNoTests", "build:frontend": "nx build frontend --configuration=production", "build:api": "nx build api",