This repository was archived by the owner on Mar 31, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdevcontainer.json
More file actions
141 lines (141 loc) · 4.33 KB
/
devcontainer.json
File metadata and controls
141 lines (141 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.0/containers/typescript-node
{
"name": "Probot",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"remoteEnv": {
"SAM_CLI_TELEMETRY": "0",
"FUNCTIONS_CORE_TOOLS_TELEMETRY_OPTOUT": "true"
},
"customizations": {
"vscode": {
"extensions": [
"arcanis.vscode-zipfs",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"EditorConfig.EditorConfig",
"github.vscode-github-actions",
"mhutchie.git-graph",
"ms-azuretools.vscode-azurefunctions",
"Orta.vscode-jest",
"redhat.vscode-yaml"
],
"settings": {
"aws.telemetry": false,
"jest.virtualFolders": [
{
"name": "app",
"rootPath": "./packages/app"
},
{
"name": "server",
"rootPath": "./packages/server"
},
{
"name": "aws",
"rootPath": "./packages/aws"
}
],
"jest.runMode": {
"type": "on-demand",
"deferred": true
},
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
},
"typescript.tsdk": ".yarn/sdks/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"eslint.nodePath": ".yarn/sdks",
"eslint.validate": ["javascript", "typescript"],
"eslint.enable": true,
"eslint.options": {},
"eslint.useFlatConfig": true,
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"azureFunctions.deploySubpath": ".",
//"azureFunctions.postDeployTask": "",
"azureFunctions.projectLanguage": "TypeScript",
"azureFunctions.projectRuntime": "~4",
"debug.internalConsoleOptions": "neverOpen",
//"azureFunctions.preDeployTask": "Install Dependencies",
"jest.jestCommandLine": "yarn run test",
"typescript.tsserver.log": "off",
"typescript.tsserver.nodePath": "node",
"js/ts.implicitProjectConfig.module": "ESNext",
// Workaround for https://github.com/yarnpkg/berry/issues/6270
"typescript.tsserver.experimental.useVsCodeWatcher": false,
"prettier.prettierPath": ".yarn/sdks/prettier/index.cjs",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
}
},
"onCreateCommand": {
"setup-yarn": "corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack install --global yarn@stable"
},
"updateContentCommand": {
"install-packages": "COREPACK_ENABLE_DOWNLOAD_PROMPT=0 yarn install && yarn dlx @yarnpkg/sdks base"
},
"postAttachCommand": {
"configure-git": "[ \"$(git config --global --get safe.directory)\" = '${containerWorkspaceFolder}' ] || git config --global --add safe.directory '${containerWorkspaceFolder}'"
},
"remoteUser": "vscode",
"portsAttributes": {
"3000": {
"label": "Probot"
},
"3001": {
"label": "Emulator"
},
"5555": {
"label": "Mockserver 1",
"protocol": "http",
"onAutoForward": "silent"
},
"5556": {
"label": "Mockserver 2",
"protocol": "http",
"onAutoForward": "silent"
},
"10000": {
"label": "Azurite Storage Emulator"
}
},
"features": {
"./features/hadolint": {},
"./features/aws-sam": {},
"./features/azure-function": {},
"ghcr.io/devcontainers/features/aws-cli:1": {},
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/node:1": {
"version": "22.14.0",
"nvmVersion": "latest"
},
"./features/python-binary": {
"version": "3.13"
}
},
"otherPortsAttributes": {
"onAutoForward": "ignore"
}
}