Skip to content

Commit

Permalink
fix: deploy script use tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-goodwin committed Jan 3, 2024
1 parent 3549a5d commit 5a30095
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/tests/aws-runtime-cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "lib/index.js",
"scripts": {
"cdk": "cdk",
"nag": "ts-node-esm ./scripts/report-violations.ts"
"nag": "tsx ./scripts/report-violations.ts"
},
"dependencies": {
"@aws-cdk/aws-apigatewayv2-alpha": "^2.110.1-alpha.0",
Expand Down
1 change: 1 addition & 0 deletions apps/tests/aws-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"openapi3-ts": "^3.1.2",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion apps/tests/aws-runtime/scripts/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -ex

npx cdk deploy --app "ts-node --esm ../aws-runtime-cdk/src/app.mts" --hotswap-fallback ${CI:+false} --require-approval never --outputs-file ${OUTPUTS_FILE:-/dev/null}
npx cdk deploy --app "tsx ../aws-runtime-cdk/src/app.mts" --hotswap-fallback ${CI:+false} --require-approval never --outputs-file ${OUTPUTS_FILE:-/dev/null}
3 changes: 3 additions & 0 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 5a30095

Please sign in to comment.