Skip to content

Commit 7b60999

Browse files
authored
Merge pull request #19 from topcoder-platform/develop
[PROD RELEASE] - NPM up & Bedrock metadata
2 parents c8ea22c + 8add42e commit 7b60999

6 files changed

Lines changed: 691 additions & 427 deletions

File tree

Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,20 @@
33
FROM node:24.13.0-alpine
44

55
RUN apk add --no-cache bash git
6-
RUN apk update
76

87
WORKDIR /app
8+
9+
# Use the exact pnpm version pinned in package.json "packageManager"
10+
RUN corepack enable
11+
12+
# Copy lockfile + manifest first for layer caching
13+
COPY package.json pnpm-lock.yaml ./
14+
RUN pnpm install --frozen-lockfile
15+
16+
# Now copy the rest of the source
917
COPY . .
10-
RUN npm install pnpm -g
11-
RUN pnpm install
1218
RUN pnpm run lint
1319
RUN pnpm test
1420
RUN pnpm run build
1521
RUN chmod +x appStartUp.sh
16-
CMD ./appStartUp.sh
22+
CMD ["./appStartUp.sh"]

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,15 @@
2929
"@ai-sdk/openai": "^3.0.74",
3030
"@aws-sdk/credential-providers": "^3.1075.0",
3131
"@mastra/auth-auth0": "^1.2.1",
32-
"@mastra/core": "^1.50.1",
33-
"@mastra/evals": "^1.5.1",
34-
"@mastra/libsql": "^1.15.1",
32+
"@mastra/core": "^1.57.0",
33+
"@mastra/evals": "^1.7.0",
34+
"@mastra/libsql": "^1.19.0",
3535
"@mastra/loggers": "^1.2.0",
36-
"@mastra/memory": "^1.22.2",
37-
"@mastra/observability": "^1.16.0",
38-
"@mastra/pg": "^1.15.1",
36+
"@mastra/memory": "^1.26.0",
37+
"@mastra/observability": "^1.16.5",
38+
"@mastra/pg": "^1.19.0",
39+
"@opentelemetry/exporter-logs-otlp-proto": "^0.221.0",
40+
"@opentelemetry/exporter-trace-otlp-proto": "^0.221.0",
3941
"@topcoder/wipro-ai-sdk-provider": "git+https://git.topcoder.com/Topcoder-Platform/Wipro-Provider-AI-SDK.git",
4042
"ai": "^6.0.209",
4143
"ai-sdk-ollama": "^3.8.8",
@@ -46,7 +48,7 @@
4648
"@eslint/js": "^10.0.1",
4749
"@types/node": "^26.0.1",
4850
"eslint": "^10.5.0",
49-
"mastra": "^1.18.2",
51+
"mastra": "^1.23.0",
5052
"prettier": "^3.8.4",
5153
"typescript": "^6.0.3",
5254
"typescript-eslint": "^8.62.0",

0 commit comments

Comments
 (0)