Commit Graph

3903 Commits

Author SHA1 Message Date
Johan Haals b335415fa4 Rename urlReader to reader
Co-authored-by: Ben Lambert <ben@blam.sh>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:21:58 +01:00
blam 6fa98f941b feat: new actions work nicely and publish to github as expected
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-03-02 10:21:57 +01:00
Patrik Oldsberg 0863ff9482 core-api: new internal utility for accessing global singletons 2021-02-27 16:18:46 +01:00
Patrik Oldsberg 15ba3d5676 Merge pull request #4711 from backstage/dependabot/npm_and_yarn/svgr/webpack-5.5.0
chore(deps): bump @svgr/webpack from 5.4.0 to 5.5.0
2021-02-27 15:08:02 +01:00
Patrik Oldsberg c600680599 Merge pull request #4559 from kaos/kaos/cli-config-schema
backstage-cli: add config:schema command.
2021-02-26 15:28:11 +01:00
Andreas Stenius 46dab9e09c config-loader: move @types/json-schema to dependencies.
Signed-off-by: Andreas Stenius <git@astekk.se>
2021-02-26 12:02:36 +01:00
Patrik Oldsberg 5ffb6c57f6 Merge pull request #4700 from backstage/rugvip/opternal
core: implement optional external routes and use to toggle "Create Component" button
2021-02-26 10:41:27 +01:00
Joel Low 61299519fb Replace S3 read-store-upload loop with file streams
This no longer buffers file contents in memory and limits the maximum
number of file descriptors open concurrently.

