Skip to content

Commit a0b8ff3

Browse files
committed
🧹 [chore] Bump module/help version to 2025.10.29.2007
- Update ModuleVersion and ReleaseNotes header in ColorScripts-Enhanced/ColorScripts-Enhanced.psd1 (1954 → 2007) - Update UICultureVersion in en-US ColorScripts-Enhanced_*_HelpInfo.xml to 2025.10.29.2007 🧪 [test] Relax platform guard on PS <= 5 test skips - Remove " -and $IsWindows" from It -Skip conditions so tests skip solely on PowerShell versions <= 5 - Affected files: Tests/ColorScripts-Enhanced.AdditionalCoverage.Tests.ps1, ColorScripts-Enhanced.CoverageCompletion.Tests.ps1, ColorScripts-Enhanced.CoverageExpansion.Tests.ps1, ColorScripts-Enhanced.CoverageFinalization.Tests.ps1 - Purpose: allow tests to run on Windows under PowerShell Core while still skipping legacy PowerShell 5.x 👷 [ci] Remove emojis from codecov component names - Replace emoji-prefixed names with plain text in codecov.yml (Core Module, Test Suite, Utility Scripts, Configuration & Build) - Purpose: avoid potential YAML/CI parsing or display issues caused by emoji characters Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>
1 parent edc34b1 commit a0b8ff3

7 files changed

Lines changed: 14 additions & 14 deletions

ColorScripts-Enhanced/ColorScripts-Enhanced.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'ColorScripts-Enhanced.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '2025.10.29.1954'
14+
ModuleVersion = '2025.10.29.2007'
1515

1616
# Supported PSEditions
1717
CompatiblePSEditions = @('Desktop', 'Core')
@@ -172,7 +172,7 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
172172

173173
# ReleaseNotes of this module
174174
ReleaseNotes = @'
175-
Version 2025.10.29.1954:
175+
Version 2025.10.29.2007:
176176
- Enhanced caching system with OS-wide cache in AppData
177177
- 6-19x performance improvement
178178
- Cache stored in centralized location

ColorScripts-Enhanced/en-US/ColorScripts-Enhanced_f77548d7-23eb-48ce-a6e0-f64b4758d995_HelpInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<SupportedUICultures>
55
<UICulture>
66
<UICultureName>en-US</UICultureName>
7-
<UICultureVersion>2025.10.29.1954</UICultureVersion>
7+
<UICultureVersion>2025.10.29.2007</UICultureVersion>
88
</UICulture>
99
</SupportedUICultures>
1010
</HelpInfo>

Tests/ColorScripts-Enhanced.AdditionalCoverage.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2241,7 +2241,7 @@ namespace CoverageHost
22412241
($capturedVerbose | Where-Object { $_ -like 'Ignoring COLOR_SCRIPTS_ENHANCED_CACHE_PATH override*' }) | Should -Not -BeNullOrEmpty
22422242
}
22432243

2244-
It "uses macOS cache locations when applicable" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
2244+
It "uses macOS cache locations when applicable" -Skip:($PSVersionTable.PSVersion.Major -le 5) {
22452245
$testRoot = (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath
22462246
$homePath = Join-Path -Path $testRoot -ChildPath ([guid]::NewGuid().ToString())
22472247
New-Item -ItemType Directory -Path $homePath -Force | Out-Null
@@ -2283,7 +2283,7 @@ namespace CoverageHost
22832283
}
22842284
}
22852285

2286-
It "uses XDG cache home on non-windows platforms" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
2286+
It "uses XDG cache home on non-windows platforms" -Skip:($PSVersionTable.PSVersion.Major -le 5) {
22872287
$testRoot = (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath
22882288
$xdgPath = Join-Path -Path $testRoot -ChildPath ([guid]::NewGuid().ToString())
22892289
New-Item -ItemType Directory -Path $xdgPath -Force | Out-Null

Tests/ColorScripts-Enhanced.CoverageCompletion.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Describe "ColorScripts-Enhanced coverage completion" {
5656
}
5757

5858
Context "Configuration root platform coverage" {
59-
It "selects macOS application support location" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
59+
It "selects macOS application support location" -Skip:($PSVersionTable.PSVersion.Major -le 5) {
6060
$testHome = Join-Path -Path (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath -ChildPath ([guid]::NewGuid().ToString())
6161
New-Item -ItemType Directory -Path $testHome -Force | Out-Null
6262

@@ -109,7 +109,7 @@ Describe "ColorScripts-Enhanced coverage completion" {
109109
}
110110
}
111111

112-
It "uses XDG config location when available" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
112+
It "uses XDG config location when available" -Skip:($PSVersionTable.PSVersion.Major -le 5) {
113113
$testHome = Join-Path -Path (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath -ChildPath ([guid]::NewGuid().ToString())
114114
$xdgRoot = Join-Path -Path $testHome -ChildPath '.config'
115115
New-Item -ItemType Directory -Path $xdgRoot -Force | Out-Null

Tests/ColorScripts-Enhanced.CoverageExpansion.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ Describe "ColorScripts-Enhanced extended coverage" {
11831183
}
11841184
}
11851185
1186-
It "skips unresolved candidate paths" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
1186+
It "skips unresolved candidate paths" -Skip:($PSVersionTable.PSVersion.Major -le 5) {
11871187
Mock -CommandName Write-Verbose -ModuleName ColorScripts-Enhanced -MockWith { param($Message) }
11881188
11891189
InModuleScope ColorScripts-Enhanced {

Tests/ColorScripts-Enhanced.CoverageFinalization.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
}
8888

8989
Context "Configuration root selection" {
90-
It "selects macOS application support directory" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
90+
It "selects macOS application support directory" -Skip:($PSVersionTable.PSVersion.Major -le 5) {
9191
$homePath = Join-Path -Path (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath -ChildPath ([guid]::NewGuid().ToString())
9292
New-Item -ItemType Directory -Path $homePath -Force | Out-Null
9393

@@ -147,7 +147,7 @@
147147
$result.Result | Should -Be $result.Expected
148148
}
149149

150-
It "uses XDG config path when defined" -Skip:($PSVersionTable.PSVersion.Major -le 5 -and $IsWindows) {
150+
It "uses XDG config path when defined" -Skip:($PSVersionTable.PSVersion.Major -le 5) {
151151
$homePath = Join-Path -Path (Resolve-Path -LiteralPath 'TestDrive:\').ProviderPath -ChildPath ([guid]::NewGuid().ToString())
152152
$xdgPath = Join-Path -Path $homePath -ChildPath '.config'
153153
New-Item -ItemType Directory -Path $xdgPath -Force | Out-Null

codecov.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ component_management:
3535
individual_components:
3636
# === CORE MODULE (Highest Coverage Requirements) ===
3737
- component_id: core_module
38-
name: "🧩 Core Module"
38+
name: "Core Module"
3939
paths:
4040
- ColorScripts-Enhanced/**
4141
statuses:
@@ -47,7 +47,7 @@ component_management:
4747
type: patch
4848
# === TEST SUITE (High Coverage - Test Code) ===
4949
- component_id: test_suite
50-
name: "🧪 Test Suite"
50+
name: "Test Suite"
5151
paths:
5252
- Tests/**
5353
statuses:
@@ -59,7 +59,7 @@ component_management:
5959
type: patch
6060
# === UTILITY SCRIPTS (Medium Coverage) ===
6161
- component_id: utility_scripts
62-
name: "🔧 Utility Scripts"
62+
name: "Utility Scripts"
6363
paths:
6464
- scripts/**
6565
statuses:
@@ -71,7 +71,7 @@ component_management:
7171
type: patch
7272
# === CONFIGURATION AND BUILD (Lower Coverage) ===
7373
- component_id: configuration
74-
name: "⚙️ Configuration & Build"
74+
name: "Configuration & Build"
7575
paths:
7676
- package.json
7777
- *.yml

0 commit comments

Comments
 (0)