Skip to content

Commit 446663e

Browse files
tablackburnclaude
andcommitted
docs: Reference requirements.psd1 instead of duplicating versions
The dependency table in the repository-specific instructions duplicated the pinned versions from requirements.psd1 and drifted whenever they changed. Replace the version column with each module's purpose and point to requirements.psd1 as the source of truth. Also drop the hardcoded module version and task-runner version numbers for the same reason. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JHgRWPi4D2aun7CEtwLz7T
1 parent b3a34c9 commit 446663e

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

instructions/repository-specific.instructions.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ file only adds repo-specific concepts.
1414
**PowerShellBuild** is a PowerShell module that provides standardized build, test, and publish
1515
tasks for other PowerShell module projects. It supports two task-runner frameworks:
1616

17-
- **psake** (4.9.0+)
18-
- **Invoke-Build** (5.8.1+)
17+
- **psake**
18+
- **Invoke-Build**
1919

20-
- Current version: **0.8.1** (see `PowerShellBuild/PowerShellBuild.psd1`)
20+
- Current version: see `ModuleVersion` in `PowerShellBuild/PowerShellBuild.psd1`
2121
- `PowerShellVersion` in the manifest is currently `'3.0'` — almost certainly wrong; under
2222
review in the v1.0.0 roadmap (psake/PowerShellBuild#120)
2323
- Cross-platform: Windows, Linux, macOS (CI matrix in `.github/workflows/test.yml`)
@@ -220,16 +220,17 @@ no-ops on non-Windows.
220220

221221
## Dependencies
222222

223-
Defined in `requirements.psd1`, installed via **PSDepend** when `./build.ps1 -Bootstrap` runs:
224-
225-
| Module | Version |
226-
| ---------------- | -------- |
227-
| BuildHelpers | 2.0.16 |
228-
| Pester | 5.8.0 |
229-
| psake | 4.9.0 |
230-
| PSScriptAnalyzer | 1.25.0 |
231-
| InvokeBuild | 5.8.1 |
232-
| platyPS | 0.14.2 |
223+
Defined in `requirements.psd1` — the source of truth for build-dependency names and pinned
224+
versions — and installed via **PSDepend** when `./build.ps1 -Bootstrap` runs:
225+
226+
| Module | Purpose |
227+
| ---------------- | ---------------------------------------------------------- |
228+
| BuildHelpers | Populates the `BH*` build environment variables |
229+
| Pester | Test framework |
230+
| psake | Task runner for this repo's own build |
231+
| PSScriptAnalyzer | Static analysis of the built module |
232+
| InvokeBuild | Alternate task runner (consumer-facing `IB.tasks.ps1`) |
233+
| platyPS | Help and documentation generation |
233234

234235
## Testing
235236

0 commit comments

Comments
 (0)