Skip to content

Commit

Permalink
changed build and watch task to use own tsconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Jonah Iden <[email protected]>
  • Loading branch information
jonah-iden committed Nov 6, 2023
1 parent e47455e commit 14fbdb4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"scripts": {
"prepare": "lerna run prepare",
"clean": "lerna run clean",
"build": "lerna run build",
"watch": "concurrently -n sprotty,elk,protocol,generator -c blue,green,yellow,white \"yarn --cwd packages/sprotty watch \" \"yarn --cwd packages/sprotty-elk watch \" \"yarn --cwd packages/sprotty-protocol watch \" \"yarn --cwd packages/generator-sprotty watch \"",
"build": "tsc -b tsconfig.build.json",
"watch": "concurrently -n sprotty,examples -c blue,green, \"yarn --cwd examples watch\" \"tsc -b tsconfig.build.json -w\"",
"test": "lerna run test",
"publish:prepare": "lerna version --ignore-scripts --yes --no-push",
"publish:latest": "lerna publish from-git --yes --no-push",
Expand Down
9 changes: 9 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"files": [],
"references": [
{ "path": "./packages/generator-sprotty/tsconfig.json" },
{ "path": "./packages/sprotty/tsconfig.json" },
{ "path": "./packages/sprotty-elk/tsconfig.json" },
{ "path": "./packages/sprotty-protocol/tsconfig.json" },
]
}

0 comments on commit 14fbdb4

Please sign in to comment.