Skip to content

Commit 8f7b715

Browse files
committed
chore: inits workbench projects
0 parents  commit 8f7b715

27 files changed

Lines changed: 1277 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/universal
3+
{
4+
"name": "Default Linux Universal",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
7+
"features": {
8+
"ghcr.io/devcontainers/features/dotnet:2": {},
9+
"ghcr.io/devcontainers/features/java:1": {},
10+
"ghcr.io/devcontainers/features/node:1": {},
11+
"ghcr.io/devcontainers/features/python:1": {},
12+
"ghcr.io/devcontainers-contrib/features/ts-node:1": {}
13+
},
14+
"customizations": {
15+
"vscode": {
16+
"extensions": [
17+
"vscjava.vscode-gradle",
18+
"vscjava.vscode-java-pack",
19+
"esbenp.prettier-vscode",
20+
"donjayamanne.python-extension-pack",
21+
"ms-vscode.vscode-typescript-next",
22+
"ms-dotnettools.csdevkit"
23+
]
24+
}
25+
}
26+
27+
// Features to add to the dev container. More info: https://containers.dev/features.
28+
// "features": {},
29+
30+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
31+
// "forwardPorts": [],
32+
33+
// Use 'postCreateCommand' to run commands after the container is created.
34+
// "postCreateCommand": "uname -a",
35+
36+
// Configure tool-specific properties.
37+
// "customizations": {},
38+
39+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
40+
// "remoteUser": "root"
41+
}

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
bin
3+
obj
4+
.gradle
5+
dist
6+
.pnpm-store

.vscode/launch.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "java",
6+
"name": "Java Debugger: Current",
7+
"request": "launch",
8+
"mainClass": "${file}"
9+
},
10+
{
11+
"name": "Python Debugger: Python File",
12+
"type": "debugpy",
13+
"request": "launch",
14+
"program": "${file}"
15+
},
16+
{
17+
"name": "C#: c-sharp",
18+
"type": "dotnet",
19+
"request": "launch",
20+
"projectPath": "${workspaceFolder}/c-sharp/c-sharp.csproj",
21+
"launchConfigurationId": "TargetFramework=;c-sharp"
22+
}
23+
]
24+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"dotnet.defaultSolution": "c-sharp.sln"
3+
}

c-sharp/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Console.WriteLine("Hello, World!");

c-sharp/c-sharp.csproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net8.0</TargetFramework>
6+
<RootNamespace>CodeDifferently</RootNamespace>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
</PropertyGroup>
10+
11+
</Project>

c-sharp/c-sharp.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "c-sharp", "c-sharp.csproj", "{4D3AB34D-ED63-4FB4-B7CC-7DD1A882D94E}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(SolutionProperties) = preSolution
14+
HideSolutionNode = FALSE
15+
EndGlobalSection
16+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
17+
{4D3AB34D-ED63-4FB4-B7CC-7DD1A882D94E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18+
{4D3AB34D-ED63-4FB4-B7CC-7DD1A882D94E}.Debug|Any CPU.Build.0 = Debug|Any CPU
19+
{4D3AB34D-ED63-4FB4-B7CC-7DD1A882D94E}.Release|Any CPU.ActiveCfg = Release|Any CPU
20+
{4D3AB34D-ED63-4FB4-B7CC-7DD1A882D94E}.Release|Any CPU.Build.0 = Release|Any CPU
21+
EndGlobalSection
22+
EndGlobal

java/.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+

java/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Ignore Gradle project-specific cache directory
2+
.gradle
3+
4+
# Ignore Gradle build output directory
5+
build

0 commit comments

Comments
 (0)