Merge pull request #2393 from wbkd/refactor/tsconfig
Refactor: tsconfigs
This commit is contained in:
@@ -31,6 +31,9 @@
|
||||
"@reactflow/core": "workspace:*",
|
||||
"classcat": "^5.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsconfig": "*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18",
|
||||
"react-dom": ">=18"
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "tsconfig/react.json",
|
||||
"display": "@reactflow/background",
|
||||
"compilerOptions": {
|
||||
"composite": true
|
||||
},
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["**/node_modules", "dist/*"],
|
||||
"references": [{ "path": "../core/tsconfig.json" }]
|
||||
}
|
||||
@@ -44,6 +44,7 @@
|
||||
"postcss-cli": "^10.0.0",
|
||||
"postcss-combine-duplicated-selectors": "^10.0.3",
|
||||
"postcss-import": "^14.1.0",
|
||||
"postcss-nested": "^5.0.6"
|
||||
"postcss-nested": "^5.0.6",
|
||||
"tsconfig": "*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "tsconfig/react.json",
|
||||
"display": "@reactflow/background",
|
||||
"compilerOptions": {
|
||||
"composite": true
|
||||
},
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["**/node_modules", "dist/*"],
|
||||
"references": [{ "path": "../core/tsconfig.json" }]
|
||||
}
|
||||
@@ -49,6 +49,7 @@
|
||||
"postcss-cli": "^10.0.0",
|
||||
"postcss-combine-duplicated-selectors": "^10.0.3",
|
||||
"postcss-import": "^14.1.0",
|
||||
"postcss-nested": "^5.0.6"
|
||||
"postcss-nested": "^5.0.6",
|
||||
"tsconfig": "*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "tsconfig/react.json",
|
||||
"display": "@reactflow/core",
|
||||
"compilerOptions": {
|
||||
"composite": true
|
||||
},
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["**/node_modules", "dist/*"]
|
||||
}
|
||||
@@ -45,6 +45,7 @@
|
||||
"postcss-cli": "^10.0.0",
|
||||
"postcss-combine-duplicated-selectors": "^10.0.3",
|
||||
"postcss-import": "^14.1.0",
|
||||
"postcss-nested": "^5.0.6"
|
||||
"postcss-nested": "^5.0.6",
|
||||
"tsconfig": "*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "tsconfig/react.json",
|
||||
"display": "@reactflow/minimap",
|
||||
"compilerOptions": {
|
||||
"composite": true
|
||||
},
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["**/node_modules", "dist/*"],
|
||||
"references": [{ "path": "../core/tsconfig.json" }]
|
||||
}
|
||||
@@ -43,6 +43,7 @@
|
||||
"postcss-cli": "^10.0.0",
|
||||
"postcss-combine-duplicated-selectors": "^10.0.3",
|
||||
"postcss-import": "^14.1.0",
|
||||
"postcss-nested": "^5.0.6"
|
||||
"postcss-nested": "^5.0.6",
|
||||
"tsconfig": "*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "tsconfig/react.json",
|
||||
"display": "reactflow",
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["**/node_modules", "dist/*"],
|
||||
"references": [
|
||||
{ "path": "../background/tsconfig.json" },
|
||||
{ "path": "../controls/tsconfig.json" },
|
||||
{ "path": "../core/tsconfig.json" },
|
||||
{ "path": "../minimap/tsconfig.json" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user