Skip to content

[Init]: Boilerplate scaffold removed - #12

Merged
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
fix/11-remove-boilerplate-scaffold
May 7, 2026
Merged

[Init]: Boilerplate scaffold removed#12
Marius Storhaug (MariusStorhaug) merged 4 commits into
mainfrom
fix/11-remove-boilerplate-scaffold

Conversation

@MariusStorhaug

@MariusStorhaugMarius Storhaug (MariusStorhaug) commented May 7, 2026

Copy link
Copy Markdown
Member

The module repository no longer contains placeholder template code from the PSModule framework scaffolding. Only the New-Jwt placeholder function remains, signaling that the module is ready for actual JWT implementation work.

Changed: Repository content

All template/demo artifacts are removed — classes (Book, SecretWriter), functions (Get-PSModuleTest, New-PSModuleTest, Set-PSModuleTest, Test-PSModuleTest), variables (Planets, Moons, SolarSystems), data files, format definitions, type extensions, init scripts, nested modules, script loaders, examples, and the manifest override file.

What remains in src/:

src/
functions/
public/
New-Jwt.ps1

The New-Jwt function emits a warning that it is not yet implemented. This gives CI a valid function to build and test against while development proceeds in #3.

Changed: Test file

The test file is renamed from PSModuleTest.Tests.ps1 to Jwt.Tests.ps1 with a single test verifying the placeholder warning output.

Changed: README

Rewritten to describe the Jwt module — name, purpose, installation, and current development status.

Technical Details

  • Removed 32 files totaling ~660 lines of template code
  • Code coverage target in .github/PSModule.yml lowered from 50% to 0% — the placeholder function has no meaningful logic to cover
  • The manifest.psd1 is removed because it is optional in the PSModule framework (only needed to override generated values); will be recreated in Implement JWT creation and signing functionality #3 when module metadata is defined
  • This PR completes the "Skeleton cleanup" section of the implementation plan in Implement JWT creation and signing functionality #3

@MariusStorhaugMarius Storhaug (MariusStorhaug) added the Patch Small fixes or improvements label May 7, 2026
@github-actions

Copy link
Copy Markdown

Super-linter summary

LanguageValidation result
CHECKOVPass ✅
GITHUB_ACTIONSPass ✅
GITLEAKSPass ✅
GIT_MERGE_CONFLICT_MARKERSPass ✅
MARKDOWNPass ✅
NATURAL_LANGUAGEPass ✅
POWERSHELLFail ❌
PRE_COMMITPass ✅
SPELL_CODESPELLPass ✅
TRIVYPass ✅
YAMLPass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

POWERSHELL

