Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T00:29:25.274Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

prettier

24 lines · 613 B · text
1#!/bin/bash
2set -euxo pipefail
3
4PRETTIER_VERSION=3.5.0
5
6if [[ "${1:-}" == "--write" ]]; then
7    MODE="--write"
8else
9    MODE="--check"
10fi
11
12pnpm dlx "prettier@${PRETTIER_VERSION}" assets/settings/default.json --parser=jsonc $MODE || {
13    echo "To fix, run from the root of the Zed repo:"
14    echo "  pnpm dlx prettier@${PRETTIER_VERSION} assets/settings/default.json --parser=jsonc --write"
15    false
16}
17
18cd docs
19pnpm dlx "prettier@${PRETTIER_VERSION}" . $MODE || {
20    echo "To fix, run from the root of the Zed repo:"
21    echo "  cd docs && pnpm dlx prettier@${PRETTIER_VERSION} . --write && cd .."
22    false
23}
24
Served at tenant.openagents/omega Member data and write actions are omitted.