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

Fix multiple create-astro registry issues #7539

Merged
merged 9 commits into from
Jun 30, 2023

Conversation

jc1144096387
Copy link
Contributor

@jc1144096387 jc1144096387 commented Jun 30, 2023

Changes

Testing

I add the code and link the local package to global by using pnpm link -g, and then I run create-astro again. I am successfully into creating app.
image

Docs

Bug fixes only

@changeset-bot
Copy link

changeset-bot bot commented Jun 30, 2023

🦋 Changeset detected

Latest commit: 1e95455

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: create-astro Related to the `create-astro` package (scope) label Jun 30, 2023
packages/create-astro/src/messages.ts Outdated Show resolved Hide resolved
.changeset/old-seahorses-fold.md Outdated Show resolved Hide resolved
.changeset/old-seahorses-fold.md Outdated Show resolved Hide resolved
@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Jun 30, 2023
@natemoo-re natemoo-re changed the title fix: getVersion Error when registry ends with '/' Fix multiple create-astro registry issues Jun 30, 2023
Copy link
Member

@natemoo-re natemoo-re left a comment

Choose a reason for hiding this comment

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

Thanks for kicking this off, congrats on your first PR!

@natemoo-re natemoo-re merged commit 1170877 into withastro:main Jun 30, 2023
@astrobot-houston astrobot-houston mentioned this pull request Jun 30, 2023
matthewp pushed a commit that referenced this pull request Jul 11, 2023
* fix: getVersion Error when registry ends with '/'

* Update .changeset/old-seahorses-fold.md

* Update .changeset/old-seahorses-fold.md

* refactor: cleanup registry logic

* chore: update changeset

* fix(create-astro): update registry logic to rely on `fetch`

* chore: update changeset

* chore: update lockfile

* Update old-seahorses-fold.md

---------

Co-authored-by: jincheng32537 <[email protected]>
Co-authored-by: Nate Moore <[email protected]>
Co-authored-by: Nate Moore <[email protected]>
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) pkg: create-astro Related to the `create-astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

npm create astro@latest doesn't work create astro error
3 participants