Skip to content

Commit 51f1d2d

Browse files
authored
Engineering - Add winget configuration file (microsoft#183465)
* Engineering - Add winget configuration file * Remove property * Add git
1 parent bc4edc5 commit 51f1d2d

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
2+
# Reference: https://github.com/microsoft/vscode/wiki/How-to-Contribute
3+
properties:
4+
resources:
5+
- resource: Microsoft.WinGet.DSC/WinGetPackage
6+
directives:
7+
description: Install Git
8+
allowPrerelease: true
9+
settings:
10+
id: Git.Git
11+
source: winget
12+
- resource: Microsoft.WinGet.DSC/WinGetPackage
13+
id: npm
14+
directives:
15+
description: Install NodeJS version >=16.17.x and <17
16+
allowPrerelease: true
17+
settings:
18+
id: OpenJS.NodeJS.LTS
19+
version: "16.20.0"
20+
source: winget
21+
- resource: NpmDsc/NpmPackage
22+
id: yarn
23+
dependsOn:
24+
- npm
25+
directives:
26+
description: Install Yarn
27+
allowPrerelease: true
28+
settings:
29+
Name: 'yarn'
30+
Global: true
31+
- resource: Microsoft.WinGet.DSC/WinGetPackage
32+
directives:
33+
description: Install Python 3.10
34+
allowPrerelease: true
35+
settings:
36+
id: Python.Python.3.10
37+
source: winget
38+
- resource: Microsoft.WinGet.DSC/WinGetPackage
39+
id: vsPackage
40+
directives:
41+
description: Install Visual Studio 2022 (any edition is OK)
42+
allowPrerelease: true
43+
settings:
44+
id: Microsoft.VisualStudio.2022.BuildTools
45+
source: winget
46+
- resource: Microsoft.VisualStudio.DSC/VSComponents
47+
dependsOn:
48+
- vsPackage
49+
directives:
50+
description: Install required VS workloads
51+
allowPrerelease: true
52+
settings:
53+
productId: Microsoft.VisualStudio.Product.BuildTools
54+
channelId: VisualStudio.17.Release
55+
includeRecommended: true
56+
components:
57+
- Microsoft.VisualStudio.Workload.VCTools
58+
configurationVersion: 0.2.0

0 commit comments

Comments
 (0)