Version Packages

This commit is contained in:
github-actions[bot]
2022-02-24 13:54:37 +00:00
parent b6ba21487a
commit c9da151d84
338 changed files with 2783 additions and 2020 deletions
+48
View File
@@ -1,5 +1,53 @@
# @backstage/create-app
## 0.4.21
### Patch Changes
- a686702dbe: Update the template to reflect the renaming of `CatalogResultListItem` to `CatalogSearchResultListItem` from `@backstage/plugin-catalog`.
To apply this change to an existing app, make the following change to `packages/app/src/components/search/SearchPage.tsx`:
```diff
-import { CatalogResultListItem } from '@backstage/plugin-catalog';
+import { CatalogSearchResultListItem } from '@backstage/plugin-catalog';
```
```diff
case 'software-catalog':
return (
- <CatalogResultListItem
+ <CatalogSearchResultListItem
key={document.location}
result={document}
/>
```
- f39c1e6036: To reflect the updated `knex` and `@vscode/sqlite3` dependencies introduced with [v0.4.19](https://github.com/backstage/backstage/blob/master/packages/create-app/CHANGELOG.md#0419), we update our example `Dockerfile`, adding `@vscode/sqlite3` build dependencies to the image. Further on, we updated it to the `node:16-bullseye-slim` base image.
To apply this update to an existing app, make the following change to `packages/backend/Dockerfile`:
```diff
-FROM node:14-buster-slim
+FROM node:16-bullseye-slim
```
and, _only if you are using sqlite3 in your app_:
```diff
RUN tar xzf skeleton.tar.gz && rm skeleton.tar.gz
+
+# install sqlite3 dependencies
+RUN apt-get update && \
+ apt-get install -y libsqlite3-dev python3 cmake g++ && \
+ rm -rf /var/lib/apt/lists/* && \
+ yarn config set python /usr/bin/python3
RUN yarn install --frozen-lockfile --production --network-timeout 300000 && rm -rf "$(yarn cache dir)"
```
If you are using a multi-stage Docker build for your app, please refer to the [updated examples](https://github.com/backstage/backstage/blob/master/docs/deployment/docker.md#multi-stage-build) in the documentation.
## 0.4.20
### Patch Changes
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/create-app",
"description": "A CLI that helps you create your own Backstage app",
"version": "0.4.20",
"version": "0.4.21",
"private": false,
"publishConfig": {
"access": "public"
@@ -33,7 +33,7 @@
"start": "nodemon --"
},
"dependencies": {
"@backstage/cli-common": "^0.1.7",
"@backstage/cli-common": "^0.1.8",
"chalk": "^4.0.0",
"commander": "^6.1.0",
"fs-extra": "9.1.0",