fix(ppal-aws): add discord-api-types and fix Dockerfile

Add missing discord-api-types dependency and fix Docker build:
- Add discord-api-types to dependencies
- Fix Dockerfile (npm ci without --omit=dev for build stage)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Shunsuke Hayashi 2026-01-25 21:53:00 +09:00
parent ca0e991272
commit e31a0af9cc
3 changed files with 9 additions and 1 deletions

View File

@ -3,7 +3,7 @@ FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev
RUN npm ci
COPY . .
RUN npm run build

View File

@ -11,6 +11,7 @@
"@aws-sdk/client-dynamodb": "^3.709.0",
"@aws-sdk/client-secrets-manager": "^3.709.0",
"@aws-sdk/lib-dynamodb": "^3.709.0",
"discord-api-types": "^0.37.103",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
@ -1440,6 +1441,12 @@
"integrity": "sha512-OHawaAbjwx6rqICCKgSG0SAnT05bzd7ppyKLVUITZpANBaaMFBAsaNkto3LoQ31tyFP5kNujE8Cdx85G9VzOkw==",
"license": "MIT"
},
"node_modules/discord-api-types": {
"version": "0.37.120",
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.120.tgz",
"integrity": "sha512-7xpNK0EiWjjDFp2nAhHXezE4OUWm7s1zhc/UXXN6hnFFU8dfoPHgV0Hx0RPiCa3ILRpdeh152icc68DGCyXYIw==",
"license": "MIT"
},
"node_modules/fast-xml-parser": {
"version": "5.2.5",
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz",

View File

@ -13,6 +13,7 @@
"@aws-sdk/client-dynamodb": "^3.709.0",
"@aws-sdk/client-secrets-manager": "^3.709.0",
"@aws-sdk/lib-dynamodb": "^3.709.0",
"discord-api-types": "^0.37.103",
"tweetnacl": "^1.0.3"
},
"devDependencies": {