Skip to content

Commit cb58bbd

Browse files
committed
fix: common assets compile with electon compile
1 parent 0c03611 commit cb58bbd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs: # a collection of steps
1818
- run:
1919
name: install-npm
2020
command: npm install
21-
- run:
22-
name: build-common
23-
command: npx tsc -p common/tsconfig.json
2421
- run:
2522
name: compile-electron
2623
command: cd electron && npm run compile

electron/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"build-frontend": "cd ../ && npm run build-frontend",
1717
"build-electron": "cross-env NODE_ARCH=$npm_config_arch electron-builder",
1818
"clean": "rimraf build/* dist/*",
19-
"compile": "run-s typecheck sync-assets",
19+
"compile": "run-s typecheck-common typecheck sync-assets",
20+
"typecheck-common": "tsc -p ../common/tsconfig.json",
2021
"typecheck": "tsc -p tsconfig.json",
2122
"sync-assets": "node ./scripts/sync-backend-assets.js",
2223
"copy-env": "cd .. && npm run copy-env",

0 commit comments

Comments
 (0)