Compare commits

...

82 Commits

Author SHA1 Message Date
Ryukemeister 3cb3c3e085 format classnames 2024-01-08 12:55:54 +05:30
Ryukemeister 499b9bc066 update typings 2024-01-08 12:54:29 +05:30
Ryukemeister c5102c4c42 add schedule 2024-01-08 12:53:21 +05:30
Ryukemeister b69ee51445 fix import path 2024-01-08 12:52:03 +05:30
Ryukemeister b371726dc6 hooks to update and find default schedule 2024-01-08 12:51:13 +05:30
Ryukemeister 6f2132b22c resolve merge conflicts 2024-01-05 15:14:27 +05:30
Ryukemeister 25b1f476fd format classnames 2024-01-05 14:57:12 +05:30
Morgan Vernay 158ac7d7c4 Merge branch 'main' into platform 2024-01-05 11:15:39 +02:00
Ryukemeister 410e0c7f84 modify exports for hooks 2024-01-05 14:14:54 +05:30
Ryukemeister 841f7f0485 fix imports 2024-01-05 14:13:23 +05:30
Lauris Skraucis 55327ce035
feat: abstracted jwt service (#13016)
* remove unused JwtModule from the auth module

* feat: create abstracted jwt service

* refactor: tokens module and service use new jwt service

* refactor: oauth-client module and repository use new jwt service

* implement Morgans requests
2024-01-04 11:28:36 +02:00
Lauris Skraucis 78ecd2c9e1
chore: e2e tests for oAuth flow (#13005)
* fix: accessing length of undefined

* refactor: GetUser throw error if no user provided

* fix: cascade delete PlatformAuthorizationToken if owner or client deleted

* test: POST /authorize

* refactor oauth-flow controller

* refactor oauth-flow controller

* new function to get authorization token by client user ids

* refactor token service

* fix: re-created access and refresh tokens having not unique secret

* oauth flow tests

* oauth flow tests
2024-01-03 15:44:32 +02:00
Morgan 022e423fd2
feat: external gcal (#12954)
* wip connect gcal

* feat: add external google calendar

* fixup! feat: add external google calendar

* fix: google calendar oauth check invalid

* google cal check tests

* use zod

* fix: await validate access token service
2023-12-29 10:48:51 +02:00
Lauris Skraucis ebebf8e22e
refactor: access token errors (#12932)
* change error messages

* error message if access token does not exist in our database

* token expired 498

* access token expired message as constant

* store 498 status code as const

* fix: access token error less information given

* chore: invalid access token const

---------

Co-authored-by: Morgan Vernay <morgan@cal.com>
2023-12-29 10:44:27 +02:00
Lauris Skraucis 2df15d1d0a
feat: endpoint for deleting oAuth users & oAuth users returned data (#12912)
* feat: delete oAuth users

* check if access token matches userId in parameter

* driveby: return only user id and email in oauth users endpoints
2023-12-22 12:53:42 +01:00
Lauris Skraucis d4c946a0d6
refactor: v2 API (#12913)
* Use Boolean only instead of git add src/modules/auth/guard/organization-roles/organization-roles.guard.ts

* move tests next to files they test

* replace .. in import paths with absolute path

* camelCase instead of snake_case for access and refresh token variables

* user sanitize function Typescript friendly

* restructure oAuth clients folder: example for other folders

* restructure bookings module

* organize modules in auth, endpoints, repositories, services

* organize auth module

* organize repositories

* organize inputs

* rename OAuthClientGuard to OAuthClientCredentialsGuard

* add error messages

* add error messages

* clientId as param in oauth-flow & schema mapping

* camelCase instead of snake_case for clientId and clientSecret

* access token guard as passport strategy

* folder structure as features

* get rid of index files
2023-12-22 12:09:25 +01:00
Lauris Skraucis e18eb6bc4b
feat: CRUD for oAuth users (#12853)
* user controller with oauth guard

* crud repository and controller operations

* add user controller to user module

* refactor: oauth guard

* connect user with oauth client upon creation

* fix: test

* wip: e2e test

* refactor: findUniqueOrThrow -> findUnique user

* test: POST user request

* feat: permissions guard

* e2e tests

* e2e

* e2e refactor

* e2e refactor

* reflector decorator check refactor

* refactor oauth guard

* remov unused imports

* log message

* delete permissions decorator and guard

* remove delete user endpoint

* remove delete user endpoint

* refactor: route structure

* remove get oauth client decorator

* delete unecessary e2e config changes

* remove set header in post test

* fix: oauth guard test on empty db

* revert: add previously removed constant to fulfill merge platform

* fix: import to satisfy platform branch merge

* use real implementation of access token guard

* generate access & refresh tokens and fix e2e

* fix: oauth client e2e test

* refactor: variable naming

* refactor

* rename test file

* remove oauth client from request
2023-12-21 14:01:41 +02:00
Ryukemeister 9b18487114 add prettier config 2023-12-21 15:16:18 +05:30
Ryukemeister b1402fe116 update default exports 2023-12-21 15:07:08 +05:30
Ryukemeister 8081ec5100 add hook to delete a schedule 2023-12-21 15:06:34 +05:30
Ryukemeister 48a4823f80 add react query client and hook to delete a schedule 2023-12-21 15:05:48 +05:30
Ryukemeister 99a3af74ba update typings 2023-12-21 15:04:28 +05:30
Morgan Vernay 9ef24864b8 fixup! chore(platform): OAuth Flow (#12798) 2023-12-20 19:13:56 +01:00
Erik 0830f3304e
chore(platform): OAuth Flow (#12798) 2023-12-20 15:03:26 -03:00
Ryukemeister 8eaccf83a5 update availability component view 2023-12-20 16:13:43 +05:30
Ryukemeister 8cbcb3fc32 add availability setting to export 2023-12-20 16:12:55 +05:30
Ryukemeister b8bf4d4e78 hook for deleting a schedule 2023-12-20 16:12:09 +05:30
Ryukemeister 5effb3f450 availability settings component 2023-12-20 16:11:20 +05:30
Ryukemeister 552ec9a3f6 add cancel message for dialog 2023-12-20 16:05:44 +05:30
Ryukemeister 926a2c2407 replace axios with fetch 2023-12-20 12:07:08 +05:30
Rajiv Sahal b987f6ea4d
feat: platform oAuth clients frontend (#12867)
* add oauth client to settings

* fix imports

* add react and axios

* oauth client form and card components

* hooks for oauth clients data

* index page for oauth clients

* oauth client list component

* oauth client form page

* shift atoms into platform

* init platform folder

* refactor handleSubmit functioin

* platform

* platform

* platform parts

* revert tsconfig constant platform

* fix: useOauthClients

* feat: create oauth client with api

* fix: add prettier to platform type package

* fixup! fix: add prettier to platform type package

* chore: class-validator types in platform package

* add types for delete oauth client iput

* add onSuccess and onError methods

* update oauth client card view with client id and secret

* cleanup comments

* split oauth persisit hook into create and delete hooks

* fix: oauth client creation / deletion / listing

* fixup! fix: oauth client creation / deletion / listing

* fix: comment logo for now

* fix: layout setting org keys

* cleanup comments

* minor style fixes, add logic for client permissions

* show toast after deleting client

* not passing clint logo at the moment

---------

Co-authored-by: Morgan Vernay <morgan@cal.com>
2023-12-19 15:02:11 +01:00
Ryukemeister 1470abbbde fix merge conflicts 2023-12-19 12:22:03 +05:30
Lauris Skraucis 64e1658832
feat: oauth client guard (#12814)
* feat: oAuth client guard

* refactor test

* refactor: move oauth-client guard to oauth module

* refactor: separate jest config from package.json

* fix: resolving paths in jest tests

* fix: tests

* jest setup file

* fix: jest test warnings about .js platform constants imports

* refactor: test repository fixtures

* remove allowjs

* ignore js files in ts-jest

* make oauth client module global

* make oauth client module global
2023-12-18 12:09:46 +01:00
Morgan Vernay f1c7f5dac0 fix yarn.lock 2023-12-14 12:16:44 +02:00
Morgan Vernay f847d1721f Merge branch 'main' into platform 2023-12-14 11:54:44 +02:00
Morgan Vernay e5d3bc5a0b chore: rename repositories 2023-12-14 10:47:51 +02:00
Ryukemeister 908442a141 Merge branch 'platform' into availability-config-atom 2023-12-13 18:18:25 +05:30
Ryukemeister b0ee40073c update availability settings view 2023-12-13 17:08:58 +05:30
Morgan 0af1a74d09
chore: move repos to feature folder (#12769) 2023-12-13 13:36:26 +02:00
Morgan d334547ac0
chore: OAuth clients tests and fixes (#12762)
* chore: add tests and fixes

* fixup! chore: add tests and fixes

* fixup! fixup! chore: add tests and fixes

* fixup! fixup! fixup! chore: add tests and fixes

* fixup! fixup! fixup! fixup! chore: add tests and fixes

* fixup! fixup! fixup! fixup! fixup! chore: add tests and fixes

* fixup! fixup! fixup! fixup! fixup! fixup! chore: add tests and fixes

* fix: remove unused imports
2023-12-13 12:59:29 +02:00
Ryukemeister bb40308eaf split availability cta into small and large screen components 2023-12-13 15:56:27 +05:30
Ryukemeister 6818647091 add missing prop 2023-12-13 15:55:44 +05:30
Ryukemeister debab78c94 add props to troubleshooter 2023-12-13 15:55:10 +05:30
Morgan Vernay 104f6eb38a Merge branch 'main' into platform 2023-12-13 10:36:01 +02:00
Ryukemeister b010794c41 refactor availability atom 2023-12-12 15:32:02 +05:30
Morgan 5463233762
chore: create authenticated user guard (#12677)
* chore: wip next-auth-guard for apiv2

* refactor: use NextAuthGuard on all OAuthClientController routes

* refactor: use passport to get next user

* exclude password from prisma read service

* Revert "exclude password from prisma read service"

This reverts commit 24b1f8ed59.

* fix: userRepo sanitize password

* refactor: function order in UserRepository

* implement user repository service

* refactor: strict null checks for TS

* refactor: fix strict null checks

* delete res locals type

* refactor: switch from zod to class-validator for oAuth client

* refactor: switch from zod to class-validator for booking

* refactor: rename dtos folder to input folder

* fix: create migration for prisma schema oauth clients table

* feature: post oAuth client

* refactor: rename oAuth client_secret to secret

* stricter ts config + oauth secret

* remove migrations

* fix: improve response type

* improve error code types

* fix: prettier by removing eslint as its not needed

* refactor: eslint fix files

* wip organization oauth_lcient

* fix import types

* fix team schema platformOAuthClient name

* fix: import packages transpiled

* feat: roles guard

* refactor: use organisationId instead of userId

* fix: jwt secret signing not having jwt_secret

* fix: stop importing input DTOs as types

* fix: jwt sign expecting plain object

* add sentry, routes logger, generic response type

* fix test config

* fixup! fix test config

* refactor: dont await async function return

* feat: fallback value for getEnv

* feat: add helmet for security

* feat: organization guard

* refactor: check if user set in RolesGuard

* refactor: remove roles requirement for oauth read

* chore: add exceptions filters

* fix: api key strategy throws errors

* chore: set e2e tests

* chore: centralize api type in package

* feat: user repository relations

* feat: user repository relations

* Revert "feat: user repository relations"

This reverts commit 1802b256b5.

* Revert "feat: user repository relations"

This reverts commit 4a8f52583d.

* test: mock next auth

* fixup! test: mock next auth

* test:oAuth  authed user but no org

* refactor: remove unused type

* refactor: organisation guard based on Membership table

* refactor: folder and file structure

* fix: small changes exception filters

* refactor: merge organization and roles guards into one guard

* fix: remove old export

* fix: org roles guard

---------

Co-authored-by: supalarry <lauris.skraucis@gmail.com>
2023-12-12 11:27:04 +02:00
Ryukemeister 5d2fc62b3f update typings 2023-12-12 14:50:50 +05:30
Ryukemeister 8256abb90d shift date override into standalone component 2023-12-12 14:50:04 +05:30
Ryukemeister cf101b744e update view for availability 2023-12-11 14:49:30 +05:30
Ryukemeister 70b25e70be custom hooks for availability component 2023-12-11 14:48:44 +05:30
Ryukemeister 345032f005 add tan stack and react hook form 2023-12-11 14:48:09 +05:30
Ryukemeister 4752729fb1 include availability component in atoms export 2023-12-11 14:47:20 +05:30
Ryukemeister a656cf5464 fix api key destructing 2023-12-09 18:35:13 +05:30
Ryukemeister 60260c94b9 init availability component 2023-12-08 20:42:29 +05:30
Morgan Vernay ed295e4424 fixup! fix: prettier config 2023-12-07 11:13:07 +02:00
Morgan Vernay 217ff9e21d fix: prettier config 2023-12-07 09:49:03 +02:00
Morgan fe7043de22
fix: get prisma schema from package @calcom/prisma (#12692)
* fix: get prisma schema from package @calcom/prisma

* fixup! fix: get prisma schema from package @calcom/prisma

* fixup! fixup! fix: get prisma schema from package @calcom/prisma
2023-12-06 15:50:45 +02:00
Erik 9c32052a2b
chore: Prisma exception filters (#12679) 2023-12-05 11:57:48 -03:00
Lauris Skraucis a3955980d5
refactor: remove api-key authguard (#12675) 2023-12-04 14:25:24 +01:00
Lauris Skraucis 6cca86f74c
feat: oauth clients management (#12604)
* feat: oAuth create and update dtos

* feat: WIP oAuth repository

* feat: oAuth controller and module

* refactor: rename cal oAuth to simply oauth

* fix: controller update client

* add oAuth client module to endpoints module

* refactor: OAuthClientRepository

* refactor

* status codes for controller

* oauth create return

* fix: oAuth client only for v2 API

* remove repository as provider from its module

* fix: oAuth module, have repository in providers

* fix: make endpoints run

* comment out oauth prisma schema code: coming next
2023-12-04 09:57:21 -03:00
Morgan Vernay 75f3b35771 fix: storybook atom import 2023-12-04 13:49:45 +02:00
Morgan Vernay cdca42eb6c Merge branch 'main' into platform 2023-12-04 13:47:44 +02:00
Rajiv Sahal ffba6d6d66
feat: validate `CalProvider` api keys (#12672)
* fix: signup nit (#12585)

* Disable submit on empty form

* Fix submit

---------

Co-authored-by: Peer Richelsen <peeroke@gmail.com>

* New Crowdin translations by Github Action

* fix: Signup options are not disabled (#12610)

* fix: Signup options are not disabled

* fixes/signup disabling suggested changes done

* chore: signup and login improvements

---------

Co-authored-by: Udit Takkar <udit222001@gmail.com>

* fix: typo in @calcom/emails readme (#12615)

* fix: handle reschedule request for dynamic meetings (#12275)

* chore: [app-router-migration-1] migrate the pages in `settings/admin` to the app directory (#12561)

Co-authored-by: Dmytro Hryshyn <dev.dmytroh@gmail.com>
Co-authored-by: DmytroHryshyn <125881252+DmytroHryshyn@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>

* chore: added cursor-pointer to img upload (#12624)

* added cursor-pointer to img upload

* nit

* feat: add clear filters option in bookings page (#12629)

* add clear filters option

* fix vscode settings.json

* use removeAllQueryParams()

* fix yarn lock

* remove toggleoption

* feat: display long durations in hours on booking (#12631)

Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>

* New Crowdin translations by Github Action

* fix: workaround for future app dir routes

* feat: Allow only first slot to be booked (#12636)

Co-authored-by: Morgan Vernay <morgan@cal.com>

* New Crowdin translations by Github Action

* feat: add matomo analytics app (#12646)

* chore: Sentry Wrapper with Performance and Error Tracing (#12642)

* add wrapper for sentry and update functions in 'getUserAvailability'. Update tracesSampleRate to 1.0

* Make Sentry Wrapper utilize parent transaction, if it exists.

* Update wrapper for functions to inherit parameters from the child function

* add comment of when to use the wrapper

* check for sentry before wrapping, if not call unwrapped function

* refactored wrapper to have async and sync separate functions that utilize helpers for common behaviour

* update type of args to unknown

* fixed types of returns from wrapped functions

---------

Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>

* validate api keys to set error and key states for api keys

* organize error messages into one place

* set error messages from errors file instead of hardcoding value

* fix incorrect constant name

---------

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Pratik Kumar <70286186+Pratik-Kumar-621@users.noreply.github.com>
Co-authored-by: Udit Takkar <udit222001@gmail.com>
Co-authored-by: Samyabrata Maji <116789799+samyabrata-maji@users.noreply.github.com>
Co-authored-by: Manpreet Singh <manpoffc@gmail.com>
Co-authored-by: Benny Joo <sldisek783@gmail.com>
Co-authored-by: Dmytro Hryshyn <dev.dmytroh@gmail.com>
Co-authored-by: DmytroHryshyn <125881252+DmytroHryshyn@users.noreply.github.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Varun Prahlad Balani <varunprahladbalani@gmail.com>
Co-authored-by: Mike Zhou <mikezhoudev@gmail.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Haran Rajkumar <haranrajkumar97@gmail.com>
Co-authored-by: Morgan Vernay <morgan@cal.com>
Co-authored-by: Harshith Pabbati <pabbatiharshith@gmail.com>
Co-authored-by: Brendan Woodward <73412688+bwoody13@users.noreply.github.com>
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
2023-12-04 14:59:25 +05:30
Morgan f0401e1f86
chore: platform more permissions utils and tests (#12613)
* chore: more permisions utils and tests

* chore: tests
2023-12-01 11:48:37 +02:00
Morgan Vernay d14baad96b Merge branch 'main' into platform 2023-12-01 10:13:42 +02:00
Morgan 67f4756ccb
chore: init platform packages (#12603)
* chore: init platform packages

* fixup! chore: init platform packages

* fixup! fixup! chore: init platform packages

* fix: type in package.json

* fixup! fixup! fixup! chore: init platform packages

* fixup! fixup! fixup! fixup! chore: init platform packages

* fixup! fixup! fixup! fixup! fixup! chore: init platform packages

* fixup! fixup! fixup! fixup! fixup! fixup! chore: init platform packages

---------

Co-authored-by: Lauris Skraucis <lauris.skraucis@gmail.com>
2023-11-30 11:37:43 +02:00
Lauris Skraucis 88b3845bb0
feat: scaffold v2 API (#12554)
* init nest project

* add kysely as a separate package

* add ee folder with license

* prettier: format v2 api same as mono repo

* migrate over Eriks nestjs poc

* schema generation script

* ee license file

* nest poc eslint file

* remove prisma-kysely from v2 api

* prepare for mergin platform: remove prisma-kysely because incorrect checksum

* add prisma-kysely to packages/prisma

* move to apps/api/v2

* rename v2 package

* readme update

* Update apps/api/v2/env.example

* env typo

* env typo

---------

Co-authored-by: Erik <erik@erosemberg.com>
Co-authored-by: Morgan Vernay <morgan@cal.com>
2023-11-30 10:05:10 +02:00
Morgan Vernay d3e1b0fa6e fix config path after move to folder /v1 2023-11-29 22:32:06 +02:00
Morgan Vernay b822304066 Merge branch 'main' into platform 2023-11-29 21:28:24 +02:00
Morgan Vernay f837adb439 fixup! chore: init database oAuth platform client schema 2023-11-29 15:37:47 +02:00
Morgan Vernay c7332f13a7 chore: init database oAuth platform client schema 2023-11-29 15:27:49 +02:00
Morgan 98f9bebbb1
chore: setting up monorepo packages for platforms (#12572)
* chore: init platform folders strucutre and api proxy

* fixup! chore: init platform folders strucutre and api proxy
2023-11-28 18:12:06 +02:00
Ryukemeister 3d24aab4b9 Merge branch 'main' into platform 2023-11-28 15:28:24 +05:30
Ryukemeister f12add2a4c update commenst and change url param 2023-11-27 22:07:17 +05:30
Ryukemeister 656573dab9 Merge branch 'main' into platform 2023-11-27 14:26:43 +05:30
Ryukemeister aa1b0c7314 replace button with dumb button component 2023-11-27 14:25:30 +05:30
Ryukemeister 733c96fb09 dumb button component 2023-11-27 14:24:50 +05:30
Ryukemeister d9110c2b0b button component from shadcn 2023-11-27 14:24:11 +05:30
Ryukemeister 91f54a3f0d update packages 2023-11-27 14:23:45 +05:30
Ryukemeister 41b157b33a shadcn setup 2023-11-27 14:08:29 +05:30
Ryukemeister ae8516a72b add connect to cal to atoms package index 2023-11-27 12:57:14 +05:30
Ryukemeister 6097b81c65 add connect to cal atom 2023-11-27 12:56:01 +05:30
386 changed files with 9528 additions and 1075 deletions

View File

@ -331,3 +331,6 @@ APP_ROUTER_TEAMS_ENABLED=0
# disable setry server source maps
SENTRY_DISABLE_SERVER_WEBPACK_PLUGIN=1
# api v2
NEXT_PUBLIC_API_V2_URL="http://localhost:5555/api/v2"

18
apps/api/index.js Normal file
View File

@ -0,0 +1,18 @@
const http = require("http");
const connect = require("connect");
const { createProxyMiddleware } = require("http-proxy-middleware");
const apiProxyV1 = createProxyMiddleware({
target: "http://localhost:3003",
});
const apiProxyV2 = createProxyMiddleware({
target: "http://localhost:3004",
});
const app = connect();
app.use("/", apiProxyV1);
app.use("/v2", apiProxyV2);
http.createServer(app).listen(3002);

View File

@ -1,46 +1,16 @@
{
"name": "@calcom/api",
"name": "@calcom/api-proxy",
"version": "1.0.0",
"description": "Public API for Cal.com",
"main": "index.ts",
"repository": "git@github.com:calcom/api.git",
"author": "Cal.com Inc.",
"private": true,
"description": "",
"main": "index.js",
"scripts": {
"build": "next build",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
"dev": "PORT=3002 next dev",
"lint": "eslint . --ignore-path .gitignore",
"lint:fix": "eslint . --ext .ts,.js,.tsx,.jsx --fix",
"start": "PORT=3002 next start",
"docker-start-api": "PORT=80 next start",
"type-check": "tsc --pretty --noEmit"
},
"devDependencies": {
"@calcom/tsconfig": "*",
"@calcom/types": "*",
"node-mocks-http": "^1.11.0"
"dev": "node ./index.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"@calcom/app-store": "*",
"@calcom/core": "*",
"@calcom/dayjs": "*",
"@calcom/emails": "*",
"@calcom/features": "*",
"@calcom/lib": "*",
"@calcom/prisma": "*",
"@calcom/trpc": "*",
"@sentry/nextjs": "^7.73.0",
"bcryptjs": "^2.4.3",
"memory-cache": "^0.2.0",
"next": "^13.4.6",
"next-api-middleware": "^1.0.1",
"next-axiom": "^0.17.0",
"next-swagger-doc": "^0.3.6",
"next-validations": "^0.2.0",
"typescript": "^4.9.4",
"tzdata": "^1.0.30",
"uuid": "^8.3.2",
"zod": "^3.22.2"
"connect": "^3.7.0",
"http": "^0.0.1-security",
"http-proxy-middleware": "^2.0.6"
}
}

View File

@ -4,7 +4,7 @@ const i18nConfig = require("@calcom/config/next-i18next.config");
/** @type {import("next-i18next").UserConfig} */
const config = {
...i18nConfig,
localePath: path.resolve("../web/public/static/locales"),
localePath: path.resolve("../../web/public/static/locales"),
};
module.exports = config;

46
apps/api/v1/package.json Normal file
View File

@ -0,0 +1,46 @@
{
"name": "@calcom/api",
"version": "1.0.0",
"description": "Public API for Cal.com",
"main": "index.ts",
"repository": "git@github.com:calcom/api.git",
"author": "Cal.com Inc.",
"private": true,
"scripts": {
"build": "next build",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
"dev": "PORT=3003 next dev",
"lint": "eslint . --ignore-path .gitignore",
"lint:fix": "eslint . --ext .ts,.js,.tsx,.jsx --fix",
"start": "PORT=3003 next start",
"docker-start-api": "PORT=80 next start",
"type-check": "tsc --pretty --noEmit"
},
"devDependencies": {
"@calcom/tsconfig": "*",
"@calcom/types": "*",
"node-mocks-http": "^1.11.0"
},
"dependencies": {
"@calcom/app-store": "*",
"@calcom/core": "*",
"@calcom/dayjs": "*",
"@calcom/emails": "*",
"@calcom/features": "*",
"@calcom/lib": "*",
"@calcom/prisma": "*",
"@calcom/trpc": "*",
"@sentry/nextjs": "^7.73.0",
"bcryptjs": "^2.4.3",
"memory-cache": "^0.2.0",
"next": "^13.4.6",
"next-api-middleware": "^1.0.1",
"next-axiom": "^0.17.0",
"next-swagger-doc": "^0.3.6",
"next-validations": "^0.2.0",
"typescript": "^4.9.4",
"tzdata": "^1.0.30",
"uuid": "^8.3.2",
"zod": "^3.22.2"
}
}

Some files were not shown because too many files have changed in this diff Show More