mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
Addressing feedback
This commit is contained in:
@@ -12,7 +12,7 @@ This folder hosts short, practical recipes for using the GitHub Copilot SDK with
|
||||
|
||||
## Contributing
|
||||
|
||||
Add a new recipe by creating a markdown file in this folder and linking it above. Follow repository guidance in [CONTRIBUTING.md](../../CONTRIBUTING.md).
|
||||
Add a new recipe by creating a markdown file in this folder and linking it above. Follow repository guidance in [CONTRIBUTING.md](../../../CONTRIBUTING.md).
|
||||
|
||||
## Status
|
||||
|
||||
|
||||
@@ -29,13 +29,13 @@ npm install -D typescript tsx @types/node
|
||||
|
||||
```bash
|
||||
# Auto-detect from current git repo
|
||||
npx tsx pr-breakdown.ts
|
||||
npx tsx pr-visualization.ts
|
||||
|
||||
# Specify a repo explicitly
|
||||
npx tsx pr-breakdown.ts --repo github/copilot-sdk
|
||||
npx tsx pr-visualization.ts --repo github/copilot-sdk
|
||||
```
|
||||
|
||||
## Full example: pr-breakdown.ts
|
||||
## Full example: pr-visualization.ts
|
||||
|
||||
```typescript
|
||||
#!/usr/bin/env npx tsx
|
||||
|
||||
@@ -54,7 +54,7 @@ npx tsx managing-local-files.ts
|
||||
|
||||
## Local SDK Development
|
||||
|
||||
The `package.json` references the local Copilot SDK using `"file:../../.."`. This means:
|
||||
The `package.json` references the local Copilot SDK using `"*"`, which resolves to the local SDK source. This means:
|
||||
|
||||
- Changes to the SDK source are immediately available
|
||||
- No need to publish or install from npm
|
||||
@@ -63,7 +63,7 @@ The `package.json` references the local Copilot SDK using `"file:../../.."`. Thi
|
||||
If you modify the SDK source, you may need to rebuild:
|
||||
|
||||
```bash
|
||||
cd ../../..
|
||||
cd ../../src
|
||||
npm run build
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user