docs(agents): update root commands from npm to pnpm - #4
Merged
Conversation
PR #2 converted CI to pnpm (packageManager: pnpm@9.15.0, pnpm install --frozen-lockfile, pnpm run api in workflows) but AGENTS.md still documented the root scripts as npm run lint/frontend:typecheck/sqlc/api. Update the Commands and API-contract sections to pnpm and note the split: the root is a pnpm workspace while frontend/ deliberately stays npm-managed (npm ci in its workflows, not in pnpm-workspace.yaml), so the frontend-specific npm commands are unchanged. Also drop the stale npx openapi-typescript@7.4.4 wording — api:ts now runs the local openapi-typescript dependency. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Test Coverage ReportNo TypeScript source files changed in this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR #2 converted CI to pnpm, but AGENTS.md still documented the root scripts as
npm run lint / frontend:typecheck / sqlc / api. This updates the docs to match reality:pnpm run ...(matchingpackageManager: pnpm@9.15.0and CI'spnpm install --frozen-lockfile/pnpm run api).npm run sqlcin the hard-rules list is updated too.frontend/is deliberately not inpnpm-workspace.yamland remains npm-managed (npm ciin its workflows) — so the frontend-specificnpm run typecheck/npm run buildcommands are intentionally unchanged.api:tscomment no longer claimsnpx openapi-typescript@7.4.4; the script now runs the localopenapi-typescriptdependency.Intentional omissions
npx @redwoodjs/agent-ci run --allis a one-off npx invocation, not a root script, so it is left as-is.Test
Docs-only; commands verified against
package.jsonscripts and.github/workflows/*.yml.🤖 Generated with Claude Code