mirror of
https://github.com/documenso/documenso.git
synced 2026-07-06 19:15:01 +10:00
fix: make prisma work
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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,6 +4,10 @@ generator kysely {
|
||||
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
}
|
||||
|
||||
generator client_node_modules {
|
||||
provider = "prisma-client-js"
|
||||
output = "../../node_modules/.prisma/client"
|
||||
}
|
||||
|
||||
|
||||
Generated
+3279
-9664
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user