Skip to content

Conversation

@ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Sep 8, 2025

Changes

Creates an environment called content that is used to load the content config. This allows it to happen when the main dev environment is a non-runnable env.

This also changes a few other uses of ssr to remove the type guard, when they don't need the runner.

Testing

Manually tested some content layer fixtures

Docs

@changeset-bot
Copy link

changeset-bot bot commented Sep 8, 2025

⚠️ No Changeset found

Latest commit: 7aeb095

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Sep 8, 2025
@ascorbic ascorbic merged commit 5c41688 into feat/environment-api Sep 8, 2025
7 of 19 checks passed
@ascorbic ascorbic deleted the content-env branch September 8, 2025 12:56
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.

3 participants