Skip to content
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

Export astro/compiler-runtime and cleanup exports #8085

Merged
merged 1 commit into from
Aug 15, 2023
Merged

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Aug 15, 2023

Changes

(Same as changeset)

Remove exports for astro/internal/* and astro/runtime/server/* in favour of astro/runtime/*. Add new astro/compiler-runtime export for compiler-specific runtime code.

Ultimately it would be nice to get rid of astro/runtime/* and make it all stricter, but that's longer term.

Testing

Existing tests should pass.

Docs

We currently don't reference these exports in the docs, which is great since they are internal APIs. The @astrojs/compiler README can use an update after 3.0 is released to recommend astro/compiler-runtime over astro/runtime/server/index.js

@bluwy bluwy requested a review from a team as a code owner August 15, 2023 08:08
@changeset-bot
Copy link

changeset-bot bot commented Aug 15, 2023

🦋 Changeset detected

Latest commit: 7de7182

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

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Aug 15, 2023
@bluwy
Copy link
Member Author

bluwy commented Aug 15, 2023

Merging so Ema can rebase next

@bluwy bluwy merged commit 68efd4a into next Aug 15, 2023
13 checks passed
@bluwy bluwy deleted the compiler-runtime branch August 15, 2023 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants