diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index d7dfcc4e..e83b8f65 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -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" diff --git a/Dockerfile b/Dockerfile index 63eff603..aabd2eb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,4 @@ WORKDIR /usr/src/app COPY --from=builder /usr/src/app . EXPOSE 5000 -CMD [ "yarn", "start:inject" ] +CMD [ "pnpm", "start:inject" ] diff --git a/README.md b/README.md index eb347c98..b5021d12 100644 --- a/README.md +++ b/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 diff --git a/src/pages/settings/panes/Native.tsx b/src/pages/settings/panes/Native.tsx index da02d777..3cd02139 100644 --- a/src/pages/settings/panes/Native.tsx +++ b/src/pages/settings/panes/Native.tsx @@ -176,7 +176,7 @@ export function Native() {
- yarn dev --port 3001 + pnpm dev --port 3001 } />