Commit Graph

48 Commits

Author SHA1 Message Date
Patrik Oldsberg d62c6748a0 v0.1.1-alpha.6 2020-05-20 10:49:53 +02:00
Marcus Eide d794c65c2e Use jest.requireMock instead of deprecated require.requireMock 2020-05-19 14:22:15 +02:00
Marcus Eide 0b884d64f6 Fix problem with spread types not allowed 2020-05-19 14:22:14 +02:00
Marcus Eide 553bfddb8e Bump jest to 26.0.1 2020-05-19 14:22:14 +02:00
Patrik Oldsberg 3c075c3093 Merge pull request #900 from spotify/eide/bump-tl-jest-dom-5-7-0
Manually bump @testing-library/jest-dom from 4.2.4 to 5.7.0
2020-05-18 15:08:17 +02:00
Marcus Eide fb3e003272 Bump testing-library/user-event to 10.2.4 2020-05-18 12:59:58 +02:00
Marcus Eide 324245586f Change import of jest-dom in setupTests.ts according to change in api 2020-05-18 11:11:58 +02:00
Marcus Eide 8429710760 Bump testing-library/jest-dom to 5.7.0 2020-05-18 11:11:26 +02:00
Patrik Oldsberg 1dd33e8e33 packages,plugins: remove extra tsconfig files 2020-05-17 23:30:16 +02:00
Patrik Oldsberg fb78fb2da4 packages,plugins: add main:src package.json field to all built packages 2020-05-17 23:29:59 +02:00
Patrik Oldsberg a82d2a523d Merge pull request #864 from spotify/rugvip/srct
packages,plugins: point types to src/ for development
2020-05-14 15:48:34 +02:00
Patrik Oldsberg 682d9ce612 packages,plugins: point types to src/ for development + add pre/post back cli commands 2020-05-14 14:24:19 +02:00
Patrik Oldsberg d10325da29 Merge pull request #860 from spotify/rugvip/cleandist
packages,plugins: only publish .js and .d.ts files in dist
2020-05-14 13:47:50 +02:00
Patrik Oldsberg d76f8714a4 packages,plugins: only publish .js and .d.ts files in dist 2020-05-14 11:32:07 +02:00
Patrik Oldsberg 5553d2dc94 bump react-use to 14.2.0 + add to core 2020-05-14 11:02:53 +02:00
Patrik Oldsberg 2bde9d3854 v0.1.1-alpha.5 2020-05-13 16:28:41 +02:00
dependabot-preview[bot] ab5c7c533c build(deps): bump @types/jest from 24.9.1 to 25.2.1
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.9.1 to 25.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 12:29:29 +00:00
Patrik Oldsberg 1713fac765 packages,plugins: bump react-router-dom to 5.2.0 2020-05-13 13:56:59 +02:00
Patrik Oldsberg 81cb54d52b plugins/lighthouse: add lighthouse api to dev env 2020-05-08 18:53:04 +02:00
Patrik Oldsberg 198bf2d1a6 plugins: applied diff for all plugins to enable plugin:serve 2020-05-08 17:18:36 +02:00
Patrik Oldsberg f913777de9 Merge pull request #761 from spotify/rugvip/adiff
plugins: almost fully sync plugins with templates
2020-05-08 16:06:15 +02:00
Patrik Oldsberg 8fa65fc519 plugins: added diff command to all plugins and templates 2020-05-08 13:26:37 +02:00
Patrik Oldsberg 7f06008496 plugins: almost fully sync plugins with templates 2020-05-08 13:26:27 +02:00
dependabot-preview[bot] e44125e666 build(deps-dev): bump @types/testing-library__jest-dom (#743)
Bumps [@types/testing-library__jest-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/testing-library__jest-dom) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/testing-library__jest-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-08 08:28:10 +02:00
dependabot-preview[bot] 50a5c52a35 build(deps-dev): bump @types/testing-library__jest-dom (#737)
Bumps [@types/testing-library__jest-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/testing-library__jest-dom) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/testing-library__jest-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-07 17:12:36 +02:00
Fredrik Adelöw c1dd24a100 OCD time: devDependencies consistently below dependencies :) 2020-05-07 08:46:10 +02:00
Fredrik Adelöw 6424ce2306 Ran prettier everywhere 2020-05-07 07:21:27 +02:00
Sebastian Qvarfordt 425cf93c08 Replacing SortableTable and a few MUI tables with new Table component (#722)
* Befind work of replacing tables with new Table component

* Removed test plugins and fixed test

* Fixed lint issue

* Removed toolbar from lighthouse audit page

* Moved column out of auditstables render function, no no interation with useInterval
2020-05-06 12:58:34 +02:00
Sebastian Qvarfordt 190f11c8f7 Table component with filter and search (#600)
* Initial table component with storybook example

* Moved dependencies to package/core

* Removed dependency to @backstage/core from base package.json

* Clean up some examples and remove type from columns, replacing with property align instead

* Removed more unused stuff and added toggle for filter input

* Fixed some lint issues

* Added example with material-table

* Convert column array passed into MaterialTable Backstage component into MT column array. Allow multiple values in one cell

* Removed subheader from MT

* Nicer double value cell

* Added custom sorting to example

* Cleaned up stories a bit

* Setting field instead of customSort

* Improve styling. Still needs better theme integration

* Using more colors from theme

* Fixed typing issue

* Removed react-table implementation and cleaned up material-table implementation

* Fixed some type issues

* Fixed lint issues
2020-05-04 11:10:35 +02:00
Patrik Oldsberg b87d266c74 packages/cli: target modern browsers and switch output to module 2020-05-01 15:55:47 +02:00
Jose Balanza Martinez ea880db04a Use useInterval() hook to refetch audit status in lighthouse plugin WIP (#623)
* Fix error when using yarn lint

* Update logic for create app

* Add eslint-react-hooks

* Move common utils to utils.ts

* Add AuditListRow that refetches the audit

* Fixed Audit state using a react component

* Change AuditListRow to AuditRow

* Fixed some eslint-react-hooks warnings

* Change AuditListRow to AuditRow

* Merge

* Fixes tests in AuditListTable.test.tsx

* Refactored based on freben's review

* Remove eslint-plugin-react-hooks
2020-04-27 16:59:52 +02:00
Patrik Oldsberg 3dc707c156 packages: only include dist folder in published packages 2020-04-25 19:42:47 +02:00
Patrik Oldsberg 46803998cd Merge pull request #621 from spotify/rugvip/plugin-serve
Make plugin:serve work and add for home-page plugin + fix declaration maps
2020-04-24 18:50:39 +02:00
Bilawal Hameed 55c0385dc4 fix(lighthouse): corrected import in readme (#641)
* fix(lighthouse): corrected import in readme

* fix(lighthouse): updated docs in Intro component
2020-04-24 16:05:36 +02:00
Patrik Oldsberg 7ac528b1ce packages/cli: update eslint config test config to include dev/ and only setupTests directly in src 2020-04-23 00:51:31 +02:00
Ruairi O Brien c1ada09d06 Change peerDependencies to dependencies
Also removed some duplication.

Addresses #584
2020-04-18 01:41:41 +01:00
Stefan Ålund f774c115dc Extract TrendLine from Lighthouse plugin (#532)
* Extract TrendLine from Lighthouse plugin

* Create TrendLine.stories.tsx

* Change lifecycle names

* Made story example smaller

* Review comment

* Update TrendLine.tsx
2020-04-17 08:25:20 +02:00
Patrik Oldsberg d9f34e3fff packages/theme: make BackstageTheme a type and update usages 2020-04-16 11:48:36 +02:00
Leonel Mendez Jimenez 7ff138daa9 Merge branch 'master' into feature/yarn-clean 2020-04-15 22:13:37 -05:00
Patrik Oldsberg c4457a7614 v0.1.1-alpha.4 2020-04-15 20:27:06 +02:00
Patrik Oldsberg c8fb4c153e backstage/theme: make colors private, access through theme instead 2020-04-14 18:45:47 +02:00
Leo Mendez 97604a3832 Add clean script to plugins/lighthouse 2020-04-12 14:55:54 -05:00
Himanshu Mishra d8db08a522 DOC: Update couple typos in docs/FAQ.md
* open soure -> open source
* forbenchmarking -> for benchmarking
2020-04-12 02:37:26 +09:00
blam 0d27c0dfda chore: need to fix the import on the tests 2020-04-09 04:37:06 +02:00
blam 0feee2b1a9 feat: fixes #523. Remove the default export from plugins 2020-04-09 04:36:55 +02:00
Paul Marbach f6d3c5ca4f test: update lint config to extend cli config explicitly for plugins 2020-04-08 12:20:20 -04:00
Paul Marbach 1d6765e044 thank you for the comments, @freben 2020-04-08 12:20:20 -04:00
Paul Marbach 06228b71e9 feat: implement Lighthouse plugin using lighthouse-audit-service 2020-04-08 11:21:20 -04:00