Prerequisites
Problem Statement
It would improve developer experience if this repository included a devcontainer specification.
VSCode has a feature called devcontainer that allows developers to bundle dependencies, tools, and a whole dev environment into a Docker container, this is particularily useful for keeping the host machine unaffected by dependencies of a project.
Proposed Solution
Some other repositories within the meshtastic project already have a devcontainer setup
(meshtastic/firmware, meshtastic/device-ui) so it would make sense to also onboard the web repo.
A minimal devcontainer spec should include pnpm like so:
{
"name": "meshtastic-web",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
"features": {
"ghcr.io/r3dpoint/devcontainer-features/tailwindcss-standalone-cli:1": {
"version": "latest"
},
"ghcr.io/devcontainers-extra/features/pnpm:2": {
"version": "latest"
}
}
}
Current Alternatives
No response
Importance
Nice to have
Additional Context
No response
Prerequisites
Problem Statement
It would improve developer experience if this repository included a devcontainer specification.
VSCode has a feature called
devcontainerthat allows developers to bundle dependencies, tools, and a whole dev environment into a Docker container, this is particularily useful for keeping the host machine unaffected by dependencies of a project.Proposed Solution
Some other repositories within the meshtastic project already have a devcontainer setup
(meshtastic/firmware, meshtastic/device-ui) so it would make sense to also onboard the web repo.
A minimal devcontainer spec should include
pnpmlike so:{ "name": "meshtastic-web", "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm", "features": { "ghcr.io/r3dpoint/devcontainer-features/tailwindcss-standalone-cli:1": { "version": "latest" }, "ghcr.io/devcontainers-extra/features/pnpm:2": { "version": "latest" } } }Current Alternatives
No response
Importance
Nice to have
Additional Context
No response