fix: make prisma work

This commit is contained in:
Lucas Smith
2026-03-01 16:05:22 +11:00
parent 0d1496bc26
commit b6da33282e
6 changed files with 3311 additions and 9670 deletions
+19 -5
View File
@@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@@ -11,7 +15,7 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
@@ -19,9 +23,19 @@
}
],
"paths": {
"@/*": ["./*"]
"@/*": [
"./*"
]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}
+3
View File
@@ -93,6 +93,9 @@ export default defineConfig({
* See rollup.config.mjs which is used for that.
*/
build: {
commonjsOptions: {
include: [/node_modules/],
},
rollupOptions: {
external: [
'@napi-rs/canvas',
+4
View File
@@ -1,3 +1,5 @@
const path = require('path');
/** @type {import('prettier').Config} */
module.exports = {
arrowParens: 'always',
@@ -22,6 +24,8 @@ module.exports = {
// importOrderMergeDuplicateImports: true,
// importOrderCombineTypeAndValueImports: true,
// tailwindStylesheet: path.join(__dirname, '../ui/styles/theme.css'),
plugins: [
'@trivago/prettier-plugin-sort-imports',
// !: Disabled until Prettier 3.x is supported.
+2 -1
View File
@@ -9,7 +9,8 @@
"dependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"prettier": "catalog:",
"prettier-plugin-tailwindcss": "^0.7.1"
"prettier-plugin-tailwindcss": "0.6.11",
"tailwindcss": "catalog:"
},
"devDependencies": {}
}
+4
View File
@@ -4,6 +4,10 @@ generator kysely {
generator client {
provider = "prisma-client-js"
}
generator client_node_modules {
provider = "prisma-client-js"
output = "../../node_modules/.prisma/client"
}
+3279 -9664
View File
File diff suppressed because it is too large Load Diff