diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0c0e105..ce3ab6c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: cache: pnpm - name: Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile --config.auto-install-peers=true - name: Build dist run: pnpm run build:dist diff --git a/.gitea/workflows/publish-npm.yml b/.gitea/workflows/publish-npm.yml index 45063fb..a4fac02 100644 --- a/.gitea/workflows/publish-npm.yml +++ b/.gitea/workflows/publish-npm.yml @@ -28,7 +28,7 @@ jobs: cache: pnpm - name: Install dependencies - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile --config.auto-install-peers=true - name: Build package run: pnpm run build:dist diff --git a/README.md b/README.md index 9bac043..35c4dc5 100644 --- a/README.md +++ b/README.md @@ -4,27 +4,20 @@ ## Disclaimer -This project uses X/Twitter’s **undocumented** web GraphQL API through twitter safe relay. X can change endpoints, -query IDs, and anti-bot behavior at any time — **expect this to break without notice**. +This project uses X/Twitter’s [**documented**](https://github.com/fa0311/TwitterInternalAPIDocument) internal web +GraphQL API through twitter safe relay. X can change endpoints, query IDs, and anti-bot behavior at any time — +**expect this to break without notice**. ## Install -```bash -npm install -g @yuta/bird -# or -pnpm add -g @yuta/bird -# or -bun add -g @yuta/bird - -# one-shot (no install) -bunx @yuta/bird whoami -``` - Gitea Packages: ```bash npm config set @yuta:registry=https://git.yutakobayashi.com/api/packages/yuta/npm/ npm install -g @yuta/bird + +# one-shot (no install) +npx -y @yuta/bird whoami ``` Nix flakes: diff --git a/docs/index.html b/docs/index.html index 300c8ca..7a81262 100644 --- a/docs/index.html +++ b/docs/index.html @@ -197,10 +197,11 @@ bun add -g @yuta/bird