Commit Graph

4804 Commits

Author SHA1 Message Date
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
Patrik Oldsberg e2261dbec1 Merge pull request #5987 from dortegau/add-ds_store-to-scaffolded-app-gitignore
#5986 Adding .DS_Store to Scaffolded Backstage app .gitignore file
2021-06-15 11:27:16 +02:00
Dominik Henneke 740503d88f Copy the changes to the core-components packages
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-15 11:10:12 +02:00
Johan Haals 9c3840b1ba create-app: Enable new catalog processing engine
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-15 09:17:10 +02:00
Dominik Henneke d4644f5920 Use the Backstage Link component in the Button
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-14 17:33:55 +02:00
Johan Haals f68632411b catalog: Reuse builder for next/legacy catalog
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-06-14 16:10:18 +02:00
Fredrik Adelöw 3108ff7bfd Make yarn dev for backends respect the PLUGIN_PORT env var
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-14 14:46:19 +02:00
Patrik Oldsberg d40993c2f9 Merge pull request #6019 from backstage/rugvip/loadafix
config-loader: bump typescript-json-schema and remove workaround + catalog-model cleanup
2021-06-14 13:36:18 +02:00
Fredrik Adelöw ab3d4e92eb Merge pull request #5949 from backstage/dependabot/npm_and_yarn/http-proxy-middleware-2.0.0
chore(deps): bump http-proxy-middleware from 0.19.2 to 2.0.0
2021-06-14 10:30:28 +02:00
Fredrik Adelöw c28f20cb0e Merge pull request #5720 from GunnerStraiker1/supportButton-title
Add Title prop in SupportButton
2021-06-14 10:30:16 +02:00
Patrik Oldsberg 1d2ed78449 catalog-model: remove unused dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-13 20:59:06 +02:00
Patrik Oldsberg f004937398 config-loader: bump typescript-json-schema and remove TS 4.3 workaround
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-13 20:59:05 +02:00
Patrik Oldsberg 94fa652dbc Merge pull request #5992 from backstage/rugvip/mods
codemods: fixes for test and execution on Windows
2021-06-11 11:23:07 +02:00
Patrik Oldsberg 59752e1037 codemods: fix execution of jscodeshift on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-10 19:35:49 +02:00