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:
parent
ca0e991272
commit
e31a0af9cc
@ -3,7 +3,7 @@ FROM node:22-alpine AS builder
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci --omit=dev
|
RUN npm ci
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|||||||
@ -11,6 +11,7 @@
|
|||||||
"@aws-sdk/client-dynamodb": "^3.709.0",
|
"@aws-sdk/client-dynamodb": "^3.709.0",
|
||||||
"@aws-sdk/client-secrets-manager": "^3.709.0",
|
"@aws-sdk/client-secrets-manager": "^3.709.0",
|
||||||
"@aws-sdk/lib-dynamodb": "^3.709.0",
|
"@aws-sdk/lib-dynamodb": "^3.709.0",
|
||||||
|
"discord-api-types": "^0.37.103",
|
||||||
"tweetnacl": "^1.0.3"
|
"tweetnacl": "^1.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -1440,6 +1441,12 @@
|
|||||||
"integrity": "sha512-OHawaAbjwx6rqICCKgSG0SAnT05bzd7ppyKLVUITZpANBaaMFBAsaNkto3LoQ31tyFP5kNujE8Cdx85G9VzOkw==",
|
"integrity": "sha512-OHawaAbjwx6rqICCKgSG0SAnT05bzd7ppyKLVUITZpANBaaMFBAsaNkto3LoQ31tyFP5kNujE8Cdx85G9VzOkw==",
|
||||||
"license": "MIT"
|
"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": {
|
"node_modules/fast-xml-parser": {
|
||||||
"version": "5.2.5",
|
"version": "5.2.5",
|
||||||
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz",
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
"@aws-sdk/client-dynamodb": "^3.709.0",
|
"@aws-sdk/client-dynamodb": "^3.709.0",
|
||||||
"@aws-sdk/client-secrets-manager": "^3.709.0",
|
"@aws-sdk/client-secrets-manager": "^3.709.0",
|
||||||
"@aws-sdk/lib-dynamodb": "^3.709.0",
|
"@aws-sdk/lib-dynamodb": "^3.709.0",
|
||||||
|
"discord-api-types": "^0.37.103",
|
||||||
"tweetnacl": "^1.0.3"
|
"tweetnacl": "^1.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user