🧑‍💻 Improve env variables type safety and management (#718)

Closes #679
This commit is contained in:
Baptiste Arnaud
2023-08-28 09:13:53 +02:00
committed by GitHub
parent a23a8c4456
commit 786e5cb582
148 changed files with 1550 additions and 1293 deletions

20
packages/env/package.json vendored Normal file
View File

@@ -0,0 +1,20 @@
{
"name": "@typebot.io/env",
"version": "1.0.0",
"license": "AGPL-3.0-or-later",
"private": true,
"main": "./env.ts",
"types": "./env.ts",
"dependencies": {
"@t3-oss/env-nextjs": "^0.6.0",
"zod": "3.21.4"
},
"devDependencies": {
"@typebot.io/tsconfig": "workspace:*",
"@types/node": "^20.4.9",
"esbuild": "^0.19.1"
},
"scripts": {
"build": "esbuild env.ts --packages=external --outfile=dist/env.mjs"
}
}