🚧 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

@@ -2,7 +2,6 @@
"name": "@typebot.io/billing",
"version": "1.0.0",
"description": "",
"main": "index.js",
"license": "UNLICENSED",
"private": true,
"scripts": {
@@ -22,7 +21,5 @@
"next": "14.1.0",
"micro": "10.0.1"
},
"devDependencies": {
"@typebot.io/tsconfig": "workspace:*"
}
"devDependencies": {}
}

View File

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