Skip to content

docs: run Vite+ through pnpm exec - #90

Merged
altaywtf merged 1 commit into
mainfrom
fix/vp-invocation-docs
Oct 4, 2026
Merged

altaywtf merged 1 commit into
mainfrom
fix/vp-invocation-docs

Conversation

@altaywtf

@altaywtf altaywtf commented Oct 4, 2026

Copy link
Copy Markdown
Member

Summary

The contributor and agent guides now work from a fresh checkout without a global Vite+ install. vp is the pinned vite-plus devDependency, so bare vp install failed with command not found.

Changed

  • Setup runs pnpm install; every local command is pnpm exec vp run <script>.
  • Live examples call node dist/rokit.mjs instead of vp exec rokit, which failed even with vp available: rokit's own bin is not linked into node_modules/.bin.
  • CI descriptions still say vp run verify; CI installs vp with setup-vp.

Risks

None beyond docs. Live Roku commands were not run.

Verification

  • Fresh worktree without global vp: bare vp install exits 127; pnpm install then pnpm exec vp run verify passes (165 tests).
  • pnpm exec vp run check, typecheck, smoke, test and skills:lint pass.
  • node dist/rokit.mjs --dry-run press Info Back exits 0; pnpm exec vp exec rokit ... exits 1 with Command 'rokit' not found in node_modules/.bin.

Written by an agent (Claude Code, Opus 5.5)

vp is the pinned vite-plus devDependency, not a global install, so a fresh checkout has no vp on PATH. Setup now runs pnpm install, and the guides call pnpm exec vp. The live examples call node dist/rokit.mjs, since rokit's own bin is not linked into node_modules/.bin.
Copilot AI balanced review requested due to automatic review settings October 4, 2026 07:20
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-04T07:21:26.400537Z a7e946d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

It is a low-risk, docs-only change whose updated commands were verified consistent with package.json bin/scripts and with the rest of the repository's documentation.

Review effort: Balanced
Findings: None

What changed in this PR

This PR updates the contributor (CONTRIBUTING.md) and agent (AGENTS.md) guides so the documented commands work from a fresh checkout without a global Vite+ install. Previously, bare vp install failed with command not found because vp is only the pinned vite-plus devDependency, and vp exec rokit failed because the package's own rokit bin is not self-linked into node_modules/.bin within the dev repo. The changes align the docs with the actual conventions already used by package.json scripts.

Changes:

  • Setup now uses pnpm install, and every local script invocation is prefixed with pnpm exec vp run <script>.
  • Live Roku example commands use node dist/rokit.mjs ... (matching bin.rokit and the package scripts) instead of vp exec rokit ..., with a clarifying note that live:smoke builds this CLI.
File Description
CONTRIBUTING.md Switches setup/validation/live-check commands to pnpm install, pnpm exec vp run ..., and node dist/rokit.mjs
AGENTS.md Updates the Checks and live-command sections to pnpm exec vp/node dist/rokit.mjs and adds a note clarifying Vite+ invocation and that live:smoke builds the CLI

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@altaywtf
altaywtf merged commit 3c60d16 into main Oct 4, 2026
@altaywtf
altaywtf deleted the fix/vp-invocation-docs branch October 4, 2026 07:22
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