switch to pnpm

This commit is contained in:
Lee 2023-11-08 06:45:46 +00:00
parent 3f605dc15f
commit b9dedbc603
5 changed files with 1202 additions and 1807 deletions

4
.gitignore vendored

@ -144,3 +144,7 @@ dist
# Built Visual Studio Code Extensions # Built Visual Studio Code Extensions
*.vsix *.vsix
# lock files
package-lock.json
yarn.lock

@ -1,9 +1,10 @@
FROM node:alpine FROM fascinated/docker-images:node-pnpm-latest
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY package*.json ./ COPY package.json pnpm-lock.yaml ./
RUN npm install RUN pnpm install
COPY . . COPY . .
RUN npx tsc -b RUN pnpm run build
ENV PORT=80 ENV PORT=80
EXPOSE 80 EXPOSE 80
CMD [ "npm", "start" ] CMD [ "pnpm", "start" ]

1802
package-lock.json generated

File diff suppressed because it is too large Load Diff

1192
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff