Skip to content

Commit

Permalink
CMDCT-4184 - fixing build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
peoplespete committed Jan 31, 2025
1 parent 7a7b2be commit 0df35da
Show file tree
Hide file tree
Showing 4 changed files with 459 additions and 5,314 deletions.
8 changes: 0 additions & 8 deletions deployment/stacks/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,6 @@ export function createApiComponents(props: CreateApiComponentsProps) {
tables: dataConnectTables,
});

new Lambda(scope, "exportToExcel", {
entry: "services/app-api/export/exportToExcel.js",
handler: "main",
path: "/export/export-to-excel",
method: "POST",
...commonProps,
});

new Lambda(scope, "getUserById", {
entry: "services/app-api/handlers/users/get/getUserById.js",
handler: "main",
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
"test": "tests"
},
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"cdk": "cdk",
"build": "tsc",
"watch": "tsc -w",
"cdk": "cdk",
Expand Down Expand Up @@ -65,6 +62,7 @@
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"constructs": "^10.3.0",
"jsonpath": "^1.1.0",
"readline-sync": "^1.4.10"
"readline-sync": "^1.4.10",
"source-map-support": "^0.5.21"
}
}
2 changes: 1 addition & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ fi

# build and run run.ts
# tsc is configured to build what we expect in tsconfig.json
./node_modules/.bin/tsc && node ./build_dev/run.js "${ARGS[@]-}"
./node_modules/.bin/tsc && node ./build_dev/src/run.js "${ARGS[@]-}"
Loading

0 comments on commit 0df35da

Please sign in to comment.