Commit Graph

1215 Commits

Author SHA1 Message Date
dependabot[bot] 7c8a0c1b09 chore(deps-dev): bump @types/luxon from 1.26.0 to 1.26.5
Bumps [@types/luxon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/luxon) from 1.26.0 to 1.26.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/luxon)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 04:08:24 +00:00
Patrik Oldsberg 79935e2d44 Merge pull request #5505 from backstage/dependabot/npm_and_yarn/json-schema-0.3.0
chore(deps): bump json-schema from 0.2.5 to 0.3.0
2021-04-29 16:39:54 +02:00
Oliver Sand 5b2fc0e63b Merge pull request #5508 from SDA-SE/feat/fix-asyncapi
Resolve issues with AsyncAPI rendering
2021-04-29 13:12:08 +02:00
Patrik Oldsberg 58db025c7c Merge pull request #5503 from backstage/dependabot/npm_and_yarn/eslint-plugin-jest-24.3.6
chore(deps): bump eslint-plugin-jest from 24.1.5 to 24.3.6
2021-04-29 10:55:00 +02:00
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
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
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
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
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
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
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
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
Johan Haals 4ba6ed45e1 Add relations and stitcher class
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-04-14 10:47:11 +02:00
dependabot[bot] 78cad7589a chore(deps): bump @rjsf/material-ui from 2.4.1 to 2.5.1
Bumps [@rjsf/material-ui](https://github.com/rjsf-team/react-jsonschema-form) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/rjsf-team/react-jsonschema-form/releases)
- [Commits](https://github.com/rjsf-team/react-jsonschema-form/compare/v2.4.1...v2.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 04:15:33 +00:00
Ben Lambert 4df36765e5 Merge pull request #5269 from backstage/dependabot/npm_and_yarn/asyncapi/react-component-0.22.3
chore(deps): bump @asyncapi/react-component from 0.19.2 to 0.22.3
2021-04-13 11:55:21 +02:00
Ben Lambert a396587651 Merge pull request #5294 from RoadieHQ/chore-enable-new-roadie-plugins
Update roadie plugins to newer versions
2021-04-13 10:49:34 +02:00
dependabot[bot] 695d5534f5 chore(deps): bump @types/webpack-node-externals from 2.5.0 to 2.5.1
Bumps [@types/webpack-node-externals](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack-node-externals) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/webpack-node-externals)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 04:18:41 +00:00
dependabot[bot] ca324156b5 chore(deps): bump @babel/core from 7.12.9 to 7.13.15
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.9 to 7.13.15.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.15/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 14:24:18 +00:00
Jussi Hallila 77f13cb4ca Update roadie plugins to newer versions
* Enable plugins in entity page
* Change plugin imports to use new named exports

Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-04-12 15:19:42 +02:00
blam b49a525ab6 chore: add changeset
Signed-off-by: blam <ben@blam.sh>
2021-04-12 14:00:52 +02:00
David Tuite 26ae929a7b Upgrade @graphql-codeget/cli to latest
Signed-off-by: David Tuite <david@roadie.io>
2021-04-09 19:22:18 +01:00
dependabot[bot] 3ecc89665f chore(deps): bump @asyncapi/react-component from 0.19.2 to 0.22.3
Bumps [@asyncapi/react-component](https://github.com/asyncapi/asyncapi-react) from 0.19.2 to 0.22.3.
- [Release notes](https://github.com/asyncapi/asyncapi-react/releases)
- [Commits](https://github.com/asyncapi/asyncapi-react/compare/v0.19.2...v0.22.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-09 04:19:46 +00:00