Commit Graph

363 Commits

Author SHA1 Message Date
Ivan Shmidt a1a60ad9d1 feat: hmr logic for the backend 2020-06-11 02:51:06 +02:00
Ivan Shmidt d2e25082df feat(cli): backend webpack serve 2020-06-10 21:49:55 +02:00
blam fb8e8e1351 feat(catalog/msw): Implementing msw for a test with the CatalogApi Client 2020-06-10 02:56:24 +02:00
blam 01d0f3ae80 chore(msw): Added msw dependency
(cherry picked from commit 1c73ca376b)
2020-06-10 02:18:27 +02:00
blam 1c73ca376b chore(msw): Added msw dependency 2020-06-10 02:14:00 +02:00
blam 74b087daf8 chore(catalog/star): adding a simple cache to stop flicker as a stopgap 2020-06-10 02:04:41 +02:00
Ben Lambert 00d33f93e4 Enable Filtering of the Catalog Page (#1143)
* feat(catalog/Filters): Add ability to render a React component as the count. Good for loading states and async data rendering for counts.

* chore(Catalog/filters): Updating the table so that we use loading states of the table rather than the panel

* chore(Catalog/filters): added some nice things for enabling the filtering with some nice count componeents

* feat(Catalog/filters): Fetch the correct data and added in enum types to make some nice resolvers

* chore(Catalog/filters): Use the new enum type here

* chore(Catalog/filters): Removing the unused import to fix lintig

* chore(Catalog/filters): Addressing some PR comments

* feat(catalog/filters): Making WebStorage return the same instance for the same bucket for subscriptions

* chore(core/Storage): fixing some issues with different instances of the storage and adding tests for it

* chore(catalog/filters): fixing some tests and trying to remove some of the act warnings in the tests
2020-06-09 13:28:40 +02:00
Patrik Oldsberg f44c609244 Merge pull request #1139 from spotify/rugvip/bundleconfig
packages/cli: fix handling of public dir and hook it up to config
2020-06-08 15:24:06 +02:00
dependabot-preview[bot] fb8e834b15 build(deps-dev): bump eslint-plugin-cypress from 2.10.3 to 2.11.1 (#1184)
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.10.3 to 2.11.1.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.10.3...v2.11.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 09:11:06 +02:00
dependabot-preview[bot] bf5b537697 build(deps): bump eslint-plugin-import from 2.20.2 to 2.21.1 (#1183)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.2 to 2.21.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.20.2...v2.21.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-08 09:10:32 +02:00
dependabot-preview[bot] 074aa670fe build(deps): bump @rollup/plugin-commonjs from 12.0.0 to 13.0.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 12.0.0 to 13.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v12.0.0...commonjs-v13.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 06:15:24 +00:00
blam 4fdb1def39 chore(react-router-v6): starting to move things to react-router-v6 2020-06-07 03:07:46 +02:00
Patrik Oldsberg 2edcd94793 packages/cli: open browser at correct path when serving bundle 2020-06-06 15:54:48 +02:00
dependabot-preview[bot] f7c9e3677a build(deps): [security] bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 20:25:18 +00:00
Fredrik Adelöw 91853e1f6d Ran yarn install 2020-06-05 15:23:14 +02:00
Patrik Oldsberg e396996792 Merge pull request #1140 from spotify/auth-frontend-state
Auth frontend state
2020-06-05 11:48:16 +02:00
dependabot-preview[bot] b717971ec1 build(deps-dev): bump @types/html-webpack-plugin from 3.2.2 to 3.2.3 (#1148)
Bumps [@types/html-webpack-plugin](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/html-webpack-plugin) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/html-webpack-plugin)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 08:39:28 +02:00
dependabot-preview[bot] c1aa4708b4 build(deps): bump @testing-library/jest-dom from 5.7.0 to 5.9.0 (#1151)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.7.0 to 5.9.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.7.0...v5.9.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 08:39:10 +02:00
dependabot-preview[bot] dc971e4577 build(deps-dev): bump lint-staged from 10.1.0 to 10.2.9 (#1149)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.1.0 to 10.2.9.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.1.0...v10.2.9)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 08:38:30 +02:00
dependabot-preview[bot] 93521f7f5d build(deps-dev): bump @storybook/react from 5.3.18 to 5.3.19 (#1150)
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 5.3.18 to 5.3.19.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.19/app/react)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 08:38:06 +02:00
dependabot-preview[bot] 5682cf352b build(deps-dev): bump @storybook/addon-actions from 5.3.18 to 5.3.19 (#1152)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 5.3.18 to 5.3.19.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.19/addons/actions)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 08:37:45 +02:00
Raghunandan 578760956f Auth state working 2020-06-04 10:45:11 +02:00
Ivan Shmidt c177c050c4 Merge pull request #1128 from spotify/shmidt-i/links-docs
NavLink, NavButton and RouteRefs enforcing
2020-06-04 09:53:03 +02:00
dependabot-preview[bot] e56bce86ca build(deps-dev): bump @types/testing-library__jest-dom (#1095)
Bumps [@types/testing-library__jest-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/testing-library__jest-dom) from 5.0.4 to 5.9.1.
- [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-06-04 08:56:48 +02:00
dependabot-preview[bot] 382e745da1 build(deps): bump @rollup/plugin-commonjs from 11.0.2 to 12.0.0 (#1023)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.0.2 to 12.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.2...commonjs-v12.0.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-04 08:55:49 +02:00
dependabot-preview[bot] d8e20e2461 build(deps): bump globby from 11.0.0 to 11.0.1 (#1129)
Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.0...v11.0.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-04 08:55:06 +02:00
dependabot-preview[bot] dd2f6f82ee build(deps): bump fork-ts-checker-webpack-plugin from 4.1.5 to 4.1.6 (#1131)
Bumps [fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases)
- [Changelog](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v4.1.5...v4.1.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-04 08:54:43 +02:00
dependabot-preview[bot] 6bf094d742 build(deps-dev): bump @types/webpack from 4.41.13 to 4.41.17 (#1130)
Bumps [@types/webpack](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack) from 4.41.13 to 4.41.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/webpack)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-04 08:54:21 +02:00
dependabot-preview[bot] 74c492727f build(deps-dev): bump @types/lodash from 4.14.151 to 4.14.155 (#1132)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.151 to 4.14.155.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-04 08:53:58 +02:00
Ivan Shmidt bc84079225 Add @types/react-router-dom to @backstage/core 2020-06-03 17:14:27 +02:00
dependabot-preview[bot] 6ded51f598 build(deps-dev): bump tsc-watch from 4.2.5 to 4.2.8 (#1100)
Bumps [tsc-watch](https://github.com/gilamran/tsc-watch) from 4.2.5 to 4.2.8.
- [Release notes](https://github.com/gilamran/tsc-watch/releases)
- [Changelog](https://github.com/gilamran/tsc-watch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gilamran/tsc-watch/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 15:19:36 +02:00
dependabot-preview[bot] 903d2dd233 build(deps-dev): bump lerna from 3.20.2 to 3.22.0 (#1116)
Bumps [lerna](https://github.com/lerna/lerna/tree/HEAD/core/lerna) from 3.20.2 to 3.22.0.
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/master/core/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v3.22.0/core/lerna)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 15:19:00 +02:00
dependabot-preview[bot] f522182f32 build(deps-dev): bump @storybook/addon-storysource from 5.3.18 to 5.3.19 (#1118)
Bumps [@storybook/addon-storysource](https://github.com/storybookjs/storybook/tree/HEAD/addons/storysource) from 5.3.18 to 5.3.19.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.3.19/addons/storysource)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 15:17:01 +02:00
dependabot-preview[bot] 8a86a1c4ba build(deps-dev): bump @types/codemirror from 0.0.93 to 0.0.95 (#1119)
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.93 to 0.0.95.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 15:15:53 +02:00
Patrik Oldsberg 41dd61984c packages/cli: make cli read app config and inject into APP_CONFIG at compile-time 2020-06-02 17:30:49 +02:00
Patrik Oldsberg 5d24d086f5 plugins/auth-backend: added basic saml provider 2020-06-02 13:38:43 +02:00
Patrik Oldsberg cd180f6928 plugins: remove mock-idp-backend 2020-06-02 12:47:30 +02:00
Patrik Oldsberg 397e670a2e plugins/auth-backend: add script for starting up saml test idp 2020-06-02 12:47:29 +02:00
Patrik Oldsberg 3573c74fca plugins/mock-idp-backend: add saml-idp + test command 2020-06-02 12:47:29 +02:00
Marcus Eide 5567c5e2e5 Merge pull request #1074 from spotify/eide/github-auth
Add github auth
2020-06-02 10:45:00 +02:00
dependabot-preview[bot] 9db24c79b8 build(deps): bump ts-jest from 26.0.0 to 26.1.0 (#1099)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.0.0 to 26.1.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.0.0...v26.1.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-02 09:46:12 +02:00
Patrik Oldsberg 7da845e844 packages/cli: use own tsconfig 2020-06-01 16:09:11 +02:00
Patrik Oldsberg f67f928afc packages/cli: remove direct web-scripts dependency and use config packages instead 2020-06-01 15:52:06 +02:00
Patrik Oldsberg c6abe12e45 packages,plugins: fix incorrect type dependencies 2020-06-01 12:27:29 +02:00
dependabot-preview[bot] 15a4d93576 build(deps-dev): bump start-server-and-test from 1.10.11 to 1.11.0 (#1085)
Bumps [start-server-and-test](https://github.com/bahmutov/start-server-and-test) from 1.10.11 to 1.11.0.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases)
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.10.11...v1.11.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-01 09:45:15 +02:00
dependabot-preview[bot] cc44775ecd build(deps-dev): bump cypress from 4.6.0 to 4.7.0 (#1086)
Bumps [cypress](https://github.com/cypress-io/cypress) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Commits](https://github.com/cypress-io/cypress/compare/v4.6.0...v4.7.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-01 09:36:52 +02:00
dependabot-preview[bot] 53ec396aeb build(deps): bump clsx from 1.1.0 to 1.1.1 (#1084)
Bumps [clsx](https://github.com/lukeed/clsx) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/lukeed/clsx/releases)
- [Commits](https://github.com/lukeed/clsx/compare/v1.1.0...v1.1.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-01 09:34:15 +02:00
dependabot-preview[bot] a8e42631d2 build(deps): bump rollup-plugin-dts from 1.4.6 to 1.4.7 (#1021)
Bumps [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts) from 1.4.6 to 1.4.7.
- [Release notes](https://github.com/Swatinem/rollup-plugin-dts/releases)
- [Changelog](https://github.com/Swatinem/rollup-plugin-dts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rollup-plugin-dts/compare/v1.4.6...v1.4.7)

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-30 14:39:30 +02:00
Marcus Eide 7a665c3c2b Add github as an auth provider to the backend 2020-05-29 15:16:10 +02:00
Nikita Nek Dudnik df4dcd8640 fix: merge errors 2020-05-29 10:37:23 +02:00