-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix usage inside of stackblitz.com online IDE #58
Conversation
fbb97d9
to
4bfd724
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it's just me being too out of the loop, but it's the first time I hear about WebContainers, so I personally would like to see some comments.
Also this includes unrelated formatting changes, but there is not a lot of them, so I guess it's fine.
Otherwise there aren't that many changes, it doesn't look like things are gonna break. And the feature itself is nice!
backend/run.ts
Outdated
import process from "process"; | ||
import open from "open"; | ||
import process from 'process'; | ||
import open from 'open'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems you used prettier which caused some noise in the PR, we should integrate prettier to avoid such styling issues
the code now is formatted with prettier, please rebase |
4bfd724
to
77d95f9
Compare
77d95f9
to
85fdb4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from Prettier / formatting changes, looks good!
I did not test though.
To clarify: IMU Prettier needs to be run before commit |
Co-authored-by: WofWca <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stackblitz sounds interesting, indeed - and, without understanding too much nor tested things, the PR looks useful also otherwise and easy enough.
thanks for diving into that ❤️
Why?
Because it could become a convenient way to develop webxdc apps without installing anything.
What does this?
detect if it is run in stackblitz, if yes it transforms urls to make it work.
What's next?
maybe also fix/add support other webIDE software like Github Codespaces.