Files
backstage/packages/yarn-plugin
MT Lewis bd32d5a999 yarn-plugin: add additional check during pack to confirm that all backstage versions have been replaced
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>
2024-09-16 11:44:01 +01:00
..
2024-06-04 17:03:56 +01:00
2024-06-18 12:37:38 +00:00

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.