joelshepherd / tabliss

A beautiful, customisable New Tab page for Firefox, Chrome, and Edge.
https://tabliss.io
GNU General Public License v3.0
2.25k stars 295 forks source link

VS Code Dev Containers config #558

Open damirarh opened 1 year ago

damirarh commented 1 year ago

NPM scripts fail in Windows because they are setting environment variables without using cross-env or similar. VS Code Dev Containers are probably the simplest way to make it work in Windows without any code changes, at least for Visual Studio Code users.

The commit contains a configuration file with the default image for TypeScript development with latest Node.js version and two extensions that make a lot of sense for the project:

The .gitattributes file forces LF line endings to avoid problems with phantom file changes when cloning the project in Windows and using Git inside the Dev Container.

Having these 2 files in the repository should make it much easier to get to a working development environment in Windows.