-
-
Notifications
You must be signed in to change notification settings - Fork 191
fix: migrate button, repl type and upgrade to ^5.0.0 #474
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
"satori": "^0.10.13", | ||
"satori-html": "^0.3.2", | ||
"svelte": "5.0.0-next.269", | ||
"svelte": "5.0.0", |
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.
I believe there's more Svelte package references in the repo, best to bump them all
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.
I've updated the rest of the packages and also the tutorial
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.
Please also run a pnpm dedupe
and make sure everything still works after that. There are a number of dependencies that now exist multiple times in different versions in the tree.
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.
Uh i need to pay attention to this more. Run dedupe
i'll check now that it's deployed
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.
Mmm I think something broke
Do we have any theory as to why the editor is losing focus? I think ideally we'd fix the bug at that point, rather than adding a boolean trap, if we can avoid it |
I think it's because by changing the file you are triggering a new "state" for code mirror which re-compute...we fixed in neo code mirror by refocusing the host if I'm not mistaken...let me check |
States are set explicitly, and only from within the |
Found the culprit... |
Uh but now the example selectors doesn't work...let me see |
Ok now it should be for real...man Codemirror is such a mess. |
fantastic sleuthing! |
[pretends to know what this word means without searching google] Oh yeah...sleuthing! |
The update to
this.#current
is needed when the value doesn't come from codemirror (like the migrate button) or else codemirror will not update.This also updated to svelte 5 and fixes a typing issue in
+page.svelte