�[32;1mRuleName �[0m�[32;1m Severity �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m-------- �[0m �[32;1m-------- �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseShouldProcessForStateChangingF Warning New-Jwt.ps 1 Function 'New
unctions 1 -Jwt' has ver
b that could
change system
state. There
fore, the fun
ction has to
support 'Shou
ldProcess'.

@MariusStorhaugMarius Storhaug (MariusStorhaug) added NoRelease Documentation, maintenance, CI/CD — no version bump and removed Patch Small fixes or improvements labels May 7, 2026
@github-actions

Copy link
Copy Markdown

Super-linter summary

LanguageValidation result
CHECKOVPass ✅
GITHUB_ACTIONSPass ✅
GITLEAKSPass ✅
GIT_MERGE_CONFLICT_MARKERSPass ✅
MARKDOWNPass ✅
NATURAL_LANGUAGEPass ✅
POWERSHELLFail ❌
PRE_COMMITPass ✅
SPELL_CODESPELLPass ✅
TRIVYPass ✅
YAMLPass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

POWERSHELL

�[32;1mRuleName �[0m�[32;1m Severity �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m-------- �[0m �[32;1m-------- �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSUseShouldProcessForStateChangingF Warning New-Jwt.ps 1 Function 'New
unctions 1 -Jwt' has ver
b that could
change system
state. There
fore, the fun
ction has to
support 'Shou
ldProcess'.

@github-actions

Copy link
Copy Markdown

Super-linter summary

LanguageValidation result
CHECKOVPass ✅
GITHUB_ACTIONSPass ✅
GITLEAKSPass ✅
GIT_MERGE_CONFLICT_MARKERSPass ✅
MARKDOWNPass ✅
NATURAL_LANGUAGEPass ✅
POWERSHELLFail ❌
PRE_COMMITPass ✅
SPELL_CODESPELLPass ✅
TRIVYPass ✅
YAMLPass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

POWERSHELL

�[32;1mRuleName �[0m�[32;1m Severity �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m-------- �[0m �[32;1m-------- �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSShouldProcess Warning New-Jwt.ps 19 'New-Jwt' has
1 the ShouldPr
ocess attribu
te but does n
ot call Shoul
dProcess/Shou
ldContinue.

@github-actions

Copy link
Copy Markdown

Super-linter summary

LanguageValidation result
CHECKOVPass ✅
GITHUB_ACTIONSPass ✅
GITLEAKSPass ✅
GIT_MERGE_CONFLICT_MARKERSPass ✅
MARKDOWNPass ✅
NATURAL_LANGUAGEPass ✅
POWERSHELLFail ❌
PRE_COMMITPass ✅
SPELL_CODESPELLPass ✅
TRIVYPass ✅
YAMLPass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

POWERSHELL

�[32;1mRuleName �[0m�[32;1m Severity �[0m�[32;1m ScriptName�[0m�[32;1m Line �[0m�[32;1m Message�[0m
�[32;1m-------- �[0m �[32;1m-------- �[0m �[32;1m----------�[0m �[32;1m---- �[0m �[32;1m-------�[0m
PSShouldProcess Warning New-Jwt.ps 19 'New-Jwt' has
1 the ShouldPr
ocess attribu
te but does n
ot call Shoul
dProcess/Shou
ldContinue.

@github-actions

Copy link
Copy Markdown

Super-linter summary

LanguageValidation result
CHECKOVPass ✅
GITHUB_ACTIONSPass ✅
GITLEAKSPass ✅
GIT_MERGE_CONFLICT_MARKERSPass ✅
MARKDOWNPass ✅
NATURAL_LANGUAGEPass ✅
POWERSHELLPass ✅
PRE_COMMITPass ✅
SPELL_CODESPELLPass ✅
TRIVYPass ✅
YAMLPass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@MariusStorhaugMarius Storhaug (MariusStorhaug) changed the title 🩹 [Patch]: Boilerplate scaffold removed[Init]: Boilerplate scaffold removedMay 7, 2026
@MariusStorhaug
Marius Storhaug (MariusStorhaug) marked this pull request as ready for review May 7, 2026 17:10
CopilotAI review requested due to automatic review settings May 7, 2026 17:10

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR strips the repository down from the PSModule scaffold/template artifacts so the Jwt module is ready for real JWT implementation work, while keeping a single New-Jwt placeholder plus a minimal test and updated documentation.

Changes:

  • Removed scaffold/template classes, functions, variables, formats/types, init/scripts, examples, and manifest override file.
  • Added a New-Jwt placeholder function and a single Pester test validating its “not yet implemented” warning.
  • Updated README and lowered CI code coverage target to 0% during the placeholder phase.

Reviewed changes

Copilot reviewed 31 out of 32 changed files in this pull request and generated 2 comments.

Show a summary per file
FileDescription
tests/PSModuleTest.Tests.ps1Removed scaffold Pester tests targeting PSModuleTest demo functions.
tests/Jwt.Tests.ps1Added minimal Pester test asserting New-Jwt emits an “not yet implemented” warning.
src/variables/public/SolarSystems.ps1Removed scaffold public variable data.
src/variables/public/Planets.ps1Removed scaffold public variable data.
src/variables/public/Moons.ps1Removed scaffold public variable data.
src/variables/private/PrivateVariables.ps1Removed scaffold private variable data.
src/types/FileInfo.Types.ps1xmlRemoved scaffold type extension.
src/types/DirectoryInfo.Types.ps1xmlRemoved scaffold type extension.
src/scripts/loader.ps1Removed scaffold script loader.
src/README.mdRemoved scaffold internal src README.
src/modules/OtherPSModule.psm1Removed scaffold nested module example.
src/manifest.psd1Removed optional scaffold manifest override file.
src/init/initializer.ps1Removed scaffold init script.
src/header.ps1Removed scaffold header script.
src/functions/public/Test-PSModuleTest.ps1Removed scaffold public function.
src/functions/public/Set-PSModuleTest.ps1Removed scaffold public function.
src/functions/public/New-PSModuleTest.ps1Removed scaffold public function and aliases.
src/functions/public/New-Jwt.ps1Added New-Jwt placeholder function that emits a warning.
src/functions/public/Get-PSModuleTest.ps1Removed scaffold public function.
src/functions/private/Set-InternalPSModule.ps1Removed scaffold private function.
src/functions/private/Get-InternalPSModule.ps1Removed scaffold private function.
src/formats/Mygciview.Format.ps1xmlRemoved scaffold format view definition.
src/formats/CultureInfo.Format.ps1xmlRemoved scaffold format view definition.
src/finally.ps1Removed scaffold “finally” script.
src/data/Settings.psd1Removed scaffold data file.
src/data/Config.psd1Removed scaffold data file.
src/classes/public/Book.ps1Removed scaffold demo classes/enums.
src/classes/private/SecretWriter.ps1Removed scaffold demo class.
README.mdRewritten to describe the Jwt module and current placeholder status.
examples/General.ps1Removed scaffold example script.
.github/PSModule.ymlLowered code coverage target to 0% for the placeholder stage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

New-Jwt
```

Returns a placeholder string indicating that the function is not yet implemented.
Comment on lines +19 to +27
[CmdletBinding(SupportsShouldProcess)]
param()

begin {}

process {
if ($PSCmdlet.ShouldProcess('Creating a new JWT')) {
Write-Warning 'New-Jwt is not yet implemented.'
}
@MariusStorhaug
Marius Storhaug (MariusStorhaug) merged commit dde4b24 into mainMay 7, 2026
65 of 67 checks passed
@MariusStorhaug
Marius Storhaug (MariusStorhaug) deleted the fix/11-remove-boilerplate-scaffold branch May 7, 2026 17:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NoReleaseDocumentation, maintenance, CI/CD — no version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove boilerplate scaffold and prepare repository for Jwt development

2 participants

@MariusStorhaug