* 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>
139 lines
3.8 KiB
JSON
139 lines
3.8 KiB
JSON
{
|
|
"name": "@calcom/platform-libraries",
|
|
"version": "0.0.0",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"type": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn vite build",
|
|
"build:watch": "yarn vite build --watch",
|
|
"watch-lru-fix": "watch -n 1 'sed -i'' -e \"s/const CACHE = new lruCache\\.LRUCache({ max: 1e3 });/const CACHE = new lruCache({ max: 1e3 });/g\" ./dist/index.cjs'",
|
|
"build:dev": "yarn vite build && sed -i'' -e 's/const CACHE = new lruCache\\.LRUCache({ max: 1e3 });/const CACHE = new lruCache({ max: 1e3 });/g' ./dist/index.cjs",
|
|
"local": "node scripts/local.js && rm -rf dist && yarn build:dev && cd ../../.. && yarn",
|
|
"publish-npm": "yarn && node scripts/prepublish.js && rm -rf dist && yarn build && npm publish --access public && node scripts/postpublish.js"
|
|
},
|
|
"dependencies": {
|
|
"@calcom/features": "workspace:*",
|
|
"@calcom/lib": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.3.1",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"typescript": "5.9.2",
|
|
"vite": "^5.0.12",
|
|
"vite-plugin-dts": "3.7.3",
|
|
"vite-plugin-environment": "^1.1.3"
|
|
},
|
|
"exports": {
|
|
"./workflows": {
|
|
"import": "./dist/workflows.js",
|
|
"require": "./dist/workflows.cjs",
|
|
"types": "./dist/workflows.d.ts"
|
|
},
|
|
"./app-store": {
|
|
"import": "./dist/app-store.js",
|
|
"require": "./dist/app-store.cjs",
|
|
"types": "./dist/app-store.d.ts"
|
|
},
|
|
"./event-types": {
|
|
"import": "./dist/event-types.js",
|
|
"require": "./dist/event-types.cjs",
|
|
"types": "./dist/event-types.d.ts"
|
|
},
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./schedules": {
|
|
"import": "./dist/schedules.js",
|
|
"require": "./dist/schedules.cjs",
|
|
"types": "./dist/schedules.d.ts"
|
|
},
|
|
"./emails": {
|
|
"import": "./dist/emails.js",
|
|
"require": "./dist/emails.cjs",
|
|
"types": "./dist/emails.d.ts"
|
|
},
|
|
"./slots": {
|
|
"import": "./dist/slots.js",
|
|
"require": "./dist/slots.cjs",
|
|
"types": "./dist/slots.d.ts"
|
|
},
|
|
"./conferencing": {
|
|
"import": "./dist/conferencing.js",
|
|
"require": "./dist/conferencing.cjs",
|
|
"types": "./dist/conferencing.d.ts"
|
|
},
|
|
"./repositories": {
|
|
"import": "./dist/repositories.js",
|
|
"require": "./dist/repositories.cjs",
|
|
"types": "./dist/repositories.d.ts"
|
|
},
|
|
"./bookings": {
|
|
"import": "./dist/bookings.js",
|
|
"require": "./dist/bookings.cjs",
|
|
"types": "./dist/bookings.d.ts"
|
|
},
|
|
"./organizations": {
|
|
"import": "./dist/organizations.js",
|
|
"require": "./dist/organizations.cjs",
|
|
"types": "./dist/organizations.d.ts"
|
|
},
|
|
"./private-links": {
|
|
"import": "./dist/private-links.js",
|
|
"require": "./dist/private-links.cjs",
|
|
"types": "./dist/private-links.d.ts"
|
|
},
|
|
"./pbac": {
|
|
"import": "./dist/pbac.js",
|
|
"require": "./dist/pbac.cjs",
|
|
"types": "./dist/pbac.d.ts"
|
|
}
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"event-types": [
|
|
"dist/event-types.d.ts"
|
|
],
|
|
"slots": [
|
|
"dist/slots.d.ts"
|
|
],
|
|
"emails": [
|
|
"dist/emails.d.ts"
|
|
],
|
|
"app-store": [
|
|
"dist/app-store.d.ts"
|
|
],
|
|
"schedules": [
|
|
"dist/schedules.d.ts"
|
|
],
|
|
"workflows": [
|
|
"dist/workflows.d.ts"
|
|
],
|
|
"conferencing": [
|
|
"dist/conferencing.d.ts"
|
|
],
|
|
"repositories": [
|
|
"dist/repositories.d.ts"
|
|
],
|
|
"bookings": [
|
|
"dist/bookings.d.ts"
|
|
],
|
|
"organizations": [
|
|
"dist/organizations.d.ts"
|
|
],
|
|
"private-links": [
|
|
"dist/private-links.d.ts"
|
|
],
|
|
"pbac": [
|
|
"dist/pbac.d.ts"
|
|
]
|
|
}
|
|
}
|
|
}
|