Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
6af9ec9
Create dependabot.yml
tpcarman Jun 4, 2025
d940bb1
Delete .github/dependabot.yml
tpcarman Jun 4, 2025
731bd6e
Create FUNDING.yml
tpcarman Aug 28, 2025
afad368
Add multi-lingual support
tpcarman Aug 31, 2025
9f23d95
Rename private functions
tpcarman Aug 31, 2025
6ee326d
French translation fixes
tpcarman Sep 2, 2025
701bd6c
Multilingual support improvements
tpcarman Sep 28, 2025
8aa035c
Update CHANGELOG.md
tpcarman Sep 28, 2025
402bff8
New-AsBuiltConfig user message improvements
tpcarman Sep 28, 2025
38fcc4c
Fix Draw-AsciiBanner function for PS 5.1 compatibility
tpcarman Sep 28, 2025
85876b2
Add 'en-GB' language support
tpcarman Sep 28, 2025
7c6268a
Code and UI enhancements
tpcarman Sep 29, 2025
102eab5
Resolve issue with Write-Host
tpcarman Sep 30, 2025
8c1ff80
Fix localization with default style
tpcarman Sep 30, 2025
3165c36
Refactor Write-Host command for improved readability. Fix Error: "Una…
rebelinux Sep 30, 2025
4d9a023
Merge pull request #61 from rebelinux/multilingual-support
tpcarman Oct 1, 2025
98819b5
Add language translations & code fixes
tpcarman Oct 6, 2025
4e5f356
Update module manifest icon URL
tpcarman Oct 6, 2025
13c0b37
Translation updates
tpcarman Oct 6, 2025
9182b7b
Update help
tpcarman Oct 6, 2025
3afc463
Update help
tpcarman Oct 6, 2025
2247e1b
UI improvements
tpcarman Oct 6, 2025
7fa7c9f
Fix Ascii banners for Asian languages
tpcarman Oct 7, 2025
2d38585
Simplify Ascii banner
tpcarman Oct 7, 2025
3681291
v1.5.0 Release Candidate 1
tpcarman Oct 9, 2025
ce38466
Update CONTRIBUTING.md
tpcarman Oct 9, 2025
f0f0ba0
UI improvement
tpcarman Oct 10, 2025
2bea65b
Update CHANGELOG
tpcarman Oct 10, 2025
26ade8b
Simplify Ascii banner
tpcarman Oct 7, 2025
4369195
v1.5.0 Release Candidate 1
tpcarman Oct 9, 2025
59855a1
Merge remote-tracking branch 'origin/multilingual-support' into multi…
tpcarman Oct 10, 2025
6dfc734
Merge pull request #62 from AsBuiltReport/multilingual-support
tpcarman Oct 11, 2025
9817bd4
Update README.md
tpcarman Oct 13, 2025
4ba48a6
v1.5.0 Release Candidate 2
tpcarman Oct 17, 2025
b99739c
Potential fix for code scanning alert no. 6: Workflow does not contai…
tpcarman Oct 17, 2025
6ba46cd
Add GitHub workflow permissions
tpcarman Oct 17, 2025
242fc21
Merge remote-tracking branch 'origin/dev' into dev
tpcarman Oct 17, 2025
ec4d14a
Add Dependabot workflow
tpcarman Oct 17, 2025
dd6c951
Add Codecov integration
tpcarman Oct 17, 2025
a284917
Update Codecov badge link
tpcarman Oct 17, 2025
9d0d5e0
Fix Codecov upload
tpcarman Oct 17, 2025
72308d0
Fix Codecov badge link
tpcarman Oct 17, 2025
2525021
Add tests for Private functions
tpcarman Oct 17, 2025
8e9d525
Fix private function test
tpcarman Oct 17, 2025
99d5cee
Fix private function test
tpcarman Oct 17, 2025
84cc00a
Fix Write-ReportModuleInfo unit tests for CI environment
tpcarman Oct 17, 2025
2a53423
Update Pester tests
tpcarman Oct 17, 2025
4775d61
Fix Pester tests
tpcarman Oct 17, 2025
d95f10b
Improve PS 5.1 compatibility
tpcarman Oct 17, 2025
338da00
Remove duplication from Pester workflow
tpcarman Oct 18, 2025
faddecf
Update README.md
tpcarman Oct 18, 2025
9c7d30d
v1.5.0 release
tpcarman Oct 20, 2025
dceea9e
Update CHANGELOG.md
tpcarman Oct 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/Dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Dependabot configuration for AsBuiltReport.Core
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
# Monitor GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
labels:
- "dependencies"
- "github-actions"
commit-message:
prefix: "ci"
include: "scope"
open-pull-requests-limit: 5

# Monitor PowerShell modules (via manifest)
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
labels:
- "dependencies"
- "powershell"
commit-message:
prefix: "deps"
include: "scope"
open-pull-requests-limit: 5
ignore:
# PScribo updates should be reviewed manually
- dependency-name: "PScribo"
update-types: ["version-update:semver-major"]
15 changes: 15 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# These are supported funding model platforms

#github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
#patreon: # Replace with a single Patreon username
#open_collective: # Replace with a single Open Collective username
ko_fi: B0B7DDGZ7
#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
#liberapay: # Replace with a single Liberapay username
#issuehunt: # Replace with a single IssueHunt username
#lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
#polar: # Replace with a single Polar username
#buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
#thanks_dev: # Replace with a single thanks.dev username
#custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the [**CONTRIBUTING**](https://www.asbuiltreport.com/about/contributing/) page.
- [ ] I have read the [**CONTRIBUTING**](/CONTRIBUTING.md) page.
3 changes: 3 additions & 0 deletions .github/workflows/PSScriptAnalyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on: [push, pull_request]
jobs:
lint:
name: Run PSScriptAnalyzer
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
84 changes: 84 additions & 0 deletions .github/workflows/Pester.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Pester Tests

permissions:
contents: read

on:
push:
branches: [main, dev, master]
pull_request:
branches: [main, dev, master]
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
psversion: [pwsh, powershell]
exclude:
# PowerShell 5.1 (powershell) is only available on Windows
- os: ubuntu-latest
psversion: powershell
- os: macos-latest
psversion: powershell

name: Test on ${{ matrix.os }} with ${{ matrix.psversion == 'pwsh' && 'PowerShell 7.x' || 'PowerShell 5.1' }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install required modules (PowerShell 7.x)
if: matrix.psversion == 'pwsh'
shell: pwsh
run: |
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module -Name Pester -MinimumVersion 5.0.0 -Force -SkipPublisherCheck
Install-Module -Name PScribo -MinimumVersion 0.11.1 -Force

- name: Install required modules (PowerShell 5.1)
if: matrix.psversion == 'powershell'
shell: powershell
run: |
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module -Name Pester -MinimumVersion 5.0.0 -Force -SkipPublisherCheck
Install-Module -Name PScribo -MinimumVersion 0.11.1 -Force

- name: Run Pester tests (PowerShell 7.x)
if: matrix.psversion == 'pwsh'
shell: pwsh
run: |
.\Tests\Invoke-Tests.ps1 -CodeCoverage -OutputFormat NUnitXml

- name: Run Pester tests (PowerShell 5.1)
if: matrix.psversion == 'powershell'
shell: powershell
run: |
.\Tests\Invoke-Tests.ps1 -CodeCoverage -OutputFormat NUnitXml

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.os }}-${{ matrix.psversion }}
path: testResults.xml

- name: Upload code coverage
if: always() && matrix.os == 'windows-latest' && matrix.psversion == 'pwsh'
uses: actions/upload-artifact@v4
with:
name: code-coverage
path: coverage.xml

- name: Upload coverage reports to Codecov
if: always() && matrix.os == 'windows-latest' && matrix.psversion == 'pwsh'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: AsBuiltReport/AsBuiltReport.Core
files: ./coverage.xml
flags: unittests
fail_ci_if_error: false
7 changes: 4 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Publish PowerShell Module

permissions:
contents: read
on:
release:
types: [published]
Expand All @@ -20,11 +21,11 @@ jobs:
- name: Test Module Manifest
shell: pwsh
run: |
Test-ModuleManifest .\AsBuiltReport.Core.psd1
Test-ModuleManifest .\AsBuiltReport.Core\AsBuiltReport.Core.psd1
- name: Publish module to PowerShell Gallery
shell: pwsh
run: |
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose
Publish-Module -Path .\AsBuiltReport.Core\ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose
tweet:
needs: publish-to-gallery
runs-on: ubuntu-latest
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/Stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
days-before-stale: 60
days-before-close: 7
exempt-pr-labels: 'help wanted,enhancement,security,pinned'
stale-pr-label: 'wontfix'
stale-issue-label: 'wontfix'
exempt-issue-labels: 'help wanted,enhancement,security,pinned'
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.claude/
.vscode/launch.json
coverage.xml
112 changes: 0 additions & 112 deletions AsBuiltReport.Core.Style.ps1

This file was deleted.

12 changes: 0 additions & 12 deletions AsBuiltReport.Core.psm1

This file was deleted.

134 changes: 134 additions & 0 deletions AsBuiltReport.Core/AsBuiltReport.Core.Style.ps1

Large diffs are not rendered by default.

Loading