Skip to content

Commit 4a6eceb

Browse files
authored
chore: upgrade to api 1.1.3 (#29)
1 parent 5c3b897 commit 4a6eceb

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
lines changed

docs/.vitepress/theme/components/Examples/WCEmbed/webcontainer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async function bootWebContainer(terminal: import('xterm').Terminal) {
131131

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

134-
webcontainer = WebContainer.boot();
134+
webcontainer = WebContainer.boot({ workdirName: 'demo' });
135135

136136
try {
137137
const wc = await webcontainer;

package-lock.json

Lines changed: 18 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@codemirror/theme-one-dark": "^6.1.0",
3232
"@codemirror/view": "^6.8.0",
3333
"@lezer/highlight": "^1.1.3",
34-
"@webcontainer/api": "^1.0.0-alpha.3",
34+
"@webcontainer/api": "^1.1.3",
3535
"codemirror": "^6.0.1",
3636
"p-defer": "^4.0.0",
3737
"xterm": "^5.1.0",

0 commit comments

Comments
 (0)