Open DylanSp opened 1 year ago
Some of this may fall under personalizing Codespaces, rather than having configuration for this repo - see https://docs.github.com/en/codespaces/customizing-your-codespace/personalizing-github-codespaces-for-your-account. Quite possibly, the only config that should be in this repo's devcontainer.json
should be the extensions (which I should recommend in this repo's .vscode
directory - see https://github.com/DylanSp/typescript-node-starter/issues/17).
Looking at https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-nodejs-project-for-codespaces#step-2-add-a-dev-container-configuration, I may be able to base my config on the existing Node templates. Main changes I'd want to make:
git
is installed (is hopefully included by default)postCreateCommand
to npm ci
, to install dependencies
https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers#creating-a-custom-dev-container-configuration
nano
(should be handled by settingEDITOR
env var)