From 237d7e95c4c1a7b451bf780e4507a6adab0fd2d9 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Fri, 13 Feb 2026 11:41:39 +0000 Subject: [PATCH] fix: inline package.json descriptions in app-store _metadata.ts to fix Vitest RPC errors (#27931) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- packages/app-store/applecalendar/_metadata.ts | 5 ++--- packages/app-store/caldavcalendar/_metadata.ts | 5 ++--- packages/app-store/caldavcalendar/index.ts | 5 ++--- packages/app-store/dailyvideo/_metadata.ts | 6 +++--- packages/app-store/exchange2013calendar/_metadata.ts | 4 +--- packages/app-store/exchange2016calendar/_metadata.ts | 4 +--- packages/app-store/feishucalendar/_metadata.ts | 5 ++--- packages/app-store/giphy/_metadata.ts | 5 ++--- packages/app-store/googlecalendar/_metadata.ts | 6 +++--- packages/app-store/googlevideo/_metadata.ts | 6 +++--- packages/app-store/hubspot/_metadata.ts | 4 ++-- packages/app-store/huddle01video/_metadata.ts | 5 ++--- packages/app-store/jitsivideo/_metadata.ts | 5 ++--- packages/app-store/larkcalendar/_metadata.ts | 5 ++--- packages/app-store/office365calendar/_metadata.ts | 5 ++--- packages/app-store/office365video/_metadata.ts | 5 ++--- packages/app-store/stripepayment/_metadata.ts | 6 +++--- packages/app-store/tandemvideo/_metadata.ts | 5 ++--- packages/app-store/vital/_metadata.ts | 4 +--- packages/app-store/wipemycalother/_metadata.ts | 7 +++---- packages/app-store/zapier/_metadata.ts | 5 ++--- packages/app-store/zoomvideo/_metadata.ts | 5 ++--- 22 files changed, 46 insertions(+), 66 deletions(-) diff --git a/packages/app-store/applecalendar/_metadata.ts b/packages/app-store/applecalendar/_metadata.ts index b5947fad57..cdf3d65172 100644 --- a/packages/app-store/applecalendar/_metadata.ts +++ b/packages/app-store/applecalendar/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Apple Calendar", - description: _package.description, + description: + "Apple calendar runs both the macOS and iOS mobile operating systems. Offering online cloud backup of calendars using Apple's iCloud service, it can sync with Google Calendar and Microsoft Exchange Server. Users can schedule events in their day that include time, location, duration, and extra notes.", installed: true, type: "apple_calendar", title: "Apple Calendar", diff --git a/packages/app-store/caldavcalendar/_metadata.ts b/packages/app-store/caldavcalendar/_metadata.ts index 22cbb5e345..5fa48062e9 100644 --- a/packages/app-store/caldavcalendar/_metadata.ts +++ b/packages/app-store/caldavcalendar/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "CalDav (Beta)", - description: _package.description, + description: + "Caldav is a protocol that allows different clients/servers to access scheduling information on remote servers as well as schedule meetings with other users on the same server or other servers. It extends WebDAV specification and uses iCalendar format for the data.", installed: true, type: "caldav_calendar", title: "CalDav (Beta)", diff --git a/packages/app-store/caldavcalendar/index.ts b/packages/app-store/caldavcalendar/index.ts index 6520415a87..5150cbb650 100644 --- a/packages/app-store/caldavcalendar/index.ts +++ b/packages/app-store/caldavcalendar/index.ts @@ -1,10 +1,9 @@ import type { App } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "CalDav (Beta)", - description: _package.description, + description: + "Caldav is a protocol that allows different clients/servers to access scheduling information on remote servers as well as schedule meetings with other users on the same server or other servers. It extends WebDAV specification and uses iCalendar format for the data.", installed: true, type: "caldav_calendar", title: "CalDav (Beta)", diff --git a/packages/app-store/dailyvideo/_metadata.ts b/packages/app-store/dailyvideo/_metadata.ts index 38c6b5df78..7fad697d22 100644 --- a/packages/app-store/dailyvideo/_metadata.ts +++ b/packages/app-store/dailyvideo/_metadata.ts @@ -1,10 +1,10 @@ +import process from "node:process"; import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Cal Video", - description: _package.description, + description: + "Cal Video is the in-house web-based video conferencing platform powered by Daily.co, which is minimalistic and lightweight, but has most of the features you need.", installed: !!process.env.DAILY_API_KEY, type: "daily_video", variant: "conferencing", diff --git a/packages/app-store/exchange2013calendar/_metadata.ts b/packages/app-store/exchange2013calendar/_metadata.ts index 8859f4fdf2..9f30969929 100644 --- a/packages/app-store/exchange2013calendar/_metadata.ts +++ b/packages/app-store/exchange2013calendar/_metadata.ts @@ -1,10 +1,8 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Microsoft Exchange 2013 Calendar", - description: _package.description, + description: "For calendars hosted on on-premises Microsoft Exchange 2013 servers", installed: true, type: "exchange2013_calendar", title: "Microsoft Exchange 2013 Calendar", diff --git a/packages/app-store/exchange2016calendar/_metadata.ts b/packages/app-store/exchange2016calendar/_metadata.ts index a851408161..36e0aaead2 100644 --- a/packages/app-store/exchange2016calendar/_metadata.ts +++ b/packages/app-store/exchange2016calendar/_metadata.ts @@ -1,10 +1,8 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Microsoft Exchange 2016 Calendar", - description: _package.description, + description: "For calendars hosted on on-premises Microsoft Exchange 2016 servers", installed: true, type: "exchange2016_calendar", title: "Microsoft Exchange 2016 Calendar", diff --git a/packages/app-store/feishucalendar/_metadata.ts b/packages/app-store/feishucalendar/_metadata.ts index 4e2e8538a9..01bba6575b 100644 --- a/packages/app-store/feishucalendar/_metadata.ts +++ b/packages/app-store/feishucalendar/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Feishu Calendar", - description: _package.description, + description: + "Feishu Calendar is a time management and scheduling service developed by Feishu. Allows users to create and edit events, with options available for type and time. Available to anyone that has a Feishu account on both mobile and web versions.", installed: true, type: "feishu_calendar", title: "Feishu Calendar", diff --git a/packages/app-store/giphy/_metadata.ts b/packages/app-store/giphy/_metadata.ts index 5be513f2a7..04721019b8 100644 --- a/packages/app-store/giphy/_metadata.ts +++ b/packages/app-store/giphy/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Giphy", - description: _package.description, + description: + "GIPHY is your top source for the best & newest GIFs & Animated Stickers online. Find everything from funny GIFs, reaction GIFs, unique GIFs and more.", installed: true, categories: ["other"], logo: "icon.svg", diff --git a/packages/app-store/googlecalendar/_metadata.ts b/packages/app-store/googlecalendar/_metadata.ts index 65ccf7214a..a61b0fb7a8 100644 --- a/packages/app-store/googlecalendar/_metadata.ts +++ b/packages/app-store/googlecalendar/_metadata.ts @@ -1,11 +1,11 @@ +import process from "node:process"; import { validJson } from "@calcom/lib/jsonUtils"; import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Google Calendar", - description: _package.description, + description: + "Google Calendar is a time management and scheduling service developed by Google. Allows users to create and edit events, with options available for type and time. Available to anyone that has a Gmail account on both mobile and web versions.", installed: !!(process.env.GOOGLE_API_CREDENTIALS && validJson(process.env.GOOGLE_API_CREDENTIALS)), type: "google_calendar", title: "Google Calendar", diff --git a/packages/app-store/googlevideo/_metadata.ts b/packages/app-store/googlevideo/_metadata.ts index c835c79d22..45915e4ecc 100644 --- a/packages/app-store/googlevideo/_metadata.ts +++ b/packages/app-store/googlevideo/_metadata.ts @@ -1,11 +1,11 @@ +import process from "node:process"; import { validJson } from "@calcom/lib/jsonUtils"; import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Google Meet", - description: _package.description, + description: + "Google Meet is Google's web-based video conferencing platform, designed to compete with major conferencing platforms.", installed: !!(process.env.GOOGLE_API_CREDENTIALS && validJson(process.env.GOOGLE_API_CREDENTIALS)), slug: "google-meet", category: "conferencing", diff --git a/packages/app-store/hubspot/_metadata.ts b/packages/app-store/hubspot/_metadata.ts index 6dfa2dc41a..968a5ef046 100644 --- a/packages/app-store/hubspot/_metadata.ts +++ b/packages/app-store/hubspot/_metadata.ts @@ -1,11 +1,11 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; export const metadata = { name: "HubSpot CRM", // biome-ignore lint/correctness/noProcessGlobal: Server-only metadata evaluated at build time installed: !!process.env.HUBSPOT_CLIENT_ID, - description: _package.description, + description: + "HubSpot is a cloud-based CRM designed to help align sales and marketing teams, foster sales enablement, boost ROI and optimize your inbound marketing strategy to generate more, qualified leads.", type: "hubspot_crm", variant: "crm", logo: "icon.svg", diff --git a/packages/app-store/huddle01video/_metadata.ts b/packages/app-store/huddle01video/_metadata.ts index 99f2765ba1..a22cbf0fe1 100644 --- a/packages/app-store/huddle01video/_metadata.ts +++ b/packages/app-store/huddle01video/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Huddle01", - description: _package.description, + description: + "Huddle01 is a new video conferencing software native to Web3 and is comparable to a decentralized version of Zoom. It supports conversations for NFT communities, DAOs, Builders and also has features such as token gating, NFTs as avatars, Web3 Login + ENS and recording over IPFS.", installed: true, type: "huddle01_video", variant: "conferencing", diff --git a/packages/app-store/jitsivideo/_metadata.ts b/packages/app-store/jitsivideo/_metadata.ts index 2a5b71700e..0a034e3884 100644 --- a/packages/app-store/jitsivideo/_metadata.ts +++ b/packages/app-store/jitsivideo/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Jitsi Video", - description: _package.description, + description: + "Jitsi is a free open-source video conferencing software for web and mobile. Make a call, launch on your own servers, integrate into your app, and more.", installed: true, type: "jitsi_video", variant: "conferencing", diff --git a/packages/app-store/larkcalendar/_metadata.ts b/packages/app-store/larkcalendar/_metadata.ts index ea00f1cde6..addf4d9881 100644 --- a/packages/app-store/larkcalendar/_metadata.ts +++ b/packages/app-store/larkcalendar/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Lark Calendar", - description: _package.description, + description: + "Lark Calendar is a time management and scheduling service developed by Lark. Allows users to create and edit events, with options available for type and time. Available to anyone that has a Lark account on both mobile and web versions.", installed: true, type: "lark_calendar", title: "Lark Calendar", diff --git a/packages/app-store/office365calendar/_metadata.ts b/packages/app-store/office365calendar/_metadata.ts index 98ded5de73..7af76e0e9f 100644 --- a/packages/app-store/office365calendar/_metadata.ts +++ b/packages/app-store/office365calendar/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Outlook Calendar", - description: _package.description, + description: + "Microsoft Office 365 is a suite of apps that helps you stay connected with others and get things done. It includes but is not limited to Microsoft Word, PowerPoint, Excel, Teams, OneNote and OneDrive. Office 365 allows you to work remotely with others on a team and collaborate in an online environment. Both web versions and desktop/mobile applications are available.", type: "office365_calendar", title: "Outlook Calendar", variant: "calendar", diff --git a/packages/app-store/office365video/_metadata.ts b/packages/app-store/office365video/_metadata.ts index 644048c122..00beb2ec03 100644 --- a/packages/app-store/office365video/_metadata.ts +++ b/packages/app-store/office365video/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Microsoft 365/Teams (Requires work/school account)", - description: _package.description, + description: + "Microsoft Teams is a business communication platform and collaborative workspace included in Microsoft 365. It offers workspace chat and video conferencing, file storage, and application integration. Both web versions and desktop/mobile applications are available. NOTE: MUST HAVE A WORK / SCHOOL ACCOUNT", appData: { location: { linkType: "dynamic", diff --git a/packages/app-store/stripepayment/_metadata.ts b/packages/app-store/stripepayment/_metadata.ts index 54f87d7210..510f185141 100644 --- a/packages/app-store/stripepayment/_metadata.ts +++ b/packages/app-store/stripepayment/_metadata.ts @@ -1,10 +1,10 @@ +import process from "node:process"; import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Stripe", - description: _package.description, + description: + "A Saas company a payment processing software, and application programming interfaces for e-commerce websites and mobile applications.", installed: !!( process.env.STRIPE_CLIENT_ID && process.env.NEXT_PUBLIC_STRIPE_PUBLIC_KEY && diff --git a/packages/app-store/tandemvideo/_metadata.ts b/packages/app-store/tandemvideo/_metadata.ts index 6deef75e2d..ffd0bcd82d 100644 --- a/packages/app-store/tandemvideo/_metadata.ts +++ b/packages/app-store/tandemvideo/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Tandem Video", - description: _package.description, + description: + "Tandem is a new virtual office space that allows teams to effortlessly connect as though they are in a physical office, online. Through co-working rooms, available statuses, live real-time video call, and chat options, you can see who's around, talk and collaborate in one click. It works cross-platform with both desktop and mobile versions.", type: "tandem_video", title: "Tandem Video", variant: "conferencing", diff --git a/packages/app-store/vital/_metadata.ts b/packages/app-store/vital/_metadata.ts index 19d47d1527..d88bfda10c 100644 --- a/packages/app-store/vital/_metadata.ts +++ b/packages/app-store/vital/_metadata.ts @@ -1,10 +1,8 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Vital", - description: _package.description, + description: "Connect your health data or wearables to trigger actions on your calendar.", installed: true, category: "automation", categories: ["automation"], diff --git a/packages/app-store/wipemycalother/_metadata.ts b/packages/app-store/wipemycalother/_metadata.ts index d7819dea08..bb9d07f4ae 100644 --- a/packages/app-store/wipemycalother/_metadata.ts +++ b/packages/app-store/wipemycalother/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { - name: _package.name, - description: _package.description, + name: "WipeMyCal", + description: + "Wipe My Cal is a Cal.com exclusive app that redefines what it looks like to reschedule multiple meetings at the same time. Simply install the app, and select 'Wipe' for whatever date you need to mass reschedule. Handle emergencies, unexpected sick days and last minute events with the simple click of a button.", installed: true, category: "automation", categories: ["automation"], diff --git a/packages/app-store/zapier/_metadata.ts b/packages/app-store/zapier/_metadata.ts index 01e93582f9..ebbb6fa56d 100644 --- a/packages/app-store/zapier/_metadata.ts +++ b/packages/app-store/zapier/_metadata.ts @@ -1,10 +1,9 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { name: "Zapier", - description: _package.description, + description: + "Workflow automation for everyone. Use the Cal.com Zapier app to trigger your workflows when a booking is created, rescheduled, or cancelled, or after a meeting ends.", installed: true, category: "automation", categories: ["automation"], diff --git a/packages/app-store/zoomvideo/_metadata.ts b/packages/app-store/zoomvideo/_metadata.ts index 4a65fe8480..e3534542d8 100644 --- a/packages/app-store/zoomvideo/_metadata.ts +++ b/packages/app-store/zoomvideo/_metadata.ts @@ -1,11 +1,10 @@ import type { AppMeta } from "@calcom/types/App"; -import _package from "./package.json"; - export const metadata = { linkType: "dynamic", name: "Zoom Video", - description: _package.description, + description: + "Zoom is a secure and reliable video platform that supports all of your online communication needs. It can provide everything from one on one meetings, chat, phone, webinars, and large-scale online events. Available with both desktop, web, and mobile versions.", type: "zoom_video", categories: ["conferencing"], variant: "conferencing",