DylanSp / typescript-node-starter

A template for writing TypeScript/Node projects.
MIT License
1 stars 1 forks source link

Add devcontainer config file for use with Codebases #28

Open DylanSp opened 1 year ago

DylanSp commented 1 year ago

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

DylanSp commented 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).

DylanSp commented 1 year ago

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: