Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions client/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules
6 changes: 3 additions & 3 deletions client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:26.7-trixie-slim
FROM node:26.7.0-alpine3.24

ARG BB2-APP_LAUNCH

Expand All @@ -11,8 +11,8 @@ WORKDIR /client

COPY . .

RUN apt-get update && \
apt-get install -y libgnutls30 libcap2 libssh2-1
RUN apk update && \
apk add --no-cache gnutls libcap libssh2

RUN npm install -g yarn

Expand Down
5 changes: 3 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@
"eslint-plugin-react": "^7.37.5",
"jsdom": "^25.0.1",
"react-error-overlay": "6.0.9",
"vite": "^6.0.9",
"vite": "^6.4.3",
"vite-plugin-eslint": "^1.8.1",
"vitest": "^3.1.2"
},
"resolutions": {
"@types/react": "^17.0.2"
"@types/react": "^17.0.2",
"@types/node": "^22.0.0"
}
}
2 changes: 2 additions & 0 deletions server/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
/node-sdk/node_modules
6 changes: 3 additions & 3 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:26.7-trixie-slim
FROM node:26.7.0-alpine3.24

LABEL version="1.1"
LABEL description="Demo of a Medicare claims data sample app"
Expand All @@ -7,8 +7,8 @@ WORKDIR /server

COPY . .

RUN apt-get update && \
apt-get install -y libgnutls30 libcap2 libssh2-1
RUN apk update && \
apk add --no-cache gnutls libcap libssh2

RUN npm install -g yarn

Expand Down
2 changes: 1 addition & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
process.stdout.write(ERR_QUERY_EOB + '\n');
process.stderr.write("Exception: " + String(e) + '\n');
if (e.response) {
console.log("Error status:", e.response.status);

Check warning on line 96 in server/index.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected console statement
console.log("Error data:", e.response.data);

Check warning on line 97 in server/index.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected console statement
}
}

Expand All @@ -102,7 +102,7 @@
// data flow: call the $generate-digital-insurance-card operation to get the
// beneficiary's CARIN Digital Insurance Card (C4DIC) FHIR bundle.
// This operation is only available on BB2 v3.
const insuranceCardResults = await bb.getInsuranceCardData(authToken);
const insuranceCardResults = await (bb as any).getInsuranceCardData(authToken);
authToken = insuranceCardResults.token; // in case authToken got refreshed

loggedInUser.authToken = authToken;
Expand All @@ -126,8 +126,8 @@
process.stdout.write(ERR_QUERY_INSURANCE_CARD + '\n');
process.stderr.write("Exception: " + String(e) + '\n');
if (e.response) {
console.log("Error status:", e.response.status);

Check warning on line 129 in server/index.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected console statement
console.log("Error data:", e.response.data);

Check warning on line 130 in server/index.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected console statement
}
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
],
"dependencies": {
"@types/express": "^4.17.14",
"cms-bluebutton-sdk": "^1.0.4",
"cms-bluebutton-sdk": "^1.0.12",
"express": "^4.18.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
Expand Down
Loading