move generated folder back to where it belongs
Node.js CI / CI (pull_request) Failing after 19s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 52s

This commit is contained in:
2026-01-07 09:05:18 -05:00
parent 1e25328711
commit 0a0c8dc17c
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
node_modules node_modules
prod prod
src/generated/prisma generated/prisma
+1 -1
View File
@@ -7,7 +7,7 @@
"scripts": { "scripts": {
"build": "rm -rf prod && tsc", "build": "rm -rf prod && tsc",
"lint": "eslint src --max-warnings 0", "lint": "eslint src --max-warnings 0",
"start": "op run --env-file=prod.env --no-masking -- node prod/index.js", "start": "op run --env-file=prod.env --no-masking -- node prod/src/index.js",
"test": "echo \"No tests yet!\" && exit 0" "test": "echo \"No tests yet!\" && exit 0"
}, },
"keywords": [], "keywords": [],
+1 -1
View File
@@ -1,4 +1,4 @@
import { PrismaClient } from "../generated/prisma/client.js"; import { PrismaClient } from "../../generated/prisma/client.js";
const prisma = new PrismaClient(); const prisma = new PrismaClient();
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"include": ["**/*.ts"],
"extends": "@nhcarrigan/typescript-config", "extends": "@nhcarrigan/typescript-config",
"compilerOptions": { "compilerOptions": {
"rootDir": "./src",
"outDir": "./prod" "outDir": "./prod"
}, },
"exclude": ["test/**/*.ts", "vitest.config.ts"] "exclude": ["test/**/*.ts", "vitest.config.ts"]