fix ts and building
This commit is contained in:
@@ -2,4 +2,4 @@ import { drizzle } from "drizzle-orm/neon-http";
|
||||
|
||||
export const db = drizzle(process.env.DATABASE_URL!);
|
||||
|
||||
export * from "./schema.js";
|
||||
export * from "./schema.ts";
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"dotenv": "^16.5.0",
|
||||
"drizzle-kit": "^0.31.1"
|
||||
"drizzle-kit": "^0.31.1",
|
||||
"typescript": "^5.7.3",
|
||||
"@workspace/eslint-config": "workspace:*",
|
||||
"@workspace/typescript-config": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
12
packages/db/tsconfig.json
Normal file
12
packages/db/tsconfig.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "@workspace/typescript-config/nextjs.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./*"],
|
||||
},
|
||||
"allowImportingTsExtensions": true,
|
||||
},
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Reference in New Issue
Block a user