Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug: Missing .devcontainer template in v0.5.0 #35

@jimbrig

Description

@jimbrig

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:

image


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:

v0 4 0

  • Version 0.5.0:

v0 5 0


Steps to Reproduce

  1. Install and Import Version 0.5.0 of the Stucco Module: Install-Module Stucco > Import-Module Stucco.
  2. Run New-StuccoModule -DestinationPath .\MyModule
  3. During the wizard ensure you reply Y for the question: Do you want to include VSCode dev container support?
  4. 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

image

v0 4 0

v0 5 0

Environment

  • Module version used: 0.5.0
  • Operating System and PowerShell version:

image

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions