Skip to content

Commit 4ba48a6

Browse files
committed
v1.5.0 Release Candidate 2
## [1.5.0-RC2] - 2025-10-17 ### Added - Improve error handling for localized data import - Add Pester tests and GitHub workflow ### Changed - Update GitHub Release action for new folder structures
1 parent 9817bd4 commit 4ba48a6

File tree

135 files changed

+2161
-146
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+2161
-146
lines changed

.github/workflows/Release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
- name: Test Module Manifest
2121
shell: pwsh
2222
run: |
23-
Test-ModuleManifest .\AsBuiltReport.Core.psd1
23+
Test-ModuleManifest .\AsBuiltReport.Core\AsBuiltReport.Core.psd1
2424
- name: Publish module to PowerShell Gallery
2525
shell: pwsh
2626
run: |
27-
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose
27+
Publish-Module -Path .\AsBuiltReport.Core\ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose
2828
tweet:
2929
needs: publish-to-gallery
3030
runs-on: ubuntu-latest

.github/workflows/Tests.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: Pester Tests
2+
3+
on:
4+
push:
5+
branches: [main, dev, master]
6+
pull_request:
7+
branches: [main, dev, master]
8+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
runs-on: windows-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Install required modules
19+
shell: pwsh
20+
run: |
21+
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
22+
Install-Module -Name Pester -MinimumVersion 5.0.0 -Force -SkipPublisherCheck
23+
Install-Module -Name PScribo -MinimumVersion 0.11.1 -Force
24+
25+
- name: Run Pester tests
26+
shell: pwsh
27+
run: |
28+
.\Tests\Invoke-Tests.ps1 -CodeCoverage -OutputFormat NUnitXml
29+
30+
- name: Upload test results
31+
if: always()
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: test-results
35+
path: testResults.xml
36+
37+
- name: Upload code coverage
38+
if: always()
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: code-coverage
42+
path: coverage.xml
43+
44+
analyze:
45+
runs-on: windows-latest
46+
47+
steps:
48+
- name: Checkout code
49+
uses: actions/checkout@v4
50+
51+
- name: Install PSScriptAnalyzer
52+
shell: pwsh
53+
run: |
54+
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
55+
Install-Module -Name PSScriptAnalyzer -Force
56+
57+
- name: Run PSScriptAnalyzer
58+
shell: pwsh
59+
run: |
60+
$SettingsPath = './.github/workflows/PSScriptAnalyzerSettings.psd1'
61+
if (Test-Path $SettingsPath) {
62+
$Results = Invoke-ScriptAnalyzer -Path ./AsBuiltReport.Core -Recurse -Settings $SettingsPath
63+
} else {
64+
$Results = Invoke-ScriptAnalyzer -Path ./AsBuiltReport.Core -Recurse
65+
}
66+
67+
if ($Results) {
68+
$Results | Format-Table -AutoSize
69+
$Errors = $Results | Where-Object Severity -eq 'Error'
70+
if ($Errors.Count -gt 0) {
71+
exit 1
72+
}
73+
}
File renamed without changes.
Lines changed: 138 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -1,138 +1,138 @@
1-
#
2-
# Module manifest for module 'AsBuiltReport.core'
3-
#
4-
# Generated by: Tim Carman
5-
#
6-
# Generated on: 7/04/2019
7-
#
8-
9-
@{
10-
11-
# Script module or binary module file associated with this manifest.
12-
RootModule = 'AsBuiltReport.Core.psm1'
13-
14-
# Version number of this module.
15-
16-
ModuleVersion = '1.5.0'
17-
18-
# Supported PSEditions
19-
# CompatiblePSEditions = 'Desktop'
20-
21-
# ID used to uniquely identify this module
22-
GUID = '0f1094c4-c6b1-495c-8cdd-9331f67f9f6f'
23-
24-
# Author of this module
25-
Author = 'Tim Carman'
26-
27-
# Company or vendor of this module
28-
# CompanyName = ''
29-
30-
# Copyright statement for this module
31-
Copyright = '(c) 2025 Tim Carman. All rights reserved.'
32-
33-
# Description of the functionality provided by this module
34-
Description = 'A PowerShell module which provides the core framework for generating As-Built documentation for many common datacentre systems.'
35-
36-
# Minimum version of the Windows PowerShell engine required by this module
37-
# PowerShellVersion = '5.1'
38-
39-
# Name of the Windows PowerShell host required by this module
40-
# PowerShellHostName = ''
41-
42-
# Minimum version of the Windows PowerShell host required by this module
43-
# PowerShellHostVersion = ''
44-
45-
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
46-
# DotNetFrameworkVersion = ''
47-
48-
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
49-
# CLRVersion = ''
50-
51-
# Processor architecture (None, X86, Amd64) required by this module
52-
# ProcessorArchitecture = ''
53-
54-
# Modules that must be imported into the global environment prior to importing this module
55-
RequiredModules = @(
56-
@{
57-
ModuleName = 'PScribo';
58-
ModuleVersion = '0.11.1'
59-
}
60-
)
61-
62-
# Assemblies that must be loaded prior to importing this module
63-
# RequiredAssemblies = @()
64-
65-
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
66-
# ScriptsToProcess = @()
67-
68-
# Type files (.ps1xml) to be loaded when importing this module
69-
# TypesToProcess = @()
70-
71-
# Format files (.ps1xml) to be loaded when importing this module
72-
# FormatsToProcess = @()
73-
74-
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
75-
# NestedModules = @()
76-
77-
# Functions 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 functions to export.
78-
FunctionsToExport = 'New-AsBuiltReport', 'New-AsBuiltConfig', 'New-AsBuiltReportConfig'
79-
80-
# Cmdlets 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 cmdlets to export.
81-
# CmdletsToExport = @()
82-
83-
# Variables to export from this module
84-
# VariablesToExport = @()
85-
86-
# 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.
87-
# AliasesToExport = @()
88-
89-
# DSC resources to export from this module
90-
# DscResourcesToExport = @()
91-
92-
# List of all modules packaged with this module
93-
# ModuleList = @()
94-
95-
# List of all files packaged with this module
96-
# FileList = @()
97-
98-
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
99-
PrivateData = @{
100-
101-
PSData = @{
102-
103-
# Tags applied to this module. These help with module discovery in online galleries.
104-
Tags = 'AsBuiltReport', 'Report', 'Documentation', 'PScribo', 'Windows', 'Linux', 'MacOS', 'PSEdition_Desktop', 'PSEdition_Core'
105-
106-
# A URL to the license for this module.
107-
LicenseUri = 'https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.Core/master/LICENSE'
108-
109-
# A URL to the main website for this project.
110-
ProjectUri = 'https://github.com/AsBuiltReport/AsBuiltReport.Core'
111-
112-
# A URL to an icon representing this module.
113-
IconUri = 'https://raw.githubusercontent.com/AsBuiltReport/.github/main/profile/images/AsBuiltReport.png'
114-
115-
# ReleaseNotes of this module
116-
ReleaseNotes = 'https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.Core/master/CHANGELOG.md'
117-
118-
# Prerelease string of this module
119-
Prerelease = 'RC1'
120-
121-
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
122-
# RequireLicenseAcceptance = $false
123-
124-
# External dependent modules of this module
125-
# ExternalModuleDependencies = @('PScribo')
126-
127-
} # End of PSData hashtable
128-
129-
} # End of PrivateData hashtable
130-
131-
# HelpInfo URI of this module
132-
# HelpInfoURI = ''
133-
134-
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
135-
# DefaultCommandPrefix = ''
136-
137-
}
138-
1+
#
2+
# Module manifest for module 'AsBuiltReport.core'
3+
#
4+
# Generated by: Tim Carman
5+
#
6+
# Generated on: 7/04/2019
7+
#
8+
9+
@{
10+
11+
# Script module or binary module file associated with this manifest.
12+
RootModule = 'AsBuiltReport.Core.psm1'
13+
14+
# Version number of this module.
15+
16+
ModuleVersion = '1.5.0'
17+
18+
# Supported PSEditions
19+
# CompatiblePSEditions = 'Desktop'
20+
21+
# ID used to uniquely identify this module
22+
GUID = '0f1094c4-c6b1-495c-8cdd-9331f67f9f6f'
23+
24+
# Author of this module
25+
Author = 'Tim Carman'
26+
27+
# Company or vendor of this module
28+
# CompanyName = ''
29+
30+
# Copyright statement for this module
31+
Copyright = '(c) 2025 Tim Carman. All rights reserved.'
32+
33+
# Description of the functionality provided by this module
34+
Description = 'A PowerShell module which provides the core framework for generating As-Built documentation for many common datacentre systems.'
35+
36+
# Minimum version of the Windows PowerShell engine required by this module
37+
# PowerShellVersion = '5.1'
38+
39+
# Name of the Windows PowerShell host required by this module
40+
# PowerShellHostName = ''
41+
42+
# Minimum version of the Windows PowerShell host required by this module
43+
# PowerShellHostVersion = ''
44+
45+
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
46+
# DotNetFrameworkVersion = ''
47+
48+
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
49+
# CLRVersion = ''
50+
51+
# Processor architecture (None, X86, Amd64) required by this module
52+
# ProcessorArchitecture = ''
53+
54+
# Modules that must be imported into the global environment prior to importing this module
55+
RequiredModules = @(
56+
@{
57+
ModuleName = 'PScribo';
58+
ModuleVersion = '0.11.1'
59+
}
60+
)
61+
62+
# Assemblies that must be loaded prior to importing this module
63+
# RequiredAssemblies = @()
64+
65+
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
66+
# ScriptsToProcess = @()
67+
68+
# Type files (.ps1xml) to be loaded when importing this module
69+
# TypesToProcess = @()
70+
71+
# Format files (.ps1xml) to be loaded when importing this module
72+
# FormatsToProcess = @()
73+
74+
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
75+
# NestedModules = @()
76+
77+
# Functions 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 functions to export.
78+
FunctionsToExport = 'New-AsBuiltReport', 'New-AsBuiltConfig', 'New-AsBuiltReportConfig'
79+
80+
# Cmdlets 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 cmdlets to export.
81+
# CmdletsToExport = @()
82+
83+
# Variables to export from this module
84+
# VariablesToExport = @()
85+
86+
# 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.
87+
# AliasesToExport = @()
88+
89+
# DSC resources to export from this module
90+
# DscResourcesToExport = @()
91+
92+
# List of all modules packaged with this module
93+
# ModuleList = @()
94+
95+
# List of all files packaged with this module
96+
# FileList = @()
97+
98+
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
99+
PrivateData = @{
100+
101+
PSData = @{
102+
103+
# Tags applied to this module. These help with module discovery in online galleries.
104+
Tags = 'AsBuiltReport', 'Report', 'Documentation', 'PScribo', 'Windows', 'Linux', 'MacOS', 'PSEdition_Desktop', 'PSEdition_Core'
105+
106+
# A URL to the license for this module.
107+
LicenseUri = 'https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.Core/master/LICENSE'
108+
109+
# A URL to the main website for this project.
110+
ProjectUri = 'https://github.com/AsBuiltReport/AsBuiltReport.Core'
111+
112+
# A URL to an icon representing this module.
113+
IconUri = 'https://raw.githubusercontent.com/AsBuiltReport/.github/main/profile/images/AsBuiltReport.png'
114+
115+
# ReleaseNotes of this module
116+
ReleaseNotes = 'https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.Core/master/CHANGELOG.md'
117+
118+
# Prerelease string of this module
119+
Prerelease = 'RC2'
120+
121+
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
122+
# RequireLicenseAcceptance = $false
123+
124+
# External dependent modules of this module
125+
# ExternalModuleDependencies = @('PScribo')
126+
127+
} # End of PSData hashtable
128+
129+
} # End of PrivateData hashtable
130+
131+
# HelpInfo URI of this module
132+
# HelpInfoURI = ''
133+
134+
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
135+
# DefaultCommandPrefix = ''
136+
137+
}
138+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)