You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚜 [refactor] Rename Build-ColorScriptCache → New-ColorScriptCache, add Update-ColorScriptCache alias and propagate changes
- ✨ [feat] Introduce New-ColorScriptCache as the public cmdlet (rename of Build-ColorScriptCache) and register alias Update-ColorScriptCache; bump module manifest version/date and export aliases.
- 🚜 [refactor] Replace Build-ColorScriptCache references across the codebase (ColorScripts-Enhanced.psm1/psd1, scripts/, tests/, build tooling, generated help, README and docs/), adding New-ColorScriptCache usages and help pages.
- 🛠️ [fix] Add ConvertFrom-JsonToHashtable helper for PowerShell 5.1 compatibility and switch JSON cache parsing to use it; normalize Set-Content invocation when writing JSON caches.
- 🧪 [test] Update Pester tests to assert New-ColorScriptCache export and behavior; adapt test calls and expectations accordingly.
- 🧹 [chore] Add .coverage tooling and documentation (.coverage/README.md, .gitignore, DebugCoverageTests.ps1, ShowCoverageSummary.ps1, metadata-cache-test.ps1), add context7.json, and adjust repo config (.gitignore, .mega-linter.yml) and generated dist/release notes.
- 📝 [docs] Add en-US New-ColorScriptCache help file, update help XML and all docs/examples to reference the new command name.
- 🎨 [style] Minor content fixes (http→https in assets, "TODO List" → "Improvements List") and refresh generated HelpInfo UICultureVersion.
Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>
Copy file name to clipboardExpand all lines: ColorScripts-Enhanced/ColorScripts-Enhanced.psd1
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@
3
3
#
4
4
# Generated by: Nick2bad4u
5
5
#
6
-
# Generated on: 10/29/2025
6
+
# Generated on: 10/30/2025
7
7
#
8
8
9
9
@{
10
10
# Script module or binary module file associated with this manifest.
11
11
RootModule='ColorScripts-Enhanced.psm1'
12
12
13
13
# Version number of this module.
14
-
ModuleVersion='2025.10.29.2019'
14
+
ModuleVersion='2025.10.30.0107'
15
15
16
16
# Supported PSEditions
17
17
CompatiblePSEditions=@('Desktop','Core')
@@ -87,7 +87,7 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
87
87
FunctionsToExport=@(
88
88
'Show-ColorScript'
89
89
'Get-ColorScriptList'
90
-
'Build-ColorScriptCache'
90
+
'New-ColorScriptCache'
91
91
'Clear-ColorScriptCache'
92
92
'Add-ColorScriptProfile'
93
93
'Get-ColorScriptConfiguration'
@@ -104,7 +104,7 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
104
104
VariablesToExport=@()
105
105
106
106
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
Write-Verbose"Saved metadata to JSON cache for faster future loads"
1650
1708
}
1651
1709
catch {
@@ -2516,9 +2574,10 @@ Limit the selection to scripts that belong to the specified category (case-insen
2516
2574
.PARAMETERTag
2517
2575
Limit the selection to scripts containing the specified metadata tags (case-insensitive). Multiple values are treated as an OR filter.
2518
2576
#>
2519
-
functionBuild-ColorScriptCache {
2577
+
functionNew-ColorScriptCache {
2520
2578
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseOutputTypeCorrectly','', Justification ='Returns structured pipeline records for each cache operation.')]
0 commit comments