resolve zod versions across child packages (#11052)
parent
acaa79b0b8
commit
814674fe40
|
@ -9,12 +9,11 @@
|
|||
"langchain": "^0.0.131",
|
||||
"mailparser": "^3.6.5",
|
||||
"next": "^13.4.6",
|
||||
"zod": "^3.20.2"
|
||||
"supports-color": "8.1.1",
|
||||
"zod": "^3.22.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mailparser": "^3.4.0",
|
||||
"@types/node": "^20.5.1",
|
||||
"typescript": "^4.9.4"
|
||||
"@types/mailparser": "^3.4.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "next build",
|
||||
|
|
|
@ -23,6 +23,7 @@ export const env = createEnv({
|
|||
NODE_ENV: process.env.NODE_ENV,
|
||||
OPENAI_API_KEY: process.env.OPENAI_API_KEY,
|
||||
SENDGRID_API_KEY: process.env.SENDGRID_API_KEY,
|
||||
DATABASE_URL: process.env.DATABASE_URL,
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -37,5 +38,6 @@ export const env = createEnv({
|
|||
NODE_ENV: z.enum(["development", "test", "production"]),
|
||||
OPENAI_API_KEY: z.string().min(1),
|
||||
SENDGRID_API_KEY: z.string().min(1),
|
||||
DATABASE_URL: z.string().url(),
|
||||
},
|
||||
});
|
||||
|
|
|
@ -102,7 +102,8 @@
|
|||
"@apidevtools/json-schema-ref-parser": "9.0.9",
|
||||
"@types/node": "16.9.1",
|
||||
"@types/react": "18.0.26",
|
||||
"@types/react-dom": "^18.0.9"
|
||||
"@types/react-dom": "^18.0.9",
|
||||
"zod": "^3.20.2"
|
||||
},
|
||||
"lint-staged": {
|
||||
"(apps|packages)/**/*.{js,ts,jsx,tsx}": [
|
||||
|
|
11
turbo.json
11
turbo.json
|
@ -46,7 +46,16 @@
|
|||
"dependsOn": []
|
||||
},
|
||||
"@calcom/ai#build": {
|
||||
"env": ["CAL_AI_DATABASE_URL", "BACKEND_URL", "APP_ID", "APP_URL", "OPENAI_API_KEY", "PARSE_KEY"]
|
||||
"env": [
|
||||
"BACKEND_URL",
|
||||
"APP_ID",
|
||||
"APP_URL",
|
||||
"PARSE_KEY",
|
||||
"NODE_ENV",
|
||||
"OPENAI_API_KEY",
|
||||
"SENDGRID_API_KEY",
|
||||
"DATABASE_URL"
|
||||
]
|
||||
},
|
||||
"@calcom/website#build": {
|
||||
"dependsOn": ["^build"],
|
||||
|
|
Loading…
Reference in New Issue