Skip to content

fix: add @calcom/api-v2 to dev:api script#28738

Open
Vitalini wants to merge 1 commit intocalcom:mainfrom
Vitalini:fix/add-api-v2-to-dev-script
Open

fix: add @calcom/api-v2 to dev:api script#28738
Vitalini wants to merge 1 commit intocalcom:mainfrom
Vitalini:fix/add-api-v2-to-dev-script

Conversation

@Vitalini
Copy link
Copy Markdown

@Vitalini Vitalini commented Apr 4, 2026

Problem

The dev:api script in the root package.json starts the web app, API proxy, and API v1 via Turborepo filters, but does not include @calcom/api-v2. Developers working on API v2 need to start it separately.

Solution

Add --filter="@calcom/api-v2" to the dev:api turbo command:

- "dev:api": "turbo run dev --filter=\"@calcom/web\" --filter=\"@calcom/api-proxy\" --filter=\"@calcom/api\"",
+ "dev:api": "turbo run dev --filter=\"@calcom/web\" --filter=\"@calcom/api-proxy\" --filter=\"@calcom/api\" --filter=\"@calcom/api-v2\"",

This ensures both API v1 and v2 start together during local development.

Fixes #28736

The dev:api script starts the web app, API proxy, and API v1 for local
development, but omits API v2. This means developers working on API v2
need to start it separately or use a different script.

Add --filter="@calcom/api-v2" to the dev:api turbo command so that
both API versions start together during local development.

Fixes calcom#28736
@Vitalini Vitalini requested a review from a team as a code owner April 4, 2026 18:12
@github-actions github-actions bot added the 🐛 bug Something isn't working label Apr 4, 2026
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improvement: Add @calcom/api-v2 to the dev:api script in root package.json

1 participant