Skip to content

Commit 6766d86

Browse files
committed
docs: add local packaging instructions to DEVELOPMENT.md
1 parent 19a3389 commit 6766d86

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

DEVELOPMENT.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,21 @@ Tests use [Vitest](https://vitest.dev/) and mock `fetch` globally — no network
5555
- **Auth**: VS Code `authentication.getSession('github', ...)` — uses the user's existing GitHub session; cancellation handled gracefully via inner try/catch
5656
- **Auto-refresh**: Configurable interval (1–60 min, default 5 min) via `githubCopilotUsage.refreshIntervalMinutes`
5757
- **Status bar position**: Priority `100.099999` — places the indicator just to the right of the Copilot icon (`chat.statusBarEntry` at `100.1`)
58+
59+
## Local Packaging
60+
61+
To build a `.vsix` file for local installation:
62+
63+
```bash
64+
npx @vscode/vsce package --no-dependencies
65+
```
66+
67+
This generates `github-copilot-usage-<version>.vsix` in the project root.
68+
69+
To install it locally in VS Code:
70+
71+
```bash
72+
code --install-extension github-copilot-usage-<version>.vsix
73+
```
74+
75+
Or in VS Code: **Extensions****···** (top-right) → **Install from VSIX…**

0 commit comments

Comments
 (0)