Skip to content

Commit

Permalink
fix build and error message
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstonmatt committed Jun 11, 2024
1 parent 6c6a64c commit 3147877
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _error.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// this file does nothing, import what you need from dist
console.error(`\ndo not use the root @cndi/@cdktf export!\n`)
console.error(`\nPlease import files from @cndi/cdktf/dist/ instead!\n`);
4 changes: 4 additions & 0 deletions cdktf.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
{
"name": "eks",
"source": "terraform-aws-modules/eks/aws"
},
{
"source": "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc",
"name": "iam-assumable-role-with-oidc"
}
],
"context": {},
Expand Down
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@cndi/cdktf",
"version": "0.1.0",
"tasks": {
"build": "npx -y cdktf-cli get && mv .gen dist"
"build": "npx -y cdktf-cli get && rm -rf dist && mv ./.gen/ ./dist"
},
"exports": {
"./_error": "./_error.ts"
Expand Down

0 comments on commit 3147877

Please sign in to comment.