0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Added: reminder to also update docs if create-astro flow or wording is changed (#3760)

This commit is contained in:
Sarah Rainsberger 2022-06-29 11:10:20 -03:00 committed by GitHub
parent 660abd3dee
commit aaf0cd8bfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,6 +45,7 @@ const { version } = JSON.parse(
const FILES_TO_REMOVE = ['.stackblitzrc', 'sandbox.config.json', 'CHANGELOG.md']; // some files are only needed for online editors when using astro.new. Remove for create-astro installs.
// Please also update the installation instructions in the docs at https://github.com/withastro/docs/blob/main/src/pages/en/install/auto.md if you make any changes to the flow or wording here.
export async function main() {
const pkgManager = pkgManagerFromUserAgent(process.env.npm_config_user_agent);