mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 09:12:02 +10:00
chore: upgrade deps and linting
This commit is contained in:
@ -24,7 +24,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/nodemailer": "^6.4.8",
|
||||
"react-email": "^1.9.4",
|
||||
"tsup": "^7.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ import {
|
||||
Text,
|
||||
} from '@react-email/components';
|
||||
|
||||
import * as config from '@documenso/tailwind-config';
|
||||
import config from '@documenso/tailwind-config';
|
||||
|
||||
interface DocumentCompletedEmailTemplateProps {
|
||||
downloadLink?: string;
|
||||
|
||||
@ -13,7 +13,7 @@ import {
|
||||
Text,
|
||||
} from '@react-email/components';
|
||||
|
||||
import * as config from '@documenso/tailwind-config';
|
||||
import config from '@documenso/tailwind-config';
|
||||
|
||||
interface DocumentInviteEmailTemplateProps {
|
||||
inviterName?: string;
|
||||
|
||||
@ -11,7 +11,7 @@ import {
|
||||
Text,
|
||||
} from '@react-email/components';
|
||||
|
||||
import * as config from '@documenso/tailwind-config';
|
||||
import config from '@documenso/tailwind-config';
|
||||
|
||||
interface DocumentPendingEmailTemplateProps {
|
||||
documentName?: string;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "@documenso/tsconfig/react-library.json",
|
||||
"include": ["."],
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.d.ts", "**/*.json"],
|
||||
"exclude": ["dist", "build", "node_modules"]
|
||||
}
|
||||
|
||||
@ -7,11 +7,11 @@
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
||||
"@typescript-eslint/parser": "^5.59.2",
|
||||
"eslint": "^8.40.0",
|
||||
"eslint-config-next": "^13.4.9",
|
||||
"eslint-config-next": "13.4.12",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-react": "^7.32.2",
|
||||
"eslint-config-turbo": "^1.9.3",
|
||||
"typescript": "^5.0.4"
|
||||
"typescript": "^5.1.6"
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,13 +16,13 @@
|
||||
"@documenso/email": "*",
|
||||
"@documenso/prisma": "*",
|
||||
"@pdf-lib/fontkit": "^1.1.1",
|
||||
"@next-auth/prisma-adapter": "^1.0.6",
|
||||
"@next-auth/prisma-adapter": "1.0.7",
|
||||
"@upstash/redis": "^1.20.6",
|
||||
"bcrypt": "^5.1.0",
|
||||
"pdf-lib": "^1.17.1",
|
||||
"nanoid": "^4.0.2",
|
||||
"next": "13.4.9",
|
||||
"next-auth": "^4.22.1",
|
||||
"next": "13.4.12",
|
||||
"next-auth": "4.22.3",
|
||||
"react": "18.2.0",
|
||||
"stripe": "^12.7.0"
|
||||
},
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "@documenso/tsconfig/react-library.json",
|
||||
"include": ["."],
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/*.d.ts"],
|
||||
"exclude": ["dist", "build", "node_modules"]
|
||||
}
|
||||
|
||||
2
packages/lib/types/next-auth.d.ts
vendored
2
packages/lib/types/next-auth.d.ts
vendored
@ -8,8 +8,8 @@ declare module 'next-auth' {
|
||||
|
||||
interface User extends Omit<DefaultUser, 'id' | 'image'> {
|
||||
id: PrismaUser['id'];
|
||||
email?: PrismaUser['email'];
|
||||
name?: PrismaUser['name'];
|
||||
email?: PrismaUser['email'];
|
||||
emailVerified?: PrismaUser['emailVerified'];
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
"prisma:migrate-deploy": "prisma migrate deploy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@prisma/client": "^4.14.0",
|
||||
"prisma": "^4.14.0"
|
||||
"@prisma/client": "5.0.0",
|
||||
"prisma": "5.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,12 +9,12 @@
|
||||
"dependencies": {
|
||||
"@documenso/lib": "*",
|
||||
"@documenso/prisma": "*",
|
||||
"@tanstack/react-query": "^4.29.5",
|
||||
"@trpc/client": "^10.25.1",
|
||||
"@trpc/next": "^10.25.1",
|
||||
"@trpc/react-query": "^10.25.1",
|
||||
"@trpc/server": "^10.25.1",
|
||||
"superjson": "^1.12.3",
|
||||
"@tanstack/react-query": "^4.32.0",
|
||||
"@trpc/client": "^10.36.0",
|
||||
"@trpc/next": "^10.36.0",
|
||||
"@trpc/react-query": "^10.36.0",
|
||||
"@trpc/server": "^10.36.0",
|
||||
"superjson": "^1.13.1",
|
||||
"zod": "^3.21.4"
|
||||
}
|
||||
}
|
||||
|
||||
1
packages/tsconfig/ambient.d.ts
vendored
Normal file
1
packages/tsconfig/ambient.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
||||
declare module '@documenso/tailwind-config';
|
||||
@ -16,8 +16,8 @@
|
||||
"preserveWatchOutput": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"target": "ES2018",
|
||||
"types": ["@documenso/tsconfig/process-env.d.ts"]
|
||||
"target": "ES2018"
|
||||
},
|
||||
"include": ["**/*.ts", "**/*.tsx", "**/.d.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
||||
@ -19,6 +19,6 @@
|
||||
],
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||
"include": ["next-env.d.ts", "**/*.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
||||
@ -16,10 +16,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@documenso/tsconfig": "*",
|
||||
"@types/react": "18.2.6",
|
||||
"@types/react-dom": "18.2.4",
|
||||
"@types/react": "18.2.18",
|
||||
"@types/react-dom": "18.2.7",
|
||||
"react": "18.2.0",
|
||||
"typescript": "^5.0.4"
|
||||
"typescript": "^5.1.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@radix-ui/react-accordion": "^1.1.1",
|
||||
|
||||
Reference in New Issue
Block a user