Skip to content

Commit

Permalink
Merge branch 'main' into windows-setting-language
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft authored Dec 10, 2024
2 parents 7daf2b0 + 2aee9b7 commit 78db27a
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .configurations/configuration.dsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@ properties:
########################################################################
# Section: Configure Git Remotes
########################################################################
# Resource expects the repository already to be cloned to your local machine. If not, use the `GitDSC/GitClone` in conjunction
- resource: GitDSC/GitRemote
dependsOn:
id: add-microsoft-upstream
directives:
description: Add microsoft/winget-dsc as the upstream remote
allowPrerelease: true
settings:
ProjectDirectory: '${WinGetConfigRoot}\..'
RemoteName: upstream
RemoteUrl: https://github.com/microsoft/winget-pkgs.git
RemoteUrl: https://github.com/microsoft/winget-dsc.git
########################################################################
# Section: Install VS-Code
########################################################################
Expand Down Expand Up @@ -81,6 +83,18 @@ properties:
Name: ms-vscode.powershell
Exist: true
########################################################################
# Section: Required dependencies to run DSC resources / tests
########################################################################
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-powershell
directives:
description: Install PowerShell
allowPrerelease: true
settings:
id: Microsoft.PowerShell
source: winget
Ensure: Present
########################################################################
# Section: Install PowerShell Modules
########################################################################
- resource: PowerShellModule/PSModuleResource
Expand All @@ -90,6 +104,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 @@ -98,5 +113,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 78db27a

Please sign in to comment.