Skip to content

Commit

Permalink
Fix npm run gcp-build and make sure that it is tested always
Browse files Browse the repository at this point in the history
  • Loading branch information
ronshapiro committed Nov 4, 2024
1 parent 60c40a2 commit 81123e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"parcel-prod": "ts-node parcel.ts prod",
"deploy": "npm run parcel-prod && yes | gcloud --configuration talmud-page app deploy",
"start": "node ./express_main.js",
"gcp-build": "tsc --lib es2022,dom express_main.ts",
"gcp-build": "tsc --lib es2022,dom --downlevelIteration express_main.ts",
"ignore trailing commas": "exit 1"
},
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions pre-commit/gcp_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

npm run gcp-build -- --noEmit

0 comments on commit 81123e6

Please sign in to comment.