-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathdevcontainer.json
74 lines (74 loc) · 1.68 KB
/
devcontainer.json
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
{
"name": "Meshtastic Network-Management-Client Dev",
"build": {
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/rust:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "lts",
"pnpmVersion": "latest"
},
"ghcr.io/devcontainers/features/python:1": {
"installTools": "false"
}
},
"customizations": {
"vscode": {
"extensions": [
// "Trunk.io",
"biomejs.biome",
"rust-lang.rust-analyzer",
"tauri-apps.tauri-vscode"
],
"unwantedRecommendations": [
"ms-azuretools.vscode-docker"
],
"settings": {
"extensions.ignoreRecommendations": true,
"files.eol": "\n",
"editor.tabSize": 2,
"editor.formatOnSave": true,
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"typescript.preferences.importModuleSpecifier": "non-relative",
"rust-analyzer.showUnlinkedFileNotification": false
}
}
},
"forwardPorts": [
5173,
443,
4403
],
"portsAttributes": {
"443": {
"label": "Meshtasticd Web Client",
"onAutoForward": "silent",
"protocol": "https"
},
"4403": {
"label": "Meshtasticd",
"onAutoForward": "silent"
},
"5173": {
"label": "Meshtastic Network Management Client",
"onAutoForward": "silent"
}
},
"runArgs": [
// Use "--device=" to make a local device available inside the container.
// "--device=/dev/ttyACM0",
],
"postCreateCommand": "bash .devcontainer/postCreateCommand.sh",
"postStartCommand": "bash .devcontainer/postStartCommand.sh"
}