Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Record Demo

on:
workflow_dispatch:

jobs:
record-demo:
name: Record Demo
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
fetch-depth: 0
ref: ${{ github.ref_name }}

- name: Enable Corepack
run: corepack enable

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: 'pnpm'

- name: Install VHS dependencies
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg ttyd
curl -fsSL https://raw.githubusercontent.com/charmbracelet/vhs/main/install.sh | bash
sudo mv bin/vhs /usr/local/bin/vhs

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Record demo
run: pnpm demo:record

- name: Commit and push demo GIF
run: |
if git diff --quiet -- docs/demo/interactive-upgrade.gif; then
echo "No demo GIF changes to commit"
exit 0
fi

git config --local user.email "${{ secrets.GH_EMAIL }}"
git config --local user.name "${{ secrets.GH_USERNAME }}"
git add docs/demo/interactive-upgrade.gif
git commit -m "docs: update demo gif"
git push
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ Upgrade your dependencies interactively. Works with npm, yarn, pnpm, and bun.
npx inup
```

Scan deeper package layouts:

```bash
npx inup --max-depth 15
```

Or install globally:

```bash
Expand Down Expand Up @@ -59,6 +53,7 @@ inup [options]
-i, --ignore <packages> Ignore packages (comma-separated, glob supported)
--max-depth <number> Maximum scan depth for package discovery (default: 10)
--package-manager <name> Force package manager (npm, yarn, pnpm, bun)
--no-cache Bypass cached package metadata and fetch fresh registry data
--debug Write verbose debug logs
```

Expand Down
7 changes: 3 additions & 4 deletions docs/demo/demo-real.tape
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
Output docs/demo/interactive-upgrade.gif

Set Shell zsh
Set FontSize 14
Set Width 1280
Set Height 720
Set PlaybackSpeed 1.0
Set Width 1200
Set Height 600
Set FontSize 16
Set Padding 0


# Change to clean temp directory (hidden from view)
Hide
Type "cd /tmp/my-app"
Expand Down
Loading