Merge remote-tracking branch 'origin/master' into checkpoint-key

This commit is contained in:
bnechyporenko
2024-09-26 08:12:49 +02:00
814 changed files with 17653 additions and 5751 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Correct size of FavoriteToggle and inherit non-starred color from parent
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Fix extra divider displayed in owner list picker on list tasks page
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Create a separate route for the Scaffolder template editor and add the ability to refresh the page without closing the directory. Also, when the directory is closed, the user will stay on the editor page and can load a template folder from there.
+17
View File
@@ -0,0 +1,17 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Add `fetch:template:file` scaffolder action to download a single file and template the contents. Example usage:
```yaml
- id: fetch-file
name: Fetch File
action: fetch:template:file
input:
url: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/create-react-app/skeleton/catalog-info.yaml
targetPath: './target/catalog-info.yaml'
values:
component_id: My Component
owner: Test
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Added functionality to the prepack script that will append the default export type for entry points to the `exports` object before publishing. This is to help with identifying the declarative integration points for plugins without needing to fetch or run the plugins first.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Apply `defaultValue` props in `MultiEntityPicker`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Create a separate route for the template form editor so we refresh it without being redirected to scaffolder edit page.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Change task list created at column to show timestamp
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-scaffolder-react': minor
'@backstage/plugin-scaffolder': minor
---
Added support for `FormFieldBlueprint` to create field extensions in the Scaffolder plugin
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-api-docs': patch
'@backstage/plugin-catalog': patch
---
Empty states updated with external link icon for learn more links
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-techdocs': patch
---
Make `emptyState` input optional on `entity-content:techdocs` extension so that
the default empty state extension works correctly.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Create a separate route for the custom fields explorer so we refresh it without being redirected to scaffolder edit page.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/repo-tools': minor
---
Update @microsoft/api-extractor and use their api report resolution.
Change api report format from `api-report.md` to `report.api.md`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/app-defaults': patch
---
Added `externalLink` to icon defaults
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Fixed a bug in the `SidebarSubmenu` core component that caused the nested menu to overlap with the sidebar when the user hovers over the pinned sidebar.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': minor
---
Added ability to create a new local scaffolder template to ease onboarding when creating new templates.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': minor
---
Added ability to link to a specific action on the actions page
+235
View File
@@ -0,0 +1,235 @@
{
"mode": "pre",
"tag": "next",
"initialVersions": {
"example-app": "0.2.101",
"@backstage/app-defaults": "1.5.11",
"example-app-next": "0.0.15",
"app-next-example-plugin": "0.0.15",
"example-backend": "0.0.30",
"@backstage/backend-app-api": "1.0.0",
"@backstage/backend-defaults": "0.5.0",
"@backstage/backend-dev-utils": "0.1.5",
"@backstage/backend-dynamic-feature-service": "0.4.0",
"example-backend-legacy": "0.2.102",
"@backstage/backend-openapi-utils": "0.1.18",
"@backstage/backend-plugin-api": "1.0.0",
"@backstage/backend-test-utils": "1.0.0",
"@backstage/catalog-client": "1.7.0",
"@backstage/catalog-model": "1.7.0",
"@backstage/cli": "0.27.1",
"@backstage/cli-common": "0.1.14",
"@backstage/cli-node": "0.2.8",
"@backstage/codemods": "0.1.50",
"@backstage/config": "1.2.0",
"@backstage/config-loader": "1.9.1",
"@backstage/core-app-api": "1.15.0",
"@backstage/core-compat-api": "0.3.0",
"@backstage/core-components": "0.15.0",
"@backstage/core-plugin-api": "1.9.4",
"@backstage/create-app": "0.5.19",
"@backstage/dev-utils": "1.1.0",
"e2e-test": "0.2.20",
"@backstage/e2e-test-utils": "0.1.1",
"@backstage/errors": "1.2.4",
"@backstage/eslint-plugin": "0.1.9",
"@backstage/frontend-app-api": "0.9.0",
"@backstage/frontend-defaults": "0.1.0",
"@internal/frontend": "0.0.1",
"@backstage/frontend-plugin-api": "0.8.0",
"@backstage/frontend-test-utils": "0.2.0",
"@backstage/integration": "1.15.0",
"@backstage/integration-aws-node": "0.1.12",
"@backstage/integration-react": "1.1.31",
"@internal/opaque": "0.0.1",
"@backstage/release-manifests": "0.0.11",
"@backstage/repo-tools": "0.9.7",
"@techdocs/cli": "1.8.19",
"techdocs-cli-embedded-app": "0.2.100",
"@backstage/test-utils": "1.6.0",
"@backstage/theme": "0.5.7",
"@backstage/types": "1.1.1",
"@backstage/version-bridge": "1.0.9",
"yarn-plugin-backstage": "0.0.2",
"@backstage/plugin-api-docs": "0.11.9",
"@backstage/plugin-api-docs-module-protoc-gen-doc": "0.1.7",
"@backstage/plugin-app": "0.1.0",
"@backstage/plugin-app-backend": "0.3.74",
"@backstage/plugin-app-node": "0.1.25",
"@backstage/plugin-app-visualizer": "0.1.10",
"@backstage/plugin-auth-backend": "0.23.0",
"@backstage/plugin-auth-backend-module-atlassian-provider": "0.3.0",
"@backstage/plugin-auth-backend-module-auth0-provider": "0.1.0",
"@backstage/plugin-auth-backend-module-aws-alb-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-azure-easyauth-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-bitbucket-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-bitbucket-server-provider": "0.1.0",
"@backstage/plugin-auth-backend-module-cloudflare-access-provider": "0.3.0",
"@backstage/plugin-auth-backend-module-gcp-iap-provider": "0.3.0",
"@backstage/plugin-auth-backend-module-github-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-gitlab-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-google-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-guest-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-microsoft-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-oauth2-provider": "0.3.0",
"@backstage/plugin-auth-backend-module-oauth2-proxy-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-oidc-provider": "0.3.0",
"@backstage/plugin-auth-backend-module-okta-provider": "0.1.0",
"@backstage/plugin-auth-backend-module-onelogin-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-pinniped-provider": "0.2.0",
"@backstage/plugin-auth-backend-module-vmware-cloud-provider": "0.3.0",
"@backstage/plugin-auth-node": "0.5.2",
"@backstage/plugin-auth-react": "0.1.6",
"@backstage/plugin-bitbucket-cloud-common": "0.2.23",
"@backstage/plugin-catalog": "1.23.0",
"@backstage/plugin-catalog-backend": "1.26.0",
"@backstage/plugin-catalog-backend-module-aws": "0.4.2",
"@backstage/plugin-catalog-backend-module-azure": "0.2.2",
"@backstage/plugin-catalog-backend-module-backstage-openapi": "0.4.0",
"@backstage/plugin-catalog-backend-module-bitbucket-cloud": "0.3.2",
"@backstage/plugin-catalog-backend-module-bitbucket-server": "0.2.2",
"@backstage/plugin-catalog-backend-module-gcp": "0.3.0",
"@backstage/plugin-catalog-backend-module-gerrit": "0.2.2",
"@backstage/plugin-catalog-backend-module-github": "0.7.3",
"@backstage/plugin-catalog-backend-module-github-org": "0.3.0",
"@backstage/plugin-catalog-backend-module-gitlab": "0.4.2",
"@backstage/plugin-catalog-backend-module-gitlab-org": "0.2.0",
"@backstage/plugin-catalog-backend-module-incremental-ingestion": "0.5.3",
"@backstage/plugin-catalog-backend-module-ldap": "0.9.0",
"@backstage/plugin-catalog-backend-module-logs": "0.1.0",
"@backstage/plugin-catalog-backend-module-msgraph": "0.6.2",
"@backstage/plugin-catalog-backend-module-openapi": "0.2.0",
"@backstage/plugin-catalog-backend-module-puppetdb": "0.2.2",
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "0.2.0",
"@backstage/plugin-catalog-backend-module-unprocessed": "0.5.0",
"@backstage/plugin-catalog-common": "1.1.0",
"@backstage/plugin-catalog-graph": "0.4.9",
"@backstage/plugin-catalog-import": "0.12.3",
"@backstage/plugin-catalog-node": "1.13.0",
"@backstage/plugin-catalog-react": "1.13.0",
"@backstage/plugin-catalog-unprocessed-entities": "0.2.8",
"@backstage/plugin-catalog-unprocessed-entities-common": "0.0.4",
"@backstage/plugin-config-schema": "0.1.59",
"@backstage/plugin-devtools": "0.1.18",
"@backstage/plugin-devtools-backend": "0.4.0",
"@backstage/plugin-devtools-common": "0.1.12",
"@backstage/plugin-events-backend": "0.3.12",
"@backstage/plugin-events-backend-module-aws-sqs": "0.4.2",
"@backstage/plugin-events-backend-module-azure": "0.2.11",
"@backstage/plugin-events-backend-module-bitbucket-cloud": "0.2.11",
"@backstage/plugin-events-backend-module-gerrit": "0.2.11",
"@backstage/plugin-events-backend-module-github": "0.2.11",
"@backstage/plugin-events-backend-module-gitlab": "0.2.11",
"@backstage/plugin-events-backend-test-utils": "0.1.35",
"@backstage/plugin-events-node": "0.4.0",
"@internal/plugin-todo-list": "1.0.31",
"@internal/plugin-todo-list-backend": "1.0.31",
"@internal/plugin-todo-list-common": "1.0.21",
"@backstage/plugin-home": "0.7.10",
"@backstage/plugin-home-react": "0.1.17",
"@backstage/plugin-kubernetes": "0.11.14",
"@backstage/plugin-kubernetes-backend": "0.18.6",
"@backstage/plugin-kubernetes-cluster": "0.0.15",
"@backstage/plugin-kubernetes-common": "0.8.3",
"@backstage/plugin-kubernetes-node": "0.1.19",
"@backstage/plugin-kubernetes-react": "0.4.3",
"@backstage/plugin-notifications": "0.3.1",
"@backstage/plugin-notifications-backend": "0.4.0",
"@backstage/plugin-notifications-backend-module-email": "0.3.0",
"@backstage/plugin-notifications-common": "0.0.5",
"@backstage/plugin-notifications-node": "0.2.6",
"@backstage/plugin-org": "0.6.29",
"@backstage/plugin-org-react": "0.1.28",
"@backstage/plugin-permission-backend": "0.5.49",
"@backstage/plugin-permission-backend-module-allow-all-policy": "0.2.0",
"@backstage/plugin-permission-common": "0.8.1",
"@backstage/plugin-permission-node": "0.8.3",
"@backstage/plugin-permission-react": "0.4.26",
"@backstage/plugin-proxy-backend": "0.5.6",
"@backstage/plugin-scaffolder": "1.25.0",
"@backstage/plugin-scaffolder-backend": "1.25.0",
"@backstage/plugin-scaffolder-backend-module-azure": "0.2.0",
"@backstage/plugin-scaffolder-backend-module-bitbucket": "0.3.0",
"@backstage/plugin-scaffolder-backend-module-bitbucket-cloud": "0.2.0",
"@backstage/plugin-scaffolder-backend-module-bitbucket-server": "0.2.0",
"@backstage/plugin-scaffolder-backend-module-confluence-to-markdown": "0.3.0",
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "0.3.0",
"@backstage/plugin-scaffolder-backend-module-gcp": "0.2.0",
"@backstage/plugin-scaffolder-backend-module-gerrit": "0.2.0",
"@backstage/plugin-scaffolder-backend-module-gitea": "0.2.0",
"@backstage/plugin-scaffolder-backend-module-github": "0.5.0",
"@backstage/plugin-scaffolder-backend-module-gitlab": "0.5.0",
"@backstage/plugin-scaffolder-backend-module-notifications": "0.1.0",
"@backstage/plugin-scaffolder-backend-module-rails": "0.5.0",
"@backstage/plugin-scaffolder-backend-module-sentry": "0.2.0",
"@backstage/plugin-scaffolder-backend-module-yeoman": "0.4.0",
"@backstage/plugin-scaffolder-common": "1.5.6",
"@backstage/plugin-scaffolder-node": "0.4.11",
"@backstage/plugin-scaffolder-node-test-utils": "0.1.12",
"@backstage/plugin-scaffolder-react": "1.12.0",
"@backstage/plugin-search": "1.4.16",
"@backstage/plugin-search-backend": "1.5.17",
"@backstage/plugin-search-backend-module-catalog": "0.2.2",
"@backstage/plugin-search-backend-module-elasticsearch": "1.5.6",
"@backstage/plugin-search-backend-module-explore": "0.2.2",
"@backstage/plugin-search-backend-module-pg": "0.5.35",
"@backstage/plugin-search-backend-module-stack-overflow-collator": "0.3.0",
"@backstage/plugin-search-backend-module-techdocs": "0.2.2",
"@backstage/plugin-search-backend-node": "1.3.2",
"@backstage/plugin-search-common": "1.2.14",
"@backstage/plugin-search-react": "1.8.0",
"@backstage/plugin-signals": "0.0.10",
"@backstage/plugin-signals-backend": "0.2.0",
"@backstage/plugin-signals-node": "0.1.11",
"@backstage/plugin-signals-react": "0.0.5",
"@backstage/plugin-techdocs": "1.10.9",
"@backstage/plugin-techdocs-addons-test-utils": "1.0.38",
"@backstage/plugin-techdocs-backend": "1.10.13",
"@backstage/plugin-techdocs-common": "0.1.0",
"@backstage/plugin-techdocs-module-addons-contrib": "1.1.14",
"@backstage/plugin-techdocs-node": "1.12.11",
"@backstage/plugin-techdocs-react": "1.2.8",
"@backstage/plugin-user-settings": "0.8.12",
"@backstage/plugin-user-settings-backend": "0.2.24",
"@backstage/plugin-user-settings-common": "0.0.1",
"@internal/scaffolder": "0.0.1"
},
"changesets": [
"angry-windows-decide",
"big-rules-nail",
"breezy-bulldogs-smell",
"brown-frogs-walk",
"chair-fairs-drive",
"chilled-dolphins-join",
"clever-paws-stare",
"cyan-peaches-lay",
"dry-frogs-drum",
"early-drinks-kneel",
"eight-steaks-chew",
"eleven-pugs-hear",
"fair-chairs-drive",
"fifty-trainers-watch",
"five-gorillas-pay",
"fluffy-pears-cry",
"funny-rocks-train",
"fuzzy-elephants-tease",
"giant-kiwis-retire",
"happy-ligers-think",
"large-plants-rhyme",
"light-rats-travel",
"long-humans-hunt",
"nasty-lamps-greet",
"polite-days-flash",
"rich-deers-attend",
"shy-olives-swim",
"slow-gorillas-thank",
"slow-trees-compare",
"sour-phones-fix",
"stale-roses-serve",
"strange-bees-attack",
"strong-monkeys-melt",
"sweet-chicken-smash",
"thirty-pets-fry",
"tiny-pugs-kick"
]
}
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-events-backend': patch
---
The events backend now has its own built-in event bus for distributing events across multiple backend instances. It exposes a new HTTP API under `/bus/v1/` for publishing and reading events from the bus, as well as its own storage and notification mechanism for events.
The backing event store for the bus only supports scaled deployment if PostgreSQL is used as the DBMS. If SQLite or MySQL is used, the event bus will fall back to an in-memory store that does not support multiple backend instances.
The default `EventsService` implementation from `@backstage/plugin-events-node` has also been updated to use the new events bus.
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-scaffolder-react': patch
'@backstage/plugin-scaffolder-node': patch
'@backstage/plugin-scaffolder': patch
---
Make it possible to manually retry the scaffolder template from the step it failed
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-events-node': patch
---
The default implementation of the `EventsService` now uses the new event bus for distributing events across multiple backend instances if the events backend plugin is installed.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
`Link` component now accepts `externalLinkIcon` prop
+14
View File
@@ -0,0 +1,14 @@
---
'@backstage/cli': minor
---
**BREAKING**: Removed the following deprecated commands:
- `create`: Use `backstage-cli new` instead
- `create-plugin`: Use `backstage-cli new` instead
- `plugin:diff`: Use `backstage-cli fix` instead
- `test`: Use `backstage-cli repo test` or `backstage-cli package test` instead
- `versions:check`: Use `yarn dedupe` or `yarn-deduplicate` instead
- `clean`: Use `backstage-cli package clean` instead
In addition, the experimental `install` and `onboard` commands have been removed since they have not received any updates since their introduction and we're expecting usage to be low. If you where relying on these commands, please let us know by opening an issue towards the main Backstage repository.
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/frontend-plugin-api': minor
'@backstage/core-plugin-api': minor
---
**BREAKING PRODUCERS**: The `IconComponent` no longer accepts `fontSize="default"`. This has effectively been removed from Material-UI since its last two major versions, and has not worked properly for them in a long time.
This change should not have an effect on neither users of MUI4 nor MUI5/6, since the updated interface should still let you send the respective `SvgIcon` types into interfaces where relevant (e.g. as app icons).
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Update the Scaffolder template editor to quickly access installed custom fields and actions when editing a template.
@@ -39,6 +39,8 @@ Brex
broadcasted
bugfixes
builtins
bundler
bundlers
callout
CDNs
Chai
@@ -112,6 +114,7 @@ DOMPurify
don'ts
dynatrace
Dynatrace
dyno
ecco
elasticsearch
Entra
@@ -200,6 +203,7 @@ Knex
knip
Koyeb
KPIs
kroki
Kuang
kubectl
kubernetes
+5
View File
@@ -4,8 +4,13 @@ microsite
coverage
*.hbs
templates
# old reports
api-report.md
api-report-*.md
# new reports
report.api.md
report-*.api.md
knip-report.md
cli-report.md
plugins/scaffolder-backend/sample-templates
+2 -2
View File
@@ -68,7 +68,7 @@ In general our changeset feedback bot will take care of informing whether a chan
Changes that do NOT need a new changeset:
- Changes to any test, storybook, or other local development files, for example, `MyComponent.test.tsx`, `MyComponent.stories.tsx`, `**mocks**/MyMock.ts`, `.eslintrc.js`, `setupTests.ts`, or `api-report.md`. Explained differently, it is only files that affect the published package that need changesets, such as source files and additional resources like `package.json`, `README.md`, `config.d.ts`, etc.
- Changes to any test, storybook, or other local development files, for example, `MyComponent.test.tsx`, `MyComponent.stories.tsx`, `**mocks**/MyMock.ts`, `.eslintrc.js`, `setupTests.ts`, or `report.api.md`. Explained differently, it is only files that affect the published package that need changesets, such as source files and additional resources like `package.json`, `README.md`, `config.d.ts`, etc.
- When tweaking a change that has not yet been released, you can rely on and potentially modify the existing changeset instead.
- Changes that do not belong to a published packages, either because it's not a package at all, such as `docs/`, or because the package is private, such as `packages/app`.
- Changes that do not end up having an effect on the published package, such as whitespace fixes or code formatting changes. Although it's also fine to have a short changeset for these kind of changes too.
@@ -168,7 +168,7 @@ In this section we will be talking about changed "types", but by that we mean an
#### API Reports
We generate API Reports using the [API Extractor](https://api-extractor.com/) tool. These reports are generated for most packages in the Backstage repository, and are stored in the `api-report.md` file of each package. For CLI package we use custom tooling, and instead store the result in `cli-report.md`. Whenever the public API of a package changes, the API Report needs to be updated to reflect the new state of the API. Our CI checks will fail if the API reports are not up to date in a pull request.
We generate API Reports using the [API Extractor](https://api-extractor.com/) tool. These reports are generated for most packages in the Backstage repository, and are stored in the `report.api.md` file of each package. For CLI package we use custom tooling, and instead store the result in `cli-report.md`. Whenever the public API of a package changes, the API Report needs to be updated to reflect the new state of the API. Our CI checks will fail if the API reports are not up to date in a pull request.
Each API report contains a list of all the exported types of each package. As long as the API report does not have any warnings it will contain the full publicly facing API of the package, meaning you do not need to consider any other changes to the package from the point of view of TypeScript API stability.
+2 -2
View File
@@ -595,7 +595,7 @@ Singleton "might have to" list:
> NOTE: Can leverage [Generate module sharing map](#generate-module-sharing-map).
Component libraries are usually large (thousands of svg icons in @mui/icons) and it is inefficient to share them as a whole. **Tree shaking is disabled for shared modules**. That means sharing large packages in multiple versions will result in a bloated JS in browsers.
Component libraries are usually large (thousands of SVG icons in `@mui/icons`) and it is inefficient to share them as a whole. **Tree shaking is disabled for shared modules**. That means sharing large packages in multiple versions will result in a bloated JS in browsers.
Sharing components like these can be done on module level. Instead of sharing the entire package, share its individual components:
@@ -625,7 +625,7 @@ There is also a conflict with the chunk splitting currently used in the Backstag
#### Webpack chunk optimization
Custom webpack chunk splitting configuration can be problematic, especially when modifying runtime and vendor chunks. Module federation creates its own chunks. Shared modules that are not set up to be eagerly loaded (using the `eager` configuration) **cannot be included inside the entry script**. With a custom chunk splitting setup, they can potentially be forced into the entry script, causing runtime errors. On the other hand, some critical runtime code that has to be in the entry script, cna be forced out of it. This is particularly problematic for the "shell" application.
Custom webpack chunk splitting configuration can be problematic, especially when modifying runtime and vendor chunks. Module federation creates its own chunks. Shared modules that are not set up to be eagerly loaded (using the `eager` configuration) **cannot be included inside the entry script**. With a custom chunk splitting setup, they can potentially be forced into the entry script, causing runtime errors. On the other hand, some critical runtime code that has to be in the entry script, can be forced out of it. This is particularly problematic for the "shell" application.
Chunk optimization should be disabled for the initial implementation.
@@ -50,14 +50,14 @@ Translation extension provide custom translation messages for the app. They can
These are the [extension blueprints](../architecture/23-extension-blueprints.md) provided by the Backstage core feature plugins.
### EntityCard - [Reference](https://github.com/backstage/backstage/blob/master/plugins/catalog-react/api-report-alpha.md)
### EntityCard - [Reference](https://github.com/backstage/backstage/blob/master/plugins/catalog-react/report-alpha.api.md)
Creates entity cards to be displayed on the entity pages of the catalog plugin. Exported as `EntityCardBlueprint`.
### EntityContent - [Reference](https://github.com/backstage/backstage/blob/master/plugins/catalog-react/api-report-alpha.md)
### EntityContent - [Reference](https://github.com/backstage/backstage/blob/master/plugins/catalog-react/report-alpha.api.md)
Creates entity content to be displayed on the entity pages of the catalog plugin. Exported as `EntityContentBlueprint`.
### SearchResultListItem - [Reference](https://github.com/backstage/backstage/blob/master/plugins/search-react/api-report-alpha.md)
### SearchResultListItem - [Reference](https://github.com/backstage/backstage/blob/master/plugins/search-react/report-alpha.api.md)
Creates search result list items for different types of search results, to be displayed in search result lists. Exported as `SearchResultListItemBlueprint`.
+1 -1
View File
@@ -196,7 +196,7 @@ notificationService.send({
});
```
Refer the [API documentation](https://github.com/backstage/backstage/blob/master/plugins/notifications-node/api-report.md) for further details.
Refer the [API documentation](https://github.com/backstage/backstage/blob/master/plugins/notifications-node/report.api.md) for further details.
### Signals
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "1.31.0",
"version": "1.32.0-next.0",
"private": true,
"repository": {
"type": "git",
+13
View File
@@ -1,5 +1,18 @@
# @backstage/app-defaults
## 1.5.12-next.0
### Patch Changes
- 46b5a20: Added `externalLink` to icon defaults
- 8c40e55: Updated the `bitbucket-server-auth` default API to set its environment based on the `auth.environment` config option instead of being hardcoded to `development`.
- Updated dependencies
- @backstage/core-components@0.15.1-next.0
- @backstage/core-plugin-api@1.10.0-next.0
- @backstage/core-app-api@1.15.1-next.0
- @backstage/theme@0.5.7
- @backstage/plugin-permission-react@0.4.27-next.0
## 1.5.11
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/app-defaults",
"version": "1.5.11",
"version": "1.5.12-next.0",
"description": "Provides the default wiring of a Backstage App",
"backstage": {
"role": "web-library"
@@ -38,6 +38,7 @@ import MuiStorageIcon from '@material-ui/icons/Storage';
import MuiFeaturedPlayListIcon from '@material-ui/icons/FeaturedPlayList';
import Star from '@material-ui/icons/Star';
import StarBorder from '@material-ui/icons/StarBorder';
import OpenInNew from '@material-ui/icons/OpenInNew';
export const icons = {
brokenImage: MuiBrokenImageIcon as IconComponent,
@@ -66,4 +67,5 @@ export const icons = {
warning: MuiWarningIcon as IconComponent,
star: Star as IconComponent,
unstarred: StarBorder as IconComponent,
externalLink: OpenInNew as IconComponent,
};
@@ -1,5 +1,13 @@
# app-next-example-plugin
## 0.0.16-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.9.0-next.0
- @backstage/core-components@0.15.1-next.0
## 0.0.15
### Patch Changes
@@ -1,6 +1,6 @@
{
"name": "app-next-example-plugin",
"version": "0.0.15",
"version": "0.0.16-next.0",
"description": "Backstage internal example plugin",
"backstage": {
"role": "frontend-plugin",
@@ -52,5 +52,10 @@ export default examplePlugin;
// @public (undocumented)
export const ExampleSidebarItem: () => React_2.JSX.Element;
// Warnings were encountered during analysis:
//
// src/ExampleSidebarItem.d.ts:3:22 - (ae-undocumented) Missing documentation for "ExampleSidebarItem".
// src/plugin.d.ts:22:22 - (ae-undocumented) Missing documentation for "examplePlugin".
// (No @packageDocumentation comment for this package)
```
+45
View File
@@ -1,5 +1,50 @@
# example-app-next
## 0.0.16-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-scaffolder@1.26.0-next.0
- @backstage/frontend-plugin-api@0.9.0-next.0
- @backstage/plugin-catalog@1.24.0-next.0
- @backstage/cli@0.28.0-next.0
- @backstage/plugin-scaffolder-react@1.13.0-next.0
- @backstage/plugin-api-docs@0.11.10-next.0
- @backstage/frontend-app-api@0.10.0-next.0
- @backstage/plugin-techdocs@1.10.10-next.0
- @backstage/app-defaults@1.5.12-next.0
- @backstage/core-compat-api@0.3.1-next.0
- @backstage/core-components@0.15.1-next.0
- @backstage/core-plugin-api@1.10.0-next.0
- @backstage/frontend-defaults@0.1.1-next.0
- @backstage/plugin-app@0.1.1-next.0
- @backstage/plugin-app-visualizer@0.1.11-next.0
- @backstage/plugin-catalog-graph@0.4.10-next.0
- @backstage/plugin-catalog-import@0.12.4-next.0
- @backstage/plugin-catalog-react@1.13.1-next.0
- @backstage/plugin-home@0.7.11-next.0
- @backstage/plugin-kubernetes@0.11.15-next.0
- @backstage/plugin-org@0.6.30-next.0
- @backstage/plugin-search@1.4.17-next.0
- @backstage/plugin-search-react@1.8.1-next.0
- @backstage/plugin-user-settings@0.8.13-next.0
- @backstage/catalog-model@1.7.0
- @backstage/config@1.2.0
- @backstage/core-app-api@1.15.1-next.0
- @backstage/integration-react@1.1.32-next.0
- @backstage/theme@0.5.7
- @backstage/plugin-auth-react@0.1.7-next.0
- @backstage/plugin-catalog-common@1.1.0
- @backstage/plugin-catalog-unprocessed-entities@0.2.9-next.0
- @backstage/plugin-kubernetes-cluster@0.0.16-next.0
- @backstage/plugin-notifications@0.3.2-next.0
- @backstage/plugin-permission-react@0.4.27-next.0
- @backstage/plugin-search-common@1.2.14
- @backstage/plugin-signals@0.0.11-next.0
- @backstage/plugin-techdocs-module-addons-contrib@1.1.15-next.0
- @backstage/plugin-techdocs-react@1.2.9-next.0
## 0.0.15
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-app-next",
"version": "0.0.15",
"version": "0.0.16-next.0",
"backstage": {
"role": "frontend"
},
+41
View File
@@ -1,5 +1,46 @@
# example-app
## 0.2.102-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-scaffolder@1.26.0-next.0
- @backstage/plugin-catalog@1.24.0-next.0
- @backstage/cli@0.28.0-next.0
- @backstage/plugin-scaffolder-react@1.13.0-next.0
- @backstage/plugin-api-docs@0.11.10-next.0
- @backstage/frontend-app-api@0.10.0-next.0
- @backstage/plugin-techdocs@1.10.10-next.0
- @backstage/app-defaults@1.5.12-next.0
- @backstage/core-components@0.15.1-next.0
- @backstage/core-plugin-api@1.10.0-next.0
- @backstage/plugin-catalog-graph@0.4.10-next.0
- @backstage/plugin-catalog-import@0.12.4-next.0
- @backstage/plugin-catalog-react@1.13.1-next.0
- @backstage/plugin-devtools@0.1.19-next.0
- @backstage/plugin-home@0.7.11-next.0
- @backstage/plugin-kubernetes@0.11.15-next.0
- @backstage/plugin-org@0.6.30-next.0
- @backstage/plugin-search@1.4.17-next.0
- @backstage/plugin-search-react@1.8.1-next.0
- @backstage/plugin-user-settings@0.8.13-next.0
- @backstage/catalog-model@1.7.0
- @backstage/config@1.2.0
- @backstage/core-app-api@1.15.1-next.0
- @backstage/integration-react@1.1.32-next.0
- @backstage/theme@0.5.7
- @backstage/plugin-auth-react@0.1.7-next.0
- @backstage/plugin-catalog-common@1.1.0
- @backstage/plugin-catalog-unprocessed-entities@0.2.9-next.0
- @backstage/plugin-kubernetes-cluster@0.0.16-next.0
- @backstage/plugin-notifications@0.3.2-next.0
- @backstage/plugin-permission-react@0.4.27-next.0
- @backstage/plugin-search-common@1.2.14
- @backstage/plugin-signals@0.0.11-next.0
- @backstage/plugin-techdocs-module-addons-contrib@1.1.15-next.0
- @backstage/plugin-techdocs-react@1.2.9-next.0
## 0.2.101
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-app",
"version": "0.2.101",
"version": "0.2.102-next.0",
"backstage": {
"role": "frontend"
},
+19
View File
@@ -1,5 +1,24 @@
# @backstage/backend-app-api
## 1.0.1-next.0
### Patch Changes
- 094eaa3: Remove references to in-repo backend-common
- 04af116: The backend will no longer exit immediately if any plugin or modules fails to initialize. Instead, the backend will wait for all plugins and modules to either start up successfully or throw, and then shut down the backend if there were any initialization errors.
This fixes an issue where backend initialization errors in adjacent plugins during database schema migration could cause the database migrations to be stuck in a locked state.
- Updated dependencies
- @backstage/plugin-permission-node@0.8.4-next.0
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/backend-plugin-api@1.0.1-next.0
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/config-loader@1.9.1
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
## 1.0.0
### Major Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/backend-app-api",
"version": "1.0.0",
"version": "1.0.1-next.0",
"description": "Core API used by Backstage backend apps",
"backstage": {
"role": "node-library"
@@ -13,5 +13,9 @@ export const featureDiscoveryServiceFactory: ServiceFactory<
'singleton'
>;
// Warnings were encountered during analysis:
//
// src/alpha/featureDiscoveryServiceFactory.d.ts:5:22 - (ae-undocumented) Missing documentation for "featureDiscoveryServiceFactory".
// (No @packageDocumentation comment for this package)
```
@@ -32,4 +32,14 @@ export interface CreateSpecializedBackendOptions {
// (undocumented)
defaultServiceFactories: ServiceFactory[];
}
// Warnings were encountered during analysis:
//
// src/wiring/createSpecializedBackend.d.ts:5:1 - (ae-undocumented) Missing documentation for "createSpecializedBackend".
// src/wiring/types.d.ts:5:1 - (ae-undocumented) Missing documentation for "Backend".
// src/wiring/types.d.ts:6:5 - (ae-undocumented) Missing documentation for "add".
// src/wiring/types.d.ts:9:5 - (ae-undocumented) Missing documentation for "start".
// src/wiring/types.d.ts:10:5 - (ae-undocumented) Missing documentation for "stop".
// src/wiring/types.d.ts:15:1 - (ae-undocumented) Missing documentation for "CreateSpecializedBackendOptions".
// src/wiring/types.d.ts:16:5 - (ae-undocumented) Missing documentation for "defaultServiceFactories".
```
+21
View File
@@ -1,5 +1,26 @@
# @backstage/backend-defaults
## 0.5.1-next.0
### Patch Changes
- 094eaa3: Remove references to in-repo backend-common
- Updated dependencies
- @backstage/backend-app-api@1.0.1-next.0
- @backstage/plugin-permission-node@0.8.4-next.0
- @backstage/plugin-events-node@0.4.1-next.0
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/backend-dev-utils@0.1.5
- @backstage/backend-plugin-api@1.0.1-next.0
- @backstage/cli-common@0.1.14
- @backstage/cli-node@0.2.8
- @backstage/config@1.2.0
- @backstage/config-loader@1.9.1
- @backstage/errors@1.2.4
- @backstage/integration@1.15.0
- @backstage/integration-aws-node@0.1.12
- @backstage/types@1.1.1
## 0.5.0
### Minor Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/backend-defaults",
"version": "0.5.0",
"version": "0.5.1-next.0",
"description": "Backend defaults used by Backstage backend apps",
"backstage": {
"role": "node-library"
@@ -23,5 +23,10 @@ export class HostDiscovery implements DiscoveryService {
getExternalBaseUrl(pluginId: string): Promise<string>;
}
// Warnings were encountered during analysis:
//
// src/entrypoints/discovery/HostDiscovery.d.ts:44:5 - (ae-undocumented) Missing documentation for "getBaseUrl".
// src/entrypoints/discovery/HostDiscovery.d.ts:45:5 - (ae-undocumented) Missing documentation for "getExternalBaseUrl".
// (No @packageDocumentation comment for this package)
```
@@ -31,5 +31,11 @@ export const rootConfigServiceFactory: ((
) => ServiceFactory<RootConfigService, 'root', 'singleton'>) &
ServiceFactory<RootConfigService, 'root', 'singleton'>;
// Warnings were encountered during analysis:
//
// src/entrypoints/rootConfig/createConfigSecretEnumerator.d.ts:5:1 - (ae-undocumented) Missing documentation for "createConfigSecretEnumerator".
// src/entrypoints/rootConfig/rootConfigServiceFactory.d.ts:20:5 - (ae-undocumented) Missing documentation for "watch".
// src/entrypoints/rootConfig/rootConfigServiceFactory.d.ts:26:22 - (ae-undocumented) Missing documentation for "rootConfigServiceFactory".
// (No @packageDocumentation comment for this package)
```
@@ -13,5 +13,9 @@ export const rootHealthServiceFactory: ServiceFactory<
'singleton'
>;
// Warnings were encountered during analysis:
//
// src/entrypoints/rootHealth/rootHealthServiceFactory.d.ts:5:22 - (ae-undocumented) Missing documentation for "rootHealthServiceFactory".
// (No @packageDocumentation comment for this package)
```
@@ -154,5 +154,28 @@ export const rootHttpRouterServiceFactory: ((
) => ServiceFactory<RootHttpRouterService, 'root', 'singleton'>) &
ServiceFactory<RootHttpRouterService, 'root', 'singleton'>;
// Warnings were encountered during analysis:
//
// src/entrypoints/rootHttpRouter/DefaultRootHttpRouter.d.ts:23:5 - (ae-undocumented) Missing documentation for "create".
// src/entrypoints/rootHttpRouter/DefaultRootHttpRouter.d.ts:25:5 - (ae-undocumented) Missing documentation for "use".
// src/entrypoints/rootHttpRouter/DefaultRootHttpRouter.d.ts:26:5 - (ae-undocumented) Missing documentation for "handler".
// src/entrypoints/rootHttpRouter/createHealthRouter.d.ts:6:1 - (ae-undocumented) Missing documentation for "createHealthRouter".
// src/entrypoints/rootHttpRouter/http/MiddlewareFactory.d.ts:9:5 - (ae-undocumented) Missing documentation for "config".
// src/entrypoints/rootHttpRouter/http/MiddlewareFactory.d.ts:10:5 - (ae-undocumented) Missing documentation for "logger".
// src/entrypoints/rootHttpRouter/http/types.d.ts:9:5 - (ae-undocumented) Missing documentation for "start".
// src/entrypoints/rootHttpRouter/http/types.d.ts:10:5 - (ae-undocumented) Missing documentation for "stop".
// src/entrypoints/rootHttpRouter/http/types.d.ts:11:5 - (ae-undocumented) Missing documentation for "port".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:9:1 - (ae-undocumented) Missing documentation for "RootHttpRouterConfigureContext".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:10:5 - (ae-undocumented) Missing documentation for "app".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:11:5 - (ae-undocumented) Missing documentation for "server".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:12:5 - (ae-undocumented) Missing documentation for "middleware".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:13:5 - (ae-undocumented) Missing documentation for "routes".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:14:5 - (ae-undocumented) Missing documentation for "config".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:15:5 - (ae-undocumented) Missing documentation for "logger".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:16:5 - (ae-undocumented) Missing documentation for "lifecycle".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:17:5 - (ae-undocumented) Missing documentation for "healthRouter".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:18:5 - (ae-undocumented) Missing documentation for "applyDefaults".
// src/entrypoints/rootHttpRouter/rootHttpRouterServiceFactory.d.ts:38:22 - (ae-undocumented) Missing documentation for "rootHttpRouterServiceFactory".
// (No @packageDocumentation comment for this package)
```
@@ -51,5 +51,19 @@ export interface WinstonLoggerOptions {
transports?: transport[];
}
// Warnings were encountered during analysis:
//
// src/entrypoints/rootLogger/WinstonLogger.d.ts:8:1 - (ae-undocumented) Missing documentation for "WinstonLoggerOptions".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:9:5 - (ae-undocumented) Missing documentation for "meta".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:10:5 - (ae-undocumented) Missing documentation for "level".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:11:5 - (ae-undocumented) Missing documentation for "format".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:12:5 - (ae-undocumented) Missing documentation for "transports".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:37:5 - (ae-undocumented) Missing documentation for "error".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:38:5 - (ae-undocumented) Missing documentation for "warn".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:39:5 - (ae-undocumented) Missing documentation for "info".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:40:5 - (ae-undocumented) Missing documentation for "debug".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:41:5 - (ae-undocumented) Missing documentation for "child".
// src/entrypoints/rootLogger/WinstonLogger.d.ts:42:5 - (ae-undocumented) Missing documentation for "addRedactions".
// (No @packageDocumentation comment for this package)
```
@@ -24,5 +24,9 @@ export const schedulerServiceFactory: ServiceFactory<
'singleton'
>;
// Warnings were encountered during analysis:
//
// src/entrypoints/scheduler/lib/DefaultSchedulerService.d.ts:8:5 - (ae-undocumented) Missing documentation for "create".
// (No @packageDocumentation comment for this package)
```
@@ -447,5 +447,78 @@ export type UrlReadersOptions = {
factories?: ReaderFactory[];
};
// Warnings were encountered during analysis:
//
// src/entrypoints/urlReader/lib/AwsS3UrlReader.d.ts:27:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/AwsS3UrlReader.d.ts:39:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/AwsS3UrlReader.d.ts:40:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/AwsS3UrlReader.d.ts:41:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/AwsS3UrlReader.d.ts:42:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/AwsS3UrlReader.d.ts:43:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/AzureUrlReader.d.ts:13:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/AzureUrlReader.d.ts:18:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/AzureUrlReader.d.ts:19:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/AzureUrlReader.d.ts:20:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/AzureUrlReader.d.ts:21:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/AzureUrlReader.d.ts:22:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/BitbucketCloudUrlReader.d.ts:13:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/BitbucketCloudUrlReader.d.ts:17:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/BitbucketCloudUrlReader.d.ts:18:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/BitbucketCloudUrlReader.d.ts:19:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/BitbucketCloudUrlReader.d.ts:20:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/BitbucketCloudUrlReader.d.ts:21:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/BitbucketServerUrlReader.d.ts:13:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/BitbucketServerUrlReader.d.ts:17:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/BitbucketServerUrlReader.d.ts:18:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/BitbucketServerUrlReader.d.ts:19:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/BitbucketServerUrlReader.d.ts:20:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/BitbucketServerUrlReader.d.ts:21:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/BitbucketUrlReader.d.ts:16:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/BitbucketUrlReader.d.ts:20:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/BitbucketUrlReader.d.ts:21:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/BitbucketUrlReader.d.ts:22:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/BitbucketUrlReader.d.ts:23:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/BitbucketUrlReader.d.ts:24:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/FetchUrlReader.d.ts:23:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/FetchUrlReader.d.ts:24:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/FetchUrlReader.d.ts:25:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/FetchUrlReader.d.ts:26:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/FetchUrlReader.d.ts:27:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/GerritUrlReader.d.ts:28:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/GerritUrlReader.d.ts:32:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/GerritUrlReader.d.ts:33:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/GerritUrlReader.d.ts:34:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/GerritUrlReader.d.ts:35:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/GerritUrlReader.d.ts:36:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/GiteaUrlReader.d.ts:13:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/GiteaUrlReader.d.ts:17:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/GiteaUrlReader.d.ts:18:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/GiteaUrlReader.d.ts:19:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/GiteaUrlReader.d.ts:20:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/GiteaUrlReader.d.ts:21:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/GithubUrlReader.d.ts:19:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/GithubUrlReader.d.ts:24:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/GithubUrlReader.d.ts:26:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/GithubUrlReader.d.ts:27:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/GithubUrlReader.d.ts:28:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/GithubUrlReader.d.ts:29:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/GitlabUrlReader.d.ts:13:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/GitlabUrlReader.d.ts:17:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/GitlabUrlReader.d.ts:18:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/GitlabUrlReader.d.ts:19:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/GitlabUrlReader.d.ts:20:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/GitlabUrlReader.d.ts:30:8 - (tsdoc-param-tag-missing-hyphen) The @param block should be followed by a parameter name and then a hyphen
// src/entrypoints/urlReader/lib/GitlabUrlReader.d.ts:31:8 - (tsdoc-undefined-tag) The TSDoc tag "@private" is not defined in this configuration
// src/entrypoints/urlReader/lib/GitlabUrlReader.d.ts:34:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/HarnessUrlReader.d.ts:14:5 - (ae-undocumented) Missing documentation for "factory".
// src/entrypoints/urlReader/lib/HarnessUrlReader.d.ts:18:5 - (ae-undocumented) Missing documentation for "read".
// src/entrypoints/urlReader/lib/HarnessUrlReader.d.ts:19:5 - (ae-undocumented) Missing documentation for "readUrl".
// src/entrypoints/urlReader/lib/HarnessUrlReader.d.ts:20:5 - (ae-undocumented) Missing documentation for "readTree".
// src/entrypoints/urlReader/lib/HarnessUrlReader.d.ts:21:5 - (ae-undocumented) Missing documentation for "search".
// src/entrypoints/urlReader/lib/HarnessUrlReader.d.ts:22:5 - (ae-undocumented) Missing documentation for "toString".
// src/entrypoints/urlReader/lib/types.d.ts:74:5 - (ae-undocumented) Missing documentation for "fromTarArchive".
// src/entrypoints/urlReader/lib/types.d.ts:81:5 - (ae-undocumented) Missing documentation for "fromZipArchive".
// src/entrypoints/urlReader/lib/types.d.ts:82:5 - (ae-undocumented) Missing documentation for "fromReadableArray".
// (No @packageDocumentation comment for this package)
```
@@ -11,4 +11,8 @@ export function createBackend(): Backend;
// @public
export const discoveryFeatureLoader: BackendFeature;
// Warnings were encountered during analysis:
//
// src/CreateBackend.d.ts:6:1 - (ae-undocumented) Missing documentation for "createBackend".
```
@@ -1,5 +1,32 @@
# @backstage/backend-dynamic-feature-service
## 0.4.1-next.0
### Patch Changes
- 094eaa3: Remove references to in-repo backend-common
- 2f88f88: Updated backend installation instructions.
- Updated dependencies
- @backstage/plugin-scaffolder-node@0.5.0-next.0
- @backstage/plugin-search-backend-node@1.3.3-next.0
- @backstage/backend-defaults@0.5.1-next.0
- @backstage/backend-app-api@1.0.1-next.0
- @backstage/plugin-catalog-backend@1.26.1-next.0
- @backstage/plugin-permission-node@0.8.4-next.0
- @backstage/plugin-events-backend@0.3.13-next.0
- @backstage/plugin-events-node@0.4.1-next.0
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/backend-plugin-api@1.0.1-next.0
- @backstage/cli-common@0.1.14
- @backstage/cli-node@0.2.8
- @backstage/config@1.2.0
- @backstage/config-loader@1.9.1
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-app-node@0.1.26-next.0
- @backstage/plugin-permission-common@0.8.1
- @backstage/plugin-search-common@1.2.14
## 0.4.0
### Minor Changes
@@ -1,6 +1,6 @@
{
"name": "@backstage/backend-dynamic-feature-service",
"version": "0.4.0",
"version": "0.4.1-next.0",
"description": "Backstage dynamic feature service",
"backstage": {
"role": "node-library"
@@ -276,5 +276,71 @@ export interface ScannedPluginPackage {
manifest: ScannedPluginManifest;
}
// Warnings were encountered during analysis:
//
// src/loader/types.d.ts:4:1 - (ae-undocumented) Missing documentation for "ModuleLoader".
// src/loader/types.d.ts:5:5 - (ae-undocumented) Missing documentation for "bootstrap".
// src/loader/types.d.ts:6:5 - (ae-undocumented) Missing documentation for "load".
// src/manager/plugin-manager.d.ts:10:1 - (ae-undocumented) Missing documentation for "DynamicPluginManagerOptions".
// src/manager/plugin-manager.d.ts:11:5 - (ae-undocumented) Missing documentation for "config".
// src/manager/plugin-manager.d.ts:12:5 - (ae-undocumented) Missing documentation for "logger".
// src/manager/plugin-manager.d.ts:13:5 - (ae-undocumented) Missing documentation for "preferAlpha".
// src/manager/plugin-manager.d.ts:14:5 - (ae-undocumented) Missing documentation for "moduleLoader".
// src/manager/plugin-manager.d.ts:19:1 - (ae-undocumented) Missing documentation for "DynamicPluginManager".
// src/manager/plugin-manager.d.ts:23:5 - (ae-undocumented) Missing documentation for "create".
// src/manager/plugin-manager.d.ts:27:5 - (ae-undocumented) Missing documentation for "availablePackages".
// src/manager/plugin-manager.d.ts:28:5 - (ae-undocumented) Missing documentation for "addBackendPlugin".
// src/manager/plugin-manager.d.ts:31:5 - (ae-undocumented) Missing documentation for "backendPlugins".
// src/manager/plugin-manager.d.ts:32:5 - (ae-undocumented) Missing documentation for "frontendPlugins".
// src/manager/plugin-manager.d.ts:33:5 - (ae-undocumented) Missing documentation for "plugins".
// src/manager/plugin-manager.d.ts:39:22 - (ae-undocumented) Missing documentation for "dynamicPluginsServiceRef".
// src/manager/plugin-manager.d.ts:43:1 - (ae-undocumented) Missing documentation for "DynamicPluginsFactoryOptions".
// src/manager/plugin-manager.d.ts:44:5 - (ae-undocumented) Missing documentation for "moduleLoader".
// src/manager/plugin-manager.d.ts:50:22 - (ae-undocumented) Missing documentation for "dynamicPluginsServiceFactoryWithOptions".
// src/manager/plugin-manager.d.ts:55:22 - (ae-undocumented) Missing documentation for "dynamicPluginsServiceFactory".
// src/manager/plugin-manager.d.ts:60:22 - (ae-undocumented) Missing documentation for "dynamicPluginsFeatureDiscoveryServiceFactory".
// src/manager/types.d.ts:27:1 - (ae-undocumented) Missing documentation for "LegacyPluginEnvironment".
// src/manager/types.d.ts:45:1 - (ae-undocumented) Missing documentation for "DynamicPluginProvider".
// src/manager/types.d.ts:46:5 - (ae-undocumented) Missing documentation for "plugins".
// src/manager/types.d.ts:51:1 - (ae-undocumented) Missing documentation for "BackendPluginProvider".
// src/manager/types.d.ts:52:5 - (ae-undocumented) Missing documentation for "backendPlugins".
// src/manager/types.d.ts:57:1 - (ae-undocumented) Missing documentation for "FrontendPluginProvider".
// src/manager/types.d.ts:58:5 - (ae-undocumented) Missing documentation for "frontendPlugins".
// src/manager/types.d.ts:63:1 - (ae-undocumented) Missing documentation for "BaseDynamicPlugin".
// src/manager/types.d.ts:64:5 - (ae-undocumented) Missing documentation for "name".
// src/manager/types.d.ts:65:5 - (ae-undocumented) Missing documentation for "version".
// src/manager/types.d.ts:66:5 - (ae-undocumented) Missing documentation for "role".
// src/manager/types.d.ts:67:5 - (ae-undocumented) Missing documentation for "platform".
// src/manager/types.d.ts:72:1 - (ae-undocumented) Missing documentation for "DynamicPlugin".
// src/manager/types.d.ts:76:1 - (ae-undocumented) Missing documentation for "FrontendDynamicPlugin".
// src/manager/types.d.ts:77:5 - (ae-undocumented) Missing documentation for "platform".
// src/manager/types.d.ts:82:1 - (ae-undocumented) Missing documentation for "BackendDynamicPlugin".
// src/manager/types.d.ts:83:5 - (ae-undocumented) Missing documentation for "platform".
// src/manager/types.d.ts:84:5 - (ae-undocumented) Missing documentation for "installer".
// src/manager/types.d.ts:89:1 - (ae-undocumented) Missing documentation for "BackendDynamicPluginInstaller".
// src/manager/types.d.ts:93:1 - (ae-undocumented) Missing documentation for "NewBackendPluginInstaller".
// src/manager/types.d.ts:94:5 - (ae-undocumented) Missing documentation for "kind".
// src/manager/types.d.ts:95:5 - (ae-undocumented) Missing documentation for "install".
// src/manager/types.d.ts:108:1 - (ae-undocumented) Missing documentation for "LegacyBackendPluginInstaller".
// src/manager/types.d.ts:109:5 - (ae-undocumented) Missing documentation for "kind".
// src/manager/types.d.ts:110:5 - (ae-undocumented) Missing documentation for "router".
// src/manager/types.d.ts:114:5 - (ae-undocumented) Missing documentation for "catalog".
// src/manager/types.d.ts:115:5 - (ae-undocumented) Missing documentation for "scaffolder".
// src/manager/types.d.ts:116:5 - (ae-undocumented) Missing documentation for "search".
// src/manager/types.d.ts:117:5 - (ae-undocumented) Missing documentation for "events".
// src/manager/types.d.ts:118:5 - (ae-undocumented) Missing documentation for "permissions".
// src/manager/types.d.ts:125:1 - (ae-undocumented) Missing documentation for "isBackendDynamicPluginInstaller".
// src/scanner/types.d.ts:5:1 - (ae-undocumented) Missing documentation for "ScannedPluginPackage".
// src/scanner/types.d.ts:6:5 - (ae-undocumented) Missing documentation for "location".
// src/scanner/types.d.ts:7:5 - (ae-undocumented) Missing documentation for "manifest".
// src/scanner/types.d.ts:12:1 - (ae-undocumented) Missing documentation for "ScannedPluginManifest".
// src/schemas/appBackendModule.d.ts:2:22 - (ae-undocumented) Missing documentation for "dynamicPluginsFrontendSchemas".
// src/schemas/rootLoggerServiceFactory.d.ts:2:22 - (ae-undocumented) Missing documentation for "dynamicPluginsRootLoggerServiceFactory".
// src/schemas/schemas.d.ts:7:1 - (ae-undocumented) Missing documentation for "DynamicPluginsSchemasService".
// src/schemas/schemas.d.ts:8:5 - (ae-undocumented) Missing documentation for "addDynamicPluginsSchemas".
// src/schemas/schemas.d.ts:21:1 - (ae-undocumented) Missing documentation for "DynamicPluginsSchemasOptions".
// src/schemas/schemas.d.ts:36:22 - (ae-undocumented) Missing documentation for "dynamicPluginsSchemasServiceFactoryWithOptions".
// src/schemas/schemas.d.ts:40:22 - (ae-undocumented) Missing documentation for "dynamicPluginsSchemasServiceFactory".
// (No @packageDocumentation comment for this package)
```
+41
View File
@@ -1,5 +1,46 @@
# example-backend-legacy
## 0.2.103-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-search-backend-module-elasticsearch@1.5.7-next.0
- @backstage/plugin-scaffolder-backend@1.26.0-next.0
- @backstage/plugin-scaffolder-backend-module-confluence-to-markdown@0.3.1-next.0
- @backstage/plugin-catalog-backend-module-unprocessed@0.5.1-next.0
- @backstage/plugin-scaffolder-backend-module-gitlab@0.5.1-next.0
- @backstage/plugin-scaffolder-backend-module-rails@0.5.1-next.0
- @backstage/plugin-search-backend-module-techdocs@0.2.3-next.0
- @backstage/plugin-search-backend-module-catalog@0.2.3-next.0
- @backstage/plugin-search-backend-module-explore@0.2.3-next.0
- @backstage/plugin-search-backend-module-pg@0.5.36-next.0
- @backstage/plugin-search-backend-node@1.3.3-next.0
- @backstage/plugin-kubernetes-backend@0.18.7-next.0
- @backstage/plugin-permission-backend@0.5.50-next.0
- @backstage/backend-defaults@0.5.1-next.0
- @backstage/plugin-devtools-backend@0.4.1-next.0
- @backstage/plugin-techdocs-backend@1.10.14-next.0
- @backstage/plugin-catalog-backend@1.26.1-next.0
- @backstage/plugin-permission-node@0.8.4-next.0
- @backstage/plugin-signals-backend@0.2.1-next.0
- @backstage/plugin-events-backend@0.3.13-next.0
- @backstage/plugin-search-backend@1.5.18-next.0
- @backstage/plugin-proxy-backend@0.5.7-next.0
- @backstage/plugin-auth-backend@0.23.1-next.0
- @backstage/plugin-signals-node@0.1.12-next.0
- @backstage/plugin-app-backend@0.3.75-next.0
- @backstage/plugin-events-node@0.4.1-next.0
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/backend-plugin-api@1.0.1-next.0
- @backstage/catalog-client@1.7.0
- @backstage/catalog-model@1.7.0
- @backstage/config@1.2.0
- @backstage/integration@1.15.0
- @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.2.1-next.0
- @backstage/plugin-catalog-node@1.13.1-next.0
- @backstage/plugin-permission-common@0.8.1
## 0.2.102
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-backend-legacy",
"version": "0.2.102",
"version": "0.2.103-next.0",
"backstage": {
"role": "backend"
},
@@ -1,5 +1,13 @@
# @backstage/backend-openapi-utils
## 0.1.19-next.0
### Patch Changes
- Updated dependencies
- @backstage/backend-plugin-api@1.0.1-next.0
- @backstage/errors@1.2.4
## 0.1.18
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/backend-openapi-utils",
"version": "0.1.18",
"version": "0.1.19-next.0",
"description": "OpenAPI typescript support.",
"backstage": {
"role": "node-library"
@@ -717,4 +717,84 @@ type ValueOf<T> = T[keyof T];
// @public
export const wrapInOpenApiTestServer: (app: Express_2) => Server | Express_2;
// Warnings were encountered during analysis:
//
// src/router.d.ts:8:5 - (ae-undocumented) Missing documentation for "get".
// src/router.d.ts:9:5 - (ae-undocumented) Missing documentation for "post".
// src/router.d.ts:10:5 - (ae-undocumented) Missing documentation for "all".
// src/router.d.ts:11:5 - (ae-undocumented) Missing documentation for "put".
// src/router.d.ts:12:5 - (ae-undocumented) Missing documentation for "delete".
// src/router.d.ts:13:5 - (ae-undocumented) Missing documentation for "patch".
// src/router.d.ts:14:5 - (ae-undocumented) Missing documentation for "options".
// src/router.d.ts:15:5 - (ae-undocumented) Missing documentation for "head".
// src/types/common.d.ts:14:1 - (ae-undocumented) Missing documentation for "PathDoc".
// src/types/common.d.ts:60:1 - (ae-undocumented) Missing documentation for "DocPathTemplate".
// src/types/common.d.ts:64:1 - (ae-undocumented) Missing documentation for "DocPathMethod".
// src/types/common.d.ts:68:1 - (ae-undocumented) Missing documentation for "DocPathTemplateMethod".
// src/types/common.d.ts:72:1 - (ae-undocumented) Missing documentation for "MethodAwareDocPath".
// src/types/common.d.ts:78:1 - (ae-undocumented) Missing documentation for "DocOperation".
// src/types/common.d.ts:82:1 - (ae-undocumented) Missing documentation for "ComponentTypes".
// src/types/common.d.ts:86:1 - (ae-undocumented) Missing documentation for "ComponentRef".
// src/types/common.d.ts:92:1 - (ae-undocumented) Missing documentation for "SchemaRef".
// src/types/common.d.ts:100:1 - (ae-undocumented) Missing documentation for "ObjectWithContentSchema".
// src/types/common.d.ts:114:1 - (ae-undocumented) Missing documentation for "LastOf".
// src/types/common.d.ts:118:1 - (ae-undocumented) Missing documentation for "Push".
// src/types/common.d.ts:122:1 - (ae-undocumented) Missing documentation for "TuplifyUnion".
// src/types/common.d.ts:126:1 - (ae-undocumented) Missing documentation for "ConvertAll".
// src/types/common.d.ts:134:1 - (ae-undocumented) Missing documentation for "UnknownIfNever".
// src/types/common.d.ts:138:1 - (ae-undocumented) Missing documentation for "ToTypeSafe".
// src/types/common.d.ts:142:1 - (ae-undocumented) Missing documentation for "DiscriminateUnion".
// src/types/common.d.ts:146:1 - (ae-undocumented) Missing documentation for "MapDiscriminatedUnion".
// src/types/common.d.ts:152:1 - (ae-undocumented) Missing documentation for "PickOptionalKeys".
// src/types/common.d.ts:160:1 - (ae-undocumented) Missing documentation for "PickRequiredKeys".
// src/types/common.d.ts:168:1 - (ae-undocumented) Missing documentation for "OptionalMap".
// src/types/common.d.ts:176:1 - (ae-undocumented) Missing documentation for "RequiredMap".
// src/types/common.d.ts:184:1 - (ae-undocumented) Missing documentation for "FullMap".
// src/types/common.d.ts:190:1 - (ae-undocumented) Missing documentation for "Filter".
// src/types/express.d.ts:21:5 - (ae-undocumented) Missing documentation for "__call".
// src/types/express.d.ts:22:5 - (ae-undocumented) Missing documentation for "__call".
// src/types/immutable.d.ts:18:1 - (ae-undocumented) Missing documentation for "ImmutableObject".
// src/types/immutable.d.ts:24:1 - (ae-undocumented) Missing documentation for "ImmutableReferenceObject".
// src/types/immutable.d.ts:28:1 - (ae-undocumented) Missing documentation for "ImmutableOpenAPIObject".
// src/types/immutable.d.ts:32:1 - (ae-undocumented) Missing documentation for "ImmutableContentObject".
// src/types/immutable.d.ts:36:1 - (ae-undocumented) Missing documentation for "ImmutableRequestBodyObject".
// src/types/immutable.d.ts:40:1 - (ae-undocumented) Missing documentation for "ImmutableResponseObject".
// src/types/immutable.d.ts:44:1 - (ae-undocumented) Missing documentation for "ImmutableParameterObject".
// src/types/immutable.d.ts:48:1 - (ae-undocumented) Missing documentation for "HeaderObject".
// src/types/immutable.d.ts:49:5 - (ae-undocumented) Missing documentation for "in".
// src/types/immutable.d.ts:50:5 - (ae-undocumented) Missing documentation for "style".
// src/types/immutable.d.ts:55:1 - (ae-undocumented) Missing documentation for "ImmutableHeaderObject".
// src/types/immutable.d.ts:59:1 - (ae-undocumented) Missing documentation for "CookieObject".
// src/types/immutable.d.ts:60:5 - (ae-undocumented) Missing documentation for "in".
// src/types/immutable.d.ts:61:5 - (ae-undocumented) Missing documentation for "style".
// src/types/immutable.d.ts:66:1 - (ae-undocumented) Missing documentation for "ImmutableCookieObject".
// src/types/immutable.d.ts:70:1 - (ae-undocumented) Missing documentation for "QueryObject".
// src/types/immutable.d.ts:71:5 - (ae-undocumented) Missing documentation for "in".
// src/types/immutable.d.ts:72:5 - (ae-undocumented) Missing documentation for "style".
// src/types/immutable.d.ts:77:1 - (ae-undocumented) Missing documentation for "ImmutableQueryObject".
// src/types/immutable.d.ts:81:1 - (ae-undocumented) Missing documentation for "PathObject".
// src/types/immutable.d.ts:82:5 - (ae-undocumented) Missing documentation for "in".
// src/types/immutable.d.ts:83:5 - (ae-undocumented) Missing documentation for "style".
// src/types/immutable.d.ts:88:1 - (ae-undocumented) Missing documentation for "ImmutablePathObject".
// src/types/immutable.d.ts:92:1 - (ae-undocumented) Missing documentation for "ImmutableSchemaObject".
// src/types/params.d.ts:7:1 - (ae-undocumented) Missing documentation for "DocParameter".
// src/types/params.d.ts:16:1 - (ae-undocumented) Missing documentation for "DocParameters".
// src/types/params.d.ts:22:1 - (ae-undocumented) Missing documentation for "ParameterSchema".
// src/types/params.d.ts:26:1 - (ae-undocumented) Missing documentation for "MapToSchema".
// src/types/params.d.ts:32:1 - (ae-undocumented) Missing documentation for "ParametersSchema".
// src/types/params.d.ts:36:1 - (ae-undocumented) Missing documentation for "HeaderSchema".
// src/types/params.d.ts:40:1 - (ae-undocumented) Missing documentation for "CookieSchema".
// src/types/params.d.ts:44:1 - (ae-undocumented) Missing documentation for "PathSchema".
// src/types/params.d.ts:48:1 - (ae-undocumented) Missing documentation for "QuerySchema".
// src/types/requests.d.ts:9:1 - (ae-undocumented) Missing documentation for "RequestBody".
// src/types/requests.d.ts:13:1 - (ae-undocumented) Missing documentation for "RequestBodySchema".
// src/types/responses.d.ts:9:1 - (ae-undocumented) Missing documentation for "Response".
// src/types/responses.d.ts:13:1 - (ae-undocumented) Missing documentation for "ResponseSchemas".
// src/utility.d.ts:5:1 - (ae-undocumented) Missing documentation for "Response".
// src/utility.d.ts:9:1 - (ae-undocumented) Missing documentation for "Request".
// src/utility.d.ts:13:1 - (ae-undocumented) Missing documentation for "HeaderParameters".
// src/utility.d.ts:17:1 - (ae-undocumented) Missing documentation for "CookieParameters".
// src/utility.d.ts:21:1 - (ae-undocumented) Missing documentation for "PathParameters".
// src/utility.d.ts:25:1 - (ae-undocumented) Missing documentation for "QueryParameters".
```
+12
View File
@@ -1,5 +1,17 @@
# @backstage/backend-plugin-api
## 1.0.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/cli-common@0.1.14
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.8.1
## 1.0.0
### Major Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/backend-plugin-api",
"version": "1.0.0",
"version": "1.0.1-next.0",
"description": "Core API used by Backstage backend plugins",
"backstage": {
"role": "node-library"
@@ -21,5 +21,10 @@ export const featureDiscoveryServiceRef: ServiceRef<
'singleton'
>;
// Warnings were encountered during analysis:
//
// src/alpha.d.ts:3:1 - (ae-undocumented) Missing documentation for "FeatureDiscoveryService".
// src/alpha.d.ts:4:5 - (ae-undocumented) Missing documentation for "getBackendFeatures".
// (No @packageDocumentation comment for this package)
```
@@ -22,5 +22,10 @@ export interface PackagePathResolutionOverride {
restore(): void;
}
// Warnings were encountered during analysis:
//
// src/testUtils.d.ts:2:1 - (ae-undocumented) Missing documentation for "PackagePathResolutionOverride".
// src/testUtils.d.ts:7:1 - (ae-undocumented) Missing documentation for "OverridePackagePathResolutionOptions".
// (No @packageDocumentation comment for this package)
```
@@ -735,4 +735,48 @@ export type UrlReaderServiceSearchResponseFile = {
export interface UserInfoService {
getUserInfo(credentials: BackstageCredentials): Promise<BackstageUserInfo>;
}
// Warnings were encountered during analysis:
//
// src/services/definitions/HttpRouterService.d.ts:8:5 - (ae-undocumented) Missing documentation for "path".
// src/services/definitions/HttpRouterService.d.ts:9:5 - (ae-undocumented) Missing documentation for "allow".
// src/services/definitions/LifecycleService.d.ts:5:1 - (ae-undocumented) Missing documentation for "LifecycleServiceStartupHook".
// src/services/definitions/LifecycleService.d.ts:9:1 - (ae-undocumented) Missing documentation for "LifecycleServiceStartupOptions".
// src/services/definitions/LifecycleService.d.ts:18:1 - (ae-undocumented) Missing documentation for "LifecycleServiceShutdownHook".
// src/services/definitions/LifecycleService.d.ts:22:1 - (ae-undocumented) Missing documentation for "LifecycleServiceShutdownOptions".
// src/services/definitions/LoggerService.d.ts:10:5 - (ae-undocumented) Missing documentation for "error".
// src/services/definitions/LoggerService.d.ts:11:5 - (ae-undocumented) Missing documentation for "warn".
// src/services/definitions/LoggerService.d.ts:12:5 - (ae-undocumented) Missing documentation for "info".
// src/services/definitions/LoggerService.d.ts:13:5 - (ae-undocumented) Missing documentation for "debug".
// src/services/definitions/LoggerService.d.ts:14:5 - (ae-undocumented) Missing documentation for "child".
// src/services/definitions/PermissionsService.d.ts:9:5 - (ae-undocumented) Missing documentation for "credentials".
// src/services/definitions/RootHealthService.d.ts:5:1 - (ae-undocumented) Missing documentation for "RootHealthService".
// src/services/definitions/UserInfoService.d.ts:9:5 - (ae-undocumented) Missing documentation for "userEntityRef".
// src/services/definitions/UserInfoService.d.ts:10:5 - (ae-undocumented) Missing documentation for "ownershipEntityRefs".
// src/services/system/types.d.ts:35:1 - (ae-undocumented) Missing documentation for "ServiceFactory".
// src/services/system/types.d.ts:36:5 - (ae-undocumented) Missing documentation for "service".
// src/services/system/types.d.ts:39:1 - (ae-undocumented) Missing documentation for "ServiceRefOptions".
// src/services/system/types.d.ts:40:5 - (ae-undocumented) Missing documentation for "id".
// src/services/system/types.d.ts:41:5 - (ae-undocumented) Missing documentation for "scope".
// src/services/system/types.d.ts:42:5 - (ae-undocumented) Missing documentation for "multiton".
// src/services/system/types.d.ts:43:5 - (ae-undocumented) Missing documentation for "defaultFactory".
// src/services/system/types.d.ts:76:1 - (ae-undocumented) Missing documentation for "RootServiceFactoryOptions".
// src/services/system/types.d.ts:90:5 - (ae-undocumented) Missing documentation for "service".
// src/services/system/types.d.ts:91:5 - (ae-undocumented) Missing documentation for "deps".
// src/services/system/types.d.ts:92:5 - (ae-undocumented) Missing documentation for "factory".
// src/services/system/types.d.ts:95:1 - (ae-undocumented) Missing documentation for "PluginServiceFactoryOptions".
// src/services/system/types.d.ts:109:5 - (ae-undocumented) Missing documentation for "service".
// src/services/system/types.d.ts:110:5 - (ae-undocumented) Missing documentation for "deps".
// src/services/system/types.d.ts:111:5 - (ae-undocumented) Missing documentation for "createRootContext".
// src/services/system/types.d.ts:112:5 - (ae-undocumented) Missing documentation for "factory".
// src/types.d.ts:2:1 - (ae-undocumented) Missing documentation for "BackendFeature".
// src/types.d.ts:3:5 - (ae-undocumented) Missing documentation for "$$type".
// src/wiring/createBackendFeatureLoader.d.ts:10:5 - (ae-undocumented) Missing documentation for "deps".
// src/wiring/createBackendFeatureLoader.d.ts:13:5 - (ae-undocumented) Missing documentation for "loader".
// src/wiring/createBackendModule.d.ts:21:5 - (ae-undocumented) Missing documentation for "register".
// src/wiring/createBackendPlugin.d.ts:17:5 - (ae-undocumented) Missing documentation for "register".
// src/wiring/types.d.ts:30:5 - (ae-undocumented) Missing documentation for "registerExtensionPoint".
// src/wiring/types.d.ts:31:5 - (ae-undocumented) Missing documentation for "registerInit".
// src/wiring/types.d.ts:44:5 - (ae-undocumented) Missing documentation for "registerExtensionPoint".
// src/wiring/types.d.ts:45:5 - (ae-undocumented) Missing documentation for "registerInit".
```
+14
View File
@@ -1,5 +1,19 @@
# @backstage/backend-test-utils
## 1.0.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/backend-defaults@0.5.1-next.0
- @backstage/backend-app-api@1.0.1-next.0
- @backstage/plugin-events-node@0.4.1-next.0
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/backend-plugin-api@1.0.1-next.0
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
- @backstage/types@1.1.1
## 1.0.0
### Major Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/backend-test-utils",
"version": "1.0.0",
"version": "1.0.1-next.0",
"description": "Test helpers library for Backstage backends",
"backstage": {
"role": "node-library"
@@ -474,4 +474,85 @@ export class TestDatabases {
// (undocumented)
supports(id: TestDatabaseId): boolean;
}
// Warnings were encountered during analysis:
//
// src/cache/TestCaches.d.ts:27:5 - (ae-undocumented) Missing documentation for "setDefaults".
// src/cache/TestCaches.d.ts:31:5 - (ae-undocumented) Missing documentation for "supports".
// src/cache/TestCaches.d.ts:32:5 - (ae-undocumented) Missing documentation for "eachSupportedId".
// src/database/TestDatabases.d.ts:29:5 - (ae-undocumented) Missing documentation for "setDefaults".
// src/database/TestDatabases.d.ts:33:5 - (ae-undocumented) Missing documentation for "supports".
// src/database/TestDatabases.d.ts:34:5 - (ae-undocumented) Missing documentation for "eachSupportedId".
// src/next/services/mockCredentials.d.ts:17:1 - (ae-undocumented) Missing documentation for "mockCredentials".
// src/next/services/mockCredentials.d.ts:58:9 - (ae-undocumented) Missing documentation for "invalidToken".
// src/next/services/mockCredentials.d.ts:59:9 - (ae-undocumented) Missing documentation for "invalidHeader".
// src/next/services/mockCredentials.d.ts:84:9 - (ae-undocumented) Missing documentation for "invalidToken".
// src/next/services/mockCredentials.d.ts:85:9 - (ae-undocumented) Missing documentation for "invalidCookie".
// src/next/services/mockCredentials.d.ts:116:9 - (ae-undocumented) Missing documentation for "invalidToken".
// src/next/services/mockCredentials.d.ts:117:9 - (ae-undocumented) Missing documentation for "invalidHeader".
// src/next/services/mockServices.d.ts:5:1 - (ae-undocumented) Missing documentation for "ServiceMock".
// src/next/services/mockServices.d.ts:13:1 - (ae-undocumented) Missing documentation for "mockServices".
// src/next/services/mockServices.d.ts:14:5 - (ae-undocumented) Missing documentation for "rootConfig".
// src/next/services/mockServices.d.ts:15:5 - (ae-undocumented) Missing documentation for "rootConfig".
// src/next/services/mockServices.d.ts:16:9 - (ae-undocumented) Missing documentation for "Options".
// src/next/services/mockServices.d.ts:19:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:20:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:22:5 - (ae-undocumented) Missing documentation for "rootLogger".
// src/next/services/mockServices.d.ts:23:5 - (ae-undocumented) Missing documentation for "rootLogger".
// src/next/services/mockServices.d.ts:24:9 - (ae-undocumented) Missing documentation for "Options".
// src/next/services/mockServices.d.ts:27:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:28:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:30:5 - (ae-undocumented) Missing documentation for "auth".
// src/next/services/mockServices.d.ts:34:5 - (ae-undocumented) Missing documentation for "auth".
// src/next/services/mockServices.d.ts:35:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:36:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:38:5 - (ae-undocumented) Missing documentation for "discovery".
// src/next/services/mockServices.d.ts:39:5 - (ae-undocumented) Missing documentation for "discovery".
// src/next/services/mockServices.d.ts:40:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:41:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:61:5 - (ae-undocumented) Missing documentation for "httpAuth".
// src/next/services/mockServices.d.ts:72:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:82:5 - (ae-undocumented) Missing documentation for "userInfo".
// src/next/services/mockServices.d.ts:90:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:92:5 - (ae-undocumented) Missing documentation for "cache".
// src/next/services/mockServices.d.ts:93:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:94:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:96:5 - (ae-undocumented) Missing documentation for "database".
// src/next/services/mockServices.d.ts:97:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:98:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:100:5 - (ae-undocumented) Missing documentation for "rootHealth".
// src/next/services/mockServices.d.ts:101:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:102:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:104:5 - (ae-undocumented) Missing documentation for "httpRouter".
// src/next/services/mockServices.d.ts:105:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:106:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:108:5 - (ae-undocumented) Missing documentation for "rootHttpRouter".
// src/next/services/mockServices.d.ts:109:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:110:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:112:5 - (ae-undocumented) Missing documentation for "lifecycle".
// src/next/services/mockServices.d.ts:113:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:114:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:116:5 - (ae-undocumented) Missing documentation for "logger".
// src/next/services/mockServices.d.ts:117:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:118:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:120:5 - (ae-undocumented) Missing documentation for "permissions".
// src/next/services/mockServices.d.ts:121:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:122:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:124:5 - (ae-undocumented) Missing documentation for "rootLifecycle".
// src/next/services/mockServices.d.ts:125:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:126:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:128:5 - (ae-undocumented) Missing documentation for "scheduler".
// src/next/services/mockServices.d.ts:129:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:130:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:132:5 - (ae-undocumented) Missing documentation for "urlReader".
// src/next/services/mockServices.d.ts:133:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:134:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/services/mockServices.d.ts:136:5 - (ae-undocumented) Missing documentation for "events".
// src/next/services/mockServices.d.ts:137:15 - (ae-undocumented) Missing documentation for "factory".
// src/next/services/mockServices.d.ts:138:15 - (ae-undocumented) Missing documentation for "mock".
// src/next/wiring/TestBackend.d.ts:5:1 - (ae-undocumented) Missing documentation for "TestBackendOptions".
// src/next/wiring/TestBackend.d.ts:6:5 - (ae-undocumented) Missing documentation for "extensionPoints".
// src/next/wiring/TestBackend.d.ts:14:5 - (ae-undocumented) Missing documentation for "features".
// src/next/wiring/TestBackend.d.ts:19:1 - (ae-undocumented) Missing documentation for "TestBackend".
// src/next/wiring/TestBackend.d.ts:30:1 - (ae-undocumented) Missing documentation for "startTestBackend".
```
+37
View File
@@ -1,5 +1,42 @@
# example-backend
## 0.0.31-next.0
### Patch Changes
- Updated dependencies
- @backstage/plugin-scaffolder-backend@1.26.0-next.0
- @backstage/plugin-auth-backend-module-guest-provider@0.2.1-next.0
- @backstage/plugin-catalog-backend-module-unprocessed@0.5.1-next.0
- @backstage/plugin-scaffolder-backend-module-github@0.5.1-next.0
- @backstage/plugin-catalog-backend-module-openapi@0.2.1-next.0
- @backstage/plugin-search-backend-module-techdocs@0.2.3-next.0
- @backstage/plugin-search-backend-module-catalog@0.2.3-next.0
- @backstage/plugin-search-backend-module-explore@0.2.3-next.0
- @backstage/plugin-notifications-backend@0.4.1-next.0
- @backstage/plugin-search-backend-node@1.3.3-next.0
- @backstage/plugin-kubernetes-backend@0.18.7-next.0
- @backstage/plugin-permission-backend@0.5.50-next.0
- @backstage/backend-defaults@0.5.1-next.0
- @backstage/plugin-devtools-backend@0.4.1-next.0
- @backstage/plugin-techdocs-backend@1.10.14-next.0
- @backstage/plugin-catalog-backend@1.26.1-next.0
- @backstage/plugin-permission-node@0.8.4-next.0
- @backstage/plugin-signals-backend@0.2.1-next.0
- @backstage/plugin-events-backend@0.3.13-next.0
- @backstage/plugin-search-backend@1.5.18-next.0
- @backstage/plugin-proxy-backend@0.5.7-next.0
- @backstage/plugin-auth-backend@0.23.1-next.0
- @backstage/plugin-app-backend@0.3.75-next.0
- @backstage/plugin-auth-node@0.5.3-next.0
- @backstage/backend-plugin-api@1.0.1-next.0
- @backstage/catalog-model@1.7.0
- @backstage/plugin-auth-backend-module-github-provider@0.2.1-next.0
- @backstage/plugin-catalog-backend-module-backstage-openapi@0.4.1-next.0
- @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.2.1-next.0
- @backstage/plugin-permission-backend-module-allow-all-policy@0.2.1-next.0
- @backstage/plugin-permission-common@0.8.1
## 0.0.30
### Patch Changes
+2 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-backend",
"version": "0.0.30",
"version": "0.0.31-next.0",
"backstage": {
"role": "backend"
},
@@ -44,6 +44,7 @@
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "workspace:^",
"@backstage/plugin-catalog-backend-module-unprocessed": "workspace:^",
"@backstage/plugin-devtools-backend": "workspace:^",
"@backstage/plugin-events-backend": "workspace:^",
"@backstage/plugin-kubernetes-backend": "workspace:^",
"@backstage/plugin-notifications-backend": "workspace:^",
"@backstage/plugin-permission-backend": "workspace:^",
+1
View File
@@ -39,6 +39,7 @@ backend.add(
import('@backstage/plugin-catalog-backend-module-scaffolder-entity-model'),
);
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
backend.add(import('@backstage/plugin-events-backend/alpha'));
backend.add(import('@backstage/plugin-devtools-backend'));
backend.add(import('@backstage/plugin-kubernetes-backend/alpha'));
backend.add(
@@ -67,5 +67,22 @@ export class InMemoryCatalogClient implements CatalogApi {
): Promise<ValidateEntityResponse>;
}
// Warnings were encountered during analysis:
//
// src/testUtils/InMemoryCatalogClient.d.ts:15:5 - (ae-undocumented) Missing documentation for "getEntities".
// src/testUtils/InMemoryCatalogClient.d.ts:16:5 - (ae-undocumented) Missing documentation for "getEntitiesByRefs".
// src/testUtils/InMemoryCatalogClient.d.ts:17:5 - (ae-undocumented) Missing documentation for "queryEntities".
// src/testUtils/InMemoryCatalogClient.d.ts:18:5 - (ae-undocumented) Missing documentation for "getEntityAncestors".
// src/testUtils/InMemoryCatalogClient.d.ts:19:5 - (ae-undocumented) Missing documentation for "getEntityByRef".
// src/testUtils/InMemoryCatalogClient.d.ts:20:5 - (ae-undocumented) Missing documentation for "removeEntityByUid".
// src/testUtils/InMemoryCatalogClient.d.ts:21:5 - (ae-undocumented) Missing documentation for "refreshEntity".
// src/testUtils/InMemoryCatalogClient.d.ts:22:5 - (ae-undocumented) Missing documentation for "getEntityFacets".
// src/testUtils/InMemoryCatalogClient.d.ts:23:5 - (ae-undocumented) Missing documentation for "getLocationById".
// src/testUtils/InMemoryCatalogClient.d.ts:24:5 - (ae-undocumented) Missing documentation for "getLocationByRef".
// src/testUtils/InMemoryCatalogClient.d.ts:25:5 - (ae-undocumented) Missing documentation for "addLocation".
// src/testUtils/InMemoryCatalogClient.d.ts:26:5 - (ae-undocumented) Missing documentation for "removeLocationById".
// src/testUtils/InMemoryCatalogClient.d.ts:27:5 - (ae-undocumented) Missing documentation for "getLocationByEntity".
// src/testUtils/InMemoryCatalogClient.d.ts:28:5 - (ae-undocumented) Missing documentation for "validateEntity".
// (No @packageDocumentation comment for this package)
```
@@ -302,4 +302,13 @@ export type ValidateEntityResponse =
valid: false;
errors: SerializedError[];
};
// Warnings were encountered during analysis:
//
// src/CatalogClient.d.ts:50:5 - (ae-undocumented) Missing documentation for "getEntityByName".
// src/types/api.d.ts:154:5 - (ae-undocumented) Missing documentation for "items".
// src/types/api.d.ts:203:5 - (ae-undocumented) Missing documentation for "entityRef".
// src/types/api.d.ts:211:5 - (ae-undocumented) Missing documentation for "rootEntityRef".
// src/types/api.d.ts:212:5 - (ae-undocumented) Missing documentation for "items".
// src/types/api.d.ts:305:5 - (ae-undocumented) Missing documentation for "token".
```
@@ -499,4 +499,52 @@ export type Validators = {
isValidAnnotationValue(value: unknown): boolean;
isValidTag(value: unknown): boolean;
};
// Warnings were encountered during analysis:
//
// src/entity/conditions.d.ts:6:1 - (ae-undocumented) Missing documentation for "isApiEntity".
// src/entity/conditions.d.ts:10:1 - (ae-undocumented) Missing documentation for "isComponentEntity".
// src/entity/conditions.d.ts:14:1 - (ae-undocumented) Missing documentation for "isDomainEntity".
// src/entity/conditions.d.ts:18:1 - (ae-undocumented) Missing documentation for "isGroupEntity".
// src/entity/conditions.d.ts:22:1 - (ae-undocumented) Missing documentation for "isLocationEntity".
// src/entity/conditions.d.ts:26:1 - (ae-undocumented) Missing documentation for "isResourceEntity".
// src/entity/conditions.d.ts:30:1 - (ae-undocumented) Missing documentation for "isSystemEntity".
// src/entity/conditions.d.ts:34:1 - (ae-undocumented) Missing documentation for "isUserEntity".
// src/entity/policies/DefaultNamespaceEntityPolicy.d.ts:11:5 - (ae-undocumented) Missing documentation for "enforce".
// src/entity/policies/FieldFormatEntityPolicy.d.ts:17:5 - (ae-undocumented) Missing documentation for "enforce".
// src/entity/policies/GroupDefaultParentEntityPolicy.d.ts:14:5 - (ae-undocumented) Missing documentation for "enforce".
// src/entity/policies/NoForeignRootFieldsEntityPolicy.d.ts:11:5 - (ae-undocumented) Missing documentation for "enforce".
// src/entity/policies/SchemaValidEntityPolicy.d.ts:16:5 - (ae-undocumented) Missing documentation for "enforce".
// src/kinds/ApiEntityV1alpha1.d.ts:12:5 - (ae-undocumented) Missing documentation for "apiVersion".
// src/kinds/ApiEntityV1alpha1.d.ts:13:5 - (ae-undocumented) Missing documentation for "kind".
// src/kinds/ApiEntityV1alpha1.d.ts:14:5 - (ae-undocumented) Missing documentation for "spec".
// src/kinds/ComponentEntityV1alpha1.d.ts:12:5 - (ae-undocumented) Missing documentation for "apiVersion".
// src/kinds/ComponentEntityV1alpha1.d.ts:13:5 - (ae-undocumented) Missing documentation for "kind".
// src/kinds/ComponentEntityV1alpha1.d.ts:14:5 - (ae-undocumented) Missing documentation for "spec".
// src/kinds/DomainEntityV1alpha1.d.ts:12:5 - (ae-undocumented) Missing documentation for "apiVersion".
// src/kinds/DomainEntityV1alpha1.d.ts:13:5 - (ae-undocumented) Missing documentation for "kind".
// src/kinds/DomainEntityV1alpha1.d.ts:14:5 - (ae-undocumented) Missing documentation for "spec".
// src/kinds/GroupEntityV1alpha1.d.ts:8:5 - (ae-undocumented) Missing documentation for "apiVersion".
// src/kinds/GroupEntityV1alpha1.d.ts:9:5 - (ae-undocumented) Missing documentation for "kind".
// src/kinds/GroupEntityV1alpha1.d.ts:10:5 - (ae-undocumented) Missing documentation for "spec".
// src/kinds/LocationEntityV1alpha1.d.ts:8:5 - (ae-undocumented) Missing documentation for "apiVersion".
// src/kinds/LocationEntityV1alpha1.d.ts:9:5 - (ae-undocumented) Missing documentation for "kind".
// src/kinds/LocationEntityV1alpha1.d.ts:10:5 - (ae-undocumented) Missing documentation for "spec".
// src/kinds/ResourceEntityV1alpha1.d.ts:12:5 - (ae-undocumented) Missing documentation for "apiVersion".
// src/kinds/ResourceEntityV1alpha1.d.ts:13:5 - (ae-undocumented) Missing documentation for "kind".
// src/kinds/ResourceEntityV1alpha1.d.ts:14:5 - (ae-undocumented) Missing documentation for "spec".
// src/kinds/SystemEntityV1alpha1.d.ts:12:5 - (ae-undocumented) Missing documentation for "apiVersion".
// src/kinds/SystemEntityV1alpha1.d.ts:13:5 - (ae-undocumented) Missing documentation for "kind".
// src/kinds/SystemEntityV1alpha1.d.ts:14:5 - (ae-undocumented) Missing documentation for "spec".
// src/kinds/UserEntityV1alpha1.d.ts:8:5 - (ae-undocumented) Missing documentation for "apiVersion".
// src/kinds/UserEntityV1alpha1.d.ts:9:5 - (ae-undocumented) Missing documentation for "kind".
// src/kinds/UserEntityV1alpha1.d.ts:10:5 - (ae-undocumented) Missing documentation for "spec".
// src/validation/KubernetesValidatorFunctions.d.ts:11:5 - (ae-undocumented) Missing documentation for "isValidApiVersion".
// src/validation/KubernetesValidatorFunctions.d.ts:12:5 - (ae-undocumented) Missing documentation for "isValidKind".
// src/validation/KubernetesValidatorFunctions.d.ts:13:5 - (ae-undocumented) Missing documentation for "isValidObjectName".
// src/validation/KubernetesValidatorFunctions.d.ts:14:5 - (ae-undocumented) Missing documentation for "isValidNamespace".
// src/validation/KubernetesValidatorFunctions.d.ts:15:5 - (ae-undocumented) Missing documentation for "isValidLabelKey".
// src/validation/KubernetesValidatorFunctions.d.ts:16:5 - (ae-undocumented) Missing documentation for "isValidLabelValue".
// src/validation/KubernetesValidatorFunctions.d.ts:17:5 - (ae-undocumented) Missing documentation for "isValidAnnotationKey".
// src/validation/KubernetesValidatorFunctions.d.ts:18:5 - (ae-undocumented) Missing documentation for "isValidAnnotationValue".
```
@@ -175,4 +175,28 @@ export class PackageRoles {
static getRoleFromPackage(pkgJson: unknown): PackageRole | undefined;
static getRoleInfo(role: string): PackageRoleInfo;
}
// Warnings were encountered during analysis:
//
// src/monorepo/PackageGraph.d.ts:10:5 - (ae-undocumented) Missing documentation for "name".
// src/monorepo/PackageGraph.d.ts:11:5 - (ae-undocumented) Missing documentation for "version".
// src/monorepo/PackageGraph.d.ts:12:5 - (ae-undocumented) Missing documentation for "private".
// src/monorepo/PackageGraph.d.ts:13:5 - (ae-undocumented) Missing documentation for "main".
// src/monorepo/PackageGraph.d.ts:14:5 - (ae-undocumented) Missing documentation for "module".
// src/monorepo/PackageGraph.d.ts:15:5 - (ae-undocumented) Missing documentation for "types".
// src/monorepo/PackageGraph.d.ts:16:5 - (ae-undocumented) Missing documentation for "scripts".
// src/monorepo/PackageGraph.d.ts:19:5 - (ae-undocumented) Missing documentation for "bundled".
// src/monorepo/PackageGraph.d.ts:20:5 - (ae-undocumented) Missing documentation for "backstage".
// src/monorepo/PackageGraph.d.ts:44:5 - (ae-undocumented) Missing documentation for "exports".
// src/monorepo/PackageGraph.d.ts:45:5 - (ae-undocumented) Missing documentation for "typesVersions".
// src/monorepo/PackageGraph.d.ts:46:5 - (ae-undocumented) Missing documentation for "files".
// src/monorepo/PackageGraph.d.ts:47:5 - (ae-undocumented) Missing documentation for "publishConfig".
// src/monorepo/PackageGraph.d.ts:52:5 - (ae-undocumented) Missing documentation for "repository".
// src/monorepo/PackageGraph.d.ts:57:5 - (ae-undocumented) Missing documentation for "dependencies".
// src/monorepo/PackageGraph.d.ts:60:5 - (ae-undocumented) Missing documentation for "peerDependencies".
// src/monorepo/PackageGraph.d.ts:63:5 - (ae-undocumented) Missing documentation for "devDependencies".
// src/monorepo/PackageGraph.d.ts:66:5 - (ae-undocumented) Missing documentation for "optionalDependencies".
// src/roles/types.d.ts:25:5 - (ae-undocumented) Missing documentation for "role".
// src/roles/types.d.ts:26:5 - (ae-undocumented) Missing documentation for "platform".
// src/roles/types.d.ts:27:5 - (ae-undocumented) Missing documentation for "output".
```
+32
View File
@@ -1,5 +1,37 @@
# @backstage/cli
## 0.28.0-next.0
### Minor Changes
- 6129076: **BREAKING**: Removed the following deprecated commands:
- `create`: Use `backstage-cli new` instead
- `create-plugin`: Use `backstage-cli new` instead
- `plugin:diff`: Use `backstage-cli fix` instead
- `test`: Use `backstage-cli repo test` or `backstage-cli package test` instead
- `versions:check`: Use `yarn dedupe` or `yarn-deduplicate` instead
- `clean`: Use `backstage-cli package clean` instead
In addition, the experimental `install` and `onboard` commands have been removed since they have not received any updates since their introduction and we're expecting usage to be low. If you where relying on these commands, please let us know by opening an issue towards the main Backstage repository.
### Patch Changes
- 520a383: Added functionality to the prepack script that will append the default export type for entry points to the `exports` object before publishing. This is to help with identifying the declarative integration points for plugins without needing to fetch or run the plugins first.
- 094eaa3: Remove references to in-repo backend-common
- 79ba5a8: The `LEGACY_BACKEND_START` flag is now deprecated.
- Updated dependencies
- @backstage/catalog-model@1.7.0
- @backstage/cli-common@0.1.14
- @backstage/cli-node@0.2.8
- @backstage/config@1.2.0
- @backstage/config-loader@1.9.1
- @backstage/errors@1.2.4
- @backstage/eslint-plugin@0.1.9
- @backstage/integration@1.15.0
- @backstage/release-manifests@0.0.11
- @backstage/types@1.1.1
## 0.27.1
### Patch Changes
-125
View File
@@ -13,7 +13,6 @@ Options:
Commands:
new [options]
test
config:docs [options]
config:print [options]
config:check [options]
@@ -23,7 +22,6 @@ Commands:
migrate [command]
versions:bump [options]
versions:migrate [options]
clean
build-workspace [options] <workspace-dir> [packages...]
create-github-app <github-org>
info
@@ -40,15 +38,6 @@ Options:
-h, --help
```
### `backstage-cli clean`
```
Usage: backstage-cli clean [options]
Options:
-h, --help
```
### `backstage-cli config:check`
```
@@ -481,120 +470,6 @@ Options:
-h, --help
```
### `backstage-cli test`
```
Usage: backstage-cli [--config=<pathToConfigFile>] [TestPathPattern]
Options:
-h, --help
--version
--all
--automock
-b, --bail
--cache
--cacheDirectory
--changedFilesWithAncestor
--changedSince
--ci
--clearCache
--clearMocks
--collectCoverage
--collectCoverageFrom
--color
--colors
-c, --config
--coverage
--coverageDirectory
--coveragePathIgnorePatterns
--coverageProvider
--coverageReporters
--coverageThreshold
--debug
--detectLeaks
--detectOpenHandles
--env
--errorOnDeprecated
-e, --expand
--filter
--findRelatedTests
--forceExit
--globalSetup
--globalTeardown
--globals
--haste
--ignoreProjects
--init
--injectGlobals
--json
--lastCommit
--listTests
--logHeapUsage
--maxConcurrency
-w, --maxWorkers
--moduleDirectories
--moduleFileExtensions
--moduleNameMapper
--modulePathIgnorePatterns
--modulePaths
--noStackTrace
--notify
--notifyMode
-o, --onlyChanged
-f, --onlyFailures
--openHandlesTimeout
--outputFile
--passWithNoTests
--preset
--prettierPath
--projects
--randomize
--reporters
--resetMocks
--resetModules
--resolver
--restoreMocks
--rootDir
--roots
-i, --runInBand
--runTestsByPath
--runner
--seed
--selectProjects
--setupFiles
--setupFilesAfterEnv
--shard
--showConfig
--showSeed
--silent
--skipFilter
--snapshotSerializers
--testEnvironment
--testEnvironmentOptions
--testFailureExitCode
--testLocationInResults
--testMatch
-t, --testNamePattern
--testPathIgnorePatterns
--testPathPattern
--testRegex
--testResultsProcessor
--testRunner
--testSequencer
--testTimeout
--transform
--transformIgnorePatterns
--unmockedModulePathPatterns
-u, --updateSnapshot
--useStderr
--verbose
--watch
--watchAll
--watchPathIgnorePatterns
--watchman
--workerThreads
```
### `backstage-cli versions:bump`
```
+2 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/cli",
"version": "0.27.1",
"version": "0.28.0-next.0",
"description": "CLI for developing Backstage plugins and apps",
"backstage": {
"role": "cli"
@@ -147,6 +147,7 @@
"swc-loader": "^0.2.3",
"tar": "^6.1.12",
"terser-webpack-plugin": "^5.1.3",
"ts-morph": "^23.0.0",
"util": "^0.12.3",
"webpack": "^5.70.0",
"webpack-dev-server": "^5.0.0",
@@ -1,40 +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 fs from 'fs-extra';
import path from 'path';
import { movePlugin } from './createPlugin';
import { createMockDirectory } from '@backstage/backend-test-utils';
const id = 'testPluginMock';
describe('createPlugin', () => {
const mockDir = createMockDirectory();
describe('movePlugin', () => {
it('should move the temporary plugin directory to its final place', async () => {
mockDir.setContent({
[id]: {},
});
const tempDir = mockDir.resolve(id);
const pluginDir = mockDir.resolve('test-temp/plugins', id);
await movePlugin(tempDir, pluginDir, id);
await expect(fs.pathExists(pluginDir)).resolves.toBe(true);
expect(pluginDir).toMatch(path.join('', 'plugins', id));
});
});
});
@@ -1,343 +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 fs from 'fs-extra';
import { promisify } from 'util';
import chalk from 'chalk';
import inquirer, { Answers, Question } from 'inquirer';
import { exec as execCb } from 'child_process';
import { join as joinPath, resolve as resolvePath } from 'path';
import camelCase from 'lodash/camelCase';
import upperFirst from 'lodash/upperFirst';
import os from 'os';
import { OptionValues } from 'commander';
import { assertError } from '@backstage/errors';
import {
addCodeownersEntry,
getCodeownersFilePath,
parseOwnerIds,
} from '../../lib/codeowners';
import { paths } from '../../lib/paths';
import { Task, templatingTask } from '../../lib/tasks';
import { Lockfile } from '../../lib/versioning';
import { createPackageVersionProvider } from '../../lib/version';
const exec = promisify(execCb);
async function checkExists(destination: string) {
await Task.forItem('checking', destination, async () => {
if (await fs.pathExists(destination)) {
const existing = chalk.cyan(
destination.replace(`${paths.targetRoot}/`, ''),
);
throw new Error(
`A plugin with the same name already exists: ${existing}\nPlease try again with a different plugin ID`,
);
}
});
}
const sortObjectByKeys = (obj: { [name in string]: string }) => {
return Object.keys(obj)
.sort()
.reduce((result, key: string) => {
result[key] = obj[key];
return result;
}, {} as { [name in string]: string });
};
export const capitalize = (str: string): string =>
str.charAt(0).toUpperCase() + str.slice(1);
export const addExportStatement = async (
file: string,
exportStatement: string,
) => {
const newContents = fs
.readFileSync(file, 'utf8')
.split('\n')
.filter(Boolean) // get rid of empty lines
.concat([exportStatement])
.concat(['']) // newline at end of file
.join('\n');
await fs.writeFile(file, newContents, 'utf8');
};
export async function addPluginDependencyToApp(
rootDir: string,
pluginPackage: string,
versionStr: string,
) {
const packageFilePath = 'packages/app/package.json';
const packageFile = resolvePath(rootDir, packageFilePath);
await Task.forItem('processing', packageFilePath, async () => {
const packageFileContent = await fs.readFile(packageFile, 'utf-8');
const packageFileJson = JSON.parse(packageFileContent);
const dependencies = packageFileJson.dependencies;
if (dependencies[pluginPackage]) {
throw new Error(
`Plugin ${pluginPackage} already exists in ${packageFile}`,
);
}
dependencies[pluginPackage] = `^${versionStr}`;
packageFileJson.dependencies = sortObjectByKeys(dependencies);
const newContents = `${JSON.stringify(packageFileJson, null, 2)}\n`;
await fs.writeFile(packageFile, newContents, 'utf-8').catch(error => {
throw new Error(
`Failed to add plugin as dependency to app: ${packageFile}: ${error.message}`,
);
});
});
}
export async function addPluginExtensionToApp(
pluginId: string,
extensionName: string,
pluginPackage: string,
) {
const pluginsFilePath = paths.resolveTargetRoot('packages/app/src/App.tsx');
if (!(await fs.pathExists(pluginsFilePath))) {
return;
}
await Task.forItem('processing', pluginsFilePath, async () => {
const content = await fs.readFile(pluginsFilePath, 'utf8');
const revLines = content.split('\n').reverse();
const lastImportIndex = revLines.findIndex(line =>
line.match(/ from ("|').*("|')/),
);
const lastRouteIndex = revLines.findIndex(line =>
line.match(/<\/FlatRoutes/),
);
if (lastImportIndex !== -1 && lastRouteIndex !== -1) {
revLines.splice(
lastImportIndex,
0,
`import { ${extensionName} } from '${pluginPackage}';`,
);
const [indentation] = revLines[lastRouteIndex + 1].match(/^\s*/) ?? [];
revLines.splice(
lastRouteIndex + 1,
0,
`${indentation}<Route path="/${pluginId}" element={<${extensionName} />}/>`,
);
const newContent = revLines.reverse().join('\n');
await fs.writeFile(pluginsFilePath, newContent, 'utf8');
}
});
}
async function cleanUp(tempDir: string) {
await Task.forItem('remove', 'temporary directory', async () => {
await fs.remove(tempDir);
});
}
async function buildPlugin(pluginFolder: string) {
const commands = [
'yarn install',
'yarn lint --fix',
'yarn tsc',
'yarn build',
];
for (const command of commands) {
try {
await Task.forItem('executing', command, async () => {
process.chdir(pluginFolder);
await exec(command);
}).catch(error => {
process.stdout.write(error.stderr);
process.stdout.write(error.stdout);
throw new Error(
`Warning: Could not execute command ${chalk.cyan(command)}`,
);
});
} catch (error) {
assertError(error);
Task.error(error.message);
break;
}
}
}
export async function movePlugin(
tempDir: string,
destination: string,
id: string,
) {
await Task.forItem('moving', id, async () => {
await fs.move(tempDir, destination).catch(error => {
throw new Error(
`Failed to move plugin from ${tempDir} to ${destination}: ${error.message}`,
);
});
});
}
export default async (opts: OptionValues) => {
const codeownersPath = await getCodeownersFilePath(paths.targetRoot);
const questions: Question[] = [
{
type: 'input',
name: 'id',
message: chalk.blue('Enter an ID for the plugin [required]'),
validate: (value: any) => {
if (!value) {
return chalk.red('Please enter an ID for the plugin');
} else if (!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(value)) {
return chalk.red(
'Plugin IDs must be lowercase and contain only letters, digits, and dashes.',
);
}
return true;
},
},
];
if (codeownersPath) {
questions.push({
type: 'input',
name: 'owner',
message: chalk.blue(
'Enter the owner(s) of the plugin. If specified, this will be added to CODEOWNERS for the plugin path. [optional]',
),
validate: (value: any) => {
if (!value) {
return true;
}
const ownerIds = parseOwnerIds(value);
if (!ownerIds) {
return chalk.red(
'The owner must be a space separated list of team names (e.g. @org/team-name), usernames (e.g. @username), or the email addresses of users (e.g. user@example.com).',
);
}
return true;
},
});
}
const answers: Answers = await inquirer.prompt(questions);
const pluginId =
opts.backend && !answers.id.endsWith('-backend')
? `${answers.id}-backend`
: answers.id;
const name = opts.scope
? `@${opts.scope.replace(/^@/, '')}/plugin-${pluginId}`
: `plugin-${pluginId}`;
const pluginVar = `${camelCase(answers.id)}Plugin`;
const extensionName = `${upperFirst(camelCase(answers.id))}Page`;
const npmRegistry = opts.npmRegistry && opts.scope ? opts.npmRegistry : '';
const privatePackage = opts.private === false ? false : true;
const isMonoRepo = await fs.pathExists(paths.resolveTargetRoot('lerna.json'));
const appPackage = paths.resolveTargetRoot('packages/app');
const templateDir = paths.resolveOwn(
opts.backend
? 'templates/default-backend-plugin'
: 'templates/default-plugin',
);
const pluginDir = isMonoRepo
? paths.resolveTargetRoot('plugins', pluginId)
: paths.resolveTargetRoot(pluginId);
const { version: pluginVersion } = isMonoRepo
? await fs.readJson(paths.resolveTargetRoot('lerna.json'))
: { version: '0.1.0' };
const license = opts.license ?? 'Apache-2.0';
let lockfile: Lockfile | undefined;
try {
lockfile = await Lockfile.load(paths.resolveTargetRoot('yarn.lock'));
} catch (error) {
console.warn(`No yarn.lock available, ${error}`);
}
Task.log();
Task.log('Creating the plugin...');
Task.section('Checking if the plugin ID is available');
await checkExists(pluginDir);
Task.section('Creating a temporary plugin directory');
const tempDir = await fs.mkdtemp(
joinPath(os.tmpdir(), `backstage-plugin-${pluginId}`),
);
try {
Task.section('Preparing files');
await templatingTask(
templateDir,
tempDir,
{
...answers,
pluginVar,
pluginVersion,
extensionName,
name,
privatePackage,
npmRegistry,
license,
},
createPackageVersionProvider(lockfile),
isMonoRepo,
);
Task.section('Moving to final location');
await movePlugin(tempDir, pluginDir, pluginId);
Task.section('Building the plugin');
await buildPlugin(pluginDir);
if ((await fs.pathExists(appPackage)) && !opts.backend) {
Task.section('Adding plugin as dependency in app');
await addPluginDependencyToApp(paths.targetRoot, name, pluginVersion);
Task.section('Import plugin in app');
await addPluginExtensionToApp(pluginId, extensionName, name);
}
if (answers.owner) {
await addCodeownersEntry(`/plugins/${pluginId}`, answers.owner);
}
Task.log();
Task.log(`🥇 Successfully created ${chalk.cyan(`${name}`)}`);
Task.log();
Task.exit();
} catch (error) {
assertError(error);
Task.error(error.message);
Task.log('It seems that something went wrong when creating the plugin 🤔');
Task.log('We are going to clean up, and then you can try again.');
Task.section('Cleanup');
await cleanUp(tempDir);
Task.error('🔥 Failed to create plugin!');
Task.exit(1);
}
};
+41 -84
View File
@@ -25,13 +25,6 @@ const configOption = [
Array<string>(),
] as const;
export function registerOnboardCommand(program: Command) {
program
.command('onboard', { hidden: true })
.description('Get help setting up your Backstage App.')
.action(lazy(() => import('./onboard').then(m => m.command)));
}
export function registerRepoCommand(program: Command) {
const command = program
.command('repo [command]')
@@ -265,63 +258,6 @@ export function registerCommands(program: Command) {
.option('--no-private', 'Do not mark new packages as private')
.action(lazy(() => import('./new/new').then(m => m.default)));
program
.command('create', { hidden: true })
.storeOptionsAsProperties(false)
.description(
'Open up an interactive guide to creating new things in your app [DEPRECATED]',
)
.option(
'--select <name>',
'Select the thing you want to be creating upfront',
)
.option(
'--option <name>=<value>',
'Pre-fill options for the creation process',
(opt, arr: string[]) => [...arr, opt],
[],
)
.option('--scope <scope>', 'The scope to use for new packages')
.option(
'--npm-registry <URL>',
'The package registry to use for new packages',
)
.option('--no-private', 'Do not mark new packages as private')
.action(lazy(() => import('./new/new').then(m => m.default)));
program
.command('create-plugin', { hidden: true })
.option(
'--backend',
'Create plugin with the backend dependencies as default',
)
.description('Creates a new plugin in the current repository [DEPRECATED]')
.option('--scope <scope>', 'npm scope')
.option('--npm-registry <URL>', 'npm registry URL')
.option('--no-private', 'Public npm package')
.action(
lazy(() => import('./create-plugin/createPlugin').then(m => m.default)),
);
program
.command('plugin:diff', { hidden: true })
.option('--check', 'Fail if changes are required')
.option('--yes', 'Apply all changes')
.description(
'Diff an existing plugin with the creation template [DEPRECATED]',
)
.action(lazy(() => import('./plugin/diff').then(m => m.default)));
// TODO(Rugvip): Deprecate in favor of package variant
program
.command('test')
.allowUnknownOption(true) // Allows the command to run, but we still need to parse raw args
.helpOption(', --backstage-cli-help') // Let Jest handle help
.description(
'Run tests, forwarding args to Jest, defaulting to watch mode [DEPRECATED]',
)
.action(lazy(() => import('./test').then(m => m.default)));
program
.command('config:docs')
.option(
@@ -385,7 +321,6 @@ export function registerCommands(program: Command) {
registerRepoCommand(program);
registerScriptCommand(program);
registerMigrateCommand(program);
registerOnboardCommand(program);
program
.command('versions:bump')
@@ -403,12 +338,6 @@ export function registerCommands(program: Command) {
.description('Bump Backstage packages to the latest versions')
.action(lazy(() => import('./versions/bump').then(m => m.default)));
program
.command('versions:check', { hidden: true })
.option('--fix', 'Fix any auto-fixable versioning problems')
.description('Check Backstage package versioning')
.action(lazy(() => import('./versions/lint').then(m => m.default)));
program
.command('versions:migrate')
.option(
@@ -424,12 +353,6 @@ export function registerCommands(program: Command) {
)
.action(lazy(() => import('./versions/migrate').then(m => m.default)));
// TODO(Rugvip): Deprecate in favor of package variant
program
.command('clean')
.description('Delete cache directories [DEPRECATED]')
.action(lazy(() => import('./clean/clean').then(m => m.default)));
program
.command('build-workspace <workspace-dir> [packages...]')
.option(
@@ -449,14 +372,48 @@ export function registerCommands(program: Command) {
.description('Show helpful information for debugging and reporting bugs')
.action(lazy(() => import('./info').then(m => m.default)));
// Notifications for removed commands
program
.command('install [plugin-id]', { hidden: true })
.option(
'--from <packageJsonFilePath>',
'Install from a local package.json containing the installation recipe',
)
.description('Install a Backstage plugin [EXPERIMENTAL]')
.action(lazy(() => import('./install/install').then(m => m.default)));
.command('create')
.allowUnknownOption(true)
.action(removed("use 'backstage-cli new' instead"));
program
.command('create-plugin')
.allowUnknownOption(true)
.action(removed("use 'backstage-cli new' instead"));
program
.command('plugin:diff')
.allowUnknownOption(true)
.action(removed("use 'backstage-cli fix' instead"));
program
.command('test')
.allowUnknownOption(true)
.action(
removed(
"use 'backstage-cli repo test' or 'backstage-cli package test' instead",
),
);
program
.command('clean')
.allowUnknownOption(true)
.action(removed("use 'backstage-cli package clean' instead"));
program
.command('versions:check')
.allowUnknownOption(true)
.action(removed("use 'yarn dedupe' or 'yarn-deduplicate' instead"));
program.command('install').allowUnknownOption(true).action(removed());
program.command('onboard').allowUnknownOption(true).action(removed());
}
function removed(message?: string) {
return () => {
console.error(
message
? `This command has been removed, ${message}`
: 'This command has been removed',
);
process.exit(1);
};
}
// Wraps an action function so that it always exits and handles errors

Some files were not shown because too many files have changed in this diff Show More