forked from microsoft/vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6,952 changed files
with
946,002 additions
and
414,866 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | ||
# Reference: https://github.com/microsoft/vscode/wiki/How-to-Contribute | ||
properties: | ||
resources: | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
directives: | ||
description: Install Git | ||
allowPrerelease: true | ||
settings: | ||
id: Git.Git | ||
source: winget | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: npm | ||
directives: | ||
description: Install NodeJS version >=18.15.x and <19 | ||
allowPrerelease: true | ||
settings: | ||
id: OpenJS.NodeJS.LTS | ||
version: "18.18.0" | ||
source: winget | ||
- resource: NpmDsc/NpmPackage | ||
id: yarn | ||
dependsOn: | ||
- npm | ||
directives: | ||
description: Install Yarn | ||
allowPrerelease: true | ||
settings: | ||
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 | ||
- resource: Microsoft.WinGet.DSC/WinGetPackage | ||
id: vsPackage | ||
directives: | ||
description: Install Visual Studio 2022 (any edition is OK) | ||
allowPrerelease: true | ||
settings: | ||
id: Microsoft.VisualStudio.2022.BuildTools | ||
source: winget | ||
- resource: Microsoft.VisualStudio.DSC/VSComponents | ||
dependsOn: | ||
- vsPackage | ||
directives: | ||
description: Install required VS workloads | ||
allowPrerelease: true | ||
settings: | ||
productId: Microsoft.VisualStudio.Product.BuildTools | ||
channelId: VisualStudio.17.Release | ||
includeRecommended: true | ||
components: | ||
- Microsoft.VisualStudio.Workload.VCTools | ||
- resource: YarnDsc/YarnInstall | ||
dependsOn: | ||
- npm | ||
directives: | ||
description: Install dependencies | ||
allowPrerelease: true | ||
settings: | ||
PackageDirectory: '${WinGetConfigRoot}\..\' | ||
configurationVersion: 0.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM mcr.microsoft.com/devcontainers/typescript-node:18-bookworm | ||
|
||
ADD install-vscode.sh /root/ | ||
RUN /root/install-vscode.sh | ||
|
||
RUN git config --system codespaces-theme.hide-status 1 | ||
|
||
USER node | ||
RUN npm install -g node-gyp | ||
RUN YARN_CACHE="$(yarn cache dir)" && rm -rf "$YARN_CACHE" && ln -s /vscode-dev/yarn-cache "$YARN_CACHE" | ||
RUN echo 'export DISPLAY="${DISPLAY:-:1}"' | tee -a ~/.bashrc >> ~/.zshrc | ||
|
||
USER root | ||
CMD chown node:node /vscode-dev && sudo -u node mkdir -p /vscode-dev/yarn-cache && sleep inf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"features": { | ||
"ghcr.io/devcontainers/features/desktop-lite:1": { | ||
"version": "1.0.8", | ||
"resolved": "ghcr.io/devcontainers/features/desktop-lite@sha256:e7dc4d37ab9e3d6e7ebb221bac741f5bfe07dae47025399d038b17af2ed8ddb7", | ||
"integrity": "sha256:e7dc4d37ab9e3d6e7ebb221bac741f5bfe07dae47025399d038b17af2ed8ddb7" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.