Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@gitlab-org/gitlab-svgs
Advanced tools
Repository to manage all SVG Assets for GitLab. Creates SVG Sprites out of Icons and optimises SVG based Illustrations.
On first time use locally you need to install dependencies through yarn install
yarn run svg
- Runs all tasks that are available, if you want to release a new version just run this task
All output is saved to the dist
folder, from where it is also taken from our main applications.
If you add something in master
automatically all the steps will be done for previewing the icons.
To add new icons, simply place them in the sprite_icons folder, afterwards run the yarn run svg
command.
To add new illustrations, simply copy them in the illustrations folder, afterwards run the yarn run svg
command.
On a Merge Request also run 'yarn run svg' to check in the updated SVG Sprite and corresponding files until we have an automatic CI/CD solution.
The application for previwing is based on NUXT and is located in the folder svgpreviewer
.
You can run it locally through yarn run dev
then it will available under http://localhost:3333/gitlab-svgs/
.
With yarn run generate
you can generate the static output to the public
folder.
GitLab is an open source project and we are very happy to accept community contributions. Please refer to CONTRIBUTING.md for details.
FAQs
SVG Assets for GitLab
The npm package @gitlab-org/gitlab-svgs receives a total of 6 weekly downloads. As such, @gitlab-org/gitlab-svgs popularity was classified as not popular.
We found that @gitlab-org/gitlab-svgs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.