Skip to content

Update CLI commands to use pnpx envio@2 instead of pnpx envio#905

Open
DZakh wants to merge 16 commits intoclaude/investigate-doc-versioning-66hsGfrom
claude/update-hyperindex-docs-CoJrb
Open

Update CLI commands to use pnpx envio@2 instead of pnpx envio#905
DZakh wants to merge 16 commits intoclaude/investigate-doc-versioning-66hsGfrom
claude/update-hyperindex-docs-CoJrb

Conversation

@DZakh
Copy link
Copy Markdown
Member

@DZakh DZakh commented May 5, 2026

Summary

Updated all documentation references to use the versioned CLI command pnpx envio@2 instead of the unversioned pnpx envio command across multiple guide and tutorial files.

Key Changes

  • Updated all CLI initialization commands from pnpx envio init to pnpx envio@2 init across 14 documentation files
  • Updated command descriptions and explanations to reference the versioned command
  • Affected documentation includes:
    • CLI commands guide
    • Migration guides (from Graph Protocol, Alchemy, Ponder, and with AI)
    • Getting started guide
    • Contract import guide
    • Multiple tutorials (ERC20, Fuel, OP Bridge, Greeter, Price Data)
    • Guides for contract state, IPFS, running locally, and testing
    • Quickstart with AI guide

Implementation Details

This is a documentation-only change that ensures users follow the correct versioned CLI command. The @2 version specifier ensures users get the intended major version of the Envio CLI tool when running initialization commands.

https://claude.ai/code/session_012Ne15Kf1TbyFLQfUhhmmDD

Update all envio init command invocations across the HyperIndex V2 docs
to use pnpx envio@2 init so users on the v2 docs install the v2 CLI
explicitly instead of picking up newer majors by default.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
envio-docs Ready Ready Preview, Comment May 6, 2026 2:47pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 5, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4b4885eb-e08d-4d6b-b217-e0fe8a515133

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/update-hyperindex-docs-CoJrb

Comment @coderabbitai help to get the list of available commands and usage tips.

The header dropdown label was hardcoded to 'v3', so visiting v2 docs still
showed 'v3' in the navbar. Swizzle NavbarItem/ComponentTypes to register a
custom-versionDropdown that reads the current pathname and renders the
underlying DropdownNavbarItem with 'v2' or 'v3' accordingly.
…g-66hsG' into claude/update-hyperindex-docs-CoJrb

# Conflicts:
#	docusaurus.config.js
#	src/theme/NavbarItem/ComponentTypes.js
Update all envio init command invocations across the HyperIndex V3 docs
to use pnpx envio@3.0.0-rc.0 init so users on the v3 docs install the v3
release candidate explicitly instead of picking up whatever's published
as latest.
claude added 4 commits May 6, 2026 12:41
Place it after the Feature Roadmap section in the V3 overview and reword
to reflect that an API token is now required (no longer 'soon'). Point
users at the Envio Cloud portal to generate a token.
Replace the previous roadmap items with isolated multichain mode,
polished Solana support, and indexing 1,000,000+ events per second.
claude added 4 commits May 6, 2026 12:48
Drop the 'rate limits for requests without API tokens' phrasing since
unauthenticated requests aren't possible. State that an API token is
required for all requests.
Update prerequisite lists across the V3 quickstart, getting-started, and
tutorials so they no longer require pnpm v8+. pnpm is now recommended
but other package managers are supported.
pnpm is no longer a hard requirement, so the 'requires pnpm v8 or newer'
troubleshooting entry is obsolete.
- Move Prerequisites and the third 'Getting Started Guide' video into
  the Quickstart page (docs/HyperIndex/contract-import.md), and add a
  small 'Other ways to start' callout pointing at templates and examples.
- Rename the page slug from /contract-import to /quickstart so the URL
  matches its sidebar label (the file id is unchanged so all relative
  ./contract-import links still resolve).
- Delete docs/HyperIndex/getting-started.md and drop it from the
  HyperIndex sidebar.
- Repoint inbound prose links (quickstart-with-ai, migrate-from-alchemy,
  migrate-from-ponder, migration-guide, two Examples) at the Quickstart.
- Rewrite every absolute /docs/HyperIndex/contract-import URL across V3
  docs (overview + supported-networks + tutorials) to /docs/HyperIndex/
  quickstart.
- Add client redirects from /docs/HyperIndex/getting-started and
  /docs/HyperIndex/contract-import to the new Quickstart slug, and
  repoint the existing /docs/getting-started and /docs/hyperindex-basics
  redirects.
- Drop the stale Getting Started entry from the LLM context block.
The slug rename to /quickstart left a few stragglers that broke the
docusaurus build:

- docusaurus.config.js redirect /docs/contract-import still pointed at
  the now-removed /docs/HyperIndex/contract-import target.
- scripts/update-endpoints.js auto-generates supported-networks pages
  from a template that hardcoded /docs/HyperIndex/contract-import.
- quickstart-with-ai.md still relatively linked ./contract-import.
- common-issues.md TOC referenced #using-the-correct-version-of-pnpm,
  whose section was removed earlier.

Verified locally with yarn build (exit 0).
V3 introduced an auto-discovered src/handlers directory (see
migrate-to-v3.md) that replaces the explicit src/EventHandlers.<ext>
file path. This commit reflects that rename across:

- All HyperIndex V3 prose, code blocks, and config snippets.
- The supported-networks template in scripts/update-endpoints.js, so
  newly generated network pages use src/handlers.
V3 auto-discovers handler files under src/handlers, so the explicit
handler: src/handlers field in config.yaml examples is no longer
needed. Stripped from all V3 config snippets across docs/HyperIndex/
and from the supported-networks template in update-endpoints.js.

Also tightened the dynamic-contracts.md prose to point at
src/handlers/<ContractName>.ts (the per-contract file) instead of the
ambiguous bare directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants