Commit Graph

51 Commits

Author SHA1 Message Date
github-actions[bot] c8a8aac2af Version Packages 2023-11-14 13:25:17 +00:00
renovate[bot] 4aa43f62aa chore(deps): update dependency cross-fetch to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-11 14:02:08 +00:00
Fredrik Adelöw 6e64d3fa32 Merge pull request #21024 from backstage/freben/js
rename file to jsx to fix coverage reporter problem
2023-11-07 14:10:55 +01:00
Fredrik Adelöw 9dc79aa7d2 rename file to jsx to fix coverage reporter problem
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-11-07 11:10:41 +01:00
github-actions[bot] 8a9f0ce86b Version Packages (next) 2023-11-07 09:43:56 +00:00
github-actions[bot] f577e1176f Version Packages (next)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-31 15:42:09 +01:00
github-actions[bot] 8345a35d04 Version Packages (next) 2023-10-24 11:04:16 +00:00
Patrik Oldsberg ec1dde6831 switch to @testing-library/react 14
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:04 +02:00
Patrik Oldsberg aa2ff48a97 switch react version ranges to full format
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
Patrik Oldsberg e9318414a0 update @testing-library/react to v13
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
Patrik Oldsberg 912a0766a5 update react and react-dom peer dependency ranges to include 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
github-actions[bot] 8cdb8c2e40 Version Packages 2023-10-17 08:54:50 +00:00
renovate[bot] 9a1fce352e chore(deps): update dependency @testing-library/jest-dom to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:21:53 +00:00
github-actions[bot] e43d3eb1b7 Version Packages (next) 2023-10-10 11:39:03 +00:00
Matt Ray 8145e72530 Updated for reviewed changes.
Thanks to @tudi2d and @benjdlambert

Signed-off-by: Matt Ray <github@mattray.dev>
2023-10-10 16:59:11 +11:00
Matt Ray 777b9a16a4 Use a proper React file import for the OpenCost logo
Fixes https://github.com/backstage/backstage/issues/20333

Signed-off-by: Matt Ray <github@mattray.dev>
2023-10-10 16:59:11 +11:00
github-actions[bot] f95345c845 Version Packages (next) 2023-10-03 10:49:45 +00:00
github-actions[bot] bea3617712 Version Packages (next) 2023-09-26 13:20:00 +00:00
Patrik Oldsberg df97115aac plugins: update API report to match new BackstagePlugin type
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-25 09:53:49 +02:00
github-actions[bot] b228d7d9c2 Version Packages
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-20 11:24:40 +02:00
github-actions[bot] a6d1580062 Version Packages (next) 2023-09-12 11:41:29 +00:00
Patrik Oldsberg 406b786a2a fix package side effect declarations
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-07 13:40:19 +02:00
github-actions[bot] 32a09adcff Version Packages (next) 2023-09-05 10:03:17 +00:00
github-actions[bot] fc1a38bc57 Version Packages (next) 2023-08-29 12:18:08 +00:00
Eric Peterson f5cdb61269 Add maintainer-owned catalog-info.yaml files
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2023-08-23 18:02:53 +02:00
Matt Ray d586a682ad Fix the broken date picker import.
Fixes https://github.com/backstage/backstage/issues/19538

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-23 15:57:33 +10:00
github-actions[bot] f8c8e8de37 Version Packages (next) 2023-08-22 11:37:48 +00:00
Fredrik Adelöw 482bb5c0bb move react to deps where needed
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-08-18 14:00:29 +02:00
Fredrik Adelöw 3f9d2b90bc api-reports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-08-18 14:00:29 +02:00
Fredrik Adelöw 5f06e9f1da fix api-report
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-08-16 09:49:03 +02:00
Neal Ormsbee ef6eeff534 Change opencost plugin to use @date-io/luxon instead of @date-io/date-fns
Signed-off-by: Neal Ormsbee <neal.ormsbee@gmail.com>
2023-08-16 09:24:20 +02:00
Matt Ray ff83a7f394 Test was provided by the generated scaffolding, unused.
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:24:20 +02:00
Matt Ray 223972a153 Rename .js files to .jsx since they're actually JSX
This makes `yarn backstage-cli repo build` happier

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:24:20 +02:00
Matt Ray dcd3a280d5 yarn tsc cleanups
OpenCostPage.tsx TS6133: 'ContentHeader' is declared but its value is never read.
OpenCostReport.tsx TS6133: 'forEach' is declared but its value is never read.
                   TS7006: added @ts-ignore
util.js TS2322: Type 'string | null' is not assignable to type 'string'.

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:24:20 +02:00
Matt Ray 6961967fb4 Updates based off of @freben's code review
* Reduced changeset to `minor`
* Fixed indentation and quoting in README
* yarn.lock update for rebased versions
* ran `prettier` against all .js and .ts files and fixed errors

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:24:17 +02:00
Matt Ray b9f668fde6 Added config file support and updated images
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 08925803ce Disabling eslint tests because don't want to change the working code
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 6699181127 Disable eslinting for now plus auto-formatting changes
// eslint-disable-next-line @typescript-eslint/no-use-before-define
// eslint-disable-next-line react-hooks/exhaustive-deps

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 83a103e2f6 Disable eslint issue with "error React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 3e19e82a1d Turn off eslint "error 'agg' is already declared in the upper scope on line 28 column 10 @typescript-eslint/no-shadow"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray e4fc8df2ca Disable eslint "warning <p> is forbidden, use MUI <Typography> instead react/forbid-elements"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray cd7d4e4f27 Fix for "86:5 error Arrow function expected no return value consistent-return"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 44ac248dd8 Fix for "79:34 error 'currency' is already declared in the upper scope on line 41 column 20 @typescript-eslint/no-shadow"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 09ab43fcef Fixes for eslint "guard-for-in"
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:58 +02:00
Matt Ray 4d0d3e3207 eslint --fix automatic fixes and corrections to make eslint happier
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 5511693aa0 Updated copyright headers to make Backstage check happy
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 79aad75ce7 Updates from Backstage linting
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 568875edec Document installation and configuration
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 59dc379e35 Working OpenCost Backstage plugin.
Needs cleanup to make the git commit hooks happy

Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00
Matt Ray 6b3ea5fbf5 Renamed to OpenCost*
Signed-off-by: Matt Ray <github@mattray.dev>
2023-08-16 09:23:57 +02:00