diff --git a/samples/DscResources/GitDsc/CloneWingetRepository.yaml b/samples/DscResources/GitDsc/CloneWingetRepository.yaml index fe5bb1ce..6c30273e 100644 --- a/samples/DscResources/GitDsc/CloneWingetRepository.yaml +++ b/samples/DscResources/GitDsc/CloneWingetRepository.yaml @@ -10,7 +10,6 @@ properties: - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install Git - allowPrerelease: true settings: id: Git.Git source: winget @@ -20,7 +19,7 @@ properties: allowPrerelease: true settings: HttpsUrl: https://github.com/microsoft/winget-cli.git - RootDirectory: '${WingetConfigRoot}/SampleRepos/' + RootDirectory: "${WingetConfigRoot}/SampleRepos/" # - resource: GitDsc/GitRemote # directives: # description: Add a remote repository to the cloned winget-cli repository. diff --git a/samples/DscResources/PowerToysConfigure/PowerToys.dsc.yaml b/samples/DscResources/PowerToysConfigure/PowerToys.dsc.yaml index c76829e2..88c674a2 100644 --- a/samples/DscResources/PowerToysConfigure/PowerToys.dsc.yaml +++ b/samples/DscResources/PowerToysConfigure/PowerToys.dsc.yaml @@ -13,7 +13,6 @@ properties: - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install PowerToys - allowPrerelease: true settings: id: Microsoft.PowerToys source: winget diff --git a/samples/Repositories/PowerShell/PowerShell/configuration.dsc.yaml b/samples/Repositories/PowerShell/PowerShell/configuration.dsc.yaml index 10272c5c..bff1b4ee 100644 --- a/samples/Repositories/PowerShell/PowerShell/configuration.dsc.yaml +++ b/samples/Repositories/PowerShell/PowerShell/configuration.dsc.yaml @@ -5,7 +5,6 @@ properties: - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install Visual Studio 2022 Community - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget @@ -16,4 +15,4 @@ properties: settings: id: Microsoft.DotNet.SDK.Preview source: winget - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Repositories/Windows/dev-environment/javascript/nodejs-on-windows/NodeJS.dsc.yaml b/samples/Repositories/Windows/dev-environment/javascript/nodejs-on-windows/NodeJS.dsc.yaml index e03c7ed6..7bf4e97a 100644 --- a/samples/Repositories/Windows/dev-environment/javascript/nodejs-on-windows/NodeJS.dsc.yaml +++ b/samples/Repositories/Windows/dev-environment/javascript/nodejs-on-windows/NodeJS.dsc.yaml @@ -1,6 +1,5 @@ # yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 - ########################################################################################################## # This configuration will install the tools necessary to get started with Node.js development on Windows # # Reference: https://learn.microsoft.com/windows/dev-environment/javascript/nodejs-on-windows # @@ -9,14 +8,12 @@ # prompted to either allow NVM to manage that installation or remove it. # ########################################################################################################## - properties: resources: - resource: Microsoft.WinGet.DSC/WinGetPackage id: Git directives: description: Install Git - allowPrerelease: true settings: id: Git.Git source: winget @@ -24,7 +21,6 @@ properties: id: VSCode directives: description: Install Visual Studio Code - allowPrerelease: true settings: id: Microsoft.VisualStudioCode source: winget @@ -32,7 +28,6 @@ properties: id: NVM directives: description: Install NVM for Windows - allowPrerelease: true settings: id: CoreyButler.NVMforWindows source: winget diff --git a/samples/Repositories/dotnet/aspnetcore/configuration.dsc.yaml b/samples/Repositories/dotnet/aspnetcore/configuration.dsc.yaml index 0cd4ff4d..61a09932 100644 --- a/samples/Repositories/dotnet/aspnetcore/configuration.dsc.yaml +++ b/samples/Repositories/dotnet/aspnetcore/configuration.dsc.yaml @@ -5,21 +5,18 @@ properties: - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install Microsoft Open JDK 17 - allowPrerelease: true settings: id: Microsoft.OpenJDK.17 source: winget - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install Yarn - allowPrerelease: true settings: id: Yarn.Yarn source: winget - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install Node.js - allowPrerelease: true settings: id: OpenJS.NodeJS source: winget @@ -27,7 +24,6 @@ properties: id: vsPackage directives: description: Install Visual Studio 2022 Community - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget @@ -41,4 +37,4 @@ properties: productId: Microsoft.VisualStudio.Product.Community channelId: VisualStudio.17.Release vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Repositories/microsoft/PowerToys/configuration.dsc.yaml b/samples/Repositories/microsoft/PowerToys/configuration.dsc.yaml index 4649f8d3..8800fdbd 100644 --- a/samples/Repositories/microsoft/PowerToys/configuration.dsc.yaml +++ b/samples/Repositories/microsoft/PowerToys/configuration.dsc.yaml @@ -12,7 +12,6 @@ properties: id: vsPackage directives: description: Install Visual Studio 2022 (any edition is OK) - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget @@ -31,4 +30,4 @@ properties: # Next steps: # Open a terminal # Navigate to the folder you cloned PowerToys to. - # Run git submodule update --init --recursive \ No newline at end of file + # Run git submodule update --init --recursive diff --git a/samples/Repositories/microsoft/gdk/configuration.dsc.yaml b/samples/Repositories/microsoft/gdk/configuration.dsc.yaml index 1a1634fe..f709cdd2 100644 --- a/samples/Repositories/microsoft/gdk/configuration.dsc.yaml +++ b/samples/Repositories/microsoft/gdk/configuration.dsc.yaml @@ -6,7 +6,6 @@ properties: directives: description: Install Visual Studio 2022 Community module: Microsoft.WinGet.DSC - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget @@ -30,8 +29,7 @@ properties: directives: description: Install Microsoft GDK module: Microsoft.WinGet.DSC - allowPrerelease: true settings: id: Microsoft.Gaming.GDK source: winget - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Repositories/microsoft/terminal/configuration.dsc.yaml b/samples/Repositories/microsoft/terminal/configuration.dsc.yaml index efd85bbb..dea4620d 100644 --- a/samples/Repositories/microsoft/terminal/configuration.dsc.yaml +++ b/samples/Repositories/microsoft/terminal/configuration.dsc.yaml @@ -11,14 +11,12 @@ properties: - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install PowerShell 7 - allowPrerelease: true settings: id: Microsoft.PowerShell source: winget - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install Windows 11 (10.0.22621.0) SDK - allowPrerelease: true settings: id: Microsoft.WindowsSDK source: winget @@ -26,7 +24,6 @@ properties: id: vsPackage directives: description: Install Visual Studio 2022 (any edition is OK) - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget diff --git a/samples/Repositories/microsoft/vscode/configuration.dsc.yaml b/samples/Repositories/microsoft/vscode/configuration.dsc.yaml index c9fc61f1..2ed4cf2e 100644 --- a/samples/Repositories/microsoft/vscode/configuration.dsc.yaml +++ b/samples/Repositories/microsoft/vscode/configuration.dsc.yaml @@ -6,7 +6,6 @@ properties: id: npm directives: description: Install NodeJS version >=16.17.x and <17 - allowPrerelease: true settings: id: OpenJS.NodeJS.LTS version: "16.20.0" @@ -19,13 +18,12 @@ properties: description: Install Yarn allowPrerelease: true settings: - Name: 'yarn' + Name: "yarn" Global: true PackageDirectory: '${WinGetConfigRoot}\..\' - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install Python 3.10 - allowPrerelease: true settings: id: Python.Python.3.10 source: winget @@ -33,7 +31,6 @@ properties: id: vsPackage directives: description: Install Visual Studio 2022 (any edition is OK) - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.BuildTools source: winget @@ -49,4 +46,4 @@ properties: includeRecommended: true components: - Microsoft.VisualStudio.Workload.VCTools - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Repositories/microsoft/winget-cli-restsource/configuration.dsc.yaml b/samples/Repositories/microsoft/winget-cli-restsource/configuration.dsc.yaml index e763be2e..7c2701b1 100644 --- a/samples/Repositories/microsoft/winget-cli-restsource/configuration.dsc.yaml +++ b/samples/Repositories/microsoft/winget-cli-restsource/configuration.dsc.yaml @@ -6,14 +6,12 @@ properties: id: vsPackage directives: description: Install Visual Studio 2019 (any edition is OK) - allowPrerelease: true settings: id: Microsoft.VisualStudio.2019.Professional source: winget - resource: Microsoft.WinGet.DSC/WinGetPackage directives: description: Install .NET SDK 3.1 - allowPrerelease: true settings: id: Microsoft.DotNet.SDK.3_1 source: winget diff --git a/samples/Repositories/microsoft/winget-cli/configuration.dsc.yaml b/samples/Repositories/microsoft/winget-cli/configuration.dsc.yaml index 116e805d..ba83989a 100644 --- a/samples/Repositories/microsoft/winget-cli/configuration.dsc.yaml +++ b/samples/Repositories/microsoft/winget-cli/configuration.dsc.yaml @@ -12,7 +12,6 @@ properties: id: vsPackage directives: description: Install Visual Studio 2022 (any edition is OK) - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget @@ -26,4 +25,4 @@ properties: productId: Microsoft.VisualStudio.Product.Community channelId: VisualStudio.17.Release vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Repositories/microsoft/winget-create/configuration.dsc.yaml b/samples/Repositories/microsoft/winget-create/configuration.dsc.yaml index 09a2962a..055318f4 100644 --- a/samples/Repositories/microsoft/winget-create/configuration.dsc.yaml +++ b/samples/Repositories/microsoft/winget-create/configuration.dsc.yaml @@ -6,7 +6,6 @@ properties: id: vsPackage directives: description: Install Visual Studio 2022 Community - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget diff --git a/samples/Repositories/redux/reduxjs/configuration.dsc.yaml b/samples/Repositories/redux/reduxjs/configuration.dsc.yaml index e97b31f0..4271c947 100644 --- a/samples/Repositories/redux/reduxjs/configuration.dsc.yaml +++ b/samples/Repositories/redux/reduxjs/configuration.dsc.yaml @@ -6,7 +6,6 @@ properties: id: npm directives: description: Install Node >=v18.10 - allowPrerelease: true settings: id: OpenJS.NodeJS source: winget @@ -18,7 +17,7 @@ properties: description: Install Yarn allowPrerelease: true settings: - Name: 'yarn' + Name: "yarn" Global: true PackageDirectory: '${WinGetConfigRoot}\..\' - resource: YarnDsc/YarnInstall @@ -29,4 +28,4 @@ properties: allowPrerelease: true settings: PackageDirectory: '${WinGetConfigRoot}\..\' - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Repositories/tastejs/todomvc/configuration.dsc.yaml b/samples/Repositories/tastejs/todomvc/configuration.dsc.yaml index 11ef669c..d3bbb792 100644 --- a/samples/Repositories/tastejs/todomvc/configuration.dsc.yaml +++ b/samples/Repositories/tastejs/todomvc/configuration.dsc.yaml @@ -6,7 +6,6 @@ properties: id: npm directives: description: Install Node version 14+ - allowPrerelease: true settings: id: OpenJS.NodeJS source: winget @@ -18,4 +17,4 @@ properties: allowPrerelease: true settings: PackageDirectory: '${WinGetConfigRoot}\..\' - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Repositories/videojs/videojs/configuration.dsc.yaml b/samples/Repositories/videojs/videojs/configuration.dsc.yaml index 3c47acd4..282107e2 100644 --- a/samples/Repositories/videojs/videojs/configuration.dsc.yaml +++ b/samples/Repositories/videojs/videojs/configuration.dsc.yaml @@ -6,7 +6,6 @@ properties: id: npm directives: description: Install Node - allowPrerelease: true settings: id: OpenJS.NodeJS source: winget @@ -17,6 +16,6 @@ properties: description: Run 'npm install' allowPrerelease: true settings: - Ensure: 'Present' + Ensure: "Present" PackageDirectory: '${WinGetConfigRoot}\..\' configurationVersion: 0.2.0 diff --git a/samples/Templates/Introduction/C#/configuration.dsc.yaml b/samples/Templates/Introduction/C#/configuration.dsc.yaml index 2f2e7411..19fd6e22 100644 --- a/samples/Templates/Introduction/C#/configuration.dsc.yaml +++ b/samples/Templates/Introduction/C#/configuration.dsc.yaml @@ -25,7 +25,6 @@ properties: id: GitHub Desktop directives: description: Install GitHub Desktop - allowPrerelease: true settings: id: GitHub.GitHubDesktop source: winget @@ -33,7 +32,6 @@ properties: id: Visual Studio directives: description: Install Visual Studio 2022 Community - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget @@ -46,7 +44,7 @@ properties: allowPrerelease: true settings: productId: Microsoft.VisualStudio.Product.Community - channelId: VisualStudio.17.Release + channelId: VisualStudio.17.Release components: - Microsoft.VisualStudio.Workload.ManagedDesktop - resource: Microsoft.VisualStudio.DSC/VSComponents @@ -58,7 +56,7 @@ properties: allowPrerelease: true settings: productId: Microsoft.VisualStudio.Product.Community - channelId: VisualStudio.17.Release + channelId: VisualStudio.17.Release components: - Microsoft.VisualStudio.Workload.Universal - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Templates/Introduction/C++/configuration.dsc.yaml b/samples/Templates/Introduction/C++/configuration.dsc.yaml index 62943701..8897b36d 100644 --- a/samples/Templates/Introduction/C++/configuration.dsc.yaml +++ b/samples/Templates/Introduction/C++/configuration.dsc.yaml @@ -27,7 +27,6 @@ properties: id: GitHub Desktop directives: description: Install GitHub Desktop - allowPrerelease: true settings: id: GitHub.GitHubDesktop source: winget @@ -35,7 +34,6 @@ properties: id: VisualStudio directives: description: Install Visual Studio 2022 Community - allowPrerelease: true settings: id: Microsoft.VisualStudio.2022.Community source: winget @@ -48,7 +46,7 @@ properties: allowPrerelease: true settings: productId: Microsoft.VisualStudio.Product.Community - channelId: VisualStudio.17.Release + channelId: VisualStudio.17.Release components: - Microsoft.VisualStudio.Workload.NativeDesktop - resource: Microsoft.VisualStudio.DSC/VSComponents @@ -61,7 +59,7 @@ properties: allowPrerelease: true settings: productId: Microsoft.VisualStudio.Product.Community - channelId: VisualStudio.17.Release + channelId: VisualStudio.17.Release components: - Microsoft.VisualStudio.Workload.Universal - resource: Microsoft.WinGet.DSC/WinGetPackage @@ -70,8 +68,7 @@ properties: - VisualStudio directives: description: Install Windows SDK - allowPrerelease: true settings: id: Microsoft.WindowsSDK.10.0.22621 source: winget - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Templates/Introduction/PowerShell/configuration.dsc.yaml b/samples/Templates/Introduction/PowerShell/configuration.dsc.yaml index 13f90893..9e0866b5 100644 --- a/samples/Templates/Introduction/PowerShell/configuration.dsc.yaml +++ b/samples/Templates/Introduction/PowerShell/configuration.dsc.yaml @@ -6,8 +6,7 @@ properties: id: Visual Studio Code directives: description: Install Visual Studio Code - allowPrerelease: true settings: id: Microsoft.VisualStudioCode source: winget - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0 diff --git a/samples/Templates/Introduction/Python3.12/configuration.dsc.yaml b/samples/Templates/Introduction/Python3.12/configuration.dsc.yaml index 3d9dbf1d..18b1b990 100644 --- a/samples/Templates/Introduction/Python3.12/configuration.dsc.yaml +++ b/samples/Templates/Introduction/Python3.12/configuration.dsc.yaml @@ -25,7 +25,6 @@ properties: id: Python 3.12 directives: description: Install Python 3.12 - allowPrerelease: true settings: id: Python.Python.3.12 source: winget @@ -33,7 +32,6 @@ properties: id: GitHub Desktop directives: description: Install GitHub Desktop - allowPrerelease: true settings: id: GitHub.GitHubDesktop source: winget @@ -41,8 +39,7 @@ properties: id: VisualStudio Code directives: description: Install Visual Studio Code - allowPrerelease: true settings: id: Microsoft.VisualStudioCode source: winget - configurationVersion: 0.2.0 \ No newline at end of file + configurationVersion: 0.2.0