74233 Commits

Author SHA1 Message Date
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
Nikita Nek Dudnik 408435eb84 Move settings effects into a hook 2020-05-12 18:13:44 +02:00
Nikita Nek Dudnik 86350c23a2 Break stuff but add useReducer for settings 2020-05-12 17:15:05 +02:00
Fredrik Adelöw 92ec964b98 Implement first-light location refresh loop 2020-05-12 16:17:41 +02:00
Wojciech Adaszyński e399a3f8d0 Update status component: new color and shape of indicator (#811)
Co-authored-by: Wojciech Adaszynski <wojciecha@spotify.com>
2020-05-12 15:10:59 +02:00
Fredrik Adelöw fb3649625b Merge pull request #821 from spotify/mob/rename-catalog
Rename inventory to catalog
2020-05-12 14:10:49 +02:00
Bilawal Hameed 017b5b8c1d Added Zalando's copyright info to our NOTICE (#822) 2020-05-12 13:17:00 +02:00
Fredrik Adelöw e121fc6cad Rename inventory to catalog 2020-05-12 11:16:09 +02:00
Fredrik Adelöw 7a8c30ef1e Merge pull request #813 from spotify/freben/inventory_move_migrations
Move inventory migrations into the plugin itself
2020-05-12 10:40:57 +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 4e4dd67095 Merge pull request #746 from spotify/dependabot/npm_and_yarn/fs-extra-9.0.0
build(deps): bump fs-extra from 8.1.0 to 9.0.0
2020-05-12 08:28:04 +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
Fredrik Adelöw a4b0e78ad9 Merge pull request #815 from spotify/dependabot/npm_and_yarn/tar-6.0.2
build(deps): bump tar from 6.0.1 to 6.0.2
2020-05-12 08:25:07 +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 52c48ce1a7 Move inventory migrations into the plugin itself 2020-05-11 22:06:38 +02: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
Niklas Ek 901562a0b2 Merge pull request #779 from spotify/rugvip/serve
plugins: applied diff for all plugins to enable plugin:serve
2020-05-11 15:07:17 +02:00
Fredrik Adelöw 2955884047 Rename item/items -> component/components 2020-05-11 14:20:08 +02:00
Fredrik Adelöw 2955b4e862 Merge pull request #810 from spotify/freben/inventory1
Implement first knex database basics
2020-05-11 14:05:09 +02:00
Fredrik Adelöw 4b1d80b43a Implement first knex database basics 2020-05-11 13:55:00 +02:00
Nikita Nek Dudnik 1627b490b4 Get rid of <br/> 2020-05-11 13:45:59 +02:00
Nikita Nek Dudnik 313da9d660 Fix a typo in notice heading 2020-05-11 13:37:38 +02:00
Nikita Nek Dudnik b9c4eb955f Remove "huh?" 2020-05-11 13:19:10 +02:00
Nikita Nek Dudnik ddfa3e70f4 Remove double heading 2020-05-11 13:18:09 +02:00
Nikita Nek Dudnik f841accbef fix linting: add missing notice header 2020-05-11 12:04:23 +02:00
Patrik Oldsberg dd44730719 Merge pull request #808 from spotify/rugvip/noresolve
packages/cli: remove cypress version override from app template
2020-05-11 11:47:54 +02:00
Nikita Nek Dudnik ce93685619 Merge branch 'master' of github.com:Nek/backstage 2020-05-11 11:29:05 +02:00
Patrik Oldsberg b1400b9896 packages/cli: remove cypress version override from app template 2020-05-11 11:23:33 +02:00
Ivan Shmidt fdc0cf9254 Merge pull request #10 from Nek/feat/routing-through-plugin-api
feat/routing-through-plugin-api
2020-05-11 11:19:49 +02:00
Ivan Shmidt efb498a364 feat/routing-through-plugin-api 2020-05-11 11:15:57 +02:00
Nikita Nek Dudnik cae74aac85 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	packages/core/src/components/Table/Table.tsx
#	yarn.lock
2020-05-11 11:12:52 +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
Adil Alimbetov 6f0cb5de5d Updated colors for table in dark mode (#802)
* Updated colors for dark mode

* Updated type on useTheme

* Fixed code style

* Revert "Fixed code style"

This reverts commit 1969fce9a511e7f1b7390948b7b31ff13d4d9165.

* Changed hook position
2020-05-10 08:04:01 +02:00
Patrik Oldsberg 70195df296 Merge pull request #777 from spotify/rugvip/cleanup
packages/core: fix import and remove bonus code
2020-05-09 11:01:19 +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
Patrik Oldsberg fca586b704 Merge pull request #781 from spotify/rugvip/nodefault
packages/dev-utils: fix for default api factories being omitted
2020-05-08 20:28:17 +02:00
Patrik Oldsberg 0c3a91e058 Merge pull request #780 from spotify/rugvip/nosrc
package/cli: remove src-relative imports from plugin:serve
2020-05-08 19:47:07 +02:00
Patrik Oldsberg 0fc188d8a4 packages/dev-utils: fix for default api factories being omitted 2020-05-08 18:55:46 +02:00
Patrik Oldsberg 77d0e9a10f package/cli: remove src-relative imports from plugin:serve 2020-05-08 18:55:38 +02:00
Patrik Oldsberg 242427be7b plugins/tech-radar: add lighthouse api to dev env 2020-05-08 18:53:32 +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 24cb7a7f9d Merge pull request #768 from spotify/rugvip/noremove
packages/cli: avoid removing empty lines in remove-plugin
2020-05-08 17:05:59 +02:00
Patrik Oldsberg 657834e485 packages/core: remove bonus file 2020-05-08 17:04:47 +02:00
Patrik Oldsberg c723fc33e5 packages/core: fix src-relative import 2020-05-08 17:04:31 +02:00