perf: Remove next-i18next dependency from packages/emails and packages/lib (#23531)

* refactor: Remove type imports from next-i18next package

* remove next-i18next from packages/lib

* remove next-i18next from packages/emails
This commit is contained in:
Benny Joo authored and GitHub committed 2025-09-03 09:36:50 -03:00
1 parent d6cd593b95
commit f4b23b3a03
6 files changed
+4 -6

No files matched your search

-1
View File
@@ -9,7 +9,6 @@
"dependencies": {
"@calcom/dayjs": "*",
"@calcom/lib": "*",
"next-i18next": "^15.4.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rrule": "^2.7.1"
@@ -1,4 +1,4 @@
import type { TFunction } from "next-i18next";
import type { TFunction } from "i18next";
import { WEBAPP_URL } from "@calcom/lib/constants";
@@ -1,4 +1,4 @@
import type { TFunction } from "next-i18next";
import type { TFunction } from "i18next";
import { WEBAPP_URL } from "@calcom/lib/constants";
@@ -1,4 +1,4 @@
import type { TFunction } from "next-i18next";
import type { TFunction } from "i18next";
import { describe, expect, it, vi } from "vitest";
import dayjs from "@calcom/dayjs";
+1 -1
View File
@@ -1,5 +1,5 @@
import type { Prisma } from "@prisma/client";
import type { TFunction } from "next-i18next";
import type { TFunction } from "i18next";
import type { TimeFormat } from "@calcom/lib/timeFormat";
import type { SchedulingType } from "@calcom/prisma/enums";
-1
View File
@@ -24,7 +24,6 @@
"jimp": "^0.16.1",
"lingo.dev": "^0.111.1",
"next-collect": "^0.2.1",
"next-i18next": "^15.4.2",
"rrule": "^2.7.1",
"sharp": "0.33.5",
"sonner": "^1.7.4",