Merge branch 'backstage:master' into scaffolder-taskID
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': minor
|
||||
---
|
||||
|
||||
- Updated EntityLayout component to implement breadcrumb navigation based on the entity relations.
|
||||
|
||||
- Added parentEntityRelations prop to EntityLayoutProps to specify relation types for parent entities.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-api-docs': minor
|
||||
---
|
||||
|
||||
Added support for pagination in api-docs plugin - DefaultApiExplorerPage
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Fix dev server reloads of plugin discovery for new frontend system.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/config': minor
|
||||
---
|
||||
|
||||
Make `readDurationFromConfig` support both ISO and ms formats as well, to make it easier to enter time as an end user
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': patch
|
||||
---
|
||||
|
||||
Fixed an issue causing the `CatalogIndexPage` to not properly filter results when using offset pagination.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-defaults': patch
|
||||
---
|
||||
|
||||
Removed dependency `@backstage/backend-common`.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-notifications': minor
|
||||
---
|
||||
|
||||
Rephrasing labels of the View filter to be more clear. Based on the received users' feedback.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/types': minor
|
||||
---
|
||||
|
||||
Introduce `createDeferred` and `DeferredPromise`.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-app-backend': patch
|
||||
---
|
||||
|
||||
The `index.html` templating is now done and served from memory rather than written to the filesystem. This means that you can now use config injection with a read-only filesystem, and you no longer need to use the `app.disableConfigInjection` flag.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs': patch
|
||||
---
|
||||
|
||||
Fixed an issue where `<TechDocsReaderPageContent />` would re-render infinitely under certain conditions.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/integration-aws-node': patch
|
||||
---
|
||||
|
||||
The `getDefaultCredentialsChain` function now accepts and applies a `region` parameter, preventing it from defaulting to `us-east-1` when no region is specified.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-search': patch
|
||||
---
|
||||
|
||||
Removes the card UI from the search results type filter for a cleaner UI consistent with other filters
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-kubernetes-react': patch
|
||||
---
|
||||
|
||||
add the pod delete feature to the kubernetes react plugin
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
---
|
||||
|
||||
Fixed bug in `EntityDisplayName` where text was overflowing.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs': patch
|
||||
---
|
||||
|
||||
Fix an issue with index page of documentation site being re-rendered.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-app-backend': minor
|
||||
---
|
||||
|
||||
Configuration is no longer injected into static assets if a `index.html.tmpl` file is present.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend-module-gitlab': patch
|
||||
---
|
||||
|
||||
Improve error messages from Gitlab
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-notifications': patch
|
||||
---
|
||||
|
||||
Added title to the Notifications' table. The title clearly states the filter selection and total count of messages. This change aligns the look and feel closer to other tables.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-notifications': patch
|
||||
---
|
||||
|
||||
The "Created after" filter renamed to the "Sent out" based on the received users' feedback.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-common': patch
|
||||
'@backstage/plugin-scaffolder-react': patch
|
||||
'@backstage/plugin-scaffolder': minor
|
||||
---
|
||||
|
||||
Add scaffolder permission `scaffolder.template.management` for accessing the template management features
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Add `--max-warnings -1` support to `backstage-cli package lint`
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-components': patch
|
||||
---
|
||||
|
||||
Change core component Table tool bar search box to the a appropriate Search icon and text
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
When using the experimental Rspack flag the app build and dev server now injects configuration via a `<script type="backstage.io/config">...</script>` tag in `index.html` rather than the `process.env.APP_CONFIG` definition, which will now be defined as an empty array instead.
|
||||
|
||||
This requires the app to be using the config loader from the 1.31 release of Backstage. Make sure your app is using at least that version if you are upgrading to this version of the CLI.
|
||||
|
||||
If you have copied the implementation of the `defaultConfigLoader`, make sure to update it to the new implementation. In particular the config loader needs to be able to read configuration from `script` tags with the type `backstage.io/config`.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend-module-incremental-ingestion': patch
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
'@backstage/config-loader': patch
|
||||
---
|
||||
|
||||
Internal refactor to use the deferred from the types package
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
---
|
||||
|
||||
Ensure EntityDisplayName component link receives underline on hover.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/repo-tools': patch
|
||||
---
|
||||
|
||||
The `generate-patch` command now properly includes newly created files in the patch.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
---
|
||||
|
||||
Improve UI consistency of default catalog filters
|
||||
+31
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"mode": "pre",
|
||||
"mode": "exit",
|
||||
"tag": "next",
|
||||
"initialVersions": {
|
||||
"example-app": "0.2.102",
|
||||
@@ -196,7 +196,9 @@
|
||||
},
|
||||
"changesets": [
|
||||
"afraid-bananas-behave",
|
||||
"afraid-carrots-greet",
|
||||
"big-tips-heal",
|
||||
"bright-buckets-laugh",
|
||||
"bright-singers-do",
|
||||
"chilled-taxis-dance",
|
||||
"create-app-1729608704",
|
||||
@@ -211,27 +213,37 @@
|
||||
"forty-pets-wave",
|
||||
"forty-spoons-burn",
|
||||
"fresh-jeans-relate",
|
||||
"friendly-hats-push",
|
||||
"friendly-kids-judge",
|
||||
"friendly-melons-shake",
|
||||
"green-tools-arrive",
|
||||
"grumpy-shoes-return",
|
||||
"healthy-bags-jog",
|
||||
"healthy-lions-judge",
|
||||
"healthy-tables-wonder",
|
||||
"heavy-mice-raise",
|
||||
"heavy-phones-shave",
|
||||
"hungry-cats-juggle",
|
||||
"hungry-owls-sell",
|
||||
"itchy-elephants-trade",
|
||||
"khaki-fireants-march",
|
||||
"late-kings-wave",
|
||||
"lemon-gifts-crash",
|
||||
"little-rivers-deny",
|
||||
"loud-plants-dream",
|
||||
"loud-trainers-yawn",
|
||||
"lucky-bananas-eat",
|
||||
"lucky-snakes-complain",
|
||||
"mean-years-deliver",
|
||||
"metal-files-itch",
|
||||
"mighty-jobs-unite",
|
||||
"mighty-spoons-suffer",
|
||||
"neat-buttons-wait",
|
||||
"ninety-panthers-provide",
|
||||
"ninety-shirts-float",
|
||||
"orange-moles-taste",
|
||||
"perfect-goats-mate",
|
||||
"pink-schools-shave",
|
||||
"plenty-students-check",
|
||||
"pretty-zebras-listen",
|
||||
"purple-masks-swim",
|
||||
@@ -240,6 +252,9 @@
|
||||
"rare-trains-scream",
|
||||
"red-fishes-press",
|
||||
"renovate-3d822ce",
|
||||
"renovate-4635182",
|
||||
"renovate-6193787",
|
||||
"renovate-7a33477",
|
||||
"renovate-7b59eed",
|
||||
"renovate-b2c2aaf",
|
||||
"renovate-bcc9782",
|
||||
@@ -247,7 +262,12 @@
|
||||
"rotten-needles-relax",
|
||||
"selfish-ads-count",
|
||||
"selfish-spies-cough",
|
||||
"serious-penguins-remain",
|
||||
"seven-berries-listen",
|
||||
"seven-hotels-move",
|
||||
"shiny-falcons-fly",
|
||||
"short-geckos-sniff",
|
||||
"short-pots-remember",
|
||||
"shy-clouds-brake",
|
||||
"shy-pots-speak",
|
||||
"shy-rats-hear",
|
||||
@@ -255,23 +275,33 @@
|
||||
"silly-kiwis-destroy",
|
||||
"silver-ears-grin",
|
||||
"silver-kings-sort",
|
||||
"six-beds-exercise",
|
||||
"slimy-jobs-scream",
|
||||
"slimy-penguins-care",
|
||||
"slow-mayflies-sleep",
|
||||
"slow-shrimps-call",
|
||||
"smart-bags-sell",
|
||||
"soft-turkeys-tie",
|
||||
"spotty-snails-worry",
|
||||
"strange-clocks-pretend",
|
||||
"strong-paws-change",
|
||||
"swift-laws-applaud",
|
||||
"ten-hats-appear",
|
||||
"ten-pears-unite",
|
||||
"tender-feet-scream",
|
||||
"thick-trees-worry",
|
||||
"three-mangos-dance",
|
||||
"tough-onions-dance",
|
||||
"tricky-crabs-lick",
|
||||
"twelve-masks-call",
|
||||
"two-donuts-float",
|
||||
"unlucky-countries-shop",
|
||||
"violet-ears-dance",
|
||||
"violet-parrots-knock",
|
||||
"warm-tomatoes-develop",
|
||||
"wild-experts-unite",
|
||||
"wise-avocados-behave",
|
||||
"wise-snakes-sleep",
|
||||
"witty-bobcats-push",
|
||||
"witty-socks-repeat",
|
||||
"yellow-horses-pretend",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-notifications': patch
|
||||
---
|
||||
|
||||
The notification's title is emphasized to be clearly distinguished from the description.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Updated dependency `vite` to `^5.0.0`.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
'@backstage/repo-tools': patch
|
||||
'@backstage/plugin-bitbucket-cloud-common': patch
|
||||
---
|
||||
|
||||
Updated dependency `ts-morph` to `^24.0.0`.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Updated dependency `css-loader` to `^7.0.0`.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Updated dependency `@module-federation/enhanced` to `^0.7.0`.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend-module-openapi': patch
|
||||
---
|
||||
|
||||
Updated dependency `@apidevtools/json-schema-ref-parser` to `^11.0.0`.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend-module-github': patch
|
||||
---
|
||||
|
||||
Fixed an issue in `GithubOrgEntityProvider` that caused an error when processing teams without a parent.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
This update adds the @backstage/repo-tools package to the versions.ts file, enabling proper version resolution for templates. The {{version '@backstage/repo-tools'}} placeholder now works as expected in the create-app process.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend-module-gitlab': patch
|
||||
---
|
||||
|
||||
Removed circular import
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend-module-cloudflare-access-provider': patch
|
||||
'@backstage/plugin-notifications-backend-module-email': patch
|
||||
'@backstage/plugin-events-backend-module-aws-sqs': patch
|
||||
'@backstage/backend-plugin-api': patch
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
'@backstage/backend-defaults': patch
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
'@backstage/plugin-auth-backend': patch
|
||||
---
|
||||
|
||||
Support ISO and ms string forms of durations in config too
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog': minor
|
||||
---
|
||||
|
||||
Allow `OffsetPaginatedCatalogTable` to configure Table options and `CursorPaginatedCatalogTable` to configure `paginationPosition`.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': minor
|
||||
---
|
||||
|
||||
The package packing now populates `typesVersions` for additional entry points rather than using additional `package.json` files for type resolution. This improves auto completion of separate entry points when consuming published packages.
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/plugin-events-backend-module-github': patch
|
||||
---
|
||||
|
||||
Fix the event request validation for incoming requests for GitHub webhook events
|
||||
by using the raw body when verifying the signature.
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'@backstage/plugin-events-node': patch
|
||||
'@backstage/plugin-events-backend-module-github': patch
|
||||
'@backstage/plugin-events-backend': patch
|
||||
---
|
||||
|
||||
Add raw body information to `RequestDetails`
|
||||
and use the raw body when validating incoming event requests.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
---
|
||||
|
||||
Fixed an issue where entities would not be marked for restitching if only the target of a relationship changed.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-defaults': patch
|
||||
---
|
||||
|
||||
Use `node-fetch` instead of native fetch, as per https://backstage.io/docs/architecture-decisions/adrs-adr013
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
---
|
||||
|
||||
Fixed bug when searching an entity by `spec.profile.displayName` in the catalog on the frontend. Text filter fields were not applied correctly to the database query resulting in empty results.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
---
|
||||
|
||||
Modified `createDryRunner` and corresponding route to include `templateMetaData` inside the `templateInfo`. This allows custom action writers to access things like `templateInfo.entity.metadata.name` via the action context while executing templates using the dry run framework.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/repo-tools': patch
|
||||
---
|
||||
|
||||
The `generate-patch` command will now fall back to always adding a `resolutions` entry, even if no matching descriptors are found.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
Use the main entrypoint for `create-app` installs
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/core-app-api': patch
|
||||
'@backstage/frontend-defaults': patch
|
||||
---
|
||||
|
||||
The default config loader no longer requires `process.env.APP_CONFIG` to be set, allowing config to be read from other sources instead.
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-react': minor
|
||||
'@backstage/plugin-scaffolder': minor
|
||||
---
|
||||
|
||||
Fix `contextMenu` not being disabled bug in new scaffolder pages
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': minor
|
||||
---
|
||||
|
||||
Added `entity_ref` column to `final_entities` in order to move `refresh_state` away from the read path
|
||||
@@ -0,0 +1,34 @@
|
||||
---
|
||||
'@backstage/plugin-auth-backend-module-cloudflare-access-provider': patch
|
||||
'@backstage/plugin-catalog-backend-module-incremental-ingestion': patch
|
||||
'@backstage/plugin-catalog-backend-module-backstage-openapi': patch
|
||||
'@backstage/plugin-catalog-backend-module-bitbucket-server': patch
|
||||
'@backstage/plugin-catalog-backend-module-bitbucket-cloud': patch
|
||||
'@backstage/plugin-search-backend-module-elasticsearch': patch
|
||||
'@backstage/plugin-catalog-backend-module-puppetdb': patch
|
||||
'@backstage/plugin-catalog-backend-module-msgraph': patch
|
||||
'@backstage/plugin-catalog-backend-module-gerrit': patch
|
||||
'@backstage/plugin-catalog-backend-module-github': patch
|
||||
'@backstage/plugin-catalog-backend-module-gitlab': patch
|
||||
'@backstage/plugin-catalog-backend-module-azure': patch
|
||||
'@backstage/plugin-catalog-backend-module-ldap': patch
|
||||
'@backstage/plugin-catalog-backend-module-aws': patch
|
||||
'@backstage/plugin-search-backend-module-pg': patch
|
||||
'@backstage/plugin-notifications-backend': patch
|
||||
'@backstage/backend-test-utils': patch
|
||||
'@backstage/plugin-search-backend-node': patch
|
||||
'@backstage/plugin-notifications-node': patch
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
'@backstage/backend-defaults': patch
|
||||
'@backstage/plugin-permission-common': patch
|
||||
'@backstage/backend-app-api': patch
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
'@backstage/plugin-signals-backend': patch
|
||||
'@backstage/plugin-proxy-backend': patch
|
||||
'@backstage/plugin-auth-backend': patch
|
||||
'@backstage/plugin-signals-node': patch
|
||||
'@backstage/plugin-auth-node': patch
|
||||
'@backstage/plugin-signals': patch
|
||||
---
|
||||
|
||||
Upgrade to uuid v11 internally
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Fixed an issue where `.css` style injection would fail for published packages.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-search-backend-module-catalog': patch
|
||||
---
|
||||
|
||||
Fix search collator text formatting for catalog entities without description
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': minor
|
||||
---
|
||||
|
||||
Drop redundant indices from the database.
|
||||
|
||||
The following redundant indices are removed in this version:
|
||||
|
||||
- `final_entities_entity_id_idx` - overlaps with `final_entities_pkey`
|
||||
- `refresh_state_entity_id_idx` - overlaps with `refresh_state_pkey`
|
||||
- `refresh_state_entity_ref_idx` - overlaps with `refresh_state_entity_ref_uniq`
|
||||
- `search_key_idx` and `search_value_idx` - these were replaced by the composite index `search_key_value_idx` in #22594
|
||||
|
||||
No negative end user impact is expected, but rather that performance should increase due to less index churn.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-notifications': patch
|
||||
---
|
||||
|
||||
Show count of unread notifications in the left-side MenuItem. This replaces the simple true/false bullet.
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
'@backstage/plugin-search-backend-module-stack-overflow-collator': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-notifications': patch
|
||||
'@backstage/plugin-auth-backend-module-aws-alb-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-guest-provider': patch
|
||||
'@backstage/plugin-notifications-backend-module-email': patch
|
||||
'@backstage/plugin-auth-backend-module-oidc-provider': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-yeoman': patch
|
||||
'@backstage/plugin-notifications-node': patch
|
||||
'@backstage/backend-app-api': patch
|
||||
'@backstage/plugin-signals-node': patch
|
||||
'@backstage/plugin-events-node': patch
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Remove unused backend-common dependency
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
---
|
||||
|
||||
Add new `fs:readdir` action to list current content of the workspace
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
---
|
||||
|
||||
Internal refactor to slightly speed up the processing loop
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend-module-bitbucket-cloud': patch
|
||||
---
|
||||
|
||||
Implemented discovery on project-level to shift Bitbucket Cloud API limits
|
||||
@@ -225,7 +225,7 @@ jobs:
|
||||
run: ls microsite/build && ls microsite/build/storybook
|
||||
|
||||
- name: Deploy both microsite and storybook to gh-pages
|
||||
uses: JamesIves/github-pages-deploy-action@881db5376404c5c8d621010bcbec0310b58d5e29 # v4.6.8
|
||||
uses: JamesIves/github-pages-deploy-action@62fec3add6773ec5dbbf18d2ee4260911aa35cf4 # v4.6.9
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: microsite/build
|
||||
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
egress-policy: audit
|
||||
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
|
||||
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
|
||||
with:
|
||||
python-version: '3.9'
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
registry-url: https://registry.npmjs.org/ # Needed for auth
|
||||
|
||||
- name: setup python
|
||||
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
|
||||
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
|
||||
- run: yarn build-storybook
|
||||
|
||||
- uses: chromaui/action@25f8ff36486472c2d6b5b02dc2d277f051a3ecdb # v11
|
||||
- uses: chromaui/action@0efa3230f403b7848d5d65c6ce140b617fb68380 # v11
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# projectToken intentionally shared to allow collaborators to run Chromatic on forks
|
||||
|
||||
+1
-1
@@ -276,4 +276,4 @@ _You can do this by using the [Adopter form](https://info.backstage.spotify.com/
|
||||
| [Cigna](https://www.cigna.com/) / [Evernorth](https://www.evernorth.com/) | [@raphtalia](https://github.com/raphtalia), [Devon Paluso](mailto:Devon.Paluso@evernorth.com), [Bryan Rego](mailto:Bryan.Rego@evernorth.com), [Ian Skillings](mailto:Ian.Skillings@evernorth.com) | Internal developer portal providing TechDocs, software templates, centralized secret management, with information consolidation from ServiceNow, Okta, GitHub, GitLab, and WebEx. |
|
||||
| [Infobip](https://www.infobip.com/) | [Antonio Ereiz](https://github.com/SonilPro) | Visual representation of all our entities registered within an existing internal catalog, along with a UI for editing their manifests. It serves as the go-to place for new internal tools that require a user interface and provides standardization of new components using Software Templates.
|
||||
| [CloudScript](https://www.cloudscript.com.br/) | [Helias Rodrigues](https://github.com/xcloudscript) | We use it to centralize and organize the components of our internal development platform. In addition, it provides an integrated experience for developers by using all the core modules and some plugins.
|
||||
|
||||
| [Alauda](https://www.alauda.io/) | [Mario](https://github.com/mario-mui) | We use it to centralize and organize the components of our internal development platform. In addition, it provides environment templates for developers to create development testing or others environments
|
||||
+1
-1
@@ -20,4 +20,4 @@ metadata:
|
||||
spec:
|
||||
type: library
|
||||
owner: CNCF
|
||||
lifecycle: experimental
|
||||
lifecycle: production
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
|
||||
|
||||
FROM node:16-buster AS build
|
||||
FROM node:20-buster AS build
|
||||
|
||||
RUN mkdir /app
|
||||
COPY . /app
|
||||
|
||||
@@ -7,14 +7,14 @@ description: Architecture Decision Record (ADR) logs as a reference point for th
|
||||
|
||||
## Decision
|
||||
|
||||
A decision was made to store ADRs in a log in the project repository
|
||||
A decision was made to store ADRs in a log in the project repository.
|
||||
|
||||
## Discussion
|
||||
|
||||
There is a need to store big decisions made in a log as a reference point for
|
||||
the team, help with onboarding new members and give context to others interested
|
||||
the team, help with onboarding new members, and give context to others interested
|
||||
in the project.
|
||||
|
||||
## Risks
|
||||
|
||||
People stop adding ADRs to the log and context gets lost
|
||||
People stop adding ADRs to the log and context gets lost.
|
||||
|
||||
@@ -7,9 +7,9 @@ description: Architecture Decision Record (ADR) log on Default Software Catalog
|
||||
|
||||
## Background
|
||||
|
||||
Backstage comes with a software catalog functionality, that you can use to track
|
||||
Backstage comes with software catalog functionality that you can use to track
|
||||
all your software components and more. It can be powered by data from various
|
||||
sources, and one of them that is included with the package, is a custom database
|
||||
sources, and one of them that is included with the package is a custom database
|
||||
backed catalog. It has the ability to keep itself updated automatically based on
|
||||
the contents of little descriptor files in your version control system of
|
||||
choice. Developers create these files and maintain them side by side with their
|
||||
@@ -21,15 +21,15 @@ This ADR describes the default format of these descriptor files.
|
||||
|
||||
Internally at Spotify, a homegrown software catalog system is used heavily and
|
||||
forms a core part of Backstage and other important pieces of the infrastructure.
|
||||
The user experience, learnings and certain pieces of metadata from that catalog
|
||||
The user experience, learnings, and certain pieces of metadata from that catalog
|
||||
are being carried over to the open source effort.
|
||||
|
||||
The file format described herein, also draws heavy inspiration from the
|
||||
The file format described herein also draws heavy inspiration from the
|
||||
[kubernetes object format](https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/).
|
||||
|
||||
### Core Concepts
|
||||
|
||||
There are a number of descriptor files, all of whose locations (e.g. within a
|
||||
There are a number of descriptor files, all of whose locations (e.g., within a
|
||||
version control system) are registered with the software catalog. The method of
|
||||
registration is not covered in this document; it could happen either manually
|
||||
inside Backstage, or by push events from a CI/CD pipelines, or by webhook
|
||||
@@ -45,7 +45,7 @@ Entities have distinct names, and they may reference each other by those names.
|
||||
## Format
|
||||
|
||||
Descriptor files use the [YAML](https://yaml.org/spec/1.2/spec.html) format.
|
||||
They may be written by hand, or created using automated tools. Each file may
|
||||
They may be written by hand or created using automated tools. Each file may
|
||||
consist of several YAML documents (separated by `---`), where each document
|
||||
describes a single entity.
|
||||
|
||||
@@ -71,7 +71,7 @@ spec:
|
||||
```
|
||||
|
||||
The root fields `apiVersion`, `kind`, `metadata`, and `spec` are part of the
|
||||
_envelope_, defining the overall structure of all kinds of entity. Likewise, the
|
||||
_envelope_, defining the overall structure of all kinds of entities. Likewise, the
|
||||
`name`, `namespace`, `labels`, and `annotations` metadata fields are of special
|
||||
significance and have reserved purposes and distinct shapes.
|
||||
|
||||
@@ -87,23 +87,23 @@ The `kind` is the high level entity type being described, typically from the
|
||||
[Backstage system model](https://github.com/backstage/backstage/issues/390). The
|
||||
first versions of the catalog will focus on the `Component` kind.
|
||||
|
||||
The `apiVersion`is the version of specification format for that particular
|
||||
The `apiVersion` is the version of the specification format for that particular
|
||||
entity that this file is written against. The version is used for being able to
|
||||
evolve the format, and the tuple of `apiVersion` and `kind` should be enough for
|
||||
a parser to know how to interpret the contents of the rest of the document.
|
||||
|
||||
Backstage specific entities have an `apiVersion` that is prefixed with
|
||||
`backstage.io/`, to distinguish them from other types of object that share the
|
||||
`backstage.io/`, to distinguish them from other types of objects that share the
|
||||
same type of structure. This may be relevant when co-hosting these
|
||||
specifications with e.g. kubernetes object manifests.
|
||||
specifications with, e.g., Kubernetes object manifests.
|
||||
|
||||
Early versions of the catalog will be using alpha/beta versions, e.g.
|
||||
`backstage.io/v1alpha1`, to signal that the format may still change. After that,
|
||||
Early versions of the catalog will be using alpha/beta versions, e.g.,
|
||||
`backstage.io/v1alpha1` to signal that the format may still change. After that,
|
||||
we will be using `backstage.io/v1` and up.
|
||||
|
||||
### `metadata`
|
||||
|
||||
A structure that contains metadata about the entity, i.e. things that aren't
|
||||
A structure that contains metadata about the entity, i.e., things that aren't
|
||||
directly part of the entity specification itself. See below for more details
|
||||
about this structure.
|
||||
|
||||
@@ -142,40 +142,40 @@ Example: `visits-tracking-service`, `CircleciBuildsDs_avro_gcs`
|
||||
|
||||
### `namespace`
|
||||
|
||||
The `name` of a namespace that the entity belongs to. This field is optional,
|
||||
The `name` of a namespace that the entity belongs to. This field is optional
|
||||
and currently has no special semantics apart from bounding the name uniqueness
|
||||
constraint if specified. It is reserved for future use and may get broader
|
||||
semantic implication.
|
||||
|
||||
Namespaces may also be part of the catalog, and are `v1` / `Namespace` entities,
|
||||
i.e. not Backstage specific but the same as in Kubernetes.
|
||||
Namespaces may also be part of the catalog and are `v1` / `Namespace` entities,
|
||||
i.e., not Backstage specific but the same as in Kubernetes.
|
||||
|
||||
### `description`
|
||||
|
||||
A human readable description of the entity, to be shown in Backstage. Should be
|
||||
A human readable description of the entity to be shown in Backstage. Should be
|
||||
kept short and informative, suitable to give an overview of the entity's purpose
|
||||
at a glance. More detailed explanations and documentation should be placed
|
||||
elsewhere.
|
||||
|
||||
### `labels`
|
||||
|
||||
Labels are optional key/value pairs of that are attached to the entity, and
|
||||
Labels are optional key/value pairs that are attached to the entity, and
|
||||
their use is identical to
|
||||
[kubernetes object labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/).
|
||||
|
||||
Their main purpose is for references to other entities, and for information that
|
||||
Their main purpose is for references to other entities and for information that
|
||||
is in one way or another classifying for the current entity. They are often used
|
||||
as values in queries or filters.
|
||||
|
||||
Both the key and the value are strings, subject to the following restrictions.
|
||||
|
||||
Keys have an optional prefix followed by a slash, and then the name part which
|
||||
Keys have an optional prefix followed by a slash, and then the name part, which
|
||||
is required. The prefix must be a valid lowercase domain name, at most 253
|
||||
characters in total. The name part must be sequences of `[a-zA-Z0-9]` separated
|
||||
by any of `[-_.]`, at most 63 characters in total.
|
||||
|
||||
The `backstage.io/` prefix is reserved for use by Backstage core components.
|
||||
Some keys such as `system` also have predefined semantics.
|
||||
Some keys, such as `system` also have predefined semantics.
|
||||
|
||||
Values are strings that follow the same restrictions as `name` above.
|
||||
|
||||
@@ -186,19 +186,19 @@ identical in use to
|
||||
[kubernetes object annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/).
|
||||
|
||||
Their purpose is mainly, but not limited, to reference into external systems.
|
||||
This could for example be a reference to the git ref the entity was ingested
|
||||
This could, for example, be a reference to the git ref the entity was ingested
|
||||
from, to monitoring and logging systems, to pagerduty schedules, etc.
|
||||
|
||||
Both the key and the value are strings, subject to the following restrictions.
|
||||
|
||||
Keys have an optional prefix followed by a slash, and then the name part which
|
||||
Keys have an optional prefix followed by a slash, and then the name part, which
|
||||
is required. The prefix must be a valid lowercase domain name, at most 253
|
||||
characters in total. The name part must be sequences of `[a-zA-Z0-9]` separated
|
||||
by any of `[-_.]`, at most 63 characters in total.
|
||||
|
||||
The `backstage.io/` prefix is reserved for use by Backstage core components.
|
||||
|
||||
Values can be of any length, but are limited to being strings.
|
||||
Values can be of any length but are limited to being strings.
|
||||
|
||||
## Component
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ thing well". The module would be consumed
|
||||
structure.
|
||||
|
||||
Now, `ESModules` are the primary authoring format. They have numerous benefits,
|
||||
such as compile-time verification of exports, and standards-defined semantics.
|
||||
such as compile-time verification of exports and standards-defined semantics.
|
||||
They have a similar mechanism known as "default exports", which allows for a
|
||||
consumer to `import localName from 'the-module';`. This is implicitly the same
|
||||
as `import { default as localName } from 'the-module';`.
|
||||
@@ -43,8 +43,8 @@ A summary:
|
||||
Using named exports helps prevent needing to rename symbols, which has myriad
|
||||
benefits. A few are:
|
||||
|
||||
- IDE tools like "Find All References" and "Go To Definition" function
|
||||
- Manual codebase searching ("grep", etc) is easier with a unique symbol
|
||||
- IDE tools like "Find All References" and the "Go To Definition" function.
|
||||
- Manual codebase searching ("grep", etc) is easier with a unique symbol.
|
||||
|
||||
## Decision
|
||||
|
||||
|
||||
@@ -45,8 +45,8 @@ Of these, only `name` is always required. Optionality of `kind` and `namespace`
|
||||
are contextual, and they may or may not have default contextual fallback values.
|
||||
All other possible key values in this structure are reserved for future use.
|
||||
|
||||
A system or user wanting to express a full entity name that is always valid,
|
||||
shall supply the entire triplet whether using the string form or the compound
|
||||
A system or user wanting to express a full entity name that is always valid
|
||||
shall supply the entire triplet, whether using the string form or the compound
|
||||
form.
|
||||
|
||||
A full description of the format can be found
|
||||
@@ -62,7 +62,7 @@ containing the reference shall take the following form:
|
||||
```
|
||||
|
||||
All three parts are required under all circumstances. The default value for the
|
||||
`namespace` in the catalog is the string `"default"`, if the entity does not
|
||||
`namespace` in the catalog is the string `"default"` if the entity does not
|
||||
specify one explicitly in `metadata.namespace`.
|
||||
|
||||
This means that we do not encourage the string form of entity references to be
|
||||
|
||||
@@ -46,8 +46,7 @@ yarn install --immutable
|
||||
yarn tsc
|
||||
|
||||
# Build the backend, which bundles it all up into the packages/backend/dist folder.
|
||||
# The configuration files here should match the one you use inside the Dockerfile below.
|
||||
yarn build:backend --config ../../app-config.yaml --config ../../app-config.production.yaml
|
||||
yarn build:backend
|
||||
```
|
||||
|
||||
Once the host build is complete, we are ready to build our image. The following
|
||||
|
||||
@@ -17,6 +17,9 @@ The following is a full example entry in `app-config.yaml`:
|
||||
|
||||
```yaml
|
||||
kubernetes:
|
||||
frontend:
|
||||
podDelete:
|
||||
enabled: true
|
||||
serviceLocatorMethod:
|
||||
type: 'multiTenant'
|
||||
clusterLocatorMethods:
|
||||
@@ -48,6 +51,55 @@ kubernetes:
|
||||
exposeDashboard: true
|
||||
```
|
||||
|
||||
### `frontend` (optional)
|
||||
|
||||
This is an array used to configure some frontend features.
|
||||
|
||||
Valid values are:
|
||||
|
||||
- `podDelete`
|
||||
|
||||
#### `podDelete` (optional)
|
||||
|
||||
This configures the behavior of the delete pod button in the container panel.
|
||||
|
||||
Valid configurations are:
|
||||
|
||||
- `enabled`
|
||||
|
||||
##### `enabled`
|
||||
|
||||
This configuration controls the visibility of this feature.
|
||||
|
||||
Valid values are:
|
||||
|
||||
- `true`
|
||||
- `false`
|
||||
|
||||
The default value is `false`.
|
||||
|
||||
#### Internationalization
|
||||
|
||||
To customize or translate the **Delete Pod** text, use the following approach:
|
||||
|
||||
```js
|
||||
import { createTranslationMessages } from '@backstage/core-plugin-api/alpha';
|
||||
import { kubernetesReactTranslationRef } from '@backstage/plugin-kubernetes-react/alpha';
|
||||
|
||||
const app = createApp({
|
||||
__experimentalTranslations: {
|
||||
resources: [
|
||||
createTranslationMessages({
|
||||
ref: kubernetesReactTranslationRef,
|
||||
messages: {
|
||||
"podDrawer.buttons.delete": 'Restart Pod'
|
||||
}
|
||||
})
|
||||
]
|
||||
},
|
||||
...
|
||||
```
|
||||
|
||||
### `serviceLocatorMethod`
|
||||
|
||||
This configures how to determine which clusters a component is running in.
|
||||
|
||||
@@ -204,7 +204,8 @@ It can be configured with the `stitchingStrategy` app-config parameter.
|
||||
|
||||
```yaml title="app-config.yaml"
|
||||
catalog:
|
||||
stitchingStrategy: immediate
|
||||
stitchingStrategy:
|
||||
mode: immediate
|
||||
```
|
||||
|
||||
For the `deferred` mode you can set up additional parameters to further tune the process,
|
||||
@@ -217,9 +218,10 @@ These parameters accept a duration object, similar to the `processingInterval` p
|
||||
|
||||
```yaml title="app-config.yaml"
|
||||
catalog:
|
||||
stitchingStrategy: deferred
|
||||
pollingInterval: { seconds: 1 }
|
||||
stitchTimeout: { minutes: 1 };
|
||||
stitchingStrategy:
|
||||
mode: deferred
|
||||
pollingInterval: { seconds: 1 }
|
||||
stitchTimeout: { minutes: 1 };
|
||||
```
|
||||
|
||||
## Subscribing to Catalog Errors
|
||||
|
||||
@@ -33,6 +33,9 @@ import React from 'react';
|
||||
import { FieldExtensionComponentProps } from '@backstage/plugin-scaffolder-react';
|
||||
import type { FieldValidation } from '@rjsf/utils';
|
||||
import FormControl from '@material-ui/core/FormControl';
|
||||
import FormHelperText from '@material-ui/core/FormHelperText';
|
||||
import Input from '@material-ui/core/Input';
|
||||
import InputLabel from '@material-ui/core/InputLabel';
|
||||
/*
|
||||
This is the actual component that will get rendered in the form
|
||||
*/
|
||||
|
||||
@@ -714,7 +714,7 @@ how to use them in the Scaffolder templates. It's important to mention that Back
|
||||
native filters from the Nunjucks library. For a complete list of these native filters and their usage,
|
||||
refer to the [Nunjucks documentation](https://mozilla.github.io/nunjucks/templating.html#builtin-filters).
|
||||
|
||||
To create your own custom filters, look to the section [Custom Filters](#custom-filters) hereafter.
|
||||
To create your own custom filters, look to the section [Custom Filters and Globals](#custom-filters-and-globals) hereafter.
|
||||
|
||||
### parseRepoUrl
|
||||
|
||||
|
||||
@@ -600,7 +600,7 @@ Note: To refer external diagram files, we need to include the diagrams directory
|
||||
|
||||
## How to add Mermaid support in TechDocs
|
||||
|
||||
There are two options for adding Mermaid support in TechDocs: using [Kroki](https://kroki.io) or by using [markdown-inline-mermaid](https://github.com/johanneswuerbach/markdown-inline-mermaid). We currently use `markdown-inline-mermaid` for the [Mermaid example on the Demo site](https://demo.backstage.io/docs/default/component/backstage-demo/examples/mermaid/).
|
||||
There are a few options for adding Mermaid support in TechDocs: using [Kroki](https://kroki.io) or [markdown-inline-mermaid](https://github.com/johanneswuerbach/markdown-inline-mermaid) to generate the diagrams at build time, or the [`backstage-plugin-techdocs-addon-mermaid`](https://github.com/johanneswuerbach/backstage-plugin-techdocs-addon-mermaid) plugin to generate the diagram in the browser. We currently use `backstage-plugin-techdocs-addon-mermaid` plugin for the [Mermaid example on the Demo site](https://demo.backstage.io/docs/default/component/backstage-demo/examples/mermaid/).
|
||||
|
||||
### Using Kroki
|
||||
|
||||
@@ -706,16 +706,23 @@ Done! Now you have a support of the following diagrams along with mermaid:
|
||||
|
||||
To use `markdown-inline-mermaid` to generate your Mermaid diagrams in TechDocs you'll need to do the following:
|
||||
|
||||
1. In your Dockerfile you will need to make sure you install `markdown-inline-mermaid` like this: `RUN pip3 install mkdocs-techdocs-core markdown-inline-mermaid`
|
||||
2. You will also need to install the `@mermaid-js/mermaid-cli`, to do that add this: `RUN yarn global add @mermaid-js/mermaid-cli`
|
||||
3. Now in your `mkdocs.yml` file you will need to add the following section (this is at the root level like `plugins` which you should already have):
|
||||
1. In your Dockerfile you will need to make sure you install `markdown-inline-mermaid` and its dependencies, you will also need to install the `@mermaid-js/mermaid-cli`:
|
||||
|
||||
```dockerfile title="Dockerfile"
|
||||
RUN apt-get install -y chromium
|
||||
RUN pip3 install mkdocs-techdocs-core markdown-inline-mermaid
|
||||
RUN npm install -g @mermaid-js/mermaid-cli
|
||||
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
|
||||
```
|
||||
|
||||
2. Now in your `mkdocs.yml` file you will need to add the following section (this is at the root level like `plugins` which you should already have):
|
||||
|
||||
```yaml title="mkdocs.yml"
|
||||
markdown_extensions:
|
||||
- markdown_inline_mermaid
|
||||
```
|
||||
|
||||
4. With this in place you can now add Mermaid diagrams in your Markdown files like this:
|
||||
3. With this in place you can now add Mermaid diagrams in your Markdown files like this:
|
||||
|
||||
````md
|
||||
```mermaid
|
||||
@@ -726,6 +733,10 @@ To use `markdown-inline-mermaid` to generate your Mermaid diagrams in TechDocs y
|
||||
```
|
||||
````
|
||||
|
||||
### Using the `backstage-plugin-techdocs-addon-mermaid` plugin
|
||||
|
||||
Please follow the [Getting Started](https://github.com/johanneswuerbach/backstage-plugin-techdocs-addon-mermaid?tab=readme-ov-file#getting-started) instructions in the plugin's README.
|
||||
|
||||
## How to implement a hybrid build strategy
|
||||
|
||||
One limitation of the [Recommended deployment](./architecture.md#recommended-deployment) is that
|
||||
|
||||
@@ -30,7 +30,7 @@ This guide assumes a basic understanding of working on a Linux based operating s
|
||||
On macOS, you will want to have run `xcode-select --install` to get the XCode command line build tooling in place.
|
||||
- An account with elevated rights to install the dependencies
|
||||
- `curl` or `wget` installed
|
||||
- Node.js [Active LTS Release](https://nodejs.org/en/about/previous-releases) installed using one of these
|
||||
- Node.js [Active LTS Release](../overview/versioning-policy.md#nodejs-releases) installed using one of these
|
||||
methods:
|
||||
- Using `nvm` (recommended)
|
||||
- [Installing nvm](https://github.com/nvm-sh/nvm#install--update-script)
|
||||
@@ -143,16 +143,18 @@ Choose the correct next steps for your user role, if you're likely to be deployi
|
||||
|
||||
### Admin
|
||||
|
||||
- Deploying a production server
|
||||
- Deploying to production
|
||||
|
||||
- [Setting up authentication](./config/authentication.md)
|
||||
- [Configuring a database](./config/database.md)
|
||||
- [Deploying with Docker](../deployment/docker.md)
|
||||
- [Deploying with Kubernetes](../deployment/k8s.md)
|
||||
- [Deploying with AWS Lightsail](../deployment/backstage-deploy/aws.md)
|
||||
|
||||
- Configuring Backstage
|
||||
- [Database](./config/database.md)
|
||||
- [Authentication](./config/authentication.md)
|
||||
- [Plugins](./configure-app-with-plugins.md)
|
||||
- [Theme](./app-custom-theme.md)
|
||||
- [Homepage](./homepage.md)
|
||||
|
||||
- [Adding plugins](./configure-app-with-plugins.md)
|
||||
- [Customizing the theme](./app-custom-theme.md)
|
||||
- [Populating the homepage](./homepage.md)
|
||||
|
||||
### Developer
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
id: discovery
|
||||
id: discovery--old
|
||||
title: Bitbucket Server Discovery
|
||||
sidebar_label: Discovery
|
||||
# prettier-ignore
|
||||
|
||||
@@ -177,6 +177,8 @@ When we say _Supporting_ a Node.js release, that means the following:
|
||||
- New Backstage projects created with `@backstage/create-app` will have their `engines.node` version set accordingly.
|
||||
- Dropping compatibility with unsupported releases is not considered a breaking change. This includes using new syntax or APIs, as well as bumping dependencies that drop support for these versions.
|
||||
|
||||
Based on the above Backstage supports Node.js 20 and 22 as of the `1.33.0` release.
|
||||
|
||||
## TypeScript Releases
|
||||
|
||||
The Backstage project uses [TypeScript](https://www.typescriptlang.org/) for type checking within the project, as well as external APIs and documentation. It is important to have a clear policy for which TypeScript versions we support, since we want to be able to adopt new TypeScript features, but at the same time not break existing projects that are using older versions.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -92,9 +92,11 @@ Usage: backstage-cli repo lint [options]
|
||||
Lint all packages in the project
|
||||
|
||||
Options:
|
||||
--format <format> Lint report output format (default: "eslint-formatter-friendly")
|
||||
--since <ref> Only lint packages that changed since the specified ref
|
||||
--fix Attempt to automatically fix violations
|
||||
--format <format> Lint report output format (default: "eslint-formatter-friendly")
|
||||
--since <ref> Only lint packages that changed since the specified ref
|
||||
--successCache Enable success caching, which skips running tests for unchanged packages that were successful in the previous run
|
||||
--successCacheDir <path> Set the success cache location, (default: node_modules/.cache/backstage-cli)
|
||||
--fix Attempt to automatically fix violations
|
||||
```
|
||||
|
||||
## repo test
|
||||
@@ -185,8 +187,9 @@ Usage: backstage-cli package lint [options]
|
||||
Lint a package
|
||||
|
||||
Options:
|
||||
--format <format> Lint report output format (default: "eslint-formatter-friendly")
|
||||
--fix Attempt to automatically fix violations
|
||||
--format <format> Lint report output format (default: "eslint-formatter-friendly")
|
||||
--fix Attempt to automatically fix violations
|
||||
--max-warnings <number> Fail if more than this number of warnings. -1 allows warnings. (default: 0)
|
||||
```
|
||||
|
||||
## package test
|
||||
|
||||
@@ -66,6 +66,14 @@ You can now start your Backstage instance as usual, using `yarn dev`.
|
||||
|
||||
## Production Setup
|
||||
|
||||
In your `.dockerignore`, add this line:
|
||||
|
||||
```
|
||||
!packages/backend/src/instrumentation.js
|
||||
```
|
||||
|
||||
This ensures that Docker build will not ignore the instrumentation file if you are following the recommended `.dockerignore` setup.
|
||||
|
||||
In your `Dockerfile`, copy `instrumentation.js` file into the root of the working directory.
|
||||
|
||||
```Dockerfile
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: Daytona
|
||||
author: Daytona
|
||||
authorUrl: https://www.daytona.io/
|
||||
category: Development
|
||||
description: Open Source Development Environment Manager
|
||||
documentation: https://github.com/daytonaio/backstage-plugins/tree/main/plugins/daytona
|
||||
iconUrl: /img/daytona.svg
|
||||
npmPackageName: '@daytonaio/backstage-plugin-daytona'
|
||||
tags:
|
||||
- Development
|
||||
- Tools
|
||||
- Productivity
|
||||
addedDate: '2024-11-02'
|
||||
@@ -0,0 +1,62 @@
|
||||
<svg
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 211 220"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<rect
|
||||
x="11.1428"
|
||||
y="149.025"
|
||||
width="76.2474"
|
||||
height="26.1421"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<rect
|
||||
x="113.522"
|
||||
y="57.5287"
|
||||
width="87.1399"
|
||||
height="26.1421"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<rect
|
||||
width="91.4971"
|
||||
height="26.142"
|
||||
transform="matrix(0.707105 -0.707108 0.707105 0.707108 67.7737 65.5858)"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<rect
|
||||
width="70.2691"
|
||||
height="26.142"
|
||||
transform="matrix(-0.707105 -0.707108 -0.707105 0.707108 68.1729 130.941)"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<rect
|
||||
width="74.0691"
|
||||
height="26.142"
|
||||
transform="matrix(-0.707105 0.707108 -0.707105 -0.707108 133.532 167.511)"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<rect
|
||||
width="82.7831"
|
||||
height="26.142"
|
||||
transform="matrix(0.707105 0.707108 0.707105 -0.707108 133.133 102.156)"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<rect
|
||||
x="67.7737"
|
||||
y="37.9226"
|
||||
width="63.1767"
|
||||
height="26.142"
|
||||
transform="rotate(90 67.7737 37.9226)"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<rect
|
||||
x="159.278"
|
||||
y="129.419"
|
||||
width="78.4262"
|
||||
height="26.142"
|
||||
transform="rotate(90 159.278 129.419)"
|
||||
fill="currentColor"
|
||||
/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
+59
-59
@@ -2256,14 +2256,14 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"@mdx-js/react@npm:^3.0.0":
|
||||
version: 3.0.1
|
||||
resolution: "@mdx-js/react@npm:3.0.1"
|
||||
version: 3.1.0
|
||||
resolution: "@mdx-js/react@npm:3.1.0"
|
||||
dependencies:
|
||||
"@types/mdx": ^2.0.0
|
||||
peerDependencies:
|
||||
"@types/react": ">=16"
|
||||
react: ">=16"
|
||||
checksum: 1063a597264f6a8840aa13274a99beef8983a88dd45b0c5b8e48e6216bc23d33e247da8e2d95d6e1874483f8b4e0903b166ce5046874aa7ffa2b1333057dcddf
|
||||
checksum: c5a9c495f43f498ece24a768762a1743abe2be33d050d7eab731beb754e631700547f039198c6262c998d9a443906bd78811c3fa38bc2fb37659848161dac331
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2861,92 +2861,92 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-darwin-arm64@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-darwin-arm64@npm:1.8.0"
|
||||
"@swc/core-darwin-arm64@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-darwin-arm64@npm:1.9.2"
|
||||
conditions: os=darwin & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-darwin-x64@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-darwin-x64@npm:1.8.0"
|
||||
"@swc/core-darwin-x64@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-darwin-x64@npm:1.9.2"
|
||||
conditions: os=darwin & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-linux-arm-gnueabihf@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.8.0"
|
||||
"@swc/core-linux-arm-gnueabihf@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.9.2"
|
||||
conditions: os=linux & cpu=arm
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-linux-arm64-gnu@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-linux-arm64-gnu@npm:1.8.0"
|
||||
"@swc/core-linux-arm64-gnu@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-linux-arm64-gnu@npm:1.9.2"
|
||||
conditions: os=linux & cpu=arm64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-linux-arm64-musl@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-linux-arm64-musl@npm:1.8.0"
|
||||
"@swc/core-linux-arm64-musl@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-linux-arm64-musl@npm:1.9.2"
|
||||
conditions: os=linux & cpu=arm64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-linux-x64-gnu@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-linux-x64-gnu@npm:1.8.0"
|
||||
"@swc/core-linux-x64-gnu@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-linux-x64-gnu@npm:1.9.2"
|
||||
conditions: os=linux & cpu=x64 & libc=glibc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-linux-x64-musl@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-linux-x64-musl@npm:1.8.0"
|
||||
"@swc/core-linux-x64-musl@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-linux-x64-musl@npm:1.9.2"
|
||||
conditions: os=linux & cpu=x64 & libc=musl
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-win32-arm64-msvc@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-win32-arm64-msvc@npm:1.8.0"
|
||||
"@swc/core-win32-arm64-msvc@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-win32-arm64-msvc@npm:1.9.2"
|
||||
conditions: os=win32 & cpu=arm64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-win32-ia32-msvc@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-win32-ia32-msvc@npm:1.8.0"
|
||||
"@swc/core-win32-ia32-msvc@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-win32-ia32-msvc@npm:1.9.2"
|
||||
conditions: os=win32 & cpu=ia32
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core-win32-x64-msvc@npm:1.8.0":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core-win32-x64-msvc@npm:1.8.0"
|
||||
"@swc/core-win32-x64-msvc@npm:1.9.2":
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core-win32-x64-msvc@npm:1.9.2"
|
||||
conditions: os=win32 & cpu=x64
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/core@npm:^1.3.46, @swc/core@npm:^1.7.39":
|
||||
version: 1.8.0
|
||||
resolution: "@swc/core@npm:1.8.0"
|
||||
version: 1.9.2
|
||||
resolution: "@swc/core@npm:1.9.2"
|
||||
dependencies:
|
||||
"@swc/core-darwin-arm64": 1.8.0
|
||||
"@swc/core-darwin-x64": 1.8.0
|
||||
"@swc/core-linux-arm-gnueabihf": 1.8.0
|
||||
"@swc/core-linux-arm64-gnu": 1.8.0
|
||||
"@swc/core-linux-arm64-musl": 1.8.0
|
||||
"@swc/core-linux-x64-gnu": 1.8.0
|
||||
"@swc/core-linux-x64-musl": 1.8.0
|
||||
"@swc/core-win32-arm64-msvc": 1.8.0
|
||||
"@swc/core-win32-ia32-msvc": 1.8.0
|
||||
"@swc/core-win32-x64-msvc": 1.8.0
|
||||
"@swc/core-darwin-arm64": 1.9.2
|
||||
"@swc/core-darwin-x64": 1.9.2
|
||||
"@swc/core-linux-arm-gnueabihf": 1.9.2
|
||||
"@swc/core-linux-arm64-gnu": 1.9.2
|
||||
"@swc/core-linux-arm64-musl": 1.9.2
|
||||
"@swc/core-linux-x64-gnu": 1.9.2
|
||||
"@swc/core-linux-x64-musl": 1.9.2
|
||||
"@swc/core-win32-arm64-msvc": 1.9.2
|
||||
"@swc/core-win32-ia32-msvc": 1.9.2
|
||||
"@swc/core-win32-x64-msvc": 1.9.2
|
||||
"@swc/counter": ^0.1.3
|
||||
"@swc/types": ^0.1.14
|
||||
"@swc/types": ^0.1.15
|
||||
peerDependencies:
|
||||
"@swc/helpers": "*"
|
||||
dependenciesMeta:
|
||||
@@ -2973,7 +2973,7 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
"@swc/helpers":
|
||||
optional: true
|
||||
checksum: 8b62e6399943ef930cd32dd4e34de475baa62be7873ee0d4f89a1c4784e441df1373d9df6dda1c00203cda9907af347329e32874059ff00bed004de1cfc373a1
|
||||
checksum: 325afca1473e371804cc420d096553a0c6b19d01296b46b23e3b75a797c8b139c712ad79bc5c876cfc6d7bd6d60014a9f81286a2e888e94f0dec70903893f0b6
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -3094,12 +3094,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@swc/types@npm:^0.1.14":
|
||||
version: 0.1.14
|
||||
resolution: "@swc/types@npm:0.1.14"
|
||||
"@swc/types@npm:^0.1.15":
|
||||
version: 0.1.15
|
||||
resolution: "@swc/types@npm:0.1.15"
|
||||
dependencies:
|
||||
"@swc/counter": ^0.1.3
|
||||
checksum: d7f198e1a07f4dbcff62a9823dfa81703e0029a908a02f9e9bfb9f18bc259c05b780f3385d36ec220e86a107dd6908f96bdc50319699bd34bf04b01d9adb5d5b
|
||||
checksum: 19889eed42d28f5dcef7c16f3b0cf4375890984b106aca46d9455d1f5ba364156d206a8e1f73962718ee408ff9e460b84aaa79025bf8dc30e0d6ded471e1e2d2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -6998,10 +6998,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"immutable@npm:^4.0.0":
|
||||
version: 4.2.2
|
||||
resolution: "immutable@npm:4.2.2"
|
||||
checksum: 4d6437ea9388fe8ceca7eed5c768cf438cda7fa14d2831b87b90aa00cc60d536964d107c255b8a2e5dbf4f44a0e1295afbb9d1f0a65fb4f57b936e71df601862
|
||||
"immutable@npm:^5.0.2":
|
||||
version: 5.0.2
|
||||
resolution: "immutable@npm:5.0.2"
|
||||
checksum: 4adbd70580c78fafa7e367473e4f307f78f6768372ef464d45ba55f670b7f61d92c71461da571d80011544b61416d3dee0132736d9b592f33dcfa86e43bdd8f1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -10857,19 +10857,19 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"sass@npm:^1.57.1":
|
||||
version: 1.80.6
|
||||
resolution: "sass@npm:1.80.6"
|
||||
version: 1.81.0
|
||||
resolution: "sass@npm:1.81.0"
|
||||
dependencies:
|
||||
"@parcel/watcher": ^2.4.1
|
||||
chokidar: ^4.0.0
|
||||
immutable: ^4.0.0
|
||||
immutable: ^5.0.2
|
||||
source-map-js: ">=0.6.2 <2.0.0"
|
||||
dependenciesMeta:
|
||||
"@parcel/watcher":
|
||||
optional: true
|
||||
bin:
|
||||
sass: sass.js
|
||||
checksum: 1a81e0fe093ff9109228b5dc1ea2ad64d3fb0e266d968e664a52aca059dd448fbe9a90d9a5a7518e5f31fd1087149ea349bf6fe1271ab15075b7a145c1bea0c9
|
||||
checksum: 93db5b342c3b0449af2b08123ed4c0793643bd3a30f78e4e0686a1aa991ad640e0d9bc8da09aa5d7ff313bbd317b3be9c827cca60fb33b07d9f4b14b001eccfe
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
@@ -5,6 +5,9 @@ edit_uri: edit/master/docs
|
||||
|
||||
plugins:
|
||||
- techdocs-core
|
||||
- redirects:
|
||||
redirect_maps:
|
||||
'index.md': 'overview/what-is-backstage.md'
|
||||
|
||||
# For sidebar navigation on https://backstage.io/, see `microsite/sidebars.js`
|
||||
nav:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "root",
|
||||
"version": "1.33.0-next.2",
|
||||
"version": "1.33.0-next.3",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/app-defaults
|
||||
|
||||
## 1.5.13-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.16.0-next.2
|
||||
- @backstage/core-app-api@1.15.1
|
||||
- @backstage/core-plugin-api@1.10.0
|
||||
- @backstage/theme@0.6.1-next.0
|
||||
- @backstage/plugin-permission-react@0.4.27
|
||||
|
||||
## 1.5.13-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/app-defaults",
|
||||
"version": "1.5.13-next.1",
|
||||
"version": "1.5.13-next.2",
|
||||
"description": "Provides the default wiring of a Backstage App",
|
||||
"backstage": {
|
||||
"role": "web-library"
|
||||
|
||||
@@ -86,7 +86,7 @@ export type OptionalAppOptions = {
|
||||
/**
|
||||
* A set of components to override the default components with.
|
||||
*
|
||||
* The override is applied for each icon individually.
|
||||
* The override is applied for each app component individually.
|
||||
*
|
||||
* @public
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# app-next-example-plugin
|
||||
|
||||
## 0.0.17-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.16.0-next.2
|
||||
- @backstage/frontend-plugin-api@0.9.1-next.2
|
||||
|
||||
## 0.0.17-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "app-next-example-plugin",
|
||||
"version": "0.0.17-next.1",
|
||||
"version": "0.0.17-next.2",
|
||||
"description": "Backstage internal example plugin",
|
||||
"backstage": {
|
||||
"role": "frontend-plugin",
|
||||
|
||||
@@ -1,5 +1,50 @@
|
||||
# example-app-next
|
||||
|
||||
## 0.0.17-next.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-catalog@1.25.0-next.3
|
||||
- @backstage/cli@0.29.0-next.3
|
||||
- @backstage/plugin-search@1.4.19-next.3
|
||||
- @backstage/plugin-techdocs@1.11.1-next.3
|
||||
- @backstage/plugin-scaffolder-react@1.14.0-next.3
|
||||
- @backstage/plugin-scaffolder@1.27.0-next.3
|
||||
- @backstage/core-components@0.16.0-next.2
|
||||
- @backstage/plugin-catalog-react@1.14.1-next.3
|
||||
- @backstage/core-compat-api@0.3.2-next.2
|
||||
- @backstage/plugin-api-docs@0.11.12-next.3
|
||||
- @backstage/plugin-catalog-graph@0.4.12-next.3
|
||||
- @backstage/plugin-catalog-import@0.12.6-next.3
|
||||
- @backstage/plugin-org@0.6.32-next.3
|
||||
- @backstage/plugin-user-settings@0.8.15-next.3
|
||||
- @backstage/app-defaults@1.5.13-next.2
|
||||
- @backstage/catalog-model@1.7.0
|
||||
- @backstage/config@1.2.0
|
||||
- @backstage/core-app-api@1.15.1
|
||||
- @backstage/core-plugin-api@1.10.0
|
||||
- @backstage/frontend-app-api@0.10.1-next.2
|
||||
- @backstage/frontend-defaults@0.1.2-next.2
|
||||
- @backstage/frontend-plugin-api@0.9.1-next.2
|
||||
- @backstage/integration-react@1.2.0
|
||||
- @backstage/theme@0.6.1-next.0
|
||||
- @backstage/plugin-app@0.1.2-next.2
|
||||
- @backstage/plugin-app-visualizer@0.1.12-next.3
|
||||
- @backstage/plugin-auth-react@0.1.8-next.2
|
||||
- @backstage/plugin-catalog-common@1.1.0
|
||||
- @backstage/plugin-catalog-unprocessed-entities@0.2.10-next.2
|
||||
- @backstage/plugin-home@0.8.1-next.3
|
||||
- @backstage/plugin-kubernetes@0.12.0-next.3
|
||||
- @backstage/plugin-kubernetes-cluster@0.0.18-next.3
|
||||
- @backstage/plugin-notifications@0.3.3-next.2
|
||||
- @backstage/plugin-permission-react@0.4.27
|
||||
- @backstage/plugin-search-common@1.2.14
|
||||
- @backstage/plugin-search-react@1.8.2-next.2
|
||||
- @backstage/plugin-signals@0.0.12-next.2
|
||||
- @backstage/plugin-techdocs-module-addons-contrib@1.1.17-next.2
|
||||
- @backstage/plugin-techdocs-react@1.2.10-next.2
|
||||
|
||||
## 0.0.17-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "example-app-next",
|
||||
"version": "0.0.17-next.2",
|
||||
"version": "0.0.17-next.3",
|
||||
"backstage": {
|
||||
"role": "frontend"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,46 @@
|
||||
# example-app
|
||||
|
||||
## 0.2.103-next.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/plugin-catalog@1.25.0-next.3
|
||||
- @backstage/cli@0.29.0-next.3
|
||||
- @backstage/plugin-search@1.4.19-next.3
|
||||
- @backstage/plugin-techdocs@1.11.1-next.3
|
||||
- @backstage/plugin-scaffolder-react@1.14.0-next.3
|
||||
- @backstage/plugin-scaffolder@1.27.0-next.3
|
||||
- @backstage/core-components@0.16.0-next.2
|
||||
- @backstage/plugin-catalog-react@1.14.1-next.3
|
||||
- @backstage/plugin-api-docs@0.11.12-next.3
|
||||
- @backstage/plugin-catalog-graph@0.4.12-next.3
|
||||
- @backstage/plugin-catalog-import@0.12.6-next.3
|
||||
- @backstage/plugin-org@0.6.32-next.3
|
||||
- @backstage/plugin-user-settings@0.8.15-next.3
|
||||
- @backstage/app-defaults@1.5.13-next.2
|
||||
- @backstage/catalog-model@1.7.0
|
||||
- @backstage/config@1.2.0
|
||||
- @backstage/core-app-api@1.15.1
|
||||
- @backstage/core-plugin-api@1.10.0
|
||||
- @backstage/frontend-app-api@0.10.1-next.2
|
||||
- @backstage/integration-react@1.2.0
|
||||
- @backstage/theme@0.6.1-next.0
|
||||
- @backstage/plugin-auth-react@0.1.8-next.2
|
||||
- @backstage/plugin-catalog-common@1.1.0
|
||||
- @backstage/plugin-catalog-unprocessed-entities@0.2.10-next.2
|
||||
- @backstage/plugin-devtools@0.1.20-next.2
|
||||
- @backstage/plugin-home@0.8.1-next.3
|
||||
- @backstage/plugin-kubernetes@0.12.0-next.3
|
||||
- @backstage/plugin-kubernetes-cluster@0.0.18-next.3
|
||||
- @backstage/plugin-notifications@0.3.3-next.2
|
||||
- @backstage/plugin-permission-react@0.4.27
|
||||
- @backstage/plugin-search-common@1.2.14
|
||||
- @backstage/plugin-search-react@1.8.2-next.2
|
||||
- @backstage/plugin-signals@0.0.12-next.2
|
||||
- @backstage/plugin-techdocs-module-addons-contrib@1.1.17-next.2
|
||||
- @backstage/plugin-techdocs-react@1.2.10-next.2
|
||||
|
||||
## 0.2.103-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "example-app",
|
||||
"version": "0.2.103-next.2",
|
||||
"version": "0.2.103-next.3",
|
||||
"backstage": {
|
||||
"role": "frontend"
|
||||
},
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { EntityLayout, catalogPlugin } from '@backstage/plugin-catalog';
|
||||
import {
|
||||
EntityProvider,
|
||||
starredEntitiesApiRef,
|
||||
MockStarredEntitiesApi,
|
||||
catalogApiRef,
|
||||
} from '@backstage/plugin-catalog-react';
|
||||
import { permissionApiRef } from '@backstage/plugin-permission-react';
|
||||
import {
|
||||
@@ -28,6 +28,7 @@ import {
|
||||
} from '@backstage/test-utils';
|
||||
import React from 'react';
|
||||
import { cicdContent } from './EntityPage';
|
||||
import { catalogApiMock } from '@backstage/plugin-catalog-react/testUtils';
|
||||
|
||||
describe('EntityPage Test', () => {
|
||||
const entity = {
|
||||
@@ -55,6 +56,7 @@ describe('EntityPage Test', () => {
|
||||
apis={[
|
||||
[starredEntitiesApiRef, new MockStarredEntitiesApi()],
|
||||
[permissionApiRef, mockApis.permission()],
|
||||
[catalogApiRef, catalogApiMock()],
|
||||
]}
|
||||
>
|
||||
<EntityProvider entity={entity}>
|
||||
|
||||
@@ -85,15 +85,14 @@ const customEntityFilterKind = ['Component', 'API', 'System'];
|
||||
|
||||
const EntityLayoutWrapper = (props: { children?: ReactNode }) => {
|
||||
return (
|
||||
<>
|
||||
<EntityLayout
|
||||
UNSTABLE_contextMenuOptions={{
|
||||
disableUnregister: 'visible',
|
||||
}}
|
||||
>
|
||||
{props.children}
|
||||
</EntityLayout>
|
||||
</>
|
||||
<EntityLayout
|
||||
parentEntityRelations={['partOf', 'memberOf', 'childOf']}
|
||||
UNSTABLE_contextMenuOptions={{
|
||||
disableUnregister: 'visible',
|
||||
}}
|
||||
>
|
||||
{props.children}
|
||||
</EntityLayout>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ const SearchPage = () => {
|
||||
{!isMobile && (
|
||||
<Grid item xs={3}>
|
||||
<SearchType.Accordion
|
||||
name="Result Type"
|
||||
name="Result type"
|
||||
defaultValue="software-catalog"
|
||||
showCounts
|
||||
types={[
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user