🚧 Use TS project references

This commit is contained in:
Baptiste Arnaud
2024-08-28 18:09:35 +02:00
parent 0c7d2afd51
commit fdd6cc6fee
627 changed files with 3043 additions and 1696 deletions

View File

@@ -11,7 +11,5 @@
"@typebot.io/lib": "workspace:*",
"@typebot.io/prisma": "workspace:*"
},
"devDependencies": {
"@typebot.io/tsconfig": "workspace:*"
}
"devDependencies": {}
}

View File

@@ -1,8 +1,18 @@
{
"extends": "@typebot.io/tsconfig/base.json",
"extends": "../tsconfig/base.json",
"include": ["**/*.ts"],
"exclude": ["node_modules"],
"compilerOptions": {
"lib": ["ES2021", "DOM"]
}
"outDir": "dist"
},
"references": [
{
"path": "../lib"
},
{
"path": "../prisma"
},
{
"path": "../schemas"
}
]
}