Bug: Missing .devcontainer template in v0.5.0
jimbrig opened this issue · 6 comments
Description
When running the New-StuccoModule
cmdlet under the latest version 0.5.0
, if you select to Include VSCode dev container support during the wizard, you will receive an error because there is no longer a .devcontainer
file in the module's templates/
directory:
In Version 0.5.0 of the module, you have removed various files in the module's templates/
directory. See below for a comparison of the installed module's contents comparing Version 0.4.0
and 0.5.0
:
- Version
0.4.0
:
- Version
0.5.0
:
Steps to Reproduce
- Install and Import Version
0.5.0
of theStucco
Module:Install-Module Stucco
>Import-Module Stucco
. - Run
New-StuccoModule -DestinationPath .\MyModule
- During the wizard ensure you reply
Y
for the question: Do you want to include VSCode dev container support? - Receive error
Cannot find path <PSModulesDirectory>\Stucco\0.5.0\template\.devcontainer' because it does not exist.
Current Behavior
Receive error Cannot find path <PSModulesDirectory>\Stucco\0.5.0\template\.devcontainer' because it does not exist.
Expected behavior
Cleanly create new modules.
Possible Solution
Add back missing templates files/folders.
Screenshots
Environment
- Module version used:
0.5.0
- Operating System and PowerShell version:
Additional context
@devblackops and other devs note that this issue seems to only occur installing from PowerShell Gallery, not if you build the module yourself.
@devblackops any updates for this?
Seems to be the same for the .github
folder. @devblackops maybe something funky happened during the build? Almost like something didn't follow the dot folders (which I see with bash/zsh all the time) during a copy.
I've run into this, too. Can one just copy the .github template from 0.4.0 as a workaround?
.vscode folder missing from psgallery pacakage too.