Merge pull request #14277 from backstage/freben/human-types

move `HumanDuration` to `@backstage/types`
This commit is contained in:
Fredrik Adelöw
2022-10-24 10:39:17 +01:00
committed by GitHub
21 changed files with 144 additions and 41 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-tasks': patch
---
Deprecated the `HumanDuration` type, which should now instead be imported from `@backstage/types`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/types': patch
---
Added the `HumanDuration` type, moved here from `@backstage/backend-tasks`. This type matches the `Duration.fromObject` form of `luxon`.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-tech-insights-backend': patch
'@backstage/plugin-tech-insights-node': patch
---
Use `HumanDuration` from `@backstage/types`