-
Notifications
You must be signed in to change notification settings - Fork 634
Fix .NET SDK prerequisites in CONTRIBUTING.md #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Mark 'just' as optional since commands can be run directly - Add Node.js and TypeScript as requirements for .NET SDK (needed for test harness) - Add npm install instructions for ./nodejs and ./test/harness directories - Update "Running tests and linters" section to clarify 'just' is optional Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
TypeScript and tsx are included as npm dependencies and don't need separate installation Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Changed from relative path (cd ../test/harness) to absolute path from repo root (cd test/harness) for consistency Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
Added "(from the repository root)" to npm install step for clarity Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
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.
Pull request overview
This PR updates the CONTRIBUTING.md documentation to correct prerequisites for the .NET SDK development. The changes clarify that just is optional and document the Node.js dependencies required by the .NET test suite.
Changes:
- Marks the
justcommand runner as optional throughout the document - Adds Node.js v18+ as a prerequisite for .NET SDK development
- Documents npm installation steps for
nodejsandtest/harnessdirectories
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| cd nodejs && npm ci | ||
| cd test/harness && npm ci |
Copilot
AI
Jan 22, 2026
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.
These commands won't work correctly when run sequentially. After the first command, you'll be in the nodejs directory, so the second cd test/harness will fail. Each command should either return to the repository root first, or use separate command blocks. Consider changing to:
cd nodejs && npm ci
cd ../test/harness && npm ci
or
(cd nodejs && npm ci)
(cd test/harness && npm ci)
| cd nodejs && npm ci | |
| cd test/harness && npm ci | |
| (cd nodejs && npm ci) | |
| (cd test/harness && npm ci) |
CONTRIBUTING.md incorrectly stated that
justis required and omitted Node.js dependencies needed by .NET tests.Changes
justas optional (it's a convenience wrapper around direct commands)./nodejsand./test/harnessdirectoriesThe .NET test suite depends on:
nodejs/node_modules/@github/copilot/(referenced inClientTests.cs,E2ETestContext.cs)test/harness/using tsx (started byCapiProxy.cs)Both are installed via
npm ciin their respective directories.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.