cleanup: consistent use of yarn instead of npm

This commit is contained in:
Max Kammler 2023-02-07 09:43:58 +01:00
parent 69c3560735
commit f0bc13c5df
4 changed files with 3934 additions and 10628 deletions

View File

@ -2,7 +2,8 @@ FROM node:19-slim
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY package*.json ./ COPY package.json ./
COPY yarn.lock ./
RUN yarn install --frozen-lockfile --production && yarn cache clean RUN yarn install --frozen-lockfile --production && yarn cache clean
COPY ./tsconfig.json ./tsconfig.json COPY ./tsconfig.json ./tsconfig.json

10625
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,9 +10,9 @@
"node": ">=18.12.1" "node": ">=18.12.1"
}, },
"scripts": { "scripts": {
"build": "rm -f tsconfig.tsbuildinfo && npx tsc", "build": "rm -f tsconfig.tsbuildinfo && yarn tsc",
"start": "node --enable-source-maps dist/index.js", "start": "node --enable-source-maps dist/index.js",
"typecheck": "npx tsc" "typecheck": "yarn tsc"
}, },
"dependencies": { "dependencies": {
"@keyv/mongo": "^2.1.8", "@keyv/mongo": "^2.1.8",

3930
yarn.lock Normal file

File diff suppressed because it is too large Load Diff