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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm or pnpm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@codex should this be pnpm or npm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm is correct for that line.
The commands intentionally use two package managers because they target two separate packages:
sdk/typescriptdeclares pnpm 11.9.0 as its package manager, so its install and build commands should use pnpm. sdk/typescript/package.jsonL15-L18 sdk/typescript/README.mdL951-L959plugins/codex-security/mcp-apphas an npmpackage-lock.jsonwith lockfile version 3, sonpm ci --prefix ../../plugins/codex-security/mcp-appinstalls that package’s locked dependencies correctly. plugins/codex-security/mcp-app/package-lock.jsonL1-L10So the current documentation should remain:
No repository change was necessary, so I did not create a commit or follow-up PR.
Checks
find plugins/codex-security/mcp-app -maxdepth 2 \( -name package.json -o -name 'package-lock.json' -o -name 'pnpm-lock.yaml' \) -printnode -e "for (const p of ['sdk/typescript/package.json','plugins/codex-security/mcp-app/package.json']) {const j=require('./'+p); console.log(p, {packageManager:j.packageManager, scripts:j.scripts})}"git status --short --branch(working tree clean)View task →
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@codex what if the user only uses pnpm and not npm though? How does it make sense to mix package managers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary
282b713(docs: clarify source build package managers) and prepared a follow-up PR titled “docs: clarify source build package managers.”Testing
pnpm exec prettier --check README.mdgit diff --checkgit status --short --branch(clean working tree after commit)View task →