Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add a script to check font JSON for differences with SVGs #1657

Merged
merged 6 commits into from
Mar 27, 2023

Conversation

korki43
Copy link
Contributor

@korki43 korki43 commented Mar 26, 2023

Fixes #1640.

Example Screenshot

Unsure which npm script this would belong to, so I didn't add it to so far.

@XhmikosR XhmikosR added the build label Mar 27, 2023
@XhmikosR
Copy link
Member

XhmikosR commented Mar 27, 2023

Nice one, thank you @korki43 as usual ❤️

I only had to make a few minor changes 🙂

Let me know what you think, otherwise we can merge


throw new Error('Mismatch between JSON and SVG files')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to drop this @korki43, it didn't seem to work right for some reason.

@XhmikosR XhmikosR merged commit f5621d4 into twbs:main Mar 27, 2023
@XhmikosR XhmikosR changed the title check font json for differences with svgs Check font JSON for differences with SVGs Mar 27, 2023
@XhmikosR XhmikosR changed the title Check font JSON for differences with SVGs build: add a script to check font JSON for differences with SVGs Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add a script to make sure the icons are exctly the same in bootstrap-icons.json
2 participants