Merge branch 'master' into rugvip/overrides

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-10-10 17:26:42 +02:00
committed by GitHub
605 changed files with 10945 additions and 2391 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Bumped create-app version.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Add examples for `github:issues:label` scaffolder action & improve related tests
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/cli': minor
---
Update typescript-eslint to 6.7.x, adding compatibility with TypeScript 5.2.
This includes a major update on typescript-eslint, you can see the details in the [release notes](https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/).
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/frontend-app-api': patch
---
The app will now reject any extensions that attach to nonexistent inputs.
+19
View File
@@ -0,0 +1,19 @@
---
'@backstage/plugin-catalog-backend-module-gitlab': patch
---
fix: use REST API to get root group memberships for GitLab SaaS users listing
This API is the only one that shows `email` field for enterprise users and
allows to filter out bot users not using a license using the `is_using_seat`
field.
We also added the annotation `gitlab.com/saml-external-uid` taking the value
of `group_saml_identity.extern_uid` of the `groups/:group-id/members` endpoint
response. This is useful in case you want to create a `SignInResolver` that
references the user with the id of your identity provider (e.g. OneLogin).
ref:
https://docs.gitlab.com/ee/user/enterprise_user/#get-users-email-addresses-through-the-api
https://docs.gitlab.com/ee/api/members.html#limitations
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Updated `publish:gitlab` action properties to support additional Gitlab project settings:
- general project settings provided by gitlab project create API (new `settings` property)
- branch level settings to create additional branches and make them protected (new `branches` property)
- project level environment variables settings (new `projectVariables` property)
Marked existed properties `repoVisibility` and `topics` as deprecated, as they are covered by `settings` property.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-node': minor
---
**BREAKING**: The recently introduced `ProxyAuthenticator.initialize()` method is no longer `async` to match the way the OAuth equivalent is implemented.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Make entity picker more reliable with only one available entity
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-kubernetes-node': minor
'@backstage/plugin-kubernetes-backend': patch
---
A new plugin has been introduced to house the extension points for Kubernetes backend plugin; at the moment only the `KubernetesObjectsProviderExtensionPoint` is present. The `kubernetes-backend` plugin was modified to use this new extension point.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-jenkins-backend': patch
---
Added support for the [new backend system](https://backstage.io/docs/backend-system/)
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Fixed overflowing messages in `WarningPanel`.
+61 -2
View File
@@ -246,52 +246,84 @@
"@backstage/plugin-vault-backend": "0.3.8",
"@backstage/plugin-xcmetrics": "0.2.43",
"@backstage/e2e-test-utils": "0.0.0",
"@backstage/plugin-kubernetes-react": "0.0.0"
"@backstage/plugin-kubernetes-react": "0.0.0",
"@backstage/plugin-auth-backend-module-microsoft-provider": "0.0.0",
"@backstage/plugin-catalog-backend-module-github-org": "0.0.0",
"@backstage/plugin-kubernetes-cluster": "0.0.0",
"@backstage/plugin-kubernetes-node": "0.0.0"
},
"changesets": [
"angry-badgers-beg",
"angry-clocks-exercise",
"big-spies-beam",
"breezy-dryers-thank",
"calm-carpets-kiss",
"calm-scissors-rescue",
"chatty-papayas-care",
"clean-forks-love",
"cold-bees-jam",
"cold-seas-repeat",
"create-app-1696937840",
"dirty-doors-wave",
"dull-bugs-build",
"dull-dolls-explode",
"dull-experts-kiss",
"dull-laws-camp",
"early-toes-develop",
"eight-melons-cough",
"eight-spiders-fold",
"eight-suns-tan",
"eighty-actors-type",
"empty-schools-check",
"fair-frogs-enjoy",
"flat-pandas-tan",
"flat-rules-rush",
"four-jars-protect",
"four-onions-clap",
"four-pans-sin",
"fresh-badgers-study",
"fresh-kangaroos-tap",
"fuzzy-pillows-remain",
"gentle-elephants-fold",
"gentle-spies-deny",
"great-walls-brake",
"happy-books-smoke",
"healthy-laws-divide",
"heavy-forks-tie",
"heavy-ladybugs-leave",
"itchy-bobcats-fly",
"itchy-monkeys-reply",
"itchy-rabbits-exist",
"khaki-tools-tease",
"large-balloons-brush",
"large-comics-knock",
"late-papayas-push",
"lazy-doors-wink",
"lemon-cups-wait",
"lemon-masks-greet",
"little-ligers-cheat",
"loud-hotels-hunt",
"lovely-coins-occur",
"lovely-fans-sniff",
"many-pianos-bow",
"many-swans-eat",
"mean-dancers-burn",
"metal-peas-beam",
"moody-lobsters-rescue",
"nasty-needles-hear",
"nervous-hounds-sleep",
"nice-clocks-smash",
"nice-dancers-explain",
"nice-ghosts-build",
"nine-flies-move",
"nine-garlics-attend",
"odd-pants-sleep",
"olive-cars-rescue",
"olive-geese-rest",
"perfect-pumas-protect",
"perfect-shrimps-attend",
"plenty-llamas-double",
"plenty-toys-cheer",
"polite-cooks-perform",
"polite-donuts-fail",
"polite-trainers-grin",
@@ -301,31 +333,58 @@
"purple-chefs-wait",
"purple-forks-fetch",
"quick-weeks-explode",
"rare-pants-reply",
"red-bees-try",
"red-geese-clean",
"renovate-7d08f6a",
"renovate-a1c52e8",
"rotten-rings-confess",
"serious-pants-lie",
"serious-penguins-tease",
"short-terms-check",
"shy-clouds-reflect",
"shy-seas-sip",
"silent-years-bake",
"silly-swans-invent",
"six-weeks-raise",
"slow-dodos-remember",
"small-books-deliver",
"small-pugs-build",
"smooth-rings-mate",
"spicy-chairs-film",
"spicy-poets-sell",
"spotty-badgers-wash",
"stale-eagles-reply",
"stale-stingrays-explode",
"strange-dodos-film",
"strong-falcons-tickle",
"stupid-drinks-trade",
"stupid-eagles-shave",
"swift-steaks-fetch",
"tame-trainers-visit",
"tasty-avocados-hope",
"tasty-doors-switch",
"ten-seals-wait",
"tender-pears-work",
"thirty-coins-sneeze",
"tiny-garlics-cheer",
"twelve-clouds-design",
"twelve-days-walk",
"twenty-bags-sin",
"twenty-carrots-smile",
"two-dingos-dream",
"two-terms-play",
"unlucky-experts-breathe",
"violet-apes-beam",
"violet-beers-cross",
"warm-drinks-argue",
"wet-olives-wave",
"wet-timers-chew",
"wicked-rings-flash",
"wild-jobs-greet",
"wild-queens-grab",
"yellow-numbers-own",
"yellow-rings-invent"
"yellow-rings-invent",
"young-toes-knock"
]
}
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend-module-gcp-iap-provider': minor
---
**BREAKING** `gcpIapAuthenticator.initialize()` is no longer `async`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/config-loader': patch
---
Updated dependency `typescript-json-schema` to `^0.61.0`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-jenkins': patch
---
Extend EntityJenkinsContent to receive columns as prop
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/config-loader': patch
'@backstage/backend-app-api': patch
---
Added `watch` option to configuration loaders that can be used to disable file watching by setting it to `false`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-github-org': minor
---
Added `catalogModuleGithubOrgEntityProvider` to ingest users and teams from multiple Github organizations.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-auth-backend-module-microsoft-provider': minor
'@backstage/plugin-auth-backend': patch
---
Migrated the Microsoft auth provider to new `@backstage/plugin-auth-backend-module-microsoft-provider` module package.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-github': patch
---
Removed `catalogModuleGithubOrgEntityProvider`. Import from `@backstage/plugin-catalog-backend-module-github-org` instead.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
`RepoUrlPickerRepoName` now correctly handles value changes in allowed repos.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Add examples for `publish:Azure` scaffolder action.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-github-issues': patch
---
Filters out entities that belonged to a different github instance other than the one configured by the plugin
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-newrelic-dashboard': patch
---
Fixed React Warning: "Each child in a list should have a unique 'key' prop" during the rendering of `EntityNewRelicDashboardCard`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-opencost': patch
---
Fix for broken image reference.
Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Before

