Commit Graph

1640 Commits

Author SHA1 Message Date
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
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 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
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
Patrik Oldsberg b1400b9896 packages/cli: remove cypress version override from app template 2020-05-11 11:23:33 +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
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 ad1e2fec2b Merge pull request #764 from spotify/rugvip/pdocs
packages/cli: update plugin template README to explain next steps and plugin:serve
2020-05-08 16:05:45 +02:00
Patrik Oldsberg 66d056a46c Merge pull request #763 from spotify/rugvip/pserve
packages/cli: update templates to include plugin:serve setup
2020-05-08 16:05:34 +02:00
Patrik Oldsberg fa7001007d Merge pull request #760 from spotify/rugvip/pdiff
plugins: added diff command to all plugins and templates
2020-05-08 16:05:24 +02:00
Patrik Oldsberg 36b0dc849c packages/cli: avoid removing empty lines in remove-plugin 2020-05-08 15:00:14 +02:00
Patrik Oldsberg fca8b3211e packages/cli: update plugin template README to explain next steps and plugin:serve 2020-05-08 14:52:50 +02:00
Patrik Oldsberg 298c6979e7 Merge pull request #759 from spotify/rugvip/template-deps
packages/cli: update templates dependencies
2020-05-08 14:09:14 +02:00
Fredrik Adelöw 91963eb572 Merge pull request #762 from spotify/freben/moved
Move the plugin init into their own files to keep index clean
2020-05-08 14:06:07 +02:00
Fredrik Adelöw 53b9c0766d Move the plugin init into their own files to keep index clean 2020-05-08 14:00:25 +02:00
Patrik Oldsberg c615ba09c4 packages/cli: update templates to include plugin:serve setup 2020-05-08 13:50:12 +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
Patrik Oldsberg bf4ad8d84f Merge pull request #758 from spotify/rugvip/diffcheck
packages/cli: make plugin:diff --check output all errors
2020-05-08 13:25:28 +02:00
Patrik Oldsberg 1afd6c7d92 packages/cli: update templates dependencies 2020-05-08 13:09:32 +02:00
Stefan Ålund 8b6d05abbf Adjust header label spacing (#756) 2020-05-08 13:07:36 +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
Patrik Oldsberg d568edb876 packages/cli: make plugin:diff --check output all errors 2020-05-08 13:02:29 +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
Wesley Yee 2e475ff00a Fix: Add initial stepper step to step history (#740) 2020-05-07 10:42:55 -04:00
Stefan Ålund 5c8bd82aa1 Changed style of Table story (#733) 2020-05-07 10:49:26 +02:00
Fredrik Adelöw 8d8183cca6 Merge pull request #732 from spotify/freben/dev
OCD time: devDependencies consistently below dependencies :)
2020-05-07 09:12:07 +02:00
Fredrik Adelöw 9e4c8fc8ca Merge pull request #731 from spotify/freben/lock
Running yarn on master gives these changes
2020-05-07 09:11:11 +02:00
Fredrik Adelöw c1dd24a100 OCD time: devDependencies consistently below dependencies :) 2020-05-07 08:46:10 +02:00
Fredrik Adelöw fa8bfc548b Running yarn on master gives these changes 2020-05-07 08:39:39 +02:00
Fredrik Adelöw 9820d14e7f Merge pull request #730 from spotify/freben/prettier
Ran prettier everywhere
2020-05-07 07:50:56 +02:00