Merge pull request #10064 from backstage/rugvip/migrate

Migration to package roles
This commit is contained in:
Patrik Oldsberg
2022-03-09 10:41:41 +01:00
committed by GitHub
25 changed files with 530 additions and 548 deletions
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/cli': patch
---
Package roles are now marked as stable and migration is encouraged. Please check out the [migration guide](https://backstage.io/docs/tutorials/package-role-migration).
The new `package`, `repo`, and `migrate` command categories are now marked as stable.
Marked all commands that are being replaced by the new `package` and `repo` commands as deprecated.
The package templates used by the `create` command have all been updated to use package roles.
+19
View File
@@ -0,0 +1,19 @@
---
'@backstage/create-app': patch
---
Updated template to use package roles. To apply this change to an existing app, check out the [migration guide](https://backstage.io/docs/tutorials/package-role-migration).
Specifically the following scripts in the root `package.json` have also been updated:
```diff
- "build": "lerna run build",
+ "build": "backstage-cli repo build --all",
...
- "lint": "lerna run lint --since origin/master --",
- "lint:all": "lerna run lint --",
+ "lint": "backstage-cli repo lint --since origin/master",
+ "lint:all": "backstage-cli repo lint",
```