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

add "--experimental-integrations" flag #2894

Merged
merged 1 commit into from
Mar 26, 2022

Conversation

FredKSchott
Copy link
Member

@FredKSchott FredKSchott commented Mar 25, 2022

Changes

  • Adds the flag

Testing

  • Tests updated.

Docs

  • Will revert the docs to keep this CLI flag reference, once this PR is merged

@changeset-bot
Copy link

changeset-bot bot commented Mar 25, 2022

🦋 Changeset detected

Latest commit: 49d8d7b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
astro Patch

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 Mar 25, 2022
.refine((arr) => arr.every((integration) => integration.name.startsWith('@astrojs/')), {
message: `Astro integrations are still experimental, and only official integrations are currently supported`,
})
z.array(z.object({ name: z.string(), hooks: z.object({}).passthrough().default({}) })).default([])
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved this since we don't have access to other flags in the validation step.

Copy link
Contributor

@bholmesdev bholmesdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks integr8!

@FredKSchott FredKSchott force-pushed the add-experimental-integrations-flag branch from c41a334 to 49d8d7b Compare March 26, 2022 00:02
@github-actions github-actions bot added the test label Mar 26, 2022
@FredKSchott FredKSchott merged commit 9d6e0b5 into main Mar 26, 2022
@FredKSchott FredKSchott deleted the add-experimental-integrations-flag branch March 26, 2022 00:11
@github-actions github-actions bot mentioned this pull request Mar 26, 2022
SiriousHunter pushed a commit to SiriousHunter/astro that referenced this pull request Feb 3, 2023
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.

2 participants