format.mjs 253 B

12345678
  1. #!/usr/bin/env zx
  2. import 'zx/globals';
  3. import { cliArguments, workingDirectory } from '../utils.mjs';
  4. // Format the client using Prettier.
  5. cd(path.join(workingDirectory, 'clients', 'js'));
  6. await $`pnpm install`;
  7. await $`pnpm format ${cliArguments()}`;