Skip to content

Commit

Permalink
Move ldw to crates/codegen/ldw
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoerussell committed Jan 23, 2025
1 parent e06de53 commit 238fef1
Show file tree
Hide file tree
Showing 90 changed files with 28 additions and 18 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 26 additions & 0 deletions crates/codegen/ldw/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"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,
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "./dist",
"rootDir": ".",
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": true,
"types": ["jest", "node"]
},
"include": ["src-ts/**/*.ts", "tests-ts/**/*.ts"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion crates/infra/cli/src/commands/check/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fn check_ldw() {
// 4. Questions about output file structure: We'll need to make sure that the generated passes are put somewhere where they
// 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/ldw"))
.current_dir(Path::repo_path("crates/codegen/ldw"))
.arg("src-ts/cli/ldw.ts")
// .args(["--in-dir", "../../crates/testlang/outputs/ldw/"])
// .args(["--out-dir", "../../crates/testlang/outputs/ldw/generated"])
Expand Down
2 changes: 1 addition & 1 deletion crates/infra/cli/src/commands/setup/ldw/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::path::Path;
/// Install npm packages for ldw.
pub fn setup_ldw() {
Command::new("npm")
.current_dir(Path::repo_path("crates/ldw"))
.current_dir(Path::repo_path("crates/codegen/ldw"))
.arg("install")
.run();
}
16 changes: 0 additions & 16 deletions crates/ldw/tsconfig.json

This file was deleted.

0 comments on commit 238fef1

Please sign in to comment.