Commit Graph

116 Commits

Author SHA1 Message Date
dependabot-preview[bot] b5e2d9a1e8 build(deps-dev): bump @types/react-router-dom from 5.1.3 to 5.1.5 (#899)
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom) from 5.1.3 to 5.1.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-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-18 08:53:30 +02:00
dependabot-preview[bot] b16ad78bee build(deps-dev): bump tsc-watch from 4.2.3 to 4.2.5 (#873)
Bumps [tsc-watch](https://github.com/gilamran/tsc-watch) from 4.2.3 to 4.2.5.
- [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-05-15 08:57:18 +02:00
dependabot-preview[bot] 0f57dd2aac build(deps): bump rc-progress from 2.5.3 to 3.0.0 (#872)
Bumps [rc-progress](https://github.com/react-component/progress) from 2.5.3 to 3.0.0.
- [Release notes](https://github.com/react-component/progress/releases)
- [Changelog](https://github.com/react-component/progress/blob/master/HISTORY.md)
- [Commits](https://github.com/react-component/progress/compare/2.5.3...3.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-05-15 08:54:56 +02:00
dependabot-preview[bot] 6e4d7866ce build(deps): bump @rollup/plugin-json from 4.0.2 to 4.0.3 (#874)
Bumps [@rollup/plugin-json](https://github.com/rollup/plugins) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/url-v4.0.2...json-v4.0.3)

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-15 08:36:04 +02:00
nikek f0b97f5ff9 make env string 'false' set cors to false 2020-05-14 15:04:18 +02:00
Marcus Eide a038b5595e Merge pull request #816 from spotify/dependabot/npm_and_yarn/rollup-plugin-postcss-3.1.1
build(deps): bump rollup-plugin-postcss from 2.5.0 to 3.1.1
2020-05-14 13:19:20 +02:00
Patrik Oldsberg 5553d2dc94 bump react-use to 14.2.0 + add to core 2020-05-14 11:02:53 +02:00
dependabot-preview[bot] b23c6d3276 build(deps): bump rollup-plugin-postcss from 2.5.0 to 3.1.1
Bumps [rollup-plugin-postcss](https://github.com/egoist/rollup-plugin-postcss) from 2.5.0 to 3.1.1.
- [Release notes](https://github.com/egoist/rollup-plugin-postcss/releases)
- [Changelog](https://github.com/egoist/rollup-plugin-postcss/blob/master/CHANGELOG-OLD.md)
- [Commits](https://github.com/egoist/rollup-plugin-postcss/compare/v2.5.0...v3.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-14 06:44:01 +00:00
dependabot-preview[bot] 5ed0ec374a build(deps): bump ts-loader from 6.2.1 to 7.0.4 (#838)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 6.2.1 to 7.0.4.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v6.2.1...v7.0.4)

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-14 08:39:16 +02:00
dependabot-preview[bot] da149fc195 build(deps-dev): bump @types/jquery from 3.3.34 to 3.3.38 (#854)
Bumps [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery) from 3.3.34 to 3.3.38.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery)

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-14 08:38:53 +02:00
dependabot-preview[bot] dbf0ae6cba build(deps-dev): bump @types/supertest from 2.0.8 to 2.0.9 (#857)
Bumps [@types/supertest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/supertest) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/supertest)

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-14 08:38:26 +02:00
dependabot-preview[bot] da034b0ef6 build(deps-dev): bump @types/yup from 0.28.2 to 0.28.3 (#855)
Bumps [@types/yup](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yup) from 0.28.2 to 0.28.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yup)

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-14 08:37:41 +02:00
dependabot-preview[bot] 1b6a9538c1 build(deps-dev): bump @storybook/addon-links from 5.3.17 to 5.3.18 (#856)
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 5.3.17 to 5.3.18.
- [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.18/addons/links)

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-14 08:37:24 +02:00
dependabot-preview[bot] 64bd3982c3 build(deps-dev): bump nodemon from 2.0.2 to 2.0.3 (#853)
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.2...v2.0.3)

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-14 08:37:04 +02:00
dependabot-preview[bot] 7cb381b664 build(deps): bump replace-in-file from 5.0.2 to 6.0.0
Bumps [replace-in-file](https://github.com/adamreisnz/replace-in-file) from 5.0.2 to 6.0.0.
- [Release notes](https://github.com/adamreisnz/replace-in-file/releases)
- [Changelog](https://github.com/adamreisnz/replace-in-file/blob/master/CHANGELOG.md)
- [Commits](https://github.com/adamreisnz/replace-in-file/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 15:07:22 +00:00
Patrik Oldsberg 4b260bf70a Merge pull request #836 from spotify/dependabot/npm_and_yarn/types/helmet-0.0.47
build(deps-dev): bump @types/helmet from 0.0.45 to 0.0.47
2020-05-13 16:22:53 +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
Fredrik Adelöw 9114a08081 Rearrange ingestion and descriptor parsing 2020-05-13 10:34:53 +02:00
Fredrik Adelöw eb2b85fba4 Merge pull request #829 from spotify/mob/refresh
Implement first-light location refresh loop
2020-05-13 10:33:47 +02:00
Niklas Ek 23e2bf1e05 Merge pull request #839 from spotify/dependabot/npm_and_yarn/react-router-5.2.0
build(deps): bump react-router from 5.1.2 to 5.2.0
2020-05-13 10:32:30 +02:00
dependabot-preview[bot] 930752a453 build(deps-dev): bump @types/helmet from 0.0.45 to 0.0.47
Bumps [@types/helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/helmet) from 0.0.45 to 0.0.47.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/helmet)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 07:29:35 +00:00
dependabot-preview[bot] b103a16c88 build(deps): bump @lerna/project from 3.18.0 to 3.21.0 (#840)
Bumps [@lerna/project](https://github.com/lerna/lerna/tree/HEAD/core/project) from 3.18.0 to 3.21.0.
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/master/core/project/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v3.21.0/core/project)

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-13 09:27:47 +02:00
Fredrik Adelöw 1e8ad4b163 Bump TS to 3.9 2020-05-13 08:34:08 +02:00
dependabot-preview[bot] b9604720a6 build(deps): bump react-router from 5.1.2 to 5.2.0
Bumps [react-router](https://github.com/ReactTraining/react-router) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/ReactTraining/react-router/releases)
- [Changelog](https://github.com/ReactTraining/react-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ReactTraining/react-router/compare/v5.1.2...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 06:27:52 +00:00
Wojciech Adaszyński 3435ae9a13 Add Register Component plugin (#826)
Co-authored-by: Wojciech Adaszynski <wojciecha@spotify.com>
2020-05-13 08:11:06 +02:00
Fredrik Adelöw 92ec964b98 Implement first-light location refresh loop 2020-05-12 16:17:41 +02:00
Fredrik Adelöw 748a0858d4 Merge pull request #812 from spotify/freben/inventory2
Implement location management
2020-05-12 10:32:03 +02:00
Patrik Oldsberg 10c85d97f9 Merge pull request #817 from spotify/dependabot/npm_and_yarn/types/webpack-4.41.12
build(deps-dev): bump @types/webpack from 4.41.8 to 4.41.12
2020-05-12 09:57:26 +02:00
Fredrik Adelöw 41f32d90ae Merge pull request #818 from spotify/dependabot/npm_and_yarn/husky-4.2.5
build(deps-dev): bump husky from 4.2.3 to 4.2.5
2020-05-12 08:26:15 +02:00
dependabot-preview[bot] 978fcee4a9 build(deps-dev): bump husky from 4.2.3 to 4.2.5
Bumps [husky](https://github.com/typicode/husky) from 4.2.3 to 4.2.5.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.3...v4.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 06:17:02 +00:00
dependabot-preview[bot] f74ebf31ca build(deps-dev): bump @types/webpack from 4.41.8 to 4.41.12
Bumps [@types/webpack](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack) from 4.41.8 to 4.41.12.
- [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>
2020-05-12 06:16:08 +00:00
dependabot-preview[bot] e8bbf91647 build(deps): bump tar from 6.0.1 to 6.0.2
Bumps [tar](https://github.com/npm/node-tar) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 06:12:13 +00:00
Fredrik Adelöw d682714249 Implement location management 2020-05-11 20:10:44 +02:00
Nathan Calvank 8b2dd21fd0 Issue 660: CodeSnippet Reuseable component (#803)
* Initial CodeSnippet setup in Storybook

* Add support for line numbers

* Pseudo-code some basic tests and leverage useTheme hook

The test suite cannot currently be run, as the react-syntax-highlighter
appears to be using ESM, which are not supported by Jest out-of-the-box.

This should only require a simple Babel loader to remedy, but I want to
make sure first that I have not misconfigured something, as configuring
Babel is likely a notable scope increase for this relatively small
issue.

* Fix ESM Jest issue and update tests

It would be ideal to have snapshot tests to cover the lightmode vs
darkmode rendering. I started experimenting with directly testing the
styling, and it quickly became very sloppy.

* Provide more examples in stories

* Add showLineNumbers to PropType validation
2020-05-11 16:28:20 +02:00
Fredrik Adelöw 4b1d80b43a Implement first knex database basics 2020-05-11 13:55:00 +02:00
dependabot-preview[bot] 24928cf283 build(deps): bump rc-progress from 2.5.2 to 2.5.3 (#806)
Bumps [rc-progress](https://github.com/react-component/progress) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/react-component/progress/releases)
- [Changelog](https://github.com/react-component/progress/blob/master/HISTORY.md)
- [Commits](https://github.com/react-component/progress/compare/2.5.2...2.5.3)

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-11 08:25:06 +02:00
dependabot-preview[bot] d07101cffe build(deps): bump chokidar from 3.3.1 to 3.4.0 (#739)
Bumps [chokidar](https://github.com/paulmillr/chokidar) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](https://github.com/paulmillr/chokidar/compare/3.3.1...3.4.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-05-10 18:01:28 +02:00
dependabot-preview[bot] 25987dc467 build(deps): bump @rollup/plugin-node-resolve from 7.1.1 to 7.1.3 (#738)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 7.1.1 to 7.1.3.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v7.1.1...node-resolve-v7.1.3)

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-09 00:01:07 +02:00
dependabot-preview[bot] dbf6b462bc build(deps): bump webpack from 4.42.0 to 4.43.0 (#744)
Bumps [webpack](https://github.com/webpack/webpack) from 4.42.0 to 4.43.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.42.0...v4.43.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-05-08 13:06:36 +02:00
dependabot-preview[bot] 7474a67738 build(deps): bump ora from 4.0.3 to 4.0.4 (#745)
Bumps [ora](https://github.com/sindresorhus/ora) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/compare/v4.0.3...v4.0.4)

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 12:12:32 +02:00
dependabot-preview[bot] c6a4d74cce build(deps-dev): bump @storybook/addon-actions from 5.3.17 to 5.3.18 (#747)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 5.3.17 to 5.3.18.
- [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.18/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-05-08 08:30:34 +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 fa8bfc548b Running yarn on master gives these changes 2020-05-07 08:39:39 +02:00
Patrik Oldsberg 4f32c5a5d3 Merge pull request #702 from spotify/rugvip/pdiff
package/cli: added plugin:diff command
2020-05-05 11:06:16 +02:00
blam ef210545c9 Merge branch 'master' of github.com:spotify/backstage into blam/scaffolder
* 'master' of github.com:spotify/backstage:
  Rename Scaffolder -> Create (#712)
  Set the initial Storybook theme to light (#711)
  It's InputError then
  Even denser errors
  Better errors
  Show stack in dev
  [backend] use common error types
  Update Discord link in design docs, fix #672 (#710)
  [inventory] move out inventory instantiation + renaming
  Table component with filter and search (#600)
  [Storybook] Improve Status stories (#699)
  Fix blinking animation bug for Status Running component (#706)
  packages/cli: add lib ES2019 to common tsconfig
2020-05-04 19:40:18 +02:00
Fredrik Adelöw 48b4a86a97 [backend] use common error types 2020-05-04 16:06:02 +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
blam cc8dbdfe5e Merge branch 'master' of github.com:spotify/backstage into blam/scaffolder
* 'master' of github.com:spotify/backstage:
  [Plugin] Explore features in Backstage (#696)
  [Storybook] Fix Storybook compilation warnings (#701)
  Make the inventory backend standalone runnable
2020-05-03 15:46:23 +02:00