Skip to content

Ability to promote a package from prerelease to stable #1028

Open
@rdebeasi

Description

@rdebeasi

When a package is in a prerelease version, there doesn't seem to be a way to "promote" the package to stable with beachball. I could manually edit the package file and logs, of course, but it would be nicer to make the change with beachball! 😄

Related discussion

For inspiration, here's how changesets does prereleases.

Example

 // package.json for @myorg/myinput
"name": "@myorg/myinput",
"version": "2.0.0-rc.0",
{
  "type": "major",
  "comment": "Test",
  "packageName": "@myorg/myinput",
  "email": "[email protected]",
  "dependentChangeType": "patch"
}

Expected behavior

When I run beachball bump, I expect to see @myorg/myinput 2.0.0 (or perhaps @myorg/myinput 3.0.0).

Actual behavior

When I run beachball bump, I see @myorg/myinput 2.0.0-rc.1.

Alternate approach

Perhaps there could be a beachball exit-prerelease command that would remove the -rc suffix and publish @myorg/myinput 2.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions