🚧 Use TS project references
This commit is contained in:
@@ -13,7 +13,6 @@ import {
|
||||
ConditionBlock,
|
||||
IntegrationBlock,
|
||||
HttpRequestBlock,
|
||||
BlockWithOptionsType,
|
||||
BlockWithOptions,
|
||||
} from './features/blocks'
|
||||
import { BubbleBlockType } from './features/blocks/bubbles/constants'
|
||||
|
||||
@@ -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:*"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user