Skip to content

Commit

Permalink
fixup! set up backend for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Aug 1, 2024
1 parent 603d251 commit 0b9ce28
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM registry.access.redhat.com/ubi9/nodejs-20:latest AS backend_build
USER root
WORKDIR /usr/src/app
ADD backend /usr/src/app
RUN npm ci && npm run build
RUN npm ci && npm run build:noCheck

FROM registry.access.redhat.com/ubi9/nodejs-20-minimal:latest
ARG APP_DIR
Expand Down
1 change: 1 addition & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "server.js",
"scripts": {
"build": "tsc",
"build:noCheck": "tsc --noCheck",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
Expand Down
1 change: 0 additions & 1 deletion backend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"outDir": "./dist", /* Specify an output folder for all emitted files. */
// "removeComments": true, /* Disable emitting comments. */
"removeComments": true, /* Disable emitting comments. */
"noCheck": true,
// "noEmit": true, /* Disable emitting files from a compilation. */
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
Expand Down

0 comments on commit 0b9ce28

Please sign in to comment.