surrealdb / surrealdb.js

SurrealDB SDK for JavaScript
https://surrealdb.com
Apache License 2.0
271 stars 46 forks source link

publish npm package with latest only for non beta releases #289

Closed rluvaton closed 6 days ago

rluvaton commented 1 week ago

What is the motivation?

To avoid installing beta when I run npm i surrealdb.js in new projects

What does this change do?

mark latest only versions that match the semver standard, and the rest with beta

What is your testing strategy?

Manually tested it

Is this related to any issues?

Not existing ones

Have you read the Contributing Guidelines?

rluvaton commented 1 week ago

You probably need a better way to manage versions, as there will come a day that you need to publish hotfix version to multiple version with different majors and it will be really hard

kearfy commented 1 week ago

Hey @rluvaton, thanks for this PR! We'll be merging #291 first and I'll merge this right after!