Merge pull request #7712 from backstage/vinzscam/create-app-add-bsversion-file

Include backstage.json file on new backstage applications
This commit is contained in:
Ben Lambert
2021-11-17 20:57:27 +01:00
committed by GitHub
12 changed files with 153 additions and 11 deletions
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/cli': patch
'@backstage/cli-common': patch
---
Keep backstage.json in sync
The `versions:bump` script now takes care about updating the `version` property inside `backstage.json` file. The file is created if is not present.
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/create-app': patch
---
Create backstage.json file
`@backstage/create-app` will create a new `backstage.json` file. At this point, the file will contain a `version` property, representing the version of `@backstage/create-app` used for creating the application. If the backstage's application has been bootstrapped using an older version of `@backstage/create-app`, the `backstage.json` file can be created and kept in sync, together with all the changes of the latest version of backstage, by running the following script:
```bash
yarn backstage-cli versions:bump
```