Commit Graph

8873 Commits

Author SHA1 Message Date
Patrik Oldsberg 8336d42b40 backend-plugin-api: fix spelling mistakes
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-26 16:18:39 +02:00
Patrik Oldsberg 72549952d1 backend-test-utils: fix handling of root scoped services
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-26 16:18:05 +02:00
Patrik Oldsberg 45857bffae backend-app-api: export rootLoggerFactory
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-26 16:17:27 +02:00
Fredrik Adelöw 93fcda09ce Merge pull request #13784 from dagda1/document-step-layouts
document custom step layouts
2022-09-23 08:56:05 +02:00
Fredrik Adelöw 3b8eb15007 Merge pull request #13810 from backstage/freben/tsx
no longer transpile tsx files in backend packages
2022-09-22 19:38:15 +02:00
Patrik Oldsberg ed0ef64fd3 backend-tests: increase timeout for setting up test databases
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-22 15:18:59 +02:00
Patrik Oldsberg d3adc6693f Merge pull request #13798 from backstage/rugvip/pool
backend-test-utils: increase max connection pool size
2022-09-22 14:43:00 +02:00
Fredrik Adelöw cfb3598410 no longer transpile tsx files in backend packages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-22 14:13:04 +02:00
Fredrik Adelöw 58c2264325 update Navigate properly, and add a changeset noting the router stable update in create-app
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-22 11:32:56 +02:00
Fredrik Adelöw 62872bf027 fix starting create-app locally with local nodemon
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-22 09:58:31 +02:00
Fredrik Adelöw 86d0de11d9 remove PermissionedRoute and unnecessary copyright notices
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-22 09:46:24 +02:00
Fredrik Adelöw e05e0f021b align some versions
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-22 09:34:59 +02:00
Patrik Oldsberg e91e8e9c55 backend-test-utils: increase max connection pool size
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 23:17:24 +02:00
Patrik Oldsberg 410759679a Merge pull request #13429 from OscarDHdz/shutdown-stale-scaffolder-tasks
Close scaffolder stale task executions
2022-09-21 19:22:46 +02:00
Paul Cowan ff4f8bb9e5 add writing-custom-step-layouts to sidebars.json
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-21 18:20:51 +01:00
Patrik Oldsberg cd488c7648 Merge pull request #13788 from backstage/rugvip/blocking
backend-tasks: fix for fake timers blocking db setup
2022-09-21 19:11:40 +02:00
OscarDHdz cb69395b43 Scaffolder: Set router scheduler param
Signed-off-by: OscarDHdz <v-ohernandez@expediagroup.com>
2022-09-21 11:01:41 -05:00
Mitchell Hentges 6f3b8d0962 Defer schema validation to improve test performance
Many modules export an `ajvCompiledJsonSchemaValidator(...)`, which
incurs the `ajv` schema compilation at module-import-time.
Many tests depend on these modules transitively, but don't exercise the
compiled schema - so, this compilation time is wasted.

On my machine, with an example test (airbrake/src/index.test.ts) I'm
seeing the following numbers (n=10):

Before: 6005.1ms
After: 5807.8ms
Benefit: 197.3ms (~3.3%)

Weirdly, the NodeJS profiler was saying that schema compilation was
taking ~2000ms, but that is likely due to the inaccuracy of the
sampling.

Signed-off-by: Mitchell Hentges <mhentges@spotify.com>
2022-09-21 17:00:11 +02:00
Patrik Oldsberg a94c6fcf78 backend-tasks: fix for fake timers blocking db setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 16:59:43 +02:00
Patrik Oldsberg 4f5fb2d4f4 cli: add support for workspace: query for local version matching
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:55 +02:00
Patrik Oldsberg d66b398840 cli: improve v2 lockfile parsing to split out ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:55 +02:00
Patrik Oldsberg be5a837259 migrate to use workspace ranges
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:14:53 +02:00
Patrik Oldsberg 153e6e49bd fix version range inconsistencies
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-21 10:13:38 +02:00
Patrik Oldsberg 17f398face cli: skip testinging of repo test --since matches nothing
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 22:10:22 +02:00
Patrik Oldsberg 947a9f2165 cli: flip repo command help options to use --jest-help instead
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:07:16 +02:00
Patrik Oldsberg 6d00e80146 update package.json to use repo test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:07:16 +02:00
Patrik Oldsberg 292a088807 cli: add repo test command
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:07:16 +02:00
Patrik Oldsberg fb9e00a54a create-app: move mock-fs calls into describe blocks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:07:16 +02:00
Patrik Oldsberg 1720afed04 cli: fix yaml transform and add test for loading yaml
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 18:02:28 +02:00
Patrik Oldsberg 3e309107ca cli: update template fallback versions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 17:16:26 +02:00
Patrik Oldsberg 2dddb32fea cli: switch to custom jest yaml transform to support node 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
Patrik Oldsberg ec623f85fb cli: update API report for Jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
Patrik Oldsberg b179cd11f4 cli: update jest config for v29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
Patrik Oldsberg 2e4e6c3500 test fixes to support Jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
Patrik Oldsberg ffa2d1f414 cli: bump to jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
github-actions[bot] 30882884a4 Version Packages 2022-09-20 11:52:02 +00:00
Paul Cowan 392b15ad27 replace ui:layout with the actual rjsf field ui:ObjectFieldTemplate
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:03:00 +02:00
Paul Cowan 19378018bc remove unused react fragment in scaffolder layouts
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:02:59 +02:00
Paul Cowan dd3f5b05f5 fix api-report warnings
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:02:59 +02:00
Paul Cowan d0994dbf00 rename preview layout
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:02:58 +02:00
Paul Cowan 7b0b41778e rename ui:ObjectFieldTemplate to ui:layout
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:59 +02:00
Paul Cowan 7c9024317c make demo layout two column
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:59 +02:00
Paul Cowan 504920aad5 remove layouts from Stepper
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:59 +02:00
Paul Cowan 7fdb1fe283 extract ObjectFieldTemplate from uiSchema
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:57 +02:00
Paul Cowan 0fd0385615 pass layouts throught to MultiJsonForm
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2022-09-20 11:01:37 +02:00
Patrik Oldsberg cff14ff377 Merge pull request #13666 from szubster/sort-skeleton
Sort entries in skeleton.tar.gz
2022-09-20 10:34:26 +02:00
Ben Lambert e0d4077926 Merge pull request #13570 from backstage/freben-dschwank/user-settings-backend
feat: add user-settings-backend and related frontend store
2022-09-20 10:16:46 +02:00
Patrik Oldsberg 988b4d2a8e Merge pull request #12870 from kuangp/feat/playlists
feat(playlists): implement playlist plugin
2022-09-19 16:49:44 +02:00
Fredrik Adelöw 8448b53dd6 move the settings storage to the user settings frontend
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-09-19 15:41:50 +02:00
Fredrik Adelöw 69242c3021 Merge pull request #13641 from sblausten/mc-drop-overflow
Fix overflow issue for mic drop 404 image
2022-09-19 15:36:38 +02:00