Skip to content

Commit 1ce5e95

Browse files
committed
Fix clean build
1 parent 93bc7ed commit 1ce5e95

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
"scripts": {
77
"postinstall": "husky",
88
"format": "prettier -w .",
9-
"package": "run build && companion-module-build",
10-
"build": "rimraf dist && run build:main",
9+
"package": "run build-self && companion-module-build",
10+
"build-self": "rimraf dist && run build:main",
11+
"build:all": "yarn workspaces foreach -At exec run build-self",
12+
"build": "run build:all",
1113
"build:main": "tsc -p tsconfig.build.json",
1214
"dev": "tsc -p tsconfig.build.json --watch",
1315
"lint:raw": "eslint",
@@ -24,6 +26,7 @@
2426
},
2527
"dependencies": {
2628
"@companion-module/base": "~1.12.1",
29+
"ftclive-client": "workspace:*",
2730
"pws": "^7.0.0"
2831
},
2932
"devDependencies": {

packages/ftclive-client/package.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yarn.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,7 @@ __metadata:
10541054
"@companion-module/tools": "npm:^2.3.0"
10551055
"@types/node": "npm:^22.15.31"
10561056
eslint: "npm:^9.28.0"
1057+
ftclive-client: "workspace:*"
10571058
husky: "npm:^9.1.7"
10581059
lint-staged: "npm:^16.1.0"
10591060
prettier: "npm:^3.5.3"
@@ -1656,7 +1657,7 @@ __metadata:
16561657
languageName: node
16571658
linkType: hard
16581659

1659-
"ftclive-client@workspace:packages/ftclive-client":
1660+
"ftclive-client@workspace:*, ftclive-client@workspace:packages/ftclive-client":
16601661
version: 0.0.0-use.local
16611662
resolution: "ftclive-client@workspace:packages/ftclive-client"
16621663
dependencies:

0 commit comments

Comments
 (0)