mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-09-21 17:04:00 +00:00
Reference exp_roles and exp_groups from the exp_scenario build
exp_scenario imports types from @expcluster/roles and @expcluster/permission-groups through their dist folders, so building it on its own before those packages are built fails with TS2307. A plain pnpm install runs the prepare scripts in dependency order, but a filtered install or running tsc --build in exp_scenario on a fresh clone does not. Referencing the node projects of both packages makes tsc build them first. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
24efb82d0f
commit
3a9155697a
@@ -1,5 +1,9 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig.node.json",
|
"extends": "../tsconfig.node.json",
|
||||||
|
"references": [
|
||||||
|
{ "path": "../exp_groups/tsconfig.node.json" },
|
||||||
|
{ "path": "../exp_roles/tsconfig.node.json" },
|
||||||
|
],
|
||||||
"include": ["./**/*.ts"],
|
"include": ["./**/*.ts"],
|
||||||
"exclude": ["test/*", "./dist/*"],
|
"exclude": ["test/*", "./dist/*"],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user