remove catalog-customized example

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-23 17:23:15 +02:00
parent 8498c27ee3
commit e232feec21
16 changed files with 9 additions and 650 deletions
+1 -1
View File
@@ -24,6 +24,7 @@
"@backstage/plugin-azure-devops": "workspace:^",
"@backstage/plugin-azure-sites": "workspace:^",
"@backstage/plugin-badges": "workspace:^",
"@backstage/plugin-catalog": "workspace:^",
"@backstage/plugin-catalog-common": "workspace:^",
"@backstage/plugin-catalog-graph": "workspace:^",
"@backstage/plugin-catalog-import": "workspace:^",
@@ -76,7 +77,6 @@
"@backstage/plugin-todo": "workspace:^",
"@backstage/plugin-user-settings": "workspace:^",
"@backstage/theme": "workspace:^",
"@internal/plugin-catalog-customized": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
+1 -1
View File
@@ -29,6 +29,7 @@
"@backstage/plugin-azure-devops": "workspace:^",
"@backstage/plugin-azure-sites": "workspace:^",
"@backstage/plugin-badges": "workspace:^",
"@backstage/plugin-catalog": "workspace:^",
"@backstage/plugin-catalog-common": "workspace:^",
"@backstage/plugin-catalog-graph": "workspace:^",
"@backstage/plugin-catalog-import": "workspace:^",
@@ -82,7 +83,6 @@
"@backstage/plugin-todo": "workspace:^",
"@backstage/plugin-user-settings": "workspace:^",
"@backstage/theme": "workspace:^",
"@internal/plugin-catalog-customized": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.61",
+1 -1
View File
@@ -46,7 +46,7 @@ import {
CatalogEntityPage,
CatalogIndexPage,
catalogPlugin,
} from '@internal/plugin-catalog-customized';
} from '@backstage/plugin-catalog';
import { CatalogGraphPage } from '@backstage/plugin-catalog-graph';
import {
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { EntityLayout } from '@internal/plugin-catalog-customized';
import { EntityLayout } from '@backstage/plugin-catalog';
import {
EntityProvider,
starredEntitiesApiRef,
@@ -68,7 +68,7 @@ import {
hasLabels,
hasRelationWarnings,
EntityRelationWarning,
} from '@internal/plugin-catalog-customized';
} from '@backstage/plugin-catalog';
import {
Direction,
EntityCatalogGraphCard,
@@ -29,7 +29,7 @@ import {
useSearch,
} from '@backstage/plugin-search-react';
import { TechDocsSearchResultListItem } from '@backstage/plugin-techdocs';
import { CatalogSearchResultListItem } from '@internal/plugin-catalog-customized';
import { CatalogSearchResultListItem } from '@backstage/plugin-catalog';
import {
Box,
DialogActions,
@@ -23,7 +23,7 @@ import {
useSidebarPinState,
} from '@backstage/core-components';
import { useApi } from '@backstage/core-plugin-api';
import { CatalogSearchResultListItem } from '@internal/plugin-catalog-customized';
import { CatalogSearchResultListItem } from '@backstage/plugin-catalog';
import {
catalogApiRef,
CATALOG_FILTER_EXISTS,
-1
View File
@@ -1 +0,0 @@
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname);
-457
View File
@@ -1,457 +0,0 @@
# @internal/plugin-catalog-customized
## 0.0.14
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.13.0
- @backstage/plugin-catalog-react@1.8.4
## 0.0.14-next.3
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.13.0-next.3
- @backstage/plugin-catalog-react@1.8.4-next.3
## 0.0.14-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.13.0-next.2
- @backstage/plugin-catalog-react@1.8.4-next.2
## 0.0.14-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.8.4-next.1
- @backstage/plugin-catalog@1.12.5-next.1
## 0.0.14-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.12.4-next.0
- @backstage/plugin-catalog-react@1.8.3-next.0
## 0.0.13
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.12.1
- @backstage/plugin-catalog-react@1.8.1
## 0.0.13-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.8.1-next.1
- @backstage/plugin-catalog@1.12.1-next.2
## 0.0.13-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.12.1-next.1
- @backstage/plugin-catalog-react@1.8.1-next.0
## 0.0.13-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.12.1-next.0
- @backstage/plugin-catalog-react@1.8.1-next.0
## 0.0.12
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.8.0
- @backstage/plugin-catalog@1.12.0
## 0.0.12-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.8.0-next.2
- @backstage/plugin-catalog@1.12.0-next.2
## 0.0.12-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.11.3-next.1
- @backstage/plugin-catalog-react@1.7.1-next.1
## 0.0.12-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.11.3-next.0
- @backstage/plugin-catalog-react@1.7.1-next.0
## 0.0.11
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.11.2
- @backstage/plugin-catalog-react@1.7.0
## 0.0.11-next.3
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.11.2-next.3
- @backstage/plugin-catalog-react@1.7.0-next.3
## 0.0.11-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.7.0-next.2
- @backstage/plugin-catalog@1.11.1-next.2
## 0.0.11-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.11.1-next.1
- @backstage/plugin-catalog-react@1.7.0-next.1
## 0.0.11-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.7.0-next.0
- @backstage/plugin-catalog@1.11.1-next.0
## 0.0.10
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.6.0
- @backstage/plugin-catalog@1.11.0
## 0.0.10-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.11.0-next.2
- @backstage/plugin-catalog-react@1.6.0-next.2
## 0.0.10-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.11.0-next.1
- @backstage/plugin-catalog-react@1.6.0-next.1
## 0.0.10-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.6.0-next.0
- @backstage/plugin-catalog@1.11.0-next.0
## 0.0.9
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.5.0
- @backstage/plugin-catalog@1.10.0
## 0.0.9-next.3
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.5.0-next.3
- @backstage/plugin-catalog@1.10.0-next.3
## 0.0.9-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.4.1-next.2
- @backstage/plugin-catalog@1.10.0-next.2
## 0.0.9-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.4.1-next.1
- @backstage/plugin-catalog@1.10.0-next.1
## 0.0.9-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.10.0-next.0
- @backstage/plugin-catalog-react@1.4.1-next.0
## 0.0.8
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.9.0
- @backstage/plugin-catalog-react@1.4.0
## 0.0.8-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.4.0-next.2
- @backstage/plugin-catalog@1.9.0-next.2
## 0.0.8-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.9.0-next.1
- @backstage/plugin-catalog-react@1.4.0-next.1
## 0.0.8-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.4.0-next.0
- @backstage/plugin-catalog@1.9.0-next.0
## 0.0.7
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.8.0
- @backstage/plugin-catalog-react@1.3.0
## 0.0.7-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.8.0-next.2
- @backstage/plugin-catalog-react@1.3.0-next.2
## 0.0.7-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.8.0-next.1
- @backstage/plugin-catalog-react@1.3.0-next.1
## 0.0.7-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.3.0-next.0
- @backstage/plugin-catalog@1.7.3-next.0
## 0.0.6
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.2.4
- @backstage/plugin-catalog@1.7.2
## 0.0.6-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.2.4-next.2
- @backstage/plugin-catalog@1.7.2-next.2
## 0.0.6-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.7.2-next.1
- @backstage/plugin-catalog-react@1.2.4-next.1
## 0.0.6-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.2.4-next.0
- @backstage/plugin-catalog@1.7.2-next.0
## 0.0.6
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.7.1
- @backstage/plugin-catalog-react@1.2.3
## 0.0.5
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.7.0
- @backstage/plugin-catalog-react@1.2.2
## 0.0.5-next.4
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.7.0-next.4
- @backstage/plugin-catalog-react@1.2.2-next.4
## 0.0.5-next.3
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.7.0-next.3
- @backstage/plugin-catalog-react@1.2.2-next.3
## 0.0.5-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.7.0-next.2
- @backstage/plugin-catalog-react@1.2.2-next.2
## 0.0.5-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.6.2-next.1
- @backstage/plugin-catalog-react@1.2.2-next.1
## 0.0.5-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.2.2-next.0
- @backstage/plugin-catalog@1.6.2-next.0
## 0.0.4
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.2.1
- @backstage/plugin-catalog@1.6.1
## 0.0.4-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.6.1-next.1
- @backstage/plugin-catalog-react@1.2.1-next.1
## 0.0.4-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.2.1-next.0
- @backstage/plugin-catalog@1.6.1-next.0
## 0.0.3
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.2.0
- @backstage/plugin-catalog@1.6.0
## 0.0.3-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.6.0-next.2
- @backstage/plugin-catalog-react@1.2.0-next.2
## 0.0.3-next.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.2.0-next.1
- @backstage/plugin-catalog@1.6.0-next.1
## 0.0.3-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.5.2-next.0
- @backstage/plugin-catalog-react@1.1.5-next.0
## 0.0.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.1.4
- @backstage/plugin-catalog@1.5.1
## 0.0.2-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog-react@1.1.4-next.0
- @backstage/plugin-catalog@1.5.1-next.0
## 0.0.1
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.5.0
- @backstage/plugin-catalog-react@1.1.3
## 0.0.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-catalog@1.5.0-next.0
- @backstage/plugin-catalog-react@1.1.3-next.0
-57
View File
@@ -1,57 +0,0 @@
# Backstage Catalog Frontend
This is the React frontend to customize Backstage [software
catalog](http://backstage.io/docs/features/software-catalog/).
This package supplies the example how it can be achieved.
## Installation
This `@internal/plugin-catalog-customized` package comes installed by default in example application of
Backstage application.
To check if you already have the package, look under
`packages/app/package.json`, in the `dependencies` block, for
`@internal/plugin-catalog-customized`. The instructions below walk through restoring the
plugin, if you previously removed it.
### Install the package
```bash
# From your Backstage root directory
yarn add --cwd packages/app @internal/plugin-catalog-customized
```
### Add the plugin to your `packages/app`
Add the import to a file where is your plugin catalog is defined:
```diff
// packages/app/src/App.tsx
import from '@internal/plugin-catalog-customized';
...
import {
CatalogIndexPage,
CatalogEntityPage,
} from '@backstage/plugin-catalog';
...
```
## Development
This frontend plugin can be started in a standalone mode from directly in this
package with `yarn start`. However, it will have limited functionality and that
process is most convenient when developing the catalog frontend plugin itself.
To evaluate the catalog and have a greater amount of functionality available,
run the entire Backstage example application from the root folder:
```bash
yarn dev
```
This will launch both frontend and backend in the same window, populated with
some example entities.
-9
View File
@@ -1,9 +0,0 @@
## API Report File for "@internal/plugin-catalog-customized"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
export * from '@backstage/plugin-catalog';
// (No @packageDocumentation comment for this package)
```
@@ -1,12 +0,0 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: internal-plugin-catalog-customized
title: '@internal/plugin-catalog-customized'
description: >-
The internal Backstage Customizable plugin for browsing the Backstage
catalog
spec:
lifecycle: experimental
type: backstage-frontend-plugin
owner: catalog-maintainers
-51
View File
@@ -1,51 +0,0 @@
{
"name": "@internal/plugin-catalog-customized",
"description": "The internal Backstage Customizable plugin for browsing the Backstage catalog",
"version": "0.0.14",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
"private": true,
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
"types": "dist/index.d.ts"
},
"backstage": {
"role": "frontend-plugin"
},
"homepage": "https://backstage.io",
"repository": {
"type": "git",
"url": "https://github.com/backstage/backstage",
"directory": "plugins/catalog-customized"
},
"keywords": [
"backstage"
],
"sideEffects": false,
"scripts": {
"build": "backstage-cli package build",
"start": "backstage-cli package start",
"lint": "backstage-cli package lint",
"test": "backstage-cli package test",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/plugin-catalog": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^"
},
"devDependencies": {
"@types/react": "^16.13.1 || ^17.0.0"
},
"peerDependencies": {
"react": "^16.13.1 || ^17.0.0",
"react-dom": "^16.13.1 || ^17.0.0",
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
},
"files": [
"dist"
]
}
-18
View File
@@ -1,18 +0,0 @@
/*
* Copyright 2020 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import './plugin';
export * from '@backstage/plugin-catalog';
-22
View File
@@ -1,22 +0,0 @@
/*
* Copyright 2020 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { catalogPlugin } from '@backstage/plugin-catalog';
// id: 'catalog-customized'
catalogPlugin.__experimentalReconfigure({
createButtonTitle: 'New',
});
+2 -16
View File
@@ -12015,20 +12015,6 @@ __metadata:
languageName: node
linkType: hard
"@internal/plugin-catalog-customized@workspace:^, @internal/plugin-catalog-customized@workspace:plugins/catalog-customized":
version: 0.0.0-use.local
resolution: "@internal/plugin-catalog-customized@workspace:plugins/catalog-customized"
dependencies:
"@backstage/plugin-catalog": "workspace:^"
"@backstage/plugin-catalog-react": "workspace:^"
"@types/react": ^16.13.1 || ^17.0.0
peerDependencies:
react: ^16.13.1 || ^17.0.0
react-dom: ^16.13.1 || ^17.0.0
react-router-dom: 6.0.0-beta.0 || ^6.3.0
languageName: unknown
linkType: soft
"@internal/plugin-todo-list-backend@workspace:plugins/example-todo-list-backend":
version: 0.0.0-use.local
resolution: "@internal/plugin-todo-list-backend@workspace:plugins/example-todo-list-backend"
@@ -25355,6 +25341,7 @@ __metadata:
"@backstage/plugin-azure-devops": "workspace:^"
"@backstage/plugin-azure-sites": "workspace:^"
"@backstage/plugin-badges": "workspace:^"
"@backstage/plugin-catalog": "workspace:^"
"@backstage/plugin-catalog-common": "workspace:^"
"@backstage/plugin-catalog-graph": "workspace:^"
"@backstage/plugin-catalog-import": "workspace:^"
@@ -25408,7 +25395,6 @@ __metadata:
"@backstage/plugin-user-settings": "workspace:^"
"@backstage/test-utils": "workspace:^"
"@backstage/theme": "workspace:^"
"@internal/plugin-catalog-customized": "workspace:^"
"@material-ui/core": ^4.12.2
"@material-ui/icons": ^4.9.1
"@material-ui/lab": 4.0.0-alpha.61
@@ -25470,6 +25456,7 @@ __metadata:
"@backstage/plugin-azure-devops": "workspace:^"
"@backstage/plugin-azure-sites": "workspace:^"
"@backstage/plugin-badges": "workspace:^"
"@backstage/plugin-catalog": "workspace:^"
"@backstage/plugin-catalog-common": "workspace:^"
"@backstage/plugin-catalog-graph": "workspace:^"
"@backstage/plugin-catalog-import": "workspace:^"
@@ -25524,7 +25511,6 @@ __metadata:
"@backstage/plugin-user-settings": "workspace:^"
"@backstage/test-utils": "workspace:^"
"@backstage/theme": "workspace:^"
"@internal/plugin-catalog-customized": "workspace:^"
"@material-ui/core": ^4.12.2
"@material-ui/icons": ^4.9.1
"@material-ui/lab": 4.0.0-alpha.61