Skip to content

chore: improve npm search rank for svelte package #12297

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

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

thenbe
Copy link
Contributor

@thenbe thenbe commented Jul 4, 2024

2024-07-04-12-03-26.mp4

On npmjs.com, this package is not the first result when searching for "svelte". Instead, the first result is svelte-portal.

It seems that this is caused by svelte-portal having the term "svelte" in its list of keywords. Perhaps npm assigns a lower weight to package_json.name than package_json.keywords[n] when it comes to search ranking? Or maybe this is due to having the term "svelte" both in the package name and the keyword list. Either way, we've been out-svelted.

Anyways, this package should come first.

Copy link

changeset-bot bot commented Jul 4, 2024

⚠️ No Changeset found

Latest commit: 8b02e52

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

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

Thank you!

@dummdidumm dummdidumm merged commit 521988c into sveltejs:main Jul 4, 2024
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants