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
|
||||
with:
|
||||
node-version: 16
|
||||
cache: "yarn"
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Install Dependencies and Build
|
||||
shell: bash -l {0}
|
||||
|
@ -29,5 +29,5 @@ runs:
|
|||
BASE: ${{ inputs.base }}
|
||||
run: |
|
||||
cd "$BUILD_FOLDER"
|
||||
yarn install
|
||||
yarn build --base "$BASE"
|
||||
pnpm install
|
||||
pnpm build --base "$BASE"
|
||||
|
|
|
@ -15,4 +15,4 @@ WORKDIR /usr/src/app
|
|||
COPY --from=builder /usr/src/app .
|
||||
|
||||
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 |
|
||||
| --------------------------------------- | -------------------------------------------- |
|
||||
| `yarn pull` | Setup assets required for Revite. |
|
||||
| `yarn dev` | Start the Revolt client in development mode. |
|
||||
| `yarn build` | Build the Revolt client. |
|
||||
| `yarn build:deps` | Build external dependencies. |
|
||||
| `yarn preview` | Start a local server with the built client. |
|
||||
| `yarn lint` | Run ESLint on the client. |
|
||||
| `yarn fmt` | Run Prettier on the client. |
|
||||
| `yarn typecheck` | Run TypeScript type checking on the client. |
|
||||
| `yarn start` | Start a local sirv server with built client. |
|
||||
| `yarn start:inject` | Inject a given API URL and start server. |
|
||||
| `yarn lint \| egrep "no-literals" -B 1` | Scan for untranslated strings. |
|
||||
| `pnpm pull` | Setup assets required for Revite. |
|
||||
| `pnpm dev` | Start the Revolt client in development mode. |
|
||||
| `pnpm build` | Build the Revolt client. |
|
||||
| `pnpm build:deps` | Build external dependencies. |
|
||||
| `pnpm build:all` | Build everything. |
|
||||
| `pnpm preview` | Start a local server with the built client. |
|
||||
| `pnpm lint` | Run ESLint on the client. |
|
||||
| `pnpm fmt` | Run Prettier on the client. |
|
||||
| `pnpm typecheck` | Run TypeScript type checking on the client. |
|
||||
| `pnpm start` | Start a local sirv server with built client. |
|
||||
| `pnpm start:inject` | Inject a given API URL and start server. |
|
||||
| `pnpm lint \| egrep "no-literals" -B 1` | Scan for untranslated strings. |
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ export function Native() {
|
|||
</span>
|
||||
</b>
|
||||
<br />
|
||||
<code>yarn dev --port 3001</code>
|
||||
<code>pnpm dev --port 3001</code>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue