Our great sponsors
-
Fact: I’ve learnt this from watching tailwindlabs/heroicons.
-
We will use svgo to optimize our SVG icon files since:
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
This is my optimized result file.
-
For the first release, you have to run yarn changeset. It will ask what kind of Semantic Versioning you want to bump your package and write a short summary about it. It will create something like this and you now can commit this file to your repository.
-
When you have the final dist folder as the result now you can publish this to npm. It can be easily done by login into the npm account via NPM CLI npm login and run the npm publish --access public after that. But I want to leverage GitHub Actions and atlassian/changesets to do this automatically for me.
-
changesets has a very detailed instruction to implement their action into your GitHub workflows here https://github.com/changesets/action Or you can get my release.yml here release.yml.
-
We need some packages in order to transform our SVG files into React SVG components and then convert JSX syntax into CJS and ESM module format. We use babel and svgr.
-
Sonar
Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
Before come up with these plugins, I tried to mess around on this website SVGOMG - SVGO’s Missing GUI
-
We need some packages in order to transform our SVG files into React SVG components and then convert JSX syntax into CJS and ESM module format. We use babel and svgr.