Width:  |  Height:  |  Size: 293 KiB

After

Width:  |  Height:  |  Size: 293 KiB

@@ -447,6 +447,9 @@ want to have an isomorphic package that houses these types. Within the Backstage
main repo the package naming pattern of `<plugin>-common` is used for isomorphic
packages, and you may choose to adopt this pattern as well.
You can generate an isomorphic plugin package by running:`yarn new --select plugin-common`
or you can run `yarn new` and then select "plugin-common" from the list of options
There's at this point no existing templates for generating isomorphic plugins
using the `@backstage/cli`. Perhaps the simplest wat to get started right now is
to copy the contents of one of the existing packages in the main repository,
+11 -3
View File
@@ -8,7 +8,7 @@ A Backstage Plugin adds functionality to Backstage.
## Create a Plugin
To create a new plugin, make sure you've run `yarn install` and installed
To create a new frontend plugin, make sure you've run `yarn install` and installed
dependencies, then run the following on your command line (a shortcut to
invoking the
[`backstage-cli new --select plugin`](../local-dev/cli-commands.md#new))
@@ -18,7 +18,7 @@ from the root of your project.
yarn new --select plugin
```
![](../assets/getting-started/create-plugin_output.png)
![Example of output when creating a new plugin](../assets/getting-started/create-plugin_output.png)
This will create a new Backstage Plugin based on the ID that was provided. It
will be built and added to the Backstage App automatically.
@@ -27,7 +27,7 @@ will be built and added to the Backstage App automatically.
> should be able to see the default page for your new plugin directly by
> navigating to `http://localhost:3000/my-plugin`.
![](../assets/my-plugin_screenshot.png)
![Example of new plugin running in browser](../assets/plugins/my-plugin_screenshot.png)
You can also serve the plugin in isolation by running `yarn start` in the plugin
directory. Or by using the yarn workspace command, for example:
@@ -39,3 +39,11 @@ yarn workspace @backstage/plugin-my-plugin start # Also supports --check
This method of serving the plugin provides quicker iteration speed and a faster
startup and hot reloads. It is only meant for local development, and the setup
for it can be found inside the plugin's `dev/` directory.
### Other Plugin Library Package Types
There are other plugin library package types that you can chose from. To be able to
select the type when you create a new plugin just run: `yarn new`. You'll then be asked
what type of plugin you wish to create like this:
![List of available plugin types to pick from](../assets/plugins/create-plugin_types.png)
+1 -1
View File
@@ -12,7 +12,7 @@ development tool as a plugin in Backstage. By following strong
[design guidelines](../dls/design.md) we ensure the overall user experience
stays consistent between plugins.
![plugin](../assets/my-plugin_screenshot.png)
![plugin](../assets/plugins/my-plugin_screenshot.png)
## Creating a plugin
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -17,7 +17,7 @@
"docusaurus": "docusaurus"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "0.0.0-5698",
"@docusaurus/module-type-aliases": "0.0.0-5703",
"@spotify/prettier-config": "^14.0.0",
"@tsconfig/docusaurus": "^1.0.6",
"@types/luxon": "^3.0.0",
@@ -29,9 +29,9 @@
},
"prettier": "@spotify/prettier-config",
"dependencies": {
"@docusaurus/core": "0.0.0-5698",
"@docusaurus/plugin-client-redirects": "0.0.0-5698",
"@docusaurus/preset-classic": "0.0.0-5698",
"@docusaurus/core": "0.0.0-5703",
"@docusaurus/plugin-client-redirects": "0.0.0-5703",
"@docusaurus/preset-classic": "0.0.0-5703",
"@swc/core": "^1.3.46",
"clsx": "^1.1.1",
"docusaurus-plugin-sass": "^0.2.3",
+639 -192
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -51,7 +51,7 @@
"jest-haste-map@^29.4.3": "patch:jest-haste-map@npm%3A29.4.3#./.yarn/patches/jest-haste-map-npm-29.4.3-19b03fcef3.patch",
"mock-fs@^5.2.0": "patch:mock-fs@npm%3A5.2.0#./.yarn/patches/mock-fs-npm-5.2.0-5103a7b507.patch"
},
"version": "1.19.0-next.1",
"version": "1.19.0-next.2",
"dependencies": {
"@backstage/errors": "workspace:^",
"@manypkg/get-packages": "^1.1.3"
+11
View File
@@ -1,5 +1,16 @@
# @backstage/app-defaults
## 1.4.4-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-app-api@1.11.0-next.2
- @backstage/core-components@0.13.6-next.2
- @backstage/core-plugin-api@1.7.0-next.1
- @backstage/theme@0.4.3-next.0
- @backstage/plugin-permission-react@0.4.16-next.1
## 1.4.4-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/app-defaults",
"description": "Provides the default wiring of a Backstage App",
"version": "1.4.4-next.1",
"version": "1.4.4-next.2",
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -1,5 +1,13 @@
# app-next-example-plugin
## 0.0.2-next.2
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.2.0-next.2
- @backstage/core-components@0.13.6-next.2
## 0.0.2-next.1
### Patch Changes
@@ -1,7 +1,7 @@
{
"name": "app-next-example-plugin",
"description": "Backstage internal example plugin",
"version": "0.0.2-next.1",
"version": "0.0.2-next.2",
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
+77
View File
@@ -1,5 +1,82 @@
# example-app-next
## 0.0.2-next.2
### Patch Changes
- Updated dependencies
- @backstage/cli@0.23.0-next.2
- @backstage/frontend-plugin-api@0.2.0-next.2
- @backstage/frontend-app-api@0.2.0-next.2
- @backstage/core-app-api@1.11.0-next.2
- @backstage/plugin-techdocs@1.7.1-next.2
- @backstage/plugin-newrelic@0.3.41-next.2
- @backstage/plugin-scaffolder@1.15.1-next.2
- @backstage/integration-react@1.1.20-next.2
- @backstage/core-components@0.13.6-next.2
- @backstage/core-plugin-api@1.7.0-next.1
- @backstage/catalog-model@1.4.3-next.0
- @backstage/plugin-catalog-react@1.8.5-next.2
- @backstage/plugin-tech-radar@0.6.9-next.2
- @backstage/plugin-catalog@1.14.0-next.2
- @backstage/plugin-adr@0.6.8-next.2
- @backstage/plugin-graphiql@0.2.55-next.2
- @backstage/plugin-search-react@1.7.1-next.2
- @backstage/plugin-newrelic-dashboard@0.3.0-next.2
- @backstage/plugin-kubernetes@0.11.0-next.2
- @backstage/theme@0.4.3-next.0
- @backstage/plugin-jenkins@0.8.7-next.2
- @backstage/plugin-tech-insights@0.3.17-next.2
- @backstage/plugin-playlist@0.1.17-next.2
- @backstage/app-defaults@1.4.4-next.2
- app-next-example-plugin@0.0.2-next.2
- @backstage/config@1.1.1-next.0
- @backstage/plugin-airbrake@0.3.25-next.2
- @backstage/plugin-apache-airflow@0.2.16-next.2
- @backstage/plugin-api-docs@0.9.12-next.2
- @backstage/plugin-azure-devops@0.3.7-next.2
- @backstage/plugin-azure-sites@0.1.14-next.2
- @backstage/plugin-badges@0.2.49-next.2
- @backstage/plugin-catalog-common@1.0.17-next.0
- @backstage/plugin-catalog-graph@0.2.37-next.2
- @backstage/plugin-catalog-import@0.10.1-next.2
- @backstage/plugin-catalog-unprocessed-entities@0.1.4-next.2
- @backstage/plugin-circleci@0.3.25-next.2
- @backstage/plugin-cloudbuild@0.3.25-next.2
- @backstage/plugin-code-coverage@0.2.18-next.2
- @backstage/plugin-cost-insights@0.12.14-next.2
- @backstage/plugin-devtools@0.1.5-next.2
- @backstage/plugin-dynatrace@7.0.5-next.2
- @backstage/plugin-entity-feedback@0.2.8-next.2
- @backstage/plugin-explore@0.4.11-next.2
- @backstage/plugin-gcalendar@0.3.19-next.2
- @backstage/plugin-gcp-projects@0.3.42-next.2
- @backstage/plugin-github-actions@0.6.6-next.2
- @backstage/plugin-gocd@0.1.31-next.2
- @backstage/plugin-home@0.5.9-next.2
- @backstage/plugin-kafka@0.3.25-next.2
- @backstage/plugin-lighthouse@0.4.10-next.2
- @backstage/plugin-linguist@0.1.10-next.2
- @backstage/plugin-linguist-common@0.1.2
- @backstage/plugin-microsoft-calendar@0.1.8-next.2
- @backstage/plugin-octopus-deploy@0.2.7-next.2
- @backstage/plugin-org@0.6.15-next.2
- @backstage/plugin-pagerduty@0.6.6-next.2
- @backstage/plugin-permission-react@0.4.16-next.1
- @backstage/plugin-puppetdb@0.1.8-next.2
- @backstage/plugin-rollbar@0.4.25-next.2
- @backstage/plugin-scaffolder-react@1.5.6-next.2
- @backstage/plugin-search@1.4.1-next.2
- @backstage/plugin-search-common@1.2.7-next.0
- @backstage/plugin-sentry@0.5.10-next.2
- @backstage/plugin-shortcuts@0.3.15-next.2
- @backstage/plugin-stack-overflow@0.1.21-next.2
- @backstage/plugin-stackstorm@0.1.7-next.2
- @backstage/plugin-techdocs-module-addons-contrib@1.1.1-next.2
- @backstage/plugin-techdocs-react@1.1.12-next.2
- @backstage/plugin-todo@0.2.28-next.2
- @backstage/plugin-user-settings@0.7.11-next.2
## 0.0.2-next.1
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-app-next",
"version": "0.0.2-next.1",
"version": "0.0.2-next.2",
"private": true,
"backstage": {
"role": "frontend"
+77
View File
@@ -1,5 +1,82 @@
# example-app
## 0.2.88-next.2
### Patch Changes
- Updated dependencies
- @backstage/cli@0.23.0-next.2
- @backstage/frontend-app-api@0.2.0-next.2
- @backstage/core-app-api@1.11.0-next.2
- @backstage/plugin-techdocs@1.7.1-next.2
- @backstage/plugin-newrelic@0.3.41-next.2
- @backstage/plugin-scaffolder@1.15.1-next.2
- @backstage/integration-react@1.1.20-next.2
- @backstage/core-components@0.13.6-next.2
- @backstage/core-plugin-api@1.7.0-next.1
- @backstage/catalog-model@1.4.3-next.0
- @backstage/plugin-catalog-react@1.8.5-next.2
- @backstage/plugin-tech-radar@0.6.9-next.2
- @backstage/plugin-catalog@1.14.0-next.2
- @backstage/plugin-adr@0.6.8-next.2
- @backstage/plugin-graphiql@0.2.55-next.2
- @backstage/plugin-search-react@1.7.1-next.2
- @backstage/plugin-newrelic-dashboard@0.3.0-next.2
- @backstage/plugin-kubernetes-cluster@0.0.1-next.0
- @backstage/plugin-kubernetes@0.11.0-next.2
- @backstage/theme@0.4.3-next.0
- @backstage/plugin-jenkins@0.8.7-next.2
- @backstage/plugin-tech-insights@0.3.17-next.2
- @backstage/plugin-playlist@0.1.17-next.2
- @backstage/app-defaults@1.4.4-next.2
- @backstage/config@1.1.1-next.0
- @backstage/plugin-airbrake@0.3.25-next.2
- @backstage/plugin-apache-airflow@0.2.16-next.2
- @backstage/plugin-api-docs@0.9.12-next.2
- @backstage/plugin-azure-devops@0.3.7-next.2
- @backstage/plugin-azure-sites@0.1.14-next.2
- @backstage/plugin-badges@0.2.49-next.2
- @backstage/plugin-catalog-common@1.0.17-next.0
- @backstage/plugin-catalog-graph@0.2.37-next.2
- @backstage/plugin-catalog-import@0.10.1-next.2
- @backstage/plugin-catalog-unprocessed-entities@0.1.4-next.2
- @backstage/plugin-circleci@0.3.25-next.2
- @backstage/plugin-cloudbuild@0.3.25-next.2
- @backstage/plugin-code-coverage@0.2.18-next.2
- @backstage/plugin-cost-insights@0.12.14-next.2
- @backstage/plugin-devtools@0.1.5-next.2
- @backstage/plugin-dynatrace@7.0.5-next.2
- @backstage/plugin-entity-feedback@0.2.8-next.2
- @backstage/plugin-explore@0.4.11-next.2
- @backstage/plugin-gcalendar@0.3.19-next.2
- @backstage/plugin-gcp-projects@0.3.42-next.2
- @backstage/plugin-github-actions@0.6.6-next.2
- @backstage/plugin-gocd@0.1.31-next.2
- @backstage/plugin-home@0.5.9-next.2
- @backstage/plugin-kafka@0.3.25-next.2
- @backstage/plugin-lighthouse@0.4.10-next.2
- @backstage/plugin-linguist@0.1.10-next.2
- @backstage/plugin-linguist-common@0.1.2
- @backstage/plugin-microsoft-calendar@0.1.8-next.2
- @backstage/plugin-nomad@0.1.6-next.2
- @backstage/plugin-octopus-deploy@0.2.7-next.2
- @backstage/plugin-org@0.6.15-next.2
- @backstage/plugin-pagerduty@0.6.6-next.2
- @backstage/plugin-permission-react@0.4.16-next.1
- @backstage/plugin-puppetdb@0.1.8-next.2
- @backstage/plugin-rollbar@0.4.25-next.2
- @backstage/plugin-scaffolder-react@1.5.6-next.2
- @backstage/plugin-search@1.4.1-next.2
- @backstage/plugin-search-common@1.2.7-next.0
- @backstage/plugin-sentry@0.5.10-next.2
- @backstage/plugin-shortcuts@0.3.15-next.2
- @backstage/plugin-stack-overflow@0.1.21-next.2
- @backstage/plugin-stackstorm@0.1.7-next.2
- @backstage/plugin-techdocs-module-addons-contrib@1.1.1-next.2
- @backstage/plugin-techdocs-react@1.1.12-next.2
- @backstage/plugin-todo@0.2.28-next.2
- @backstage/plugin-user-settings@0.7.11-next.2
## 0.2.88-next.1
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-app",
"version": "0.2.88-next.1",
"version": "0.2.88-next.2",
"private": true,
"backstage": {
"role": "frontend"
+19
View File
@@ -1,5 +1,24 @@
# @backstage/backend-app-api
## 0.5.6-next.2
### Patch Changes
- 74491c9602: Moved `HostDiscovery` from `@backstage/backend-common`.
- a4617c422a: Added `watch` option to configuration loaders that can be used to disable file watching by setting it to `false`.
- Updated dependencies
- @backstage/backend-common@0.19.8-next.2
- @backstage/plugin-auth-node@0.4.0-next.2
- @backstage/config-loader@1.5.1-next.1
- @backstage/errors@1.2.3-next.0
- @backstage/backend-tasks@0.5.11-next.2
- @backstage/plugin-permission-node@0.7.17-next.2
- @backstage/backend-plugin-api@0.6.6-next.2
- @backstage/cli-common@0.1.13-next.0
- @backstage/cli-node@0.1.5-next.1
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
## 0.5.5-next.1
### Patch Changes
+1
View File
@@ -204,6 +204,7 @@ export function loadBackendConfig(options: {
remote?: LoadConfigOptionsRemote;
argv: string[];
additionalConfigs?: AppConfig[];
watch?: boolean;
}): Promise<{
config: Config;
}>;
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-app-api",
"description": "Core API used by Backstage backend apps",
"version": "0.5.5-next.1",
"version": "0.5.6-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+29 -23
View File
@@ -72,6 +72,7 @@ export async function loadBackendConfig(options: {
remote?: LoadConfigOptionsRemote;
argv: string[];
additionalConfigs?: AppConfig[];
watch?: boolean;
}): Promise<{ config: Config }> {
const args = parseArgs(options.argv);
@@ -89,30 +90,35 @@ export async function loadBackendConfig(options: {
configRoot: paths.targetRoot,
configTargets: configTargets,
remote: options.remote,
watch: {
onChange(newConfigs) {
console.info(
`Reloaded config from ${newConfigs.map(c => c.context).join(', ')}`,
);
const configsToMerge = [...newConfigs];
if (options.additionalConfigs) {
configsToMerge.push(...options.additionalConfigs);
}
config.setConfig(ConfigReader.fromConfigs(configsToMerge));
},
stopSignal: new Promise(resolve => {
if (currentCancelFunc) {
currentCancelFunc();
}
currentCancelFunc = resolve;
watch:
options.watch ?? true
? {
onChange(newConfigs) {
console.info(
`Reloaded config from ${newConfigs
.map(c => c.context)
.join(', ')}`,
);
const configsToMerge = [...newConfigs];
if (options.additionalConfigs) {
configsToMerge.push(...options.additionalConfigs);
}
config.setConfig(ConfigReader.fromConfigs(configsToMerge));
},
stopSignal: new Promise(resolve => {
if (currentCancelFunc) {
currentCancelFunc();
}
currentCancelFunc = resolve;
// TODO(Rugvip): We keep this here for now to avoid breaking the old system
// since this is re-used in backend-common
if (module.hot) {
module.hot.addDisposeHandler(resolve);
}
}),
},
// TODO(Rugvip): We keep this here for now to avoid breaking the old system
// since this is re-used in backend-common
if (module.hot) {
module.hot.addDisposeHandler(resolve);
}
}),
}
: undefined,
});
console.info(
`Loaded config from ${appConfigs.map(c => c.context).join(', ')}`,
+21
View File
@@ -1,5 +1,26 @@
# @backstage/backend-common
## 0.19.8-next.2
### Patch Changes
- 74491c9602: The `HostDiscovery` export has been deprecated, import it from `@backstage/backend-app-api` instead.
- b95d66d4ea: Properly close write stream when writing temporary archive for processing zip-based `.readTree()` responses.
- 0b55f773a7: Removed some unused dependencies
- 4c39e38f1e: Added `/testUtils` entry point, with a utility for mocking resolve package paths as returned by `resolvePackagePath`.
- a250ad775f: Removed `mock-fs` dev dependency.
- Updated dependencies
- @backstage/config-loader@1.5.1-next.1
- @backstage/integration@1.7.1-next.1
- @backstage/errors@1.2.3-next.0
- @backstage/backend-app-api@0.5.6-next.2
- @backstage/backend-dev-utils@0.1.2-next.0
- @backstage/backend-plugin-api@0.6.6-next.2
- @backstage/cli-common@0.1.13-next.0
- @backstage/config@1.1.1-next.0
- @backstage/integration-aws-node@0.1.7-next.0
- @backstage/types@1.1.1
## 0.19.7-next.1
### Patch Changes
+1
View File
@@ -546,6 +546,7 @@ export function loadBackendConfig(options: {
remote?: LoadConfigOptionsRemote;
additionalConfigs?: AppConfig[];
argv: string[];
watch?: boolean;
}): Promise<Config>;
// @public (undocumented)
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-common",
"description": "Common functionality library for Backstage backends",
"version": "0.19.7-next.1",
"version": "0.19.8-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+1
View File
@@ -36,6 +36,7 @@ export async function loadBackendConfig(options: {
remote?: LoadConfigOptionsRemote;
additionalConfigs?: AppConfig[];
argv: string[];
watch?: boolean;
}): Promise<Config> {
const secretEnumerator = await createConfigSecretEnumerator({
logger: options.logger,
+9
View File
@@ -1,5 +1,14 @@
# @backstage/backend-defaults
## 0.2.6-next.2
### Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.8-next.2
- @backstage/backend-app-api@0.5.6-next.2
- @backstage/backend-plugin-api@0.6.6-next.2
## 0.2.5-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-defaults",
"description": "Backend defaults used by Backstage backend apps",
"version": "0.2.5-next.1",
"version": "0.2.6-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+39
View File
@@ -1,5 +1,44 @@
# example-backend-next
## 0.0.16-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-nomad-backend@0.1.8-next.2
- @backstage/plugin-scaffolder-backend@1.18.0-next.2
- @backstage/plugin-techdocs-backend@1.8.0-next.2
- @backstage/plugin-auth-node@0.4.0-next.2
- @backstage/plugin-catalog-backend@1.14.0-next.2
- @backstage/plugin-kubernetes-backend@0.12.3-next.2
- @backstage/plugin-jenkins-backend@0.2.9-next.2
- @backstage/backend-defaults@0.2.6-next.2
- @backstage/backend-tasks@0.5.11-next.2
- @backstage/plugin-adr-backend@0.4.3-next.2
- @backstage/plugin-app-backend@0.3.54-next.2
- @backstage/plugin-azure-devops-backend@0.4.3-next.2
- @backstage/plugin-badges-backend@0.3.3-next.2
- @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.1.3-next.2
- @backstage/plugin-devtools-backend@0.2.3-next.2
- @backstage/plugin-entity-feedback-backend@0.2.3-next.2
- @backstage/plugin-lighthouse-backend@0.3.3-next.2
- @backstage/plugin-linguist-backend@0.5.3-next.2
- @backstage/plugin-permission-backend@0.5.29-next.2
- @backstage/plugin-permission-backend-module-allow-all-policy@0.1.3-next.2
- @backstage/plugin-permission-node@0.7.17-next.2
- @backstage/plugin-playlist-backend@0.3.10-next.2
- @backstage/plugin-proxy-backend@0.4.3-next.2
- @backstage/plugin-search-backend@1.4.6-next.2
- @backstage/plugin-search-backend-module-catalog@0.1.10-next.2
- @backstage/plugin-search-backend-module-explore@0.1.10-next.2
- @backstage/plugin-search-backend-module-techdocs@0.1.10-next.2
- @backstage/plugin-search-backend-node@1.2.10-next.2
- @backstage/plugin-sonarqube-backend@0.2.8-next.2
- @backstage/plugin-todo-backend@0.3.4-next.2
- @backstage/backend-plugin-api@0.6.6-next.2
- @backstage/plugin-catalog-backend-module-unprocessed@0.3.3-next.2
- @backstage/plugin-permission-common@0.7.9-next.0
## 0.0.16-next.1
### Patch Changes
+2 -1
View File
@@ -1,6 +1,6 @@
{
"name": "example-backend-next",
"version": "0.0.16-next.1",
"version": "0.0.16-next.2",
"main": "dist/index.cjs.js",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -38,6 +38,7 @@
"@backstage/plugin-catalog-backend-module-unprocessed": "workspace:^",
"@backstage/plugin-devtools-backend": "workspace:^",
"@backstage/plugin-entity-feedback-backend": "workspace:^",
"@backstage/plugin-jenkins-backend": "workspace:^",
"@backstage/plugin-kubernetes-backend": "workspace:^",
"@backstage/plugin-lighthouse-backend": "workspace:^",
"@backstage/plugin-linguist-backend": "workspace:^",
+1
View File
@@ -29,6 +29,7 @@ backend.add(
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
backend.add(import('@backstage/plugin-devtools-backend'));
backend.add(import('@backstage/plugin-entity-feedback-backend'));
backend.add(import('@backstage/plugin-jenkins-backend'));
backend.add(import('@backstage/plugin-kubernetes-backend/alpha'));
backend.add(import('@backstage/plugin-lighthouse-backend'));
backend.add(import('@backstage/plugin-linguist-backend'));
@@ -1,5 +1,17 @@
# @backstage/backend-openapi-utils
## 0.0.5-next.0
### Patch Changes
- 7c83975531: Adds new public utility types for common OpenAPI values, like request and response shapes and parameters available on an endpoint.
**deprecated** `internal` namespace
The internal namespace will continue to be exported but now uses OpenAPI format for path parameters. You should use the new utility types.
- Updated dependencies
- @backstage/errors@1.2.3-next.0
## 0.0.4
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-openapi-utils",
"description": "OpenAPI typescript support.",
"version": "0.0.4",
"version": "0.0.5-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+11
View File
@@ -1,5 +1,16 @@
# @backstage/backend-plugin-api
## 0.6.6-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-auth-node@0.4.0-next.2
- @backstage/backend-tasks@0.5.11-next.2
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
- @backstage/plugin-permission-common@0.7.9-next.0
## 0.6.5-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-plugin-api",
"description": "Core API used by Backstage backend plugins",
"version": "0.6.5-next.1",
"version": "0.6.6-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
@@ -1,5 +1,28 @@
# @backstage/backend-plugin-manager
## 0.0.2-next.2
### Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.8-next.2
- @backstage/plugin-auth-node@0.4.0-next.2
- @backstage/plugin-catalog-backend@1.14.0-next.2
- @backstage/errors@1.2.3-next.0
- @backstage/backend-tasks@0.5.11-next.2
- @backstage/plugin-events-backend@0.2.15-next.2
- @backstage/plugin-permission-node@0.7.17-next.2
- @backstage/plugin-scaffolder-node@0.2.6-next.2
- @backstage/plugin-search-backend-node@1.2.10-next.2
- @backstage/backend-plugin-api@0.6.6-next.2
- @backstage/cli-common@0.1.13-next.0
- @backstage/cli-node@0.1.5-next.1
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
- @backstage/plugin-events-node@0.2.15-next.2
- @backstage/plugin-permission-common@0.7.9-next.0
- @backstage/plugin-search-common@1.2.7-next.0
## 0.0.2-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-plugin-manager",
"description": "Backstage plugin management backend",
"version": "0.0.2-next.1",
"version": "0.0.2-next.2",
"private": true,
"main": "src/index.ts",
"types": "src/index.ts",
+10
View File
@@ -1,5 +1,15 @@
# @backstage/backend-tasks
## 0.5.11-next.2
### Patch Changes
- Updated dependencies
- @backstage/backend-common@0.19.8-next.2
- @backstage/errors@1.2.3-next.0
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
## 0.5.10-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-tasks",
"description": "Common distributed task management library for Backstage backends",
"version": "0.5.10-next.1",
"version": "0.5.11-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+15
View File
@@ -1,5 +1,20 @@
# @backstage/backend-test-utils
## 0.2.7-next.2
### Patch Changes
- a250ad775f: Added `createMockDirectory()` to help out with file system mocking in tests.
- 74491c9602: Updated to import `HostDiscovery` from `@backstage/backend-app-api`.
- Updated dependencies
- @backstage/backend-common@0.19.8-next.2
- @backstage/plugin-auth-node@0.4.0-next.2
- @backstage/errors@1.2.3-next.0
- @backstage/backend-app-api@0.5.6-next.2
- @backstage/backend-plugin-api@0.6.6-next.2
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
## 0.2.6-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-test-utils",
"description": "Test helpers library for Backstage backends",
"version": "0.2.6-next.1",
"version": "0.2.7-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
+59
View File
@@ -1,5 +1,64 @@
# example-backend
## 0.2.88-next.2
### Patch Changes
- Updated dependencies
- @backstage/plugin-nomad-backend@0.1.8-next.2
- @backstage/backend-common@0.19.8-next.2
- @backstage/plugin-scaffolder-backend@1.18.0-next.2
- @backstage/plugin-techdocs-backend@1.8.0-next.2
- @backstage/plugin-auth-node@0.4.0-next.2
- @backstage/plugin-catalog-backend@1.14.0-next.2
- @backstage/catalog-model@1.4.3-next.0
- @backstage/integration@1.7.1-next.1
- @backstage/plugin-kubernetes-backend@0.12.3-next.2
- @backstage/plugin-jenkins-backend@0.2.9-next.2
- @backstage/plugin-auth-backend@0.19.3-next.2
- @backstage/backend-tasks@0.5.11-next.2
- @backstage/plugin-adr-backend@0.4.3-next.2
- @backstage/plugin-app-backend@0.3.54-next.2
- @backstage/plugin-azure-devops-backend@0.4.3-next.2
- @backstage/plugin-azure-sites-backend@0.1.16-next.2
- @backstage/plugin-badges-backend@0.3.3-next.2
- @backstage/plugin-catalog-backend-module-scaffolder-entity-model@0.1.3-next.2
- @backstage/plugin-catalog-node@1.4.7-next.2
- @backstage/plugin-code-coverage-backend@0.2.20-next.2
- @backstage/plugin-devtools-backend@0.2.3-next.2
- @backstage/plugin-entity-feedback-backend@0.2.3-next.2
- @backstage/plugin-events-backend@0.2.15-next.2
- @backstage/plugin-explore-backend@0.0.16-next.2
- @backstage/plugin-graphql-backend@0.1.44-next.2
- @backstage/plugin-kafka-backend@0.3.3-next.2
- @backstage/plugin-lighthouse-backend@0.3.3-next.2
- @backstage/plugin-linguist-backend@0.5.3-next.2
- @backstage/plugin-permission-backend@0.5.29-next.2
- @backstage/plugin-permission-node@0.7.17-next.2
- @backstage/plugin-playlist-backend@0.3.10-next.2
- @backstage/plugin-proxy-backend@0.4.3-next.2
- @backstage/plugin-rollbar-backend@0.1.51-next.2
- @backstage/plugin-scaffolder-backend-module-confluence-to-markdown@0.2.7-next.2
- @backstage/plugin-scaffolder-backend-module-rails@0.4.23-next.2
- @backstage/plugin-search-backend@1.4.6-next.2
- @backstage/plugin-search-backend-module-catalog@0.1.10-next.2
- @backstage/plugin-search-backend-module-elasticsearch@1.3.9-next.2
- @backstage/plugin-search-backend-module-explore@0.1.10-next.2
- @backstage/plugin-search-backend-module-pg@0.5.15-next.2
- @backstage/plugin-search-backend-module-techdocs@0.1.10-next.2
- @backstage/plugin-search-backend-node@1.2.10-next.2
- @backstage/plugin-tech-insights-backend@0.5.20-next.2
- @backstage/plugin-tech-insights-backend-module-jsonfc@0.1.38-next.2
- @backstage/plugin-tech-insights-node@0.4.12-next.2
- @backstage/plugin-todo-backend@0.3.4-next.2
- example-app@0.2.88-next.2
- @backstage/catalog-client@1.4.5-next.0
- @backstage/config@1.1.1-next.0
- @backstage/plugin-catalog-backend-module-unprocessed@0.3.3-next.2
- @backstage/plugin-events-node@0.2.15-next.2
- @backstage/plugin-permission-common@0.7.9-next.0
- @backstage/plugin-search-common@1.2.7-next.0
## 0.2.88-next.1
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "example-backend",
"version": "0.2.88-next.1",
"version": "0.2.88-next.2",
"main": "dist/index.cjs.js",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -81,7 +81,7 @@
"@gitbeaker/node": "^35.1.0",
"@octokit/rest": "^19.0.3",
"@opentelemetry/api": "^1.4.1",
"@opentelemetry/exporter-prometheus": "^0.39.1",
"@opentelemetry/exporter-prometheus": "^0.43.0",
"@opentelemetry/sdk-metrics": "^1.13.0",
"azure-devops-node-api": "^11.0.1",
"better-sqlite3": "^8.0.0",
+8
View File
@@ -1,5 +1,13 @@
# @backstage/catalog-client
## 1.4.5-next.0
### Patch Changes
- Updated dependencies
- @backstage/catalog-model@1.4.3-next.0
- @backstage/errors@1.2.3-next.0
## 1.4.4
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/catalog-client",
"description": "An isomorphic client for the catalog backend",
"version": "1.4.4",
"version": "1.4.5-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+9
View File
@@ -1,5 +1,14 @@
# @backstage/catalog-model
## 1.4.3-next.0
### Patch Changes
- 0b55f773a7: Removed some unused dependencies
- Updated dependencies
- @backstage/errors@1.2.3-next.0
- @backstage/types@1.1.1
## 1.4.2
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/catalog-model",
"description": "Types and validators that help describe the model of a Backstage Catalog",
"version": "1.4.2",
"version": "1.4.3-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+9
View File
@@ -1,5 +1,14 @@
# @backstage/cli-node
## 0.1.5-next.1
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.3-next.0
- @backstage/cli-common@0.1.13-next.0
- @backstage/types@1.1.1
## 0.1.5-next.0
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/cli-node",
"description": "Node.js library for Backstage CLIs",
"version": "0.1.5-next.0",
"version": "0.1.5-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+40
View File
@@ -1,5 +1,45 @@
# @backstage/cli
## 0.23.0-next.2
### Minor Changes
- 8defbd5434: Update typescript-eslint to 6.7.x, adding compatibility with TypeScript 5.2.
This includes a major update on typescript-eslint, you can see the details in the [release notes](https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/).
### Patch Changes
- 2ef6522552: Support for the `.icon.svg` extension has been deprecated and will be removed in the future. The implementation of this extension is too tied to a particular version of MUI and the SVGO, and it makes it harder to evolve the build system. We may introduce the ability to reintroduce this kind of functionality in the future through configuration for use in internal plugins, but for now we're forced to remove it.
To migrate existing code, rename the `.icon.svg` file to `.tsx` and replace the `<svg>` element with `<SvgIcon>` from MUI and add necessary imports. For example:
```tsx
import React from 'react';
import SvgIcon from '@material-ui/core/SvgIcon';
import { IconComponent } from '@backstage/core-plugin-api';
export const CodeSceneIcon = (props: SvgIconProps) => (
<SvgIcon {...props}>
<g>
<path d="..." />
</g>
</SvgIcon>
);
```
- Updated dependencies
- @backstage/catalog-model@1.4.3-next.0
- @backstage/config-loader@1.5.1-next.1
- @backstage/integration@1.7.1-next.1
- @backstage/errors@1.2.3-next.0
- @backstage/cli-common@0.1.13-next.0
- @backstage/cli-node@0.1.5-next.1
- @backstage/config@1.1.1-next.0
- @backstage/eslint-plugin@0.1.3
- @backstage/release-manifests@0.0.10
- @backstage/types@1.1.1
## 0.23.0-next.1
### Patch Changes
+3 -3
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/cli",
"description": "CLI for developing Backstage plugins and apps",
"version": "0.23.0-next.1",
"version": "0.23.0-next.2",
"publishConfig": {
"access": "public"
},
@@ -66,8 +66,8 @@
"@swc/jest": "^0.2.22",
"@types/jest": "^29.0.0",
"@types/webpack-env": "^1.15.2",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@yarnpkg/lockfile": "^1.1.0",
"@yarnpkg/parsers": "^3.0.0-rc.4",
"bfj": "^7.0.2",
+13
View File
@@ -1,5 +1,18 @@
# @backstage/config-loader
## 1.5.1-next.1
### Patch Changes
- 0b55f773a7: Removed some unused dependencies
- 30c553c1d2: Updated dependency `typescript-json-schema` to `^0.61.0`.
- a4617c422a: Added `watch` option to configuration loaders that can be used to disable file watching by setting it to `false`.
- Updated dependencies
- @backstage/errors@1.2.3-next.0
- @backstage/cli-common@0.1.13-next.0
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
## 1.5.1-next.0
### Patch Changes
+3
View File
@@ -27,6 +27,8 @@ export interface BaseConfigSourcesOptions {
rootDir?: string;
// (undocumented)
substitutionFunc?: EnvFunc;
// (undocumented)
watch?: boolean;
}
// @public
@@ -142,6 +144,7 @@ export class FileConfigSource implements ConfigSource {
export interface FileConfigSourceOptions {
path: string;
substitutionFunc?: EnvFunc;
watch?: boolean;
}
// @public @deprecated
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/config-loader",
"description": "Config loading functionality used by Backstage backend, and CLI",
"version": "1.5.1-next.0",
"version": "1.5.1-next.1",
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
@@ -47,7 +47,7 @@
"lodash": "^4.17.21",
"minimist": "^1.2.5",
"node-fetch": "^2.6.7",
"typescript-json-schema": "^0.55.0",
"typescript-json-schema": "^0.61.0",
"yaml": "^2.0.0"
},
"devDependencies": {
+1
View File
@@ -107,6 +107,7 @@ export async function loadConfig(
remote: options.remote && {
reloadInterval: { seconds: options.remote.reloadIntervalSeconds },
},
watch: Boolean(options.watch),
rootDir: options.configRoot,
argv: options.configTargets.flatMap(t => [
'--config',
@@ -71,6 +71,7 @@ export interface ClosableConfig extends Config {
* @public
*/
export interface BaseConfigSourcesOptions {
watch?: boolean;
rootDir?: string;
remote?: Pick<RemoteConfigSourceOptions, 'reloadInterval'>;
substitutionFunc?: SubstitutionFunc;
@@ -159,6 +160,7 @@ export class ConfigSources {
});
}
return FileConfigSource.create({
watch: options.watch,
path: arg.target,
substitutionFunc: options.substitutionFunc,
});
@@ -170,6 +172,7 @@ export class ConfigSources {
argSources.push(
FileConfigSource.create({
watch: options.watch,
path: defaultPath,
substitutionFunc: options.substitutionFunc,
}),
@@ -177,6 +180,7 @@ export class ConfigSources {
if (fs.pathExistsSync(localPath)) {
argSources.push(
FileConfigSource.create({
watch: options.watch,
path: localPath,
substitutionFunc: options.substitutionFunc,
}),
@@ -39,6 +39,11 @@ export interface FileConfigSourceOptions {
*/
path: string;
/**
* Set to `false` to disable file watching, defaults to `true`.
*/
watch?: boolean;
/**
* A substitution function to use instead of the default environment substitution.
*/
@@ -89,10 +94,12 @@ export class FileConfigSource implements ConfigSource {
readonly #path: string;
readonly #substitutionFunc?: SubstitutionFunc;
readonly #watch?: boolean;
private constructor(options: FileConfigSourceOptions) {
this.#path = options.path;
this.#substitutionFunc = options.substitutionFunc;
this.#watch = options.watch ?? true;
}
// Work is duplicated across each read, in practice that should not
@@ -104,20 +111,27 @@ export class FileConfigSource implements ConfigSource {
const signal = options?.signal;
const configFileName = basename(this.#path);
// Keep track of watched paths, since this is simpler than resetting the watcher
const watchedPaths = new Array<string>();
const watcher = chokidar.watch(this.#path, {
usePolling: process.env.NODE_ENV === 'test',
});
let watchedPaths: Array<string> | null = null;
let watcher: FSWatcher | null = null;
if (this.#watch) {
// Keep track of watched paths, since this is simpler than resetting the watcher
watchedPaths = new Array<string>();
watcher = chokidar.watch(this.#path, {
usePolling: process.env.NODE_ENV === 'test',
});
}
const dir = dirname(this.#path);
const transformer = createConfigTransformer({
substitutionFunc: this.#substitutionFunc,
readFile: async path => {
const fullPath = resolvePath(dir, path);
// Any files discovered while reading this config should be watched too
watcher.add(fullPath);
watchedPaths.push(fullPath);
if (watcher && watchedPaths) {
// Any files discovered while reading this config should be watched too
watcher.add(fullPath);
watchedPaths.push(fullPath);
}
const data = await readFile(fullPath);
if (data === undefined) {
@@ -131,12 +145,15 @@ export class FileConfigSource implements ConfigSource {
// This is the entry point for reading the file, called initially and on change
const readConfigFile = async (): Promise<ConfigSourceData[]> => {
// We clear the watched files every time we initiate a new read
watcher.unwatch(watchedPaths);
watchedPaths.length = 0;
if (watcher && watchedPaths) {
// We clear the watched files every time we initiate a new read
watcher.unwatch(watchedPaths);
watchedPaths.length = 0;
watcher.add(this.#path);
watchedPaths.push(this.#path);
}
watcher.add(this.#path);
watchedPaths.push(this.#path);
const content = await readFile(this.#path);
if (content === undefined) {
throw new NotFoundError(`Config file "${this.#path}" does not exist`);
@@ -157,18 +174,20 @@ export class FileConfigSource implements ConfigSource {
const onAbort = () => {
signal?.removeEventListener('abort', onAbort);
watcher.close();
if (watcher) watcher.close();
};
signal?.addEventListener('abort', onAbort);
yield { configs: await readConfigFile() };
for (;;) {
const event = await this.#waitForEvent(watcher, signal);
if (event === 'abort') {
return;
if (watcher) {
for (;;) {
const event = await this.#waitForEvent(watcher, signal);
if (event === 'abort') {
return;
}
yield { configs: await readConfigFile() };
}
yield { configs: await readConfigFile() };
}
}
+8
View File
@@ -1,5 +1,13 @@
# @backstage/config
## 1.1.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/errors@1.2.3-next.0
- @backstage/types@1.1.1
## 1.1.0
### Minor Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/config",
"description": "Config API used by Backstage core, backend, and CLI",
"version": "1.1.0",
"version": "1.1.1-next.0",
"publishConfig": {
"access": "public",
"main": "dist/index.cjs.js",
+15
View File
@@ -1,5 +1,20 @@
# @backstage/core-app-api
## 1.11.0-next.2
### Minor Changes
- c9d9bfeca2: URL encode some well known unsafe characters in `RouteResolver` (and therefore `useRouteRef`)
### Patch Changes
- acca17e91a: Wrap entire app in `<Suspense>`, enabling support for using translations outside plugins.
- Updated dependencies
- @backstage/core-plugin-api@1.7.0-next.1
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
- @backstage/version-bridge@1.0.5
## 1.10.1-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/core-app-api",
"description": "Core app API used by Backstage apps",
"version": "1.10.1-next.1",
"version": "1.11.0-next.2",
"publishConfig": {
"access": "public"
},
+15
View File
@@ -1,5 +1,20 @@
# @backstage/core-components
## 0.13.6-next.2
### Patch Changes
- 0b55f773a7: Removed some unused dependencies
- 8a15360bb4: Fixed overflowing messages in `WarningPanel`.
- Updated dependencies
- @backstage/core-plugin-api@1.7.0-next.1
- @backstage/catalog-model@1.4.3-next.0
- @backstage/plugin-catalog-react@1.8.5-next.2
- @backstage/errors@1.2.3-next.0
- @backstage/theme@0.4.3-next.0
- @backstage/config@1.1.1-next.0
- @backstage/version-bridge@1.0.5
## 0.13.6-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/core-components",
"description": "Core components used by Backstage plugins and apps",
"version": "0.13.6-next.1",
"version": "0.13.6-next.2",
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
@@ -69,6 +69,9 @@ export type WarningPanelClassKey =
const useStyles = makeStyles<BackstageTheme>(
theme => ({
content: {
lineBreak: 'anywhere',
},
panel: {
backgroundColor: ({ severity }: WarningProps) =>
getWarningBackgroundColor(
@@ -168,6 +171,7 @@ export function WarningPanel(props: WarningProps) {
>
<AccordionSummary
expandIcon={<ExpandMoreIconStyled severity={severity} />}
classes={{ content: classes.content }}
className={classes.summary}
>
<ErrorOutlineStyled severity={severity} />
+10
View File
@@ -1,5 +1,15 @@
# @backstage/core-plugin-api
## 1.7.0-next.1
### Patch Changes
- 0b55f773a7: Removed some unused dependencies
- Updated dependencies
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
- @backstage/version-bridge@1.0.5
## 1.7.0-next.0
### Minor Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/core-plugin-api",
"description": "Core API used by Backstage plugins",
"version": "1.7.0-next.0",
"version": "1.7.0-next.1",
"publishConfig": {
"access": "public"
},
+8
View File
@@ -1,5 +1,13 @@
# @backstage/create-app
## 0.5.6-next.2
### Patch Changes
- Bumped create-app version.
- Updated dependencies
- @backstage/cli-common@0.1.13-next.0
## 0.5.6-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/create-app",
"description": "A CLI that helps you create your own Backstage app",
"version": "0.5.6-next.1",
"version": "0.5.6-next.2",
"publishConfig": {
"access": "public"
},
+15
View File
@@ -1,5 +1,20 @@
# @backstage/dev-utils
## 1.0.22-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-app-api@1.11.0-next.2
- @backstage/integration-react@1.1.20-next.2
- @backstage/core-components@0.13.6-next.2
- @backstage/core-plugin-api@1.7.0-next.1
- @backstage/catalog-model@1.4.3-next.0
- @backstage/plugin-catalog-react@1.8.5-next.2
- @backstage/theme@0.4.3-next.0
- @backstage/app-defaults@1.4.4-next.2
- @backstage/test-utils@1.4.4-next.2
## 1.0.22-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/dev-utils",
"description": "Utilities for developing Backstage plugins.",
"version": "1.0.22-next.1",
"version": "1.0.22-next.2",
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
+9
View File
@@ -1,5 +1,14 @@
# e2e-test
## 0.2.8-next.2
### Patch Changes
- Updated dependencies
- @backstage/create-app@0.5.6-next.2
- @backstage/errors@1.2.3-next.0
- @backstage/cli-common@0.1.13-next.0
## 0.2.8-next.1
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "e2e-test",
"description": "E2E test for verifying Backstage packages",
"version": "0.2.8-next.1",
"version": "0.2.8-next.2",
"private": true,
"backstage": {
"role": "cli"
+8
View File
@@ -1,5 +1,13 @@
# @backstage/errors
## 1.2.3-next.0
### Patch Changes
- 0b55f773a7: Removed some unused dependencies
- Updated dependencies
- @backstage/types@1.1.1
## 1.2.2
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/errors",
"description": "Common utilities for error handling within Backstage",
"version": "1.2.2",
"version": "1.2.3-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
+22
View File
@@ -1,5 +1,27 @@
# @backstage/frontend-app-api
## 0.2.0-next.2
### Minor Changes
- 4461d87d5a: Removed support for the new `useRouteRef`.
### Patch Changes
- 5072824817: Implement `toString()` and `toJSON()` for extension instances.
- 06432f900c: Updates for `at` -> `attachTo` refactor.
- 1718ec75b7: Added support for the existing routing system.
- Updated dependencies
- @backstage/frontend-plugin-api@0.2.0-next.2
- @backstage/core-app-api@1.11.0-next.2
- @backstage/core-components@0.13.6-next.2
- @backstage/core-plugin-api@1.7.0-next.1
- @backstage/plugin-graphiql@0.2.55-next.2
- @backstage/theme@0.4.3-next.0
- @backstage/config@1.1.1-next.0
- @backstage/types@1.1.1
- @backstage/version-bridge@1.0.5
## 0.2.0-next.1
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/frontend-app-api",
"version": "0.2.0-next.1",
"version": "0.2.0-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -27,6 +27,9 @@ export const Core = createExtension({
apis: createExtensionInput({
api: coreExtensionData.apiFactory,
}),
themes: createExtensionInput({
theme: coreExtensionData.theme,
}),
},
output: {},
factory() {},

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