Paul Melnikow
d9908df571
makeBadge(): Throw an error with logo parameters that don't make sense
...
See comment:
https://github.com/badges/shields/pull/5754/files#r510414774
2020-10-27 15:23:43 -04:00
dependabot-preview[bot]
d79b0ec46a
Build(deps): bump xpath from 0.0.29 to 0.0.32 ( #5768 )
...
Bumps [xpath](https://github.com/goto100/xpath ) from 0.0.29 to 0.0.32.
- [Release notes](https://github.com/goto100/xpath/releases )
- [Commits](https://github.com/goto100/xpath/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-10-26 19:27:21 -05:00
dependabot-preview[bot]
2104135a68
Build(deps-dev): bump nodemon from 2.0.5 to 2.0.6 ( #5769 )
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v2.0.5...v2.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-25 20:35:00 +00:00
dependabot-preview[bot]
c2d1a8cd6d
Build(deps-dev): bump @types/chai from 4.2.12 to 4.2.14 ( #5766 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.2.12 to 4.2.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-25 18:02:47 +00:00
dependabot-preview[bot]
84b7413524
Build(deps-dev): bump react from 16.13.1 to 16.14.0 ( #5764 )
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-25 17:49:27 +00:00
dependabot-preview[bot]
ef56865d11
Build(deps-dev): bump gatsby-plugin-typescript from 2.4.22 to 2.4.24 ( #5762 )
...
Bumps [gatsby-plugin-typescript](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-typescript ) from 2.4.22 to 2.4.24.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases )
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-typescript/CHANGELOG.md )
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-typescript@2.4.24/packages/gatsby-plugin-typescript )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-25 17:22:48 +00:00
dependabot-preview[bot]
3701780f20
Build(deps): bump simple-icons from 3.11.0 to 3.12.1 ( #5761 )
...
Bumps [simple-icons](https://github.com/simple-icons/simple-icons ) from 3.11.0 to 3.12.1.
- [Release notes](https://github.com/simple-icons/simple-icons/releases )
- [Commits](https://github.com/simple-icons/simple-icons/compare/3.11.0...3.12.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-25 16:43:11 +00:00
dependabot-preview[bot]
0927689f45
Build(deps-dev): bump ts-mocha from 7.0.0 to 8.0.0 ( #5760 )
...
Bumps [ts-mocha](https://github.com/piotrwitek/ts-mocha ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/piotrwitek/ts-mocha/releases )
- [Changelog](https://github.com/piotrwitek/ts-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/piotrwitek/ts-mocha/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-25 16:33:22 +00:00
dependabot-preview[bot]
2d92500961
Build(deps): bump @sentry/node from 5.26.0 to 5.27.1 ( #5770 )
...
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript ) from 5.26.0 to 5.27.1.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.26.0...5.27.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-25 14:43:34 +00:00
dependabot-preview[bot]
40d7cc8ac6
Build(deps-dev): bump eslint-plugin-standard from 4.0.1 to 4.0.2 ( #5771 )
...
Bumps [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard ) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/standard/eslint-plugin-standard/releases )
- [Commits](https://github.com/standard/eslint-plugin-standard/compare/v4.0.1...v4.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-25 12:45:29 +00:00
dependabot-preview[bot]
4121a57af3
Build(deps-dev): bump eslint-plugin-react from 7.21.4 to 7.21.5 ( #5763 )
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.21.4 to 7.21.5.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.4...v7.21.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-25 12:16:25 +00:00
dependabot-preview[bot]
37b0edcfbc
Build(deps-dev): bump eslint-plugin-jsdoc from 30.6.5 to 30.7.3 ( #5759 )
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 30.6.5 to 30.7.3.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v30.6.5...v30.7.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-10-25 11:59:53 +00:00
dependabot-preview[bot]
c69ed93a0b
Build(deps): bump query-string from 6.13.2 to 6.13.6 ( #5742 )
...
Bumps [query-string](https://github.com/sindresorhus/query-string ) from 6.13.2 to 6.13.6.
- [Release notes](https://github.com/sindresorhus/query-string/releases )
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.13.2...v6.13.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
2020-10-21 20:49:53 -05:00
Paul Melnikow
f1a5dd9427
Align style prop of coalesceBadge() with internal makeBadge() ( #5726 )
...
This is an analogous change to #5719 for `’template’` and `’style’`. (See the top comment for more explanation.)
2020-10-20 19:16:38 -04:00
Joe Izzard
d60b90b860
[Wordpress] Theme & Plugin Last Updated badge ( #5722 )
...
* feat: added schema and API options for new badge
* fix: fixed platform test's for new schema and api options
* feat: added new badge for theme and plugin last updated
* test: added testing for new badge
* feat: added regex pattern for last update string
* fix: fixed mock test's that didn't match regex pattern
* refactor: changed to moment formatting
Changed to use the moment lib to validate and format last_update date strings from upstream API
* fix: fixed failing platform service tests
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
2020-10-20 17:44:58 +00:00
Joe Izzard
7e7162156b
[Wordpress] Added Theme Required WP Version Badge & refactor ( #5717 )
...
* feat: added wp required version badge for themes
Refactored to allow plugin and theme extensionType for WP Required Version. Also added required schema for themes, already present for plugins.
* test: added testing for the new badge
Added testing for the new theme badge
* refactor: convert static classes to static props
* fix: modules export
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-20 01:56:13 +00:00
dependabot-preview[bot]
47a9df7b1c
Build(deps-dev): bump @babel/core from 7.11.6 to 7.12.3 ( #5739 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.11.6 to 7.12.3.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.3/packages/babel-core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-20 00:09:57 +00:00
Bryan Kok
dd2223407f
Refactor remaining [github] services ( #5748 )
2020-10-19 18:41:03 -05:00
dependabot-preview[bot]
77826cf257
Build(deps-dev): bump @babel/polyfill from 7.11.5 to 7.12.1 ( #5738 )
...
* Build(deps-dev): bump @babel/polyfill from 7.11.5 to 7.12.1
Bumps [@babel/polyfill](https://github.com/babel/babel/tree/HEAD/packages/babel-polyfill ) from 7.11.5 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-polyfill )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* deps: fix anafanafo
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
Co-authored-by: Caleb Cartwright <caleb.cartwright@outlook.com >
2020-10-18 20:27:04 -05:00
dependabot-preview[bot]
de0a98c3a4
Build(deps-dev): bump gatsby-plugin-typescript from 2.4.16 to 2.4.22 ( #5740 )
...
Bumps [gatsby-plugin-typescript](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-typescript ) from 2.4.16 to 2.4.22.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases )
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-typescript/CHANGELOG.md )
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-typescript@2.4.22/packages/gatsby-plugin-typescript )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-19 00:33:38 +00:00
dependabot-preview[bot]
feeeda113a
Build(deps-dev): bump nodemon from 2.0.4 to 2.0.5 ( #5744 )
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v2.0.4...v2.0.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 18:13:03 +00:00
dependabot-preview[bot]
f77fd65f57
Build(deps-dev): bump eslint-plugin-import from 2.22.0 to 2.22.1 ( #5736 )
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.22.0 to 2.22.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.22.0...v2.22.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 17:25:41 +00:00
dependabot-preview[bot]
7ad2410de2
Build(deps): bump @sentry/node from 5.25.0 to 5.26.0 ( #5737 )
...
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript ) from 5.25.0 to 5.26.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.25.0...5.26.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 17:16:28 +00:00
dependabot-preview[bot]
36600fee1f
Build(deps-dev): bump @babel/register from 7.11.5 to 7.12.1 ( #5735 )
...
Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register ) from 7.11.5 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-register )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 17:08:09 +00:00
dependabot-preview[bot]
11a2084a65
Build(deps-dev): bump gatsby-plugin-page-creator from 2.3.32 to 2.3.33 ( #5732 )
...
Bumps [gatsby-plugin-page-creator](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-page-creator ) from 2.3.32 to 2.3.33.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases )
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-page-creator/CHANGELOG.md )
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-page-creator@2.3.33/packages/gatsby-plugin-page-creator )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 17:00:05 +00:00
JeongHoon Byun (a.k.a Outsider)
0737e317da
Add [GitHubSponsors] badge ( #5694 )
...
* Add GitHub Sponsors badge
Signed-off-by: Outsider <outsideris@gmail.com >
* rollback custom github sponsors logo
Signed-off-by: Outsider <outsideris@gmail.com >
* remove redirect for github sponsors
Signed-off-by: Outsider <outsideris@gmail.com >
* Update services/github/github-sponsors.service.js
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
* fix indentation as prettier
Signed-off-by: Outsider <outsideris@gmail.com >
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 16:15:00 +00:00
dependabot-preview[bot]
800b61ab46
Build(deps): bump anafanafo from 2.0.0-beta.1 to 2.0.0 in /badge-maker ( #5746 )
...
Bumps [anafanafo](https://github.com/metabolize/anafanafo ) from 2.0.0-beta.1 to 2.0.0.
- [Release notes](https://github.com/metabolize/anafanafo/releases )
- [Commits](https://github.com/metabolize/anafanafo/compare/anafanafo@2.0.0-beta.1...anafanafo@2.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>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 16:07:01 +00:00
dependabot-preview[bot]
6dbf8d009a
Build(deps-dev): bump lint-staged from 10.4.0 to 10.4.2 ( #5733 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 10.4.0 to 10.4.2.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v10.4.0...v10.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 14:38:01 +00:00
Hubert Jagodziński
7a19dc40ef
Add [GithubDirectoryFileCount] badge ( #5705 )
...
* Added GithubDirectoryFileCount badge
* Additional information on a schema
* Update services/github/github-directory-file-count.service.js
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
* Update services/github/github-directory-file-count.service.js
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
* Update services/github/github-directory-file-count.service.js
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
* More examples
* Moved isArray check to transform method
* Using isMetric for validation
* Added documentaion on type and extension parameters
* Moved a couple of service tests to unit tests
* extension is applicable for type file only
* Note on GitHub API limit
* Using metric helper for a count formatting
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 14:30:15 +00:00
dependabot-preview[bot]
10ddd866da
Build(deps-dev): bump eslint-config-prettier from 6.12.0 to 6.13.0 ( #5745 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.12.0 to 6.13.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.12.0...v6.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 10:05:35 +00:00
dependabot-preview[bot]
e786d69dbe
Build(deps-dev): bump eslint-plugin-jsdoc from 30.6.4 to 30.6.5 ( #5734 )
...
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc ) from 30.6.4 to 30.6.5.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases )
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v30.6.4...v30.6.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-18 09:32:08 +00:00
Hubert Jagodziński
e236c9a15c
Added [GithubRPackageVersion] badge ( #5708 )
...
* Added GithubRPackageVersion badge
* Minor changes to GithubGoModGoVersion badge
* More examples
* Removed mocking with nock from service tests
* Added unit tests
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-18 01:31:57 +00:00
Joe Izzard
a1c50ea4d5
[Wordpress] Plugin & Theme required php ( #5723 )
...
* feat: added schema and api options
* feat: added new badge for required php version
* test: fixed existing testing and added new for new badge
Fixed existing testing to conform to new api options and schema. Also added testing for the new badge
* fix: changed to mocked test
Changed the Theme Not Set test to a mock as unable to find a live example (previously used 'generatepress' however this now has the data). Also split out query selector fields to allow updating in one place for themes and plugins
* fix: changed the style of the badge to better show the info
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-17 18:31:58 +00:00
Marcin Mielnicki
6822922ad2
getSimpleIcon handles 'get' icon ( #5730 )
2020-10-17 19:23:39 +02:00
Paul Melnikow
4415d07e8b
A few straight refactors in badge-renderers ( #5716 )
...
These are aimed at improving readability and a bit of DRY.
2020-10-17 11:27:09 -04:00
CRIMX
668ea878d9
Add back [ChromeWebStore] rating ( #5697 )
...
* Add back Chrome Web Store rating
Replace chrome-web-store-item-property with webextension-store-meta.
fix #5475
* perf: imporve parsing performance of webextension-store-meta
* perf: improve chrome-web-store start-up speeding
* refactor: remove getters
Co-authored-by: Pierre-Yves B <PyvesDev@gmail.com >
2020-10-17 13:26:40 +02:00
Sam Donald
21c15e4029
Specify logoColor does not work with logoSvg ( #5727 )
...
If your endpoint uses the `logoSvg` you can _not_ specify the `logoColor` property. This will result in the 'invalid properties: logoColor' badge.
Related to #4749
2020-10-16 21:59:51 -05:00
Paul Melnikow
1184938ed1
Align label and message props of coalesceBadge() with internal makeBadge() ( #5719 )
...
There is an internal `makeBadge()` function which is called from a few places in the server and from the public `makeBadge()` function which is a light wrapper. (Eventually we want to dogfood the public API: that's the work of #4950 , and this helps with it by aligning the interfaces.)
Related to that is #3370 , which is about aligning the `serviceData` schema (i.e. the result of `handle()`) with the public `makeBadge()` function.
A legacy quirk of the _private_ `makeBadge()` function is accepting a `text: ['label', 'message']` array instead of separate `{ label, message }` props like the rest of the codebase. `coalesceBadge()` has to translate from `{ label, message }` to `text: ['label', message']`. This removes that bit of indirection.
It also rewrites most of the tests of `coalesceBadge()` to use `.includes()`, providing IMO a slight improvement in readability.
2020-10-16 18:06:32 -04:00
Paul Melnikow
e1bd1602a6
Fail in CI when package tests fail ( #5718 )
...
* Fail in CI when package tests fail
Fixes #5713
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
2020-10-16 21:24:23 +01:00
Paul Melnikow
aa5addb442
Change [issuestats] redirector from format to pattern ( #5720 )
...
* Change [issuestats] redirector from format to pattern
Ref #3329
* Match other services where this approach was taken
2020-10-16 20:11:17 +00:00
Joe Izzard
374bf4aafa
[Wordpress] Convert static classes to props ( #5725 )
...
* refactor: downloads
* refactor: ratings
* refactor: versions
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-16 19:44:59 +00:00
Paul Melnikow
43f7adbe64
Use our typical casing for [nodeping] label ( #5715 )
...
* Use our typical casing for [nodeping] label
* Fix test + reformat
2020-10-16 00:17:19 +00:00
Paul Melnikow
af3f720113
Improve appearance of for-the-badge and social badges by measuring correct font ( #5696 )
...
Even before #2311 , Shields has measured all badge text using 11px Verdana, which is the correct font for plastic, flat, and flat-square.
However the for-the-badge style uses 10px Verdana and bold 10px Verdana, and the social badge uses bold 11px _Helvetica_. This causes these badges to be wider or narrower than they should be, and the text to be stretched accordingly.
Since the for-the-badge style relies on synthetic letter spacing (we just multiply the computed length in code) there is room to massage this further. Our test badges all look as good or better than before, so I think it should not block merging this, however we might need to get it right before the downstream problem in squint goes away. (There's also #4691 which this doesn't attempt to address.)
Fixes #4275
2020-10-15 20:06:46 -04:00
Dominik Grzelak
d1ec834cb5
[Github] Handle the case when the Github deployment status returns null ( #5704 )
...
* Handle the case when the Github deployment status returns null
* Integration test null latestStatus response from Github Deployments
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-10-15 23:51:31 +00:00
Paul Melnikow
cd70bf5246
Prettify the SVG snapshots (and a couple cleanups) ( #5714 )
...
I’m running into some strange issues working on badge-maker in #5696 , where the images look good but the snapshots have changed in unexpected ways. I’m finding them a little tricky to debug.
This saves the prettified snapshots instead, which I think will make them easier to compare and debug. They may have to be updated when we upgrade prettier.
I also inlined a few things in the test file.
2020-10-15 19:40:14 -04:00
Paul Melnikow
cbd8eba2c4
Fix REQUIRE_CLOUDFLARE for Heroku ( #5712 )
...
Ref #3027
2020-10-15 19:27:07 -04:00
chris48s
a4a8258fd5
unskip token integration test ( #5711 )
...
* unskip token integration test
* Update services/github/github-api-provider.integration.js
Co-authored-by: Paul Melnikow <github@paulmelnikow.com >
Co-authored-by: Paul Melnikow <github@paulmelnikow.com >
2020-10-15 21:44:07 +00:00
Marcin Mielnicki
e03549d88d
fix: TypeError in [DockerVersion] badge ( #5707 )
...
* fix: TypeError in DockerVersion badge
* A reference to the issue in test
Co-authored-by: Paul Melnikow <github@paulmelnikow.com >
Co-authored-by: Paul Melnikow <github@paulmelnikow.com >
2020-10-15 22:02:04 +02:00
Marcin Mielnicki
1aa25ab321
Add a deployment status using GitHub Actions ( #5709 )
2020-10-15 21:52:40 +02:00
Hubert Jagodziński
b9d5da66fd
Update service-tests.md ( #5706 )
...
* Update service-tests.md
Added information `expectBadge()` accepts a RegExp.
* Run prettier
2020-10-15 19:19:46 +00:00