Skip to content

Commit

Permalink
Need some tsconfig magic to get ts-node working
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpatto committed Nov 14, 2023
1 parent 58f250c commit 460ce1c
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 19 deletions.
3 changes: 2 additions & 1 deletion dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"devDependencies": {
"aws-cdk": "2.100.0",
"aws-cdk-lib": "2.100.0",
"constructs": "10.3.0"
"constructs": "10.3.0",
"tsconfig-paths": "^4.2.0"
}
}
11 changes: 11 additions & 0 deletions dev/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"ts-node": {
"require": ["tsconfig-paths/register"]
},
"compilerOptions": {
"paths": {
"@common/*": ["../packages/common/*"]
}
},
"exclude": ["node_modules"]
}
53 changes: 35 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 460ce1c

Please sign in to comment.