-
- Downloads

version 3 (#4756)

* Validate input to BadgeFactory.create() (#3875) * validate input to create() * remove deprecated properties (#3881) * remove BadgeFactory class (#3884) * Template literal templates (#4459) - Remove use of the doT template library and move to generating SVG output using javascript template literals. - Drop SVGO and mostly manually implement the optimisations. - Add a bunch more tests Co-authored-by:Paul Melnikow <github@paulmelnikow.com> * drop raster support in package CLI (#4523) * drop raster support in package CLI * update docs * rename gh-badges package to badge-maker * rename gh-badges dir to badge-maker * update relative imports and other refs to in parent dir 'gh-badges' --> 'badge-maker' * update snyk service tests This change is only tangentially related We've used the shields repo as an example for these tests so moving files around in our repo has a knock-on effect on them * add missing type hints to dev style page * write the changelog/migration guide for v3 * use extension in README CLI example * update CLI help whoops - missed this in #4523 * bump version * update for self-hosting users * README updates * drop .format param from CLI, always output SVG * Change text[] to label and message, Remove JSON output - Change text[] to label and message - Fix message only badge - Remove JSON output format - Update the docs * update package-lock * rename 'template' to 'style' * handle invalid styles in coalesceBadge * ensure makeBadge is passed a string for template in coalesceBadge() issue #4925 * fix (logo/no label text/label color specified) case issue #4926 * add example of (logo/no label text/label color specified) to style debug page * update type defs * padding fix for FTB style Co-authored-by:
Paul Melnikow <github@paulmelnikow.com>
Showing
- Dockerfile 2 additions, 2 deletionsDockerfile
- README.md 6 additions, 6 deletionsREADME.md
- __snapshots__/make-badge.spec.js 118 additions, 10 deletions__snapshots__/make-badge.spec.js
- badge-maker/.npmignore 0 additions, 0 deletionsbadge-maker/.npmignore
- badge-maker/CHANGELOG.md 62 additions, 1 deletionbadge-maker/CHANGELOG.md
- badge-maker/LICENSE 0 additions, 0 deletionsbadge-maker/LICENSE
- badge-maker/README.md 33 additions, 30 deletionsbadge-maker/README.md
- badge-maker/lib/badge-cli.js 14 additions, 36 deletionsbadge-maker/lib/badge-cli.js
- badge-maker/lib/badge-cli.spec.js 0 additions, 16 deletionsbadge-maker/lib/badge-cli.spec.js
- badge-maker/lib/badge-renderers.js 611 additions, 0 deletionsbadge-maker/lib/badge-renderers.js
- badge-maker/lib/color.js 1 addition, 1 deletionbadge-maker/lib/color.js
- badge-maker/lib/color.spec.js 0 additions, 0 deletionsbadge-maker/lib/color.spec.js
- badge-maker/lib/index.js 87 additions, 0 deletionsbadge-maker/lib/index.js
- badge-maker/lib/index.spec.js 75 additions, 0 deletionsbadge-maker/lib/index.spec.js
- badge-maker/lib/make-badge.js 64 additions, 0 deletionsbadge-maker/lib/make-badge.js
- badge-maker/lib/make-badge.spec.js 571 additions, 0 deletionsbadge-maker/lib/make-badge.spec.js
- badge-maker/package.json 4 additions, 7 deletionsbadge-maker/package.json
- core/badge-urls/make-badge-url.d.ts 2 additions, 0 deletionscore/badge-urls/make-badge-url.d.ts
- core/badge-urls/make-badge-url.js 2 additions, 0 deletionscore/badge-urls/make-badge-url.js
- core/base-service/base-non-memory-caching.js 1 addition, 1 deletioncore/base-service/base-non-memory-caching.js
Loading
Please register or sign in to comment