Skip to content

Commit

Permalink
dsds
Browse files Browse the repository at this point in the history
  • Loading branch information
dfunckt committed Nov 7, 2023
1 parent 22b97f0 commit 4131ea8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const config: ForgeConfig = {
env: 'ETCHER_UTIL_BIN_PATH',
path: './out/sidecar/bin/etcher-util',
build: {
command: 'tsc --project tsconfig.sidecar.json && pkg out/sidecar/util/api.js -c pkg-sidecar.json --target node18 --output out/sidecar/bin/etcher-util',
command: 'npm rebuild mountutils && npm run tsc -- --project tsconfig.sidecar.json && npm run pkg -- ./out/sidecar/util/api.js -c pkg-sidecar.json --target node18 --output ./out/sidecar/bin/etcher-util',
sources: './lib/util/',
},
verbose: true,
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"url": "[email protected]:balena-io/etcher.git"
},
"scripts": {
"tsc": "tsc",
"pkg": "pkg",
"lint-css": "prettier --write lib/**/*.css",
"lint-ts": "balena-lint --fix --typescript typings lib tests webpack.config.ts",
"lint": "npm run lint-ts && npm run lint-css",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.sidecar.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"outDir": "out/sidecar"
"outDir": "./out/sidecar"
},
"include": ["lib/util"]
"include": ["./lib/util"]
}

0 comments on commit 4131ea8

Please sign in to comment.