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 <[email protected]> * 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/[email protected] - @radix-ui/react-tooltip-atoms: npm:@radix-ui/[email protected] Co-Authored-By: Volnei Munhoz <[email protected]> * 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 <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
28 files changed
+315
-309
No files matched your search
@@ -30,15 +30,15 @@
|
||||
"autoprefixer": "^10.4.19",
|
||||
"cssnano": "^7.1.2",
|
||||
"jest": "^29.7.0",
|
||||
"postcss": "^8.4.38",
|
||||
"postcss": "8.5.6",
|
||||
"postcss-cli": "^11.0.1",
|
||||
"postcss-import": "^16.1.0",
|
||||
"postcss-prefixer": "^3.0.0",
|
||||
"postcss-prefixwrap": "1.46.0",
|
||||
"rollup-plugin-node-builtins": "^2.1.2",
|
||||
"ts-jest": "^29.1.2",
|
||||
"typescript": "^5.9.0-beta",
|
||||
"vite": "^5.0.10",
|
||||
"typescript": "5.9.2",
|
||||
"vite": "5.4.6",
|
||||
"vite-plugin-dts": "^3.7.3",
|
||||
"vite-plugin-inspect": "^0.8.4",
|
||||
"vite-plugin-node-polyfills": "^0.22.0"
|
||||
@@ -76,19 +76,19 @@
|
||||
},
|
||||
"types": "./dist/index.d.ts",
|
||||
"dependencies": {
|
||||
"@radix-ui/react-dialog-atoms": "npm:@radix-ui/react-dialog@^1.0.4",
|
||||
"@radix-ui/react-dialog-atoms": "npm:@radix-ui/[email protected]",
|
||||
"@radix-ui/react-slot": "^1.0.2",
|
||||
"@radix-ui/react-switch": "^1.1.0",
|
||||
"@radix-ui/react-toast": "^1.1.5",
|
||||
"@radix-ui/react-tooltip-atoms": "npm:@radix-ui/react-tooltip@^1.0.0",
|
||||
"@radix-ui/react-tooltip-atoms": "npm:@radix-ui/[email protected].6",
|
||||
"@tanstack/react-query": "^5.17.15",
|
||||
"class-variance-authority": "^0.4.0",
|
||||
"clsx": "^2.0.0",
|
||||
"clsx": "2.1.1",
|
||||
"dompurify": "^3.2.3",
|
||||
"marked": "^15.0.3",
|
||||
"react-use": "^17.4.2",
|
||||
"tailwind-merge": "^1.13.2",
|
||||
"tailwindcss": "^4"
|
||||
"tailwindcss": "4.1.17"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0 || ^19.0.0",
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
"@prisma/client": "6.7.0",
|
||||
"next": "14.2.35",
|
||||
"prisma": "^6.7.0",
|
||||
"react": "^18",
|
||||
"react-dom": "^18",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-select": "^5.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -28,8 +28,8 @@
|
||||
"@types/react": "^18",
|
||||
"@types/react-dom": "^18",
|
||||
"dotenv": "^17.2.1",
|
||||
"postcss": "^8",
|
||||
"postcss": "8.5.6",
|
||||
"tailwindcss": "^4.0.0",
|
||||
"typescript": "^5.9.0-beta"
|
||||
"typescript": "5.9.2"
|
||||
}
|
||||
}
|
||||
@@ -23,9 +23,9 @@
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.3.1",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"typescript": "^5.9.0-beta",
|
||||
"typescript": "5.9.2",
|
||||
"vite": "^5.0.12",
|
||||
"vite-plugin-dts": "^3.7.2",
|
||||
"vite-plugin-dts": "3.7.3",
|
||||
"vite-plugin-environment": "^1.1.3"
|
||||
},
|
||||
"exports": {
|
||||
|
||||
@@ -13,8 +13,10 @@
|
||||
"dependencies": {
|
||||
"@calcom/platform-constants": "workspace:*",
|
||||
"@calcom/platform-enums": "workspace:*",
|
||||
"@types/express": "^4.17.21",
|
||||
"class-transformer": "^0.5.1",
|
||||
"class-validator": "^0.14.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "4.17.21"
|
||||
}
|
||||
}
|
||||
@@ -12,9 +12,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@calcom/platform-constants": "workspace:*",
|
||||
"@calcom/platform-types": "workspace:*",
|
||||
"@types/jest": "^29.5.10",
|
||||
"@calcom/platform-types": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "29.5.12",
|
||||
"jest": "^29.7.0",
|
||||
"ts-jest": "^29.1.1"
|
||||
"ts-jest": "29.1.4"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user