generated from nhcarrigan/template
move generated folder back to where it belongs
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
node_modules
|
node_modules
|
||||||
prod
|
prod
|
||||||
|
|
||||||
src/generated/prisma
|
generated/prisma
|
||||||
|
|||||||
+1
-1
@@ -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
@@ -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
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user