Skip to content

Commit

Permalink
Override the default ts-node project which is set by hermit.hcl to …
Browse files Browse the repository at this point in the history
…use the one in the `crates/codegen/ldw`
  • Loading branch information
mjoerussell committed Jan 24, 2025
1 parent 238fef1 commit e22ec6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
12 changes: 1 addition & 11 deletions crates/codegen/ldw/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,7 @@
"compilerOptions": {
"target": "ES6",
"module": "commonjs",
"exactOptionalPropertyTypes": false,
"noFallthroughCasesInSwitch": false,
"noImplicitAny": false,
"noImplicitOverride": false,
"noImplicitReturns": false,
"noImplicitThis": false,
"noPropertyAccessFromIndexSignature": false,
"noUncheckedIndexedAccess": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"strict": false,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "./dist",
Expand Down
1 change: 1 addition & 0 deletions crates/infra/cli/src/commands/check/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ fn check_ldw() {
// can be used by the next stage in the build pipeline, but for now we'll just dump them somewhere convenient.
Command::new("ts-node")
.current_dir(Path::repo_path("crates/codegen/ldw"))
.args(["-P", "./tsconfig.json"])
.arg("src-ts/cli/ldw.ts")
// .args(["--in-dir", "../../crates/testlang/outputs/ldw/"])
// .args(["--out-dir", "../../crates/testlang/outputs/ldw/generated"])
Expand Down

0 comments on commit e22ec6f

Please sign in to comment.