Files
cal.diy/packages/platform/atoms/package.json
T
83ee986bbd 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]>
2025-12-21 10:18:07 -03:00

99 lines
3.9 KiB
JSON

{
"name": "@calcom/atoms",
"sideEffects": false,
"type": "module",
"description": "Customizable UI components to integrate scheduling into your product.",
"authors": "Cal.com, Inc.",
"version": "2.2.0",
"repository": {
"type": "git",
"url": "https://github.com/calcom/cal.com"
},
"scripts": {
"dev": "yarn vite build --watch & npx postcss ./globals.css -o ./globals.min.css",
"build-npm": "NODE_OPTIONS='--max_old_space_size=12288' rm -rf dist && yarn vite build && npx postcss ./globals.css -o ./globals.min.css",
"publish-npm": "yarn build-npm && npm publish --access public",
"test": "jest",
"dev-on": "node scripts/dev-on.js",
"dev-off": "git checkout -- package.json vite.config.ts"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@tailwindcss/cli": "^4.0.0",
"@tailwindcss/postcss": "^4.0.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.3.1",
"@types/react": "18.0.26",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^2.2.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"autoprefixer": "^10.4.19",
"cssnano": "^7.1.2",
"jest": "^29.7.0",
"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.2",
"vite": "5.4.6",
"vite-plugin-dts": "^3.7.3",
"vite-plugin-inspect": "^0.8.4",
"vite-plugin-node-polyfills": "^0.22.0"
},
"files": [
"dist",
"globals.min.css",
"fonts"
],
"module": "./dist/cal-atoms.js",
"exports": {
".": {
"import": "./dist/cal-atoms.js",
"types": "./dist/index.d.ts",
"require": "./dist/cal-atoms.umd.cjs"
},
"./add-members-switch/AddMembersWithSwitchPlatformWrapper": "./add-members-switch/AddMembersWithSwitchPlatformWrapper.tsx",
"./add-members-switch/AddMembersWithSwitchWebWrapper": "./add-members-switch/AddMembersWithSwitchWebWrapper.tsx",
"./availability/AvailabilitySettings": "./availability/AvailabilitySettings.tsx",
"./booker": "./booker/index.ts",
"./components/ui/shell": "./src/components/ui/shell.tsx",
"./connect/conferencing-apps/ConferencingAppsViewWebWrapper": "./connect/conferencing-apps/ConferencingAppsViewWebWrapper.tsx",
"./destination-calendar/wrappers/DestinationCalendarSettingsWebWrapper": "./destination-calendar/wrappers/DestinationCalendarSettingsWebWrapper.tsx",
"./dist/index.ts": "./index.ts",
"./dist/index.d.ts": "./dist/index.d.ts",
"./event-types/wrappers/EventTypeWebWrapper": "./event-types/wrappers/EventTypeWebWrapper.tsx",
"./globals.min.css": "./globals.min.css",
"./hooks/bookings/useHandleBookEvent": "./hooks/bookings/useHandleBookEvent.ts",
"./hooks/useAtomsContext": "./hooks/useAtomsContext.ts",
"./hooks/useIsPlatform": "./hooks/useIsPlatform.ts",
"./hooks/useIsPlatformBookerEmbed": "./hooks/useIsPlatformBookerEmbed.ts",
"./hooks/event-types/private/useEventTypeById": "./hooks/event-types/private/useEventTypeById.ts",
"./selected-calendars/wrappers/SelectedCalendarsSettingsWebWrapper": "./selected-calendars/wrappers/SelectedCalendarsSettingsWebWrapper.tsx",
"./timezone": "./timezone/index.tsx"
},
"types": "./dist/index.d.ts",
"dependencies": {
"@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/[email protected]",
"@tanstack/react-query": "^5.17.15",
"class-variance-authority": "^0.4.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.1.17"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"typescript": "^5.0.0"
},
"main": "./dist/cal-atoms.umd.cjs"
}