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

✨ improve(patch): upgradeable community extensions #2448

Merged
merged 4 commits into from
Sep 22, 2023

Conversation

kellymears
Copy link
Member

Allow for community extensions to be versioned independently of bud.js packages.

Extension authors can add a bud.version field to their package.json:

{
  "bud": {"version": ">=6.1.0"}
}

If no versioning information is present or a match cannot be found, bud.js will try to install [extension-name]@latest when upgrading.

This upgrade logic is applied to any dependency or devDependency which starts with bud- or includes /bud- (so packages can be namespaced).

Type of change

PATCH: backwards compatible change

@github-actions github-actions bot added @roots/bud @roots/bud-support dependencies Pull requests that update a dependency file labels Sep 13, 2023
@github-actions github-actions bot added the internal repository specific PR or issue label Sep 13, 2023
@kellymears kellymears linked an issue Sep 13, 2023 that may be closed by this pull request
@kellymears kellymears self-assigned this Sep 14, 2023
@kellymears kellymears marked this pull request as ready for review September 14, 2023 22:45
@kellymears
Copy link
Member Author

Okay, let's merge this so we can give it a shot in the nightly release.

@kellymears kellymears added the 🚀! automerge label Sep 22, 2023
@kodiakhq kodiakhq bot merged commit 2558245 into main Sep 22, 2023
8 checks passed
@kodiakhq kodiakhq bot deleted the improve-extension-versioning branch September 22, 2023 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file internal repository specific PR or issue @roots/bud @roots/bud-support 🚀! automerge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[question] best practices for versioning extensions
1 participant