Skip to content

changes for v1.1.0 #27

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

Merged
merged 3 commits into from
Mar 30, 2023
Merged

changes for v1.1.0 #27

merged 3 commits into from
Mar 30, 2023

Conversation

jrvidal
Copy link
Contributor

@jrvidal jrvidal commented Mar 30, 2023

Update docs for the new 1.1.0 version. What to do about API reference changes is TBD. I want to upgrade the docs themselves to use 1.1.0, but we might need to ship a fix before.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Mar 30, 2023

Deploy Preview for webcontainer-docs ready!

Name Link
🔨 Latest commit 45ac455
🔍 Latest deploy log https://app.netlify.com/sites/webcontainer-docs/deploys/642601ad4afb010008a0e93a
😎 Deploy Preview https://deploy-preview-27--webcontainer-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@@ -131,7 +131,7 @@ async function bootWebContainer(terminal: import('xterm').Terminal) {

terminal.write('Booting WebContainer...');

webcontainer = WebContainer.boot();
webcontainer = WebContainer.boot({ workdirName: 'demo' });
Copy link
Contributor Author

@jrvidal jrvidal Mar 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⭐ This changes the folder name visible in the terminal from ~/webcontainersio-98a7w9 or whatever to simply ~/demo.

(EDIT: nevermind, had to revert)

Comment on lines +17 to +19
* The name of the working directory can be specified through `BootOptions#workdirName`.
* The default value of the `PATH` environment variable is exposed in `WebContainer#path`.
* The full path of the working directory is exposed in `WebContainer#workdir`.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ These 3 items are minor stuff that I don't find particularly relevant for our tutorials.

@jrvidal jrvidal requested a review from sylwiavargas March 30, 2023 20:53
@jrvidal
Copy link
Contributor Author

jrvidal commented Mar 30, 2023

Oh, lol, v1.1.0 broke some stuff, so we can't dogfood just yet. I'll revert for now.

@@ -12,7 +12,7 @@ head:

This guide provides an overview on how to configure COOP/COEP headers, including hosting platform configuration.

WebContainers require that your page, even in development, be served with these two headers:
WebContainers require that your page, even in development, is served with these two headers:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, thanks!

Co-authored-by: Sylwia Vargas <[email protected]>
@sylwiavargas sylwiavargas self-requested a review March 30, 2023 21:48
Copy link
Contributor

@sylwiavargas sylwiavargas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the additions and editions 💙

@sylwiavargas sylwiavargas merged commit 5c3b897 into main Mar 30, 2023
@sylwiavargas sylwiavargas deleted the roberto/update-1.1.0 branch March 30, 2023 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants