Version Packages
This commit is contained in:
@@ -1,5 +1,37 @@
|
||||
# @backstage/create-app
|
||||
|
||||
## 0.4.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 49a696d720: debounceTime prop is removed from the SearchBar component in the SearchPage as the default is set to 200. The prop is safe to remove and makes it easier to stay up to date with any changes in the future.
|
||||
- 5fdc8df0e8: The `index.html` template of the app has been updated to use the new `config` global provided by the Backstage CLI.
|
||||
|
||||
To apply this change to an existing app, make the following changes to `packages/app/public/index.html`:
|
||||
|
||||
```diff
|
||||
- <title><%= app.title %></title>
|
||||
+ <title><%= config.getString('app.title') %></title>
|
||||
```
|
||||
|
||||
```diff
|
||||
- <% if (app.googleAnalyticsTrackingId && typeof app.googleAnalyticsTrackingId === 'string') { %>
|
||||
+ <% if (config.has('app.googleAnalyticsTrackingId')) { %>
|
||||
<script
|
||||
async
|
||||
- src="https://www.googletagmanager.com/gtag/js?id=<%= app.googleAnalyticsTrackingId %>"
|
||||
+ src="https://www.googletagmanager.com/gtag/js?id=<%= config.getString('app.googleAnalyticsTrackingId') %>"
|
||||
></script>
|
||||
```
|
||||
|
||||
```diff
|
||||
- gtag('config', '<%= app.googleAnalyticsTrackingId %>');
|
||||
+ gtag(
|
||||
+ 'config',
|
||||
+ '<%= config.getString("app.googleAnalyticsTrackingId") %>',
|
||||
+ );
|
||||
```
|
||||
|
||||
## 0.4.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/create-app",
|
||||
"description": "A CLI that helps you create your own Backstage app",
|
||||
"version": "0.4.8",
|
||||
"version": "0.4.9",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
Reference in New Issue
Block a user