-
-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add devcontainer support #334
Conversation
When started from linux, this seems to have permission problems - vscode tries to create files in /root, but it runs as user "node", so it doesn't have correct permissions to write there.
Adding a |
That's interesting - I pretty much lifted and shifted the Microsoft example. I think it may have been this one: https://github.com/microsoft/vscode-dev-containers/tree/master/containers/javascript-node-lts-mongo/.devcontainer Let me double check if I made any significant tweaks... |
Unfortunately my first steps into Linux land have resulted in a bricked laptop 😄 @ob6160 and I will reattempt in a month or so; just need to fit a new hard drive and we've a hackathon to prepare for first. When I'm up and running with Ubuntu I'll take this for a whirl there. Works great on Windows already though 😁 |
When I get a moment I'll give this a go on my Linux machine & look into a fix |
What did you DO? :D |
@ob6160 only do it if you're totally bored - this can wait! (And it's not your fault I'm blocked; it's my dodgy machine 😄)
Well my XPS had been behaving oddly for a while. It was that that prompted me to get a new one. When @ob6160 and I started attempting to repave the old one with Ubuntu we discovered that the hard drive was trashed midway through reformatting it. C'est la vie 😁 I now have a new hard drive which we'll use to resurrect the machine next month. I'll get there... It's just a matter of time ⌚ |
@phryneas this patch seems to do the trick on my linux box https://gist.github.com/ob6160/525eb3c6684e5d7104e676c410495a70 Maybe give a rebuild of your devcontainer a go with that change? Not sure why the |
I've patched - is that right @ob6160 ? |
I think this is now working thanks to @ob6160 help ❤️ I want to get a release out there as I've realised that @pelotom's #345 didn't trigger a release due to the commit format. I'm planning to merge this as (AFAIK) it all works and it should be a non-invasive change. There's nothing in here that can break existing users and it's certainly making it easier for me to work on the plugin 😄 Unless anyone objects I'm going to merge this PR when the CI goes green later this morning. This will trigger a release and fix the current live issue that exists with 1.5.1 - see @johnbouma's issue here: #349 |
Hopefully this should trigger a release shortly. Travis has been a little flaky for the last couple of days though - so will keep an eye on it |
🎉 This PR is included in version 1.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I use a Windows machine; the test pack for the
fork-ts-checker-webpack-plugin
has never entirely worked with Windows. This is fine; I just switch to WSL and go with it.This PR adds in support for VS Code's dev containers; see: https://code.visualstudio.com/docs/remote/containers#_getting-started
This helps me and may help other Windows users that would like to contribute.