
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@gitlab/ui
Advanced tools
gitlab-ui
is a UI component library written in Vue.js.
See https://gitlab-org.gitlab.io/gitlab-ui/ for documentation.
Make sure you have Node 8.x (LTS) and Yarn 1.2 or newer.
# Clone the project
git clone git@gitlab.com:gitlab-org/gitlab-ui.git
# Navigate to the root of the project
cd gitlab-ui
# Install all the dependencies of the project
yarn # or yarn install
# Build and launch storybook to see the components in the browser
yarn storybook
Go to http://localhost:9001/
Visual difference tests form part of the test suite. Rendered output can vary
from host to host (e.g., due to available fonts and how each platform renders
them), so these can fail when run locally. The easiest way to work around this
is to increase the failure threshold with the FAILURE_THRESHOLD
environment
variable:
# Sets a 2% threshold
FAILURE_THRESHOLD=.02 yarn test
If the variable is unset, it defaults to 0
.
npm install @gitlab/ui
This project uses GitLab CE's master branch application.css
for styles. If you'd like to configure a different css file to load instead of the default application.css
, you may set the CSS_URL
environment variable with the css path before building storybook.
CSS_URL=https://example.com/application.css yarn storybook
Please refer to CONTRIBUTING.md for details on how to add new components and contribute in general to gitlab-ui
.
FAQs
GitLab UI Components
The npm package @gitlab/ui receives a total of 39,657 weekly downloads. As such, @gitlab/ui popularity was classified as popular.
We found that @gitlab/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.