fix: lock package versions and organize devDependencies (#26095)

* fix: lock package versions to exact versions from yarn.lock

Replace version ranges (^, ~) with exact resolved versions from yarn.lock
to ensure consistent dependency resolution across all environments.

This change affects 26 package.json files with 89 version updates including:
- TypeScript: ^5.9.0-beta -> 5.9.2
- Zod: ^3.22.4 -> 3.25.76
- React: ^18 -> 18.2.0
- Various Radix UI, Vite, PostCSS, and other dependencies

Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com>

* fix: preserve npm alias format for @radix-ui packages

The previous commit incorrectly converted npm aliases like
'npm:@radix-ui/react-dialog@^1.0.4' to just '1.0.4', which broke
yarn install as it tried to find non-existent packages.

This fix restores the npm alias format while keeping the pinned versions:
- @radix-ui/react-dialog-atoms: npm:@radix-ui/react-dialog@1.0.4
- @radix-ui/react-tooltip-atoms: npm:@radix-ui/react-tooltip@1.0.6

Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com>

* refactor: move dev dependencies to devDependencies section

Move 26 dependencies that are clearly development-only to the
devDependencies section across 10 packages:

- Testing: @types/jest, jest, ts-jest, @golevelup/ts-jest
- Build tools: typescript, ts-node, concurrently, dotenv-cli
- Linting: eslint-*, eslint-config-*, eslint-plugin-*
- Types: @types/express, @types/turndown, @types/uuid

This improves dependency organization and ensures production builds
don't include unnecessary development dependencies.

Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
This commit is contained in:
authored and GitHub committed 2025-12-21 10:18:07 -03:00
1 parent c8af45537a
commit 83ee986bbd
28 files changed
+315 -309

No files matched your search

+3 -3
View File
@@ -21,7 +21,8 @@
"@calcom/eslint-config": "workspace:*",
"@calcom/tsconfig": "workspace:*",
"@calcom/types": "workspace:*",
"node-mocks-http": "^1.11.0"
"node-mocks-http": "1.16.2",
"typescript": "5.9.2"
},
"dependencies": {
"@calcom/app-store": "workspace:*",
@@ -40,9 +41,8 @@
"next-axiom": "^0.17.0",
"next-swagger-doc": "^0.3.6",
"next-validations": "^0.2.0",
"typescript": "^5.9.0-beta",
"tzdata": "^1.0.30",
"uuid": "^8.3.2",
"zod": "^3.22.4"
"zod": "3.25.76"
}
}
+17 -17
View File
@@ -43,7 +43,6 @@
"@calcom/platform-types": "workspace:*",
"@calcom/platform-utils": "workspace:*",
"@calcom/prisma": "workspace:*",
"@golevelup/ts-jest": "^0.4.0",
"@microsoft/microsoft-graph-types-beta": "^0.42.0-preview",
"@nest-lab/throttler-storage-redis": "1.0.0",
"@nestjs/axios": "^4.0.0",
@@ -64,16 +63,15 @@
"bull": "^4.12.4",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"concurrently": "^9.1.2",
"cookie-parser": "^1.4.6",
"dotenv": "^16.3.1",
"dotenv": "16.6.1",
"fs-extra": "^11.2.0",
"googleapis": "^84.0.0",
"helmet": "^7.1.0",
"ioredis": "^5.3.2",
"jsforce": "^1.11.0",
"lodash": "^4.17.21",
"luxon": "^3.4.4",
"lodash": "4.17.21",
"luxon": "3.4.4",
"nest-winston": "^1.9.4",
"next-auth": "^4.22.1",
"passport": "^0.7.0",
@@ -81,38 +79,40 @@
"qs-stringify": "^1.2.1",
"querystring": "^0.2.1",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"rxjs": "7.8.2",
"stripe": "^15.3.0",
"uuid": "^8.3.2",
"winston": "^3.13.0",
"winston-transport": "^4.7.0",
"zod": "^3.22.4"
"winston-transport": "4.9.0",
"zod": "3.25.76"
},
"devDependencies": {
"@calcom/eslint-config": "workspace:*",
"@golevelup/ts-jest": "^0.4.0",
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/schematics": "10.1.1",
"@nestjs/testing": "^10.0.0",
"@types/cookie-parser": "^1.4.6",
"@types/express": "^4.17.21",
"@types/express": "4.17.21",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.10",
"@types/luxon": "^3.3.7",
"@types/jest": "29.5.12",
"@types/luxon": "3.4.2",
"@types/passport-jwt": "^3.0.13",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6",
"@typescript-eslint/parser": "^6",
"concurrently": "^9.1.2",
"jest": "^29.7.0",
"jest-date-mock": "^1.0.10",
"node-mocks-http": "^1.16.2",
"prettier": "^2.8.6",
"source-map-support": "^0.5.21",
"source-map-support": "0.5.21",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-jest": "29.1.4",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^5.9.0-beta"
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.9.2"
},
"prisma": {
"schema": "../../../packages/prisma/schema.prisma"
+21 -21
View File
@@ -62,7 +62,7 @@
"@next-auth/prisma-adapter": "^1.0.4",
"@next/bundle-analyzer": "^15.5.2",
"@prisma/nextjs-monorepo-workaround-plugin": "^6.16.1",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-avatar": "1.1.3",
"@radix-ui/react-collapsible": "^1.0.0",
"@radix-ui/react-dialog": "^1.0.4",
"@radix-ui/react-dropdown-menu": "^2.0.5",
@@ -70,8 +70,8 @@
"@radix-ui/react-id": "^1.0.0",
"@radix-ui/react-popover": "^1.0.2",
"@radix-ui/react-radio-group": "^1.0.0",
"@radix-ui/react-slider": "^1.0.0",
"@radix-ui/react-switch": "^1.0.0",
"@radix-ui/react-slider": "1.2.2",
"@radix-ui/react-switch": "1.1.0",
"@radix-ui/react-toggle-group": "^1.0.0",
"@radix-ui/react-tooltip": "^1.0.0",
"@sentry/nextjs": "^9.15.0",
@@ -79,7 +79,6 @@
"@stripe/stripe-js": "^1.35.0",
"@tanstack/react-query": "^5.17.15",
"@todesktop/client-core": "^1.20.0",
"@types/turndown": "^5.0.1",
"@upstash/redis": "^1.35.2",
"@vercel/edge-config": "^0.1.1",
"@vercel/edge-functions-ui": "^0.2.1",
@@ -90,9 +89,8 @@
"bcryptjs": "^2.4.3",
"botid": "^1.5.7",
"classnames": "^2.3.1",
"dompurify": "^3.1.7",
"dotenv-cli": "^6.0.0",
"entities": "^4.4.0",
"dompurify": "3.2.3",
"entities": "4.5.0",
"gray-matter": "^4.0.3",
"handlebars": "^4.7.7",
"ical.js": "^1.4.0",
@@ -103,13 +101,13 @@
"jsdom": "^22.0.0",
"kbar": "^0.1.0-beta.36",
"libphonenumber-js": "^1.11.18",
"lodash": "^4.17.21",
"lodash": "4.17.21",
"lottie-react": "^2.3.1",
"markdown-it": "^13.0.1",
"md5": "^2.3.0",
"memory-cache": "^0.2.0",
"micro": "^10.0.1",
"mime-types": "^2.1.35",
"mime-types": "2.1.35",
"next": "15.5.9",
"next-auth": "^4.22.1",
"next-axiom": "^0.17.0",
@@ -126,7 +124,7 @@
"raw-body": "^2.5.1",
"react": "18.2.0",
"react-colorful": "^5.6.0",
"react-date-picker": "^8.3.6",
"react-date-picker": "8.4.0",
"react-digit-input": "^2.1.0",
"react-dom": "18.2.0",
"react-easy-crop": "^3.5.2",
@@ -136,7 +134,7 @@
"react-phone-input-2": "^2.15.1",
"react-phone-number-input": "^3.2.7",
"react-schemaorg": "^2.0.0",
"react-select": "^5.7.0",
"react-select": "5.8.0",
"react-timezone-select": "^1.4.0",
"react-turnstile": "^1.1.3",
"react-use-intercom": "^5.5.0",
@@ -154,10 +152,10 @@
"superjson": "1.9.1",
"turndown": "^7.1.3",
"uuid": "^8.3.2",
"zod": "^3.22.4"
"zod": "3.25.76"
},
"devDependencies": {
"@babel/core": "^7.19.6",
"@babel/core": "7.26.10",
"@calcom/config": "workspace:*",
"@calcom/eslint-config": "workspace:*",
"@calcom/types": "workspace:*",
@@ -186,22 +184,24 @@
"@types/remove-markdown": "^0.3.1",
"@types/sanitize-html": "^2.9.0",
"@types/stripe": "^8.0.417",
"@types/turndown": "^5.0.1",
"@types/uuid": "8.3.1",
"autoprefixer": "^10.4.12",
"autoprefixer": "10.4.19",
"cron": "^3.1.7",
"detect-port": "^1.3.0",
"dotenv-cli": "^6.0.0",
"env-cmd": "^10.1.0",
"glob": "^10.3.10",
"glob": "10.4.5",
"google-auth-library": "^9.15.0",
"module-alias": "^2.2.2",
"msw": "^0.42.3",
"node-html-parser": "^6.1.10",
"node-mocks-http": "^1.11.0",
"postcss": "^8.4.18",
"tailwindcss": "^4",
"ts-node": "^10.9.1",
"node-html-parser": "6.1.13",
"node-mocks-http": "1.16.2",
"postcss": "8.5.6",
"tailwindcss": "4.1.17",
"ts-node": "10.9.2",
"turbo": "^2.5.5",
"typescript": "^5.9.0-beta"
"typescript": "5.9.2"
},
"nextBundleAnalysis": {
"budget": 358400,