🚧 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

@@ -13,7 +13,6 @@ import {
ConditionBlock,
IntegrationBlock,
HttpRequestBlock,
BlockWithOptionsType,
BlockWithOptions,
} from './features/blocks'
import { BubbleBlockType } from './features/blocks/bubbles/constants'

View File

@@ -1,8 +1,6 @@
{
"name": "@typebot.io/schemas",
"version": "1.0.0",
"main": "./index.ts",
"types": "./index.ts",
"license": "AGPL-3.0-or-later",
"private": true,
"dependencies": {
@@ -13,8 +11,6 @@
"devDependencies": {
"@typebot.io/forge-repository": "workspace:*",
"@typebot.io/prisma": "workspace:*",
"@typebot.io/tsconfig": "workspace:*",
"typescript": "5.4.5",
"eslint": "8.44.0",
"eslint-config-custom": "workspace:*"
}

View File

@@ -1,9 +1,15 @@
{
"extends": "@typebot.io/tsconfig/base.json",
"include": ["**/*.ts"],
"exclude": ["node_modules"],
"extends": "../tsconfig/base.json",
"include": ["features/**/*", "*.js", "*.ts"],
"compilerOptions": {
"lib": ["ESNext"],
"noEmit": true
}
"outDir": "dist"
},
"references": [
{
"path": "../forge/repository"
},
{
"path": "../prisma"
}
]
}