Signed-off-by: Joel Low <joel@joelsplace.sg>
2021-02-26 15:22:17 +08:00
dependabot[bot] c21f04813c chore(deps): bump @svgr/webpack from 5.4.0 to 5.5.0
Bumps [@svgr/webpack](https://github.com/gregberge/svgr) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v5.4.0...v5.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-26 04:08:45 +00:00
Patrik Oldsberg 243dd5771b Apply suggestions from code review
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-02-25 19:08:04 +01:00
Patrik Oldsberg a3a2e23bc4 core-api: add support for optional external route refs 2021-02-25 17:32:39 +01:00
Fredrik Adelöw 647bbb14f3 Merge pull request #4692 from backstage/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.15.2
chore(deps): bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.15.2
2021-02-25 12:00:44 +01:00
dependabot[bot] 9a582c60a9 chore(deps): bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.15.2
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.0 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 11:21:15 +01:00
Fredrik Adelöw 674202d2d2 Merge pull request #4678 from backstage/freben/storybook
Supply an app context in storybook plugin test
2021-02-25 09:56:53 +01:00
Fredrik Adelöw 6ce580e336 Supply an app context in storybook plugin test 2021-02-25 09:10:14 +01:00
Fredrik Adelöw 49be39b92a Merge pull request #4684 from rbideau/1821-cli-invalid-host-header
Fix invalid host header errors
2021-02-24 22:45:51 +01:00
Adam Harvey 8adb48df4c Change debug color to grey 2021-02-24 14:00:09 -05:00
r.bideau 02437824b3 Allow url.hostname in WebpackDevServer config
Signed-off-by: r.bideau <7304827+rbideau@users.noreply.github.com>
2021-02-24 18:36:20 +01:00
Andrew Thauer e93d7048a3 Merge pull request #4682 from andrewthauer/fix/test-errors-warnings
fix: test failures & warnings
2021-02-24 10:38:12 -05:00
Fredrik Adelöw de3b0f68d7 Merge pull request #4680 from mijailr/error-logger
Add ErrorHandler option to log client errors
2021-02-24 16:23:21 +01:00
Andrew Thauer 28adfd3c4c fix: test failures & warnings 2021-02-24 10:12:49 -05:00
Fredrik Adelöw 1db1477abc Merge pull request #4663 from backstage/mob/scaffolder-beta2
scaffolder-backend: initial support for beta2 templates, and refactored form schema creation
2021-02-24 14:09:50 +01:00
Mijail Rondon 4978590888 feat(errorHandler): log client errors 2021-02-24 07:50:21 -05:00
Andreas Stenius bddf102f0f cli: type fixes.
Signed-off-by: Andreas Stenius <git@astekk.se>
2021-02-24 09:40:47 +01:00
Andreas Stenius fb30fc103b cli(config:schema): cleanups.
Signed-off-by: Andreas Stenius <git@astekk.se>
2021-02-24 09:27:54 +01:00
Andreas Stenius 4548ed4e91 Merge remote-tracking branch 'upstream/master' into kaos/cli-config-schema 2021-02-24 08:56:58 +01:00
dependabot[bot] e2c04b6cfc chore(deps): bump typescript-json-schema from 0.47.0 to 0.49.0
Bumps [typescript-json-schema](https://github.com/YousefED/typescript-json-schema) from 0.47.0 to 0.49.0.
- [Release notes](https://github.com/YousefED/typescript-json-schema/releases)
- [Commits](https://github.com/YousefED/typescript-json-schema/compare/v0.47.0...v0.49.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-24 04:35:32 +00:00
Andrew Thauer 3fca6fbb6c use config methods for extracting app.support 2021-02-23 19:56:40 -05:00
Andrew Thauer 8a15667196 feat(core): add support config & button/error components
This adds a new app.support top level config that can be used to
configure various support links and other information. This can later be
extended for plugins to append their own specific support items.
2021-02-23 19:29:20 -05:00
Patrik Oldsberg 51e7fef788 Merge pull request #4638 from backstage/rugvip/corefactor
core-api: switch component data to use a global store
2021-02-23 23:57:40 +01:00
Patrik Oldsberg 7c3f65f3b2 catalog-model: make Template beta2 step id and name optional 2021-02-23 23:53:48 +01:00
Patrik Oldsberg 6ff4403801 catalog-model: tweak Template beta2 schema + add tests 2021-02-23 23:53:48 +01:00
Patrik Oldsberg 6132a9a775 catalog-model,catalog-backend: add template beta2 schema
Co-authored-by: Johan Haals <johan.haals@gmail.com>
2021-02-23 23:45:04 +01:00
Patrik Oldsberg 2a271d89e8 core-api: switch component data to use a global store 2021-02-23 23:16:46 +01:00
Andrew Thauer b6fe9d1377 fix(app): incorrect package ordering 2021-02-23 16:57:41 -05:00
Patrik Oldsberg da62b2c388 Merge pull request #4636 from backstage/rugvip/migraine
app,create-app: migrate to using top-level extension pages instead of routers or registered routes
2021-02-23 17:28:11 +01:00
Patrik Oldsberg 2a17def998 create-app: switch peer deps to use * to work around major bump issue 2021-02-23 12:27:01 +01:00
github-actions[bot] 4ae0467c2f Version Packages 2021-02-23 10:31:40 +01:00
Fredrik Adelöw a19d2a3f36 Merge pull request #4650 from lowjoel/fix-saml-backstage-identity-default
fix(saml-auth): Add default option for getBackstageIdentity
2021-02-23 10:23:57 +01:00
Joel Low b6c4f485d1 fix(saml-auth): Add default option for getBackstageIdentity
Signed-off-by: Joel Low <joel@joelsplace.sg>
2021-02-23 14:11:44 +08:00
Fredrik Adelöw d162821f64 Merge pull request #4632 from backstage/freben/external-routes-in-devapp
Make sure to provide dummy routes for all external routes of plugins given to DevApp
2021-02-22 22:50:53 +01:00
Patrik Oldsberg 7a1b2ba0e7 create-app: migrate top-level routes to use extensions 2021-02-22 22:11:42 +01:00
Fredrik Adelöw 5aa4ceea6e Make sure to provide dummy routes for all external routes of plugins given to DevApp 2021-02-22 21:52:31 +01:00
Patrik Oldsberg e780e119c9 cli: add missing file-loader dependency 2021-02-22 18:07:51 +01:00
Patrik Oldsberg f7b951d9f5 Merge pull request #4625 from backstage/rugvip/appconstigt
core-api: migrate app context to separate type and deprecate most methods + not found page for FlatRoutes
2021-02-22 17:24:12 +01:00
Fredrik Adelöw bba5660b44 Merge pull request #4579 from rbideau/4576-google-analytics
Add google analytics scripts in template for standalone app
2021-02-22 16:17:30 +01:00
Fredrik Adelöw bde37d41da Merge pull request #4585 from stefanbuck/remove-app-diff
chore: remove app:diff command from cli
2021-02-22 16:07:20 +01:00
Patrik Oldsberg 95ef3b3c06 core-api: deprecate app.getRoutes 2021-02-22 13:21:33 +01:00
Patrik Oldsberg c7a4b73f7f core-api: move feature flag collection to app.getProvider() 2021-02-22 13:20:11 +01:00
Andreas Stenius 64a98b5fe6 cli: fix types.
Signed-off-by: Andreas Stenius <git@astekk.se>
2021-02-22 10:40:51 +01:00