Skip to content

Prepare PSModuleUtils 2.0.0 - #15

Merged
thisjustin816 merged 3 commits into
mainfrom
feature/psmoduleutils-2.0.0
Jul 22, 2026
Merged

thisjustin816 merged 3 commits into
mainfrom
feature/psmoduleutils-2.0.0

Conversation

@thisjustin816

@thisjustin816 thisjustin816 commented Jul 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • move module assembly to ModuleBuilder with canonical Public, Private, and Settings directories
  • use a source manifest template and add manifest scaffolding, Git metadata, remote normalization, and analyzer settings export
  • move tests out of source, expand analyzer compatibility settings, and isolate the temporary casing workaround
  • constrain required modules to compatible major versions while leaving PSResourceGet minimum-only

Move module assembly to ModuleBuilder and make the manifest the source of package metadata.

- separate Public, Private, Settings, and tests for predictable module builds
- add manifest scaffolding, git metadata, analyzer export, and remote normalization
- expand analyzer settings and isolate the temporary casing workaround
Comment thread src/Private/Get-PSModuleGitMetadata.ps1 Fixed
Comment thread src/Public/Build-PSModule.ps1 Fixed
Comment thread src/Public/Export-PSModuleAnalyzerSettings.ps1 Fixed
@github-actions

github-actions Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

Test Results

62 tests  +49   62 ✅ +49   1m 17s ⏱️ + 1m 10s
18 suites +11    0 💤 ± 0 
 1 files   ± 0    0 ❌ ± 0 

Results for commit f75b1fc. ± Comparison against base commit 627d26c.

This pull request removes 4 and adds 53 tests. Note that renamed tests count towards both.
Module Validation.module.should not contain functions
Module Validation.module.should not export any package management functions
Unit Tests.should only pass Fix to PSScriptAnalyzer in fix mode
Unit Tests.when test files are present.should invoke Pester with the source directory in the configuration
Export-PSModuleAnalyzerSettings.should copy the bundled settings verbatim to an explicit path
Export-PSModuleAnalyzerSettings.should export to the current directory by default without emitting output
Export-PSModuleAnalyzerSettings.should honor WhatIf without creating a file
Export-PSModuleAnalyzerSettings.should require Force before replacing an existing file
Export-PSModuleAnalyzerSettings.should return the exported file when PassThru is specified
Export-PSModuleAnalyzerSettings.should throw when the bundled settings file cannot be resolved
Export-PSModuleAnalyzerSettings.should throw when the destination parent does not exist
Integration Tests.should preserve purpose-specific asset directories
Integration Tests.should reject noncanonical source directory casing
Invoke-PSModuleAnalyzerCasingWorkaround.should analyze casing one file at a time without mutating the caller arguments
…

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown

File Coverage
All files 95% ✅

Minimum allowed coverage is 75%

Generated by 🐒 cobertura-action against f75b1fc

@thisjustin816
thisjustin816 merged commit d79c8b3 into main Jul 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants