0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-17 22:44:24 -05:00

feat: make 3rd party integration warning less scary (#10496)

* feat: make 3rd party integration warning less scary

* Create light-bikes-study.md

* Update light-bikes-study.md
This commit is contained in:
Florian Lefebvre 2024-04-02 19:52:49 +02:00 committed by GitHub
parent fd18a5dda9
commit ce98563112
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"astro": patch
---
Makes the warning less scary when adding 3rd-party integrations using `astro add`

View file

@ -860,7 +860,7 @@ export async function validateIntegrations(integrations: string[]): Promise<Inte
spinner.warn(yellow(firstPartyPkgCheck.message));
}
spinner.warn(
yellow(`${bold(integration)} is not an official Astro package. Use at your own risk!`)
yellow(`${bold(integration)} is not an official Astro package.`)
);
const response = await prompts({
type: 'confirm',