Skip to content

Commit

Permalink
Add versions and PowerShell 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Gijsreyn committed Dec 9, 2024
1 parent 093719f commit 59ac577
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .configurations/configuration.dsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ properties:
id: Microsoft.VisualStudioCode
source: winget
Ensure: Present
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-powershell
directives:
description: Install PowerShell
allowPrerelease: true
settings:
id: Microsoft.PowerShell
source: winget
Ensure: Present
- resource: Microsoft.VSCode.Dsc/VSCodeExtension
id: install_vscode-yaml
dependsOn:
Expand Down Expand Up @@ -100,6 +109,7 @@ properties:
allowPrerelease: true
settings:
Module_Name: Pester
RequiredVersion: 5.6.1 # Pester ships in-box, that's why we need to specify the version
Ensure: Present
- resource: PowerShellModule/PSModuleResource
id: install-psscriptanalyzer
Expand All @@ -108,5 +118,6 @@ properties:
allowPrerelease: true
settings:
Module_Name: PSScriptAnalyzer
RequiredVersion: 1.23.0 # This module might still not be installed because PowerShell extension includes it
Ensure: Present
configurationVersion: 0.2.0

0 comments on commit 59ac577

Please sign in to comment.