refactor: cleanup public actions API#14844
Conversation
🦋 Changeset detectedLatest commit: db29578 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
CodSpeed Performance ReportMerging #14844 will not alter performanceComparing Summary
Footnotes |
|
First of all, the PR should be against the next branch! |
I'm gonna do it better next time 😅 |
|
Do you need help? |
|
Hi, Florian! That would be awesome, as I'm not totally sure what else to edit 🙏 |
|
The 2 last bullet points of the issue are handled, nicely done! Many things are missing from the 1st bullet point tho:
Does that make sense? Happy to clarify |
|
Thanks Florian for the explanation, this made it much more clear to me 🙌 Regarding
I'm not totally sure, where you mean, I think I adapted it already, but I probably overlooked some place, so I updated it in the last commit again, please let me know, if I am completely mistaken here and which changes are actually required 🙏
In the last commit, I moved as much things that are now exported from Also let me know if you would prefer some other ordering / structuring in the new entrypoint files, I grouped it by type vs functions/classes 👍 All in all, I'm pretty sure I missed some other things, but I really appreciate your guidance and patience! Thank you! |
|
Also, I just noticed this PR is still in draft mode. I think now is the time to mark it as ready for review to encourage reviews 🙌 |
|
I'll also fix the CI issues later, I think they are self-explanatory 👍 |
florian-lefebvre
left a comment
There was a problem hiding this comment.
When I talk about the vite plugin, I'm talking about this line specifically https://github.com/withastro/astro/blob/next/packages/astro/src/actions/vite-plugin-actions.ts#L117
Thanks very much for clarifying that! I was unable to find it myself, sorry! |
|
Thank you so much, Florian, for helping out and cleaning up many 👀 important parts of code. I definitely couldn't have done that without you. Thanks for also being so patient with me and always offering help 🙌 As you can probably see, I created the docs PR for this breaking change, where I listed all removed utilities to my knowledge. I'm not sure if this is the best approach, but let's discuss these details over there 👍 |
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
florian-lefebvre
left a comment
There was a problem hiding this comment.
Perfect thank you! It may take a few days to merge this because we want to merge another PR first
This reverts commit fb39815.
…ro-env/wrangler.toml
Changes
/entrypoints/{server|client}.tsfiles)Testing
I adapted some imports in test since the refactoring affects some.
Docs
No docs changed, this PR is intended to just refactor internal exports and remove public access to some types.
The docs were already adapted in withastro/docs#12596
Todo