13075 Commits

Author SHA1 Message Date
dependabot[bot] c930715066 chore(deps): bump @kubernetes/client-node from 0.14.0 to 0.14.3
Bumps [@kubernetes/client-node](https://github.com/kubernetes-client/javascript) from 0.14.0 to 0.14.3.
- [Release notes](https://github.com/kubernetes-client/javascript/releases)
- [Changelog](https://github.com/kubernetes-client/javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes-client/javascript/compare/0.14.0...0.14.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 04:15:56 +00:00
dependabot[bot] 2a4ad54f77 chore(deps): bump y18n from 3.2.1 to 3.2.2
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 23:17:43 +00:00
Oliver Sand 1ce80ff022 Resolve issues with AsyncAPI rendering by updating @asyncapi/react-component to 0.23.0
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-28 12:55:50 +02:00
dependabot[bot] c04403f619 chore(deps): bump json-schema from 0.2.5 to 0.3.0
Bumps [json-schema](https://github.com/kriszyp/json-schema) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.5...v0.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 04:26:55 +00:00
dependabot[bot] d49c94f2f7 chore(deps): bump core-js from 3.8.3 to 3.11.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.8.3 to 3.11.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.11.0/packages/core-js)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 04:22:54 +00:00
dependabot[bot] 0265764749 chore(deps): bump eslint-plugin-jest from 24.1.5 to 24.3.6
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.5 to 24.3.6.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.5...v24.3.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 04:19:31 +00:00
Patrik Oldsberg 37af0bfa21 Merge pull request #5242 from backstage/mob/api-extractor
Add api-extractor to manage the public API of core packages
2021-04-27 23:18:40 +02:00
Patrik Oldsberg 153ee265e1 Merge pull request #5423 from backstage/dependabot/npm_and_yarn/graphql-codegen/typescript-1.22.0
chore(deps-dev): bump @graphql-codegen/typescript from 1.21.1 to 1.22.0
2021-04-27 10:26:09 +02:00
Fredrik Adelöw c4ce1ff90e Merge pull request #5486 from backstage/dependabot/npm_and_yarn/types/express-serve-static-core-4.17.19
chore(deps-dev): bump @types/express-serve-static-core from 4.17.18 to 4.17.19
2021-04-27 09:11:41 +02:00
Fredrik Adelöw 7687e409ec Merge pull request #5469 from backstage/dependabot/npm_and_yarn/types/supertest-2.0.11
chore(deps-dev): bump @types/supertest from 2.0.10 to 2.0.11
2021-04-27 09:11:14 +02:00
dependabot[bot] 111d30a8cb chore(deps-dev): bump @types/express-serve-static-core
Bumps [@types/express-serve-static-core](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express-serve-static-core) from 4.17.18 to 4.17.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express-serve-static-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 04:20:03 +00:00
Patrik Oldsberg f639a09f83 root: add api-extractor dependency and friends
Co-authored-by: Gustaf Räntilä <g.rantila@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:31 +02:00
Patrik Oldsberg 19a4dd7103 plugins: removed unused swr dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 16:00:09 +02:00
dependabot[bot] 7e5b73d733 chore(deps-dev): bump @types/supertest from 2.0.10 to 2.0.11
Bumps [@types/supertest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/supertest) from 2.0.10 to 2.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/supertest)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 04:34:56 +00:00
dependabot[bot] e363f6103e chore(deps): bump serialize-error from 8.0.1 to 8.1.0
Bumps [serialize-error](https://github.com/sindresorhus/serialize-error) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/sindresorhus/serialize-error/releases)
- [Commits](https://github.com/sindresorhus/serialize-error/compare/v8.0.1...v8.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-23 04:14:11 +00:00
Emma Indal b9b2b4b766 [Search] Lunr search engine support (#5290)
* add lunr package

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add search translator type and search engine interface

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* (wip) add support for lunr search engine

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* lunr search engine support

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up todo comments

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* typing and cleanups

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move lunr type package from dev deps to deps

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* check if documents exist to index

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* test fixup

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move LunrSearchEngine.ts to /engines and add tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update error message

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add comment to index rotation

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/types.ts

Signed-off-by: Fredrik Adelöw freben@gmail.com

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* use type assertion to specify more specific ConcreteLunrQuery type

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* consistent naming

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* change search engine to be parameter of constructor in indexBuilder

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* make engine required in router options and pass it through in createRouter used in standalone server

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* delete import

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add types to SearchQuery interface to make it possible to scope to specific index + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* handle case when a filter is added on a field that does not exist on all documents + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-04-22 15:03:10 +02:00
dependabot[bot] 0d9d875bc9 chore(deps-dev): bump @graphql-codegen/typescript from 1.21.1 to 1.22.0
Bumps [@graphql-codegen/typescript](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typescript) from 1.21.1 to 1.22.0.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/typescript/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/typescript@1.22.0/packages/plugins/typescript/typescript)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 04:33:43 +00:00
dependabot[bot] b9028d0f0c chore(deps-dev): bump @types/jest from 26.0.15 to 26.0.22
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.15 to 26.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 04:32:34 +00:00
Erik Engervall 440e3c2193 Merge remote-tracking branch 'origin/master' into erikengervall/plugin-release-manager-as-a-service 2021-04-21 21:11:02 +02:00
Marcus Eide 947e45cefd Add back @types/zen-observable
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-21 16:04:51 +02:00
Marcus Eide a097131d0d Use Observable from @backstage/core
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-21 15:28:08 +02:00
Fredrik Adelöw 87a82498b9 final fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 13:30:21 +02:00
alde 10f5e0c7ec fix error panels
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 12:58:18 +02:00
alde e7d2fb93f0 Create code-coverage plugin
In order to use this plugin, you must set the
`backstage.io/code-coverage` annotation on your entity.

```yaml
backstage.io/code-coverage: enabled
```

There's a feature to only include files that are in SCM in the coverage
report, this is helpful to not count generated files for example. To
enable this set the `backstage.io/code-coverage` annotation to
`scm-only`.

```yaml
backstage.io/code-coverage: scm-only
```

The backend plugin provides API endpoints for submitting code-coverage
reports. Currently jacoco and cobertura are supported. These reports
are normalized to a json format that is stored in the database.

```json
// curl -X POST -H "Content-Type:text/xml" -d @cobertura.xml "localhost:7000/api/code-coverage/Component/default/entity-name?coverageType=cobertura"
{
    "links": [
        {
            "href": "http://localhost:7000/api/code-coverage/Component/default/entity-name",
            "rel": "coverage"
        }
    ]
}
```

It also provides some additional API endpoints:
* Viewing the latest report
* Viewing a more condensed history of code coverage values
* Retrieving file contents from source-control, used by the UI

Provides a graph of code coverage change over time, as well as a file
view where you can see the highlighted lines.

Co-authored-by: nissayeva <natashaaay@gmail.com>
Signed-off-by: alde <r.dybeck@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 12:58:18 +02:00
Marcus Eide 4215634408 Dependencies
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-21 09:17:34 +02:00
Fredrik Adelöw b674805346 Merge pull request #5404 from backstage/dependabot/npm_and_yarn/types/yup-0.29.11
chore(deps): bump @types/yup from 0.29.8 to 0.29.11
2021-04-21 07:25:20 +02:00
dependabot[bot] d56c915b43 chore(deps): bump @types/yup from 0.29.8 to 0.29.11
Bumps [@types/yup](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yup) from 0.29.8 to 0.29.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yup)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-21 04:08:51 +00:00
dependabot[bot] fa1d892930 chore(deps-dev): bump @types/morgan from 1.9.1 to 1.9.2
Bumps [@types/morgan](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/morgan) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/morgan)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-21 04:05:50 +00:00
Fredrik Adelöw afeb0ef0e7 Merge pull request #5046 from backstage/dependabot/npm_and_yarn/helmet-4.4.1
chore(deps): bump helmet from 4.0.0 to 4.4.1
2021-04-20 22:11:31 +02:00
dependabot[bot] d367f63b53 chore(deps): bump helmet from 4.0.0 to 4.4.1
Bumps [helmet](https://github.com/helmetjs/helmet) from 4.0.0 to 4.4.1.
- [Release notes](https://github.com/helmetjs/helmet/releases)
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/helmetjs/helmet/compare/v4.0.0...v4.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 21:38:22 +02:00
Erik Engervall 725d09af25 Align @testing-library/react-hooks version with others'
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-20 15:39:59 +02:00
Marcus Eide 7812b6ac3c Add new shortcut plugin
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-20 15:07:18 +02:00
Erik Engervall eb62c0d497 Merge remote-tracking branch 'origin/master' into erikengervall/plugin-release-manager-as-a-service 2021-04-20 14:16:10 +02:00
Erik Engervall 546005f732 Add @testing-library/react-hooks devDep
Fix tests for Components that use hooks

Remove ReloadButton component

Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-20 13:23:36 +02:00
Patrik Oldsberg df8e6f1dc4 Merge pull request #5372 from backstage/mob/catalog-refactor
Initial iteration of the next software catalog
2021-04-20 11:44:44 +02:00
Erik Engervall 1e561c0645 Merge remote-tracking branch 'origin/master' into erikengervall/plugin-release-manager-as-a-service 2021-04-20 08:30:58 +02:00
dependabot[bot] 909eb5ecc6 chore(deps): bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 19:13:40 +00:00
dependabot[bot] 93ecfc111c chore(deps): bump jose from 1.28.0 to 1.28.1
Bumps [jose](https://github.com/panva/jose) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/panva/jose/releases)
- [Changelog](https://github.com/panva/jose/blob/v1.28.1/CHANGELOG.md)
- [Commits](https://github.com/panva/jose/compare/v1.28.0...v1.28.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 15:00:24 +00:00
Patrik Oldsberg d96f850cde Merge pull request #5370 from backstage/dependabot/npm_and_yarn/material-ui/core-4.11.3
chore(deps): bump @material-ui/core from 4.11.0 to 4.11.3
2021-04-19 11:13:26 +02:00
dependabot[bot] adfba5a503 chore(deps): bump @material-ui/core from 4.11.0 to 4.11.3
Bumps [@material-ui/core](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui) from 4.11.0 to 4.11.3.
- [Release notes](https://github.com/mui-org/material-ui/releases)
- [Changelog](https://github.com/mui-org/material-ui/blob/v4.11.3/CHANGELOG.md)
- [Commits](https://github.com/mui-org/material-ui/commits/v4.11.3/packages/material-ui)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 04:41:53 +00:00
dependabot[bot] 5496ff374f chore(deps): bump got from 11.8.0 to 11.8.2
Bumps [got](https://github.com/sindresorhus/got) from 11.8.0 to 11.8.2.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.0...v11.8.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 04:21:26 +00:00
Erik Engervall 61b20f011d Fix yarn.lock registry
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-16 18:42:48 +02:00
Erik Engervall f6393fb609 Merge remote-tracking branch 'origin/master' into erikengervall/plugin-release-manager-as-a-service 2021-04-16 16:21:04 +02:00
Erik Engervall 1f6b4a0bd6 Replace react-use-form with URL query params
Introduce RefetchContext instead of passing setRefresh throughout entire project

Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-16 16:17:44 +02:00
Fredrik Adelöw 799568cc8d Merge pull request #5301 from backstage/dependabot/npm_and_yarn/types/webpack-node-externals-2.5.1
chore(deps): bump @types/webpack-node-externals from 2.5.0 to 2.5.1
2021-04-16 15:16:43 +02:00
Erik Engervall eddea6f124 Merge remote-tracking branch 'origin/master' into erikengervall/plugin-release-manager-as-a-service 2021-04-16 09:58:22 +02:00
dependabot[bot] 25fb68e488 chore(deps): bump diff from 4.0.2 to 5.0.0
Bumps [diff](https://github.com/kpdecker/jsdiff) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/kpdecker/jsdiff/releases)
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](https://github.com/kpdecker/jsdiff/compare/v4.0.2...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-16 04:19:34 +00:00
Erik Engervall fae3f848e0 Normalize patch.createTempCommit
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-15 21:53:19 +02:00
dependabot[bot] 22f01501ca chore(deps): bump semver from 7.3.4 to 7.3.5
Bumps [semver](https://github.com/npm/node-semver) from 7.3.4 to 7.3.5.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.4...v7.3.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-15 04:19:38 +00:00
blam f4f9fd04aa bump(rjsf): bump core too
Signed-off-by: blam <ben@blam.sh>
2021-04-14 11:47:01 +02:00