bd32d5a999
Adds an additional check during pack which walks all the dependencies in the manifest, and verifies that there are no remaining `backstage:` versions. I'm not aware of any realistic cases where the code that does the replacement would be expected to fail, but since a backstage:^ package in the manifest will break the release, it seems prudent to double check and fail fast to allow us to catch unexpected results. Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
yarn-plugin-backstage
This yarn plugin adds a backstage: version protocol to yarn, which replaces
specific version ranges for @backstage/ packages. The only version range
supported by this plugin is backstage:^, which has similar semantics to the
corresponding workspace range when using
workspace dependencies; locally, the package will always resolve to the exact
version specified in the manifest for the Backstage release listed in
backstage.json. If the dependent package is published, this version will be
prefixed by ^.
This plugin is still under active development, and requires some further testing before we recommend it for general use.