diff --git a/app.json b/app.json index 3f91f1b1a3..f7e18c835b 100644 --- a/app.json +++ b/app.json @@ -3,25 +3,88 @@ "description": "Open Source Scheduling", "repository": "https://github.com/calcom/cal.com", "logo": "https://cal.com/android-chrome-512x512.png", - "keywords": ["react", "typescript", "node", "nextjs", "prisma", "postgres", "trpc"], + "keywords": [ + "react", + "typescript", + "node", + "nextjs", + "prisma", + "postgres", + "trpc" + ], "addons": [ { "plan": "heroku-postgresql:hobby-dev" } ], "env": { - "BASE_URL": { + "PGSSLMODE": { + "description": "If you use Heroku to deploy Postgres (or use self-signed certs for Postgres) then put 'no-verify' here.", + "value": "no-verify" + }, + "NEXT_PUBLIC_WEBAPP_URL": { "description": "Replace HEROKU_APP_NAME with the name given to your app", - "value": "https://HEROKU_APP_NAME.herokuapp.com" + "value": "https://HEROKU_APP_NAME.herokuapp.com", + "required": "true" }, "CALENDSO_ENCRYPTION_KEY": { "description": "Application Key for symmetric encryption and decryption. Must be 32 bytes for AES256 encryption algorithm.", - "value": "secret" + "value": "secret", + "required": "true" }, - "NEXTAUTH_SECRET": "secret", "NEXTAUTH_URL": { "description": "Replace HEROKU_APP_NAME with the name given to your app", "value": "https://HEROKU_APP_NAME.herokuapp.com" + }, + "NEXTAUTH_SECRET": { + "description": "Cookie encryption key", + "generator": "secret", + "required": "true" + }, + "NEXT_PUBLIC_LICENSE_CONSENT": { + "description": "License consent", + "value": "true", + "required": "true" + }, + "CRON_API_KEY": { + "description": "ApiKey for cronjobs", + "value": "" + }, + "SEND_FEEDBACK_EMAIL": { + "description": "Send feedback email", + "value": "" + }, + "SENDGRID_API_KEY": { + "description": "Sendgrid api key. Used for email reminders in workflows", + "value": "" + }, + "SENDGRID_EMAIL": { + "description": "Sendgrid email. Used for email reminders in workflows", + "value": "" + }, + "EMAIL_FROM": { + "description": "Configures the global From: header whilst sending emails", + "value": "" + }, + "EMAIL_SERVER_HOST": { + "description": "Configures the global SMTP server host", + "value": "smtp.gmail.com" + }, + "EMAIL_SERVER_PORT": { + "description": "Configures the global SMTP server port", + "value": "465" + }, + "EMAIL_SERVER_USER": { + "description": "Configures the global SMTP server user", + "value": "" + }, + "EMAIL_SERVER_PASSWORD": { + "description": "Configures the global SMTP server password", + "value": "" + }, + "NEXT_PUBLIC_TEAM_IMPERSONATION": { + "description": "Set the following value to true if you wish to enable Team Impersonation", + "value": "false" } }, "scripts": { diff --git a/package.json b/package.json index b9050e793b..c210146d6e 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ ] }, "engines": { - "node": ">=14.x <17", + "node": "16.x", "npm": ">=7.0.0", "yarn": ">=1.19.0 < 2.0.0" }, diff --git a/packages/prisma/package.json b/packages/prisma/package.json index 54592967f3..a8290a1630 100644 --- a/packages/prisma/package.json +++ b/packages/prisma/package.json @@ -20,14 +20,14 @@ "delete-app": "ts-node --transpile-only ./delete-app.ts" }, "devDependencies": { - "npm-run-all": "^4.1.5", + "npm-run-all": "^4.1.5" + }, + "dependencies": { "prisma": "^4.1.0", "ts-node": "^10.6.0", "zod": "^3.16.0", - "zod-prisma": "^0.5.4" - }, - "dependencies": { "@calcom/lib": "*", + "zod-prisma": "^0.5.4", "@prisma/client": "^4.1.0", "dotenv-cli": "^6.0.0" },