From 7410e122682602514221509c0844e665dfb4d101 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 14 Feb 2022 21:48:13 +0100 Subject: [PATCH] changesets: added changeset for CLI package role tweaks and test command change Signed-off-by: Patrik Oldsberg --- .changeset/polite-bulldogs-repeat.md | 11 +++++++++++ .changeset/tender-meals-move.md | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 .changeset/polite-bulldogs-repeat.md create mode 100644 .changeset/tender-meals-move.md diff --git a/.changeset/polite-bulldogs-repeat.md b/.changeset/polite-bulldogs-repeat.md new file mode 100644 index 0000000000..0b22398a55 --- /dev/null +++ b/.changeset/polite-bulldogs-repeat.md @@ -0,0 +1,11 @@ +--- +'@backstage/cli': patch +--- + +Several changes were made to the new experimental package roles system. Unless you have been experimenting with using this new system, these changes have no affect on your project. + +Renamed the `backstage-cli migrate package-role` command to `backstage-cli migrate package-roles`. + +Updated the package role definitions by renaming `plugin-frontend` to `frontend-plugin`, as well as the same reshuffle to `frontend-plugin-module`, `backend-plugin`, and `backend-plugin-module`. + +The `backstage-cli migrate package-scripts` received several tweaks to make it more accurate. It now tries to maintain existing script arguments, like `--config` parameters for `build` and `start` scripts. diff --git a/.changeset/tender-meals-move.md b/.changeset/tender-meals-move.md new file mode 100644 index 0000000000..03721b37b1 --- /dev/null +++ b/.changeset/tender-meals-move.md @@ -0,0 +1,5 @@ +--- +'@backstage/cli': patch +--- + +The `test` command now automatically adds `--passWithNoTests` to the Jest invocation. To revert this behavior, pass `--passWithNoTests=false` or `--no-passWithNoTests`.