Commit db83999
authored
𩹠[Patch]: Name the helper module after the action (Resolve-PSModuleVersion.Helpers) (#8)
Aligns the helper module with the action helper-module naming standard:
name it after the action (`Resolve-PSModuleVersion.Helpers`) instead of
a generic name.
PR #4 introduced the interim name `ResolveVersion` to fix the `Helpers`
collision; this brings it to the ecosystem-wide convention
(`<Action>.Helpers`) now that the standard is in place.
## Changes
- `scripts/ResolveVersion.psm1` ā
`scripts/Resolve-PSModuleVersion.Helpers.psm1`
- `tests/ResolveVersion.Tests.ps1` ā
`tests/Resolve-PSModuleVersion.Helpers.Tests.ps1`
- `tests/ResolveVersion.Tests.Data.psd1` ā
`tests/Resolve-PSModuleVersion.Helpers.Tests.Data.psd1`
- Updated the entry-script import (`scripts/main.ps1`), the test module
import, the test data-file path, and the two `Mock -ModuleName`
references. Kept the framework `Import-Module -Name 'Helpers'`.
No runtime logic changed (100% file rename + reference updates).
## Validation
Tests pass 131/131 under a simulated `Helpers` name collision (a second
module named `Helpers` loaded before Invoke-Pester). PSScriptAnalyzer
clean apart from the pre-existing `PSAvoidUsingWriteHost` warnings
(unchanged module body).
Part of PSModule/Process-PSModule#364. Standard: the "Name helper
modules after the action" rule in the GitHub Actions coding standard
(MSXOrg/docs#24).1 parent d53326c commit db83999
4 files changed
Lines changed: 5 additions & 5 deletions
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
File renamed without changes.
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
0 commit comments