🚧 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,15 +2,12 @@
"name": "@typebot.io/segment-block",
"version": "1.0.0",
"description": "",
"main": "index.ts",
"keywords": [],
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@typebot.io/forge": "workspace:*",
"@typebot.io/lib": "workspace:*",
"@typebot.io/tsconfig": "workspace:*",
"@types/react": "18.2.15",
"typescript": "5.4.5"
"@types/react": "18.3.4"
},
"dependencies": {
"@segment/analytics-node": "^2.1.2"

View File

@@ -1,11 +1,17 @@
{
"extends": "@typebot.io/tsconfig/base.json",
"extends": "../../../tsconfig/base.json",
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"],
"compilerOptions": {
"lib": ["ESNext", "DOM"],
"noEmit": true,
"jsx": "preserve",
"jsxImportSource": "react"
}
"jsxImportSource": "react",
"outDir": "dist"
},
"references": [
{
"path": "../../../lib"
},
{
"path": "../../core"
}
]
}