Commit Graph

8521 Commits

Author SHA1 Message Date
renovate[bot] bf5e9030eb chore(deps): update dependency msw to ^0.45.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-22 02:27:29 +00:00
Emma Indal 44d1a46f74 Merge pull request #13115 from Pike/fix-techdocs-cli-theme
[techdocs/cli] Use light theme if it's not dark
2022-08-19 15:54:11 +02:00
Ben Lambert 2c8cb22ec0 Merge pull request #12952 from backstage/blam/next-scaffolder/wizard-2
scaffolder(next): Support `async` validation for `CustomFieldExtensions` and run validation for `type: object`
2022-08-19 10:56:11 +02:00
Fredrik Adelöw a9b435ed1c Merge pull request #13228 from backstage/freben/neato
it just keeps 🧹 -ing
2022-08-19 09:15:17 +02:00
Tim Hansen dad272c9a7 Merge pull request #13212 from johnphilip283/markdown_ids
Autogenerate ids for headings in markdown content
2022-08-18 13:54:02 -06:00
Fredrik Adelöw ef9ab322de it just keeps 🧹 -ing
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 17:21:00 +02:00
Patrik Oldsberg 05d2262c45 Merge pull request #13141 from darthaud/fix/allow-skip-migrations-all-plugins
Fix/allow skip migrations all plugins
2022-08-18 16:26:01 +02:00
Daniel Dias Branco Arthaud 02ced09705 fix(backend-tasks): Allow it to skip migrations
Signed-off-by: Daniel Dias Branco Arthaud <arthaud@gmail.com>
2022-08-18 10:55:20 -03:00
Ben Lambert cefc9ebba1 Merge pull request #13214 from timja/patch-1
Fix typo in create-app package
2022-08-18 15:53:28 +02:00
blam d326058eb9 chore: added a simple case for async validation and testing delay with a component
Signed-off-by: blam <ben@blam.sh>
2022-08-18 15:47:07 +02:00
Fredrik Adelöw c8bb0ff8ce just some 🧹 api cleaning
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 13:30:02 +02:00
Tim Jacomb e83de28e36 Fix typo in create-app package
Signed-off-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2022-08-18 11:54:57 +01:00
John Philip e51cddd5fb Changed types to be more specific
Signed-off-by: John Philip <johnphilip283@gmail.com>
2022-08-17 22:46:38 -04:00
John Philip b29c44d895 Autogenerate ids for headings in markdown content
Signed-off-by: John Philip <johnphilip283@gmail.com>
2022-08-17 21:19:11 -04:00
Andre Wanlin f0447ee755 Updates based on initial feedback
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2022-08-17 13:59:24 -05:00
Andre Wanlin fc3e132f31 Fixed API Report
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2022-08-17 13:59:24 -05:00
Andre Wanlin f8287e5340 Added UserSettingsAvailableIconsTable and related documentation
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2022-08-17 13:59:20 -05:00
Patrik Oldsberg b751518fac Merge pull request #13073 from backstage/rugvip/docker
create-app/docker: hardening, usability, and doc updates
2022-08-17 10:22:00 +02:00
github-actions[bot] a5684d0d53 Version Packages 2022-08-16 12:15:33 +00:00
Fredrik Adelöw 267a020ff0 Merge pull request #13147 from backstage/freben/fetch-sometimes
Add note about fetchApi not being suitable for sign-in page use
2022-08-16 11:15:38 +02:00
Johan Haals bdc7bd5da6 Merge pull request #13124 from backstage/mob/feature
backend-app-api: Rename types
2022-08-15 13:24:15 +02:00
Fredrik Adelöw 87649a06bf Add note about fetchApi not being suitable for sign-in page use
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-15 13:14:33 +02:00
Patrik Oldsberg fe1e075b5a core-app-api: fix import syntax
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-13 11:16:23 +02:00
Patrik Oldsberg d45bbfeb69 cli: lint ignore any eslintrc files
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-13 11:16:23 +02:00
Johan Haals 91dd47a6a1 chore: update backend tests
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-12 16:09:17 +02:00
Johan Haals b76eeaf302 add api reports
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-12 15:58:52 +02:00
Johan Haals c2e7491890 backend-app-api: Improve error handling
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-12 15:58:36 +02:00
Johan Haals 0d2e6197d8 Refactor backend-test-utils
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>

Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-12 15:30:24 +02:00
Johan Haals 0ef2719b11 registrables -> feature
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-12 14:13:02 +02:00
Johan Haals 0452529374 BackendInitRegistry -> BackendRegistrationPoints
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-12 14:03:10 +02:00
Johan Haals e3d514507a backend-app-api: rename BackendRegistrable to BackendFeature
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-12 14:03:10 +02:00
Johan Haals 5e3761d2e7 Merge pull request #13113 from backstage/mob/backend-test-utils
backend-test-utils: Add test helpers for the new experimental backend system.
2022-08-12 13:44:28 +02:00
Johan Haals b4d3f115fa await backend start
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-12 13:25:09 +02:00
Patrik Oldsberg 3417fc533b Merge pull request #13116 from backstage/rugvip/options
backend-plugin-api: handle optional plugin and module options
2022-08-12 13:21:30 +02:00
Patrik Oldsberg 6bb303f029 Merge pull request #13108 from afscrome/IncludeStackTraceInCrateAppStartupFailure
Include stack trace on startup errors in create app
2022-08-12 11:58:15 +02:00
Patrik Oldsberg 3dd5ab857c update API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-11 22:47:43 +02:00
Patrik Oldsberg f8e891d081 backend-plugin-api: handle optional options for plugins and modules
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-11 18:21:00 +02:00
Patrik Oldsberg 90b66621fb backend-plugin-api: move wiring factories to separate file and add tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-11 17:49:46 +02:00
Axel Hecht 05fc47c525 [techdocs/cli] Use light theme if it's not dark, to avoid breaking the theme selector on other values in local storage
Fixes #12995

