Skip to content

Commit e8137a4

Browse files
committed
feat: yarn -> pnpm
1 parent 026dd76 commit e8137a4

File tree

7 files changed

+8022
-7139
lines changed

7 files changed

+8022
-7139
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
FROM node:lts-alpine as base
22

33
WORKDIR /app
4-
COPY package*.json yarn.lock ./
5-
RUN yarn
4+
COPY package*.json pnpm-lock.yaml ./
5+
RUN pnpm i
66

77
COPY . .
88

9-
RUN yarn prisma generate
10-
RUN yarn build
9+
RUN pnpm prisma generate
10+
RUN pnpm build
1111

1212
FROM node:lts-alpine as production
1313
WORKDIR /app
@@ -30,4 +30,4 @@ ENV NODE_ENV=production \
3030
EMAIL_PASSWORD="" \
3131
EMAIL_FROM=""
3232

33-
CMD ["yarn", "start"]
33+
CMD ["pnpm", "start"]

README.JA.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ https://github.com/users/okisdev/projects/7 をご参照ください
8686
git clone https://github.com/okisdev/ChatChat.git
8787
cd ChatChat
8888
cp .env.example .env
89-
yarn
90-
yarn dev
89+
pnpm i
90+
pnpm dev
9191
```
9292

9393
#### Vercel

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ Please refer to https://github.com/users/okisdev/projects/7
8686
git clone https://github.com/okisdev/ChatChat.git
8787
cd ChatChat
8888
cp .env.example .env
89-
yarn
90-
yarn dev
89+
pnpm i
90+
pnpm dev
9191
```
9292

9393
#### Vercel

README.zh_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ https://user-images.githubusercontent.com/66008528/235539163-35f7ee91-e357-453a-
8787
git clone https://github.com/okisdev/ChatChat.git
8888
cd ChatChat
8989
cp .env.example .env
90-
yarn
91-
yarn dev
90+
pnpm i
91+
pnpm dev
9292
```
9393

9494
#### Vercel

README.zh_HK.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ https://user-images.githubusercontent.com/66008528/235539163-35f7ee91-e357-453a-
8686
git clone https://github.com/okisdev/ChatChat.git
8787
cd ChatChat
8888
cp .env.example .env
89-
yarn
90-
yarn dev
89+
pnpm i
90+
pnpm dev
9191
```
9292

9393
#### Vercel

0 commit comments

Comments
 (0)