mirror of
https://github.com/matrixgpt/matrix-chatgpt-bot.git
synced 2024-10-01 01:25:41 -04:00
cleanup: consistent use of yarn instead of npm
This commit is contained in:
parent
69c3560735
commit
f0bc13c5df
@ -2,7 +2,8 @@ FROM node:19-slim
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json ./
|
||||
COPY package.json ./
|
||||
COPY yarn.lock ./
|
||||
RUN yarn install --frozen-lockfile --production && yarn cache clean
|
||||
|
||||
COPY ./tsconfig.json ./tsconfig.json
|
||||
|
10625
package-lock.json
generated
10625
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,9 +10,9 @@
|
||||
"node": ">=18.12.1"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rm -f tsconfig.tsbuildinfo && npx tsc",
|
||||
"build": "rm -f tsconfig.tsbuildinfo && yarn tsc",
|
||||
"start": "node --enable-source-maps dist/index.js",
|
||||
"typecheck": "npx tsc"
|
||||
"typecheck": "yarn tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@keyv/mongo": "^2.1.8",
|
||||
|
Loading…
Reference in New Issue
Block a user