Signed-off-by: Axel Hecht <axel@pike.org>
2022-08-11 17:43:56 +02:00
Johan Haals 7d80daf594 update api reports
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-11 16:24:24 +02:00
Johan Haals 56e1b4b89c Add test helpers for new backend system
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-11 16:20:49 +02:00
Patrik Oldsberg 72c228fdb8 cli: fix node env not being set for backend dev
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-11 15:38:37 +02:00
Alex Crome e58262b025 Include stack trace on startup errors in create app
Updated the backend index.ts in create-app to log the error as an object, rather than a string.
This causes the error to include a stack trace, along with the error message,
as well as bringing it in line with the main app in the bakstage repo.

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
2022-08-11 12:38:08 +01:00
Johan Haals 3d5ab6cb3c test-utils: Publish alpha types
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-11 13:19:02 +02:00
Johan Haals f2ff3c5fb4 Merge pull request #13089 from backstage/jhaals/merge-services
backend-defaults: Merge provided services with default services
2022-08-11 11:43:32 +02:00
Adam Harvey ac39b6da0e Fix typo
Signed-off-by: Adam Harvey <adaharve@cisco.com>
2022-08-10 12:08:15 -04:00
Johan Haals 79fd0b32d6 backend-defaults: Merge provided services with default services
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2022-08-10 16:13:08 +02:00
Johan Haals 2c6d4b2c76 Merge pull request #13078 from backstage/jhaals/backend-defaults
Introduce backend-defaults package
2022-08-10 16:04:27 +02:00
Patrik Oldsberg 1725b2a3aa create-app: update Dockerfile to set NODE_ENV=production
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-10 15:51:34 +02:00
Patrik Oldsberg 8a0f145970 create-app: update Dockerfile to run app with node user
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-10 15:51:34 +02:00