Commit Graph

4817 Commits

Author SHA1 Message Date
Patrik Oldsberg 8ca26f1f75 test-utils: migrate to new core packages
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:12 +02:00
Patrik Oldsberg 8997d3fcca packages: manually migrate rest away from @backstage/core deps
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:11 +02:00
Patrik Oldsberg 22684fa0d4 cli: sort dependencies after modifying them with diff
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:11 +02:00
Patrik Oldsberg 22fa107eb8 cli: make diff handler remove @backstage/core deps
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:10 +02:00
Patrik Oldsberg db8aff3741 cli: update plugin template to use new core packages and include deps in diff
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:10 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Patrik Oldsberg 76db86c457 dev-utils: remove support for registered routes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 14:05:00 +02:00
dependabot[bot] e97c49f0fc chore(deps): bump @spotify/eslint-config-typescript from 9.0.0 to 10.0.0
Bumps [@spotify/eslint-config-typescript](https://github.com/spotify/web-scripts) from 9.0.0 to 10.0.0.
- [Release notes](https://github.com/spotify/web-scripts/releases)
- [Changelog](https://github.com/spotify/web-scripts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spotify/web-scripts/compare/v9.0.0...v10.0.0)

---
updated-dependencies:
- dependency-name: "@spotify/eslint-config-typescript"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 08:31:33 +00:00
Ben Lambert 87e316b78d Merge pull request #5993 from backstage/mob/feature-flag-component
feat: Feature Flag Component + Simplify the traversal for composability
2021-06-17 15:20:05 +02:00
Patrik Oldsberg 0a825e3745 Merge pull request #6083 from backstage/rugvip/hooked
cli: disable GitHub App webhook by default
2021-06-17 13:56:00 +02:00
Patrik Oldsberg e3d31b3815 cli: disable GitHub App webhook by default
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-17 13:26:11 +02:00
github-actions[bot] f4fbbf1552 Version Packages 2021-06-17 11:08:46 +00:00
Patrik Oldsberg 74f8b8fcb1 catalog-model: deprecated usage of yup-based validators
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-17 11:26:37 +02:00
Patrik Oldsberg 05a9bb84d9 Merge branch 'master' into mob/feature-flag-component 2021-06-17 11:26:11 +02:00
Patrik Oldsberg cebde9d9ac create-app: fix release version to 0.3.26
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-17 10:37:42 +02:00
github-actions[bot] 36e5a82e9b Version Packages 2021-06-17 08:08:44 +00:00
Patrik Oldsberg 64b53d4829 core-plugin-api: export ElementCollection interface + document
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-16 18:31:12 +02:00
Patrik Oldsberg 814b3d0dc2 core-plugin-api: document useElementFilter
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-16 17:51:54 +02:00
Patrik Oldsberg 4d63ce7c1b core-plugin-api: make useElementFilter filter for undefined component data instead of falsy
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-16 17:42:06 +02:00
dependabot[bot] 21a0315678 chore(deps): bump @typescript-eslint/parser from 4.14.0 to 4.27.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.14.0 to 4.27.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.27.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 04:06:18 +00:00
Minn Soe 78830d3b7e fix: limit helpers from db manager connections
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-15 18:21:12 +01:00
Minn Soe 1753dae28a fix: limit database manager exports and update changeset
Signed-off-by: Minn Soe <contributions@minn.io>
2021-06-15 17:50:25 +01:00
Patrik Oldsberg a4a96e424a backend-common: restore informative error message for database check
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 17:51:34 +02:00
Patrik Oldsberg 05c98f1f79 Merge branch 'master' into add-support-for-plugin-specific-db 2021-06-15 17:49:50 +02:00
Patrik Oldsberg 8fce615902 Merge pull request #4996 from backstage/dependabot/npm_and_yarn/rollup-plugin-dts-3.0.1
chore(deps): bump rollup-plugin-dts from 2.0.1 to 3.0.1
2021-06-15 17:29:34 +02:00
Patrik Oldsberg fd9a86b7ad cli: sort package.json deps
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 15:33:05 +02:00
Fredrik Adelöw c5204c01ba Merge pull request #6032 from backstage/freben/backend-dev
Make `yarn dev` for backend plugins respect the `PLUGIN_PORT` env var
2021-06-15 15:12:17 +02:00
Dominik Henneke a46ae7c0c7 Merge pull request #6036 from SDA-SE/feat/button-link
Use the Backstage `Link` component in the `Button`
2021-06-15 15:03:01 +02:00
dependabot[bot] 955c7683b9 chore(deps): bump rollup from 2.33.3 to 2.44.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.3 to 2.44.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.33.3...v2.44.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 13:45:53 +02:00
dependabot[bot] 3609656b53 chore(deps): bump rollup-plugin-dts from 2.0.1 to 3.0.1
Bumps [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts) from 2.0.1 to 3.0.1.
- [Release notes](https://github.com/Swatinem/rollup-plugin-dts/releases)
- [Changelog](https://github.com/Swatinem/rollup-plugin-dts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rollup-plugin-dts/compare/v2.0.1...v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 13:45:53 +02:00
Patrik Oldsberg dd99f8e380 Merge pull request #6043 from backstage/rugvip/dbfail
backend-common: clarify DB connection error
2021-06-15 12:30:56 +02:00
blam d00a3fcd95 chore: updated API report
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:24:36 +02:00
blam 14770c4f3a chore: tidy up the app and fix tsc warnings
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:22:26 +02:00
blam 34900b0ca6 chore: removing the test usages in the app, and fixing the typings
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 04fa2df352 chore: wait for the config api to be loaded first before registering feature featureFlags
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam fdb79d1562 chore: fixing tests for FlatRoutes
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 00815e520b chore: fixing api-docs and simplifying types a little
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 6109f32b78 chore: fixing up api-docs exporting
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 128279fc4f feat: finishing up some other use cases and re-writing some logic with some more tests
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam c92f5dedee feat: reworking the api in favour of with and without for wrapping component
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 9eb3729706 chore: fixing api-docs generation
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 31e067d346 chore: actually use the right packages - went and messed up a bit
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 359a118902 chore: reworking some thigns
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 969c6750af feat: writing some tests and have a nicer api now
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 78ccf9ea98 feat: replace implementations of children introspection with our new thing
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam d7f0b0bed6 chore: working through beginning API
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 794af0de8e feat: more work with the nice API
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 765632fac7 feat: introduce collection of feature flags and make FlatRoutes treat feature flags as first class citizens
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
Patrik Oldsberg e5cdf0560f backend-common: clarify DB connection error
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 11:56:08 +02:00
Johan Haals a0f2f63374 Merge pull request #5901 from backstage/jhaals/legacy-catalog
Catalog: Make the new processing engine the default
2021-06-15 11:40:53 +02:00