mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 15:10:57 -05:00
chore: update references to yarn
This commit is contained in:
parent
373384712e
commit
69a7cdf7b3
4 changed files with 17 additions and 16 deletions
6
.github/actions/build/action.yml
vendored
6
.github/actions/build/action.yml
vendored
|
@ -20,7 +20,7 @@ runs:
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
cache: "yarn"
|
cache: "pnpm"
|
||||||
|
|
||||||
- name: Install Dependencies and Build
|
- name: Install Dependencies and Build
|
||||||
shell: bash -l {0}
|
shell: bash -l {0}
|
||||||
|
@ -29,5 +29,5 @@ runs:
|
||||||
BASE: ${{ inputs.base }}
|
BASE: ${{ inputs.base }}
|
||||||
run: |
|
run: |
|
||||||
cd "$BUILD_FOLDER"
|
cd "$BUILD_FOLDER"
|
||||||
yarn install
|
pnpm install
|
||||||
yarn build --base "$BASE"
|
pnpm build --base "$BASE"
|
||||||
|
|
|
@ -15,4 +15,4 @@ WORKDIR /usr/src/app
|
||||||
COPY --from=builder /usr/src/app .
|
COPY --from=builder /usr/src/app .
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
CMD [ "yarn", "start:inject" ]
|
CMD [ "pnpm", "start:inject" ]
|
||||||
|
|
23
README.md
23
README.md
|
@ -53,17 +53,18 @@ You can now access the client at http://local.revolt.chat:3000.
|
||||||
|
|
||||||
| Command | Description |
|
| Command | Description |
|
||||||
| --------------------------------------- | -------------------------------------------- |
|
| --------------------------------------- | -------------------------------------------- |
|
||||||
| `yarn pull` | Setup assets required for Revite. |
|
| `pnpm pull` | Setup assets required for Revite. |
|
||||||
| `yarn dev` | Start the Revolt client in development mode. |
|
| `pnpm dev` | Start the Revolt client in development mode. |
|
||||||
| `yarn build` | Build the Revolt client. |
|
| `pnpm build` | Build the Revolt client. |
|
||||||
| `yarn build:deps` | Build external dependencies. |
|
| `pnpm build:deps` | Build external dependencies. |
|
||||||
| `yarn preview` | Start a local server with the built client. |
|
| `pnpm build:all` | Build everything. |
|
||||||
| `yarn lint` | Run ESLint on the client. |
|
| `pnpm preview` | Start a local server with the built client. |
|
||||||
| `yarn fmt` | Run Prettier on the client. |
|
| `pnpm lint` | Run ESLint on the client. |
|
||||||
| `yarn typecheck` | Run TypeScript type checking on the client. |
|
| `pnpm fmt` | Run Prettier on the client. |
|
||||||
| `yarn start` | Start a local sirv server with built client. |
|
| `pnpm typecheck` | Run TypeScript type checking on the client. |
|
||||||
| `yarn start:inject` | Inject a given API URL and start server. |
|
| `pnpm start` | Start a local sirv server with built client. |
|
||||||
| `yarn lint \| egrep "no-literals" -B 1` | Scan for untranslated strings. |
|
| `pnpm start:inject` | Inject a given API URL and start server. |
|
||||||
|
| `pnpm lint \| egrep "no-literals" -B 1` | Scan for untranslated strings. |
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
@ -176,7 +176,7 @@ export function Native() {
|
||||||
</span>
|
</span>
|
||||||
</b>
|
</b>
|
||||||
<br />
|
<br />
|
||||||
<code>yarn dev --port 3001</code>
|
<code>pnpm dev --port 3001</code>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue