New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vtex/styleguide

Package Overview
Dependencies
Maintainers
31
Versions
668
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtex/styleguide

> VTEX Styleguide React components ([Docs](https://vtex.github.io/styleguide))

  • 5.4.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3K
decreased by-26.27%
Maintainers
31
Weekly downloads
 
Created
Source

Styleguide

VTEX Styleguide React components (Docs)

Usage

yarn add @vtex/styleguide --exact
# or
npm install @vtex/styleguide --save-exact
import Button from '@vtex/styleguide/lib/Button'

Developing

Setup

yarn install

Running

yarn styleguide

Snapshots

To save the components snapshots use:

yarn snap:test

Check the snapshots and to approve the changes use:

yarn snap:approve

You can use the option --filter to just test or approve a specific component. Example:

yarn snap:approve --filter "Button"

Run this in this repo:

yarn develop

In your project run:

npm link @vtex/styleguide

Import (case a <Button> component in lib):

import Button from '@vtex/styleguide/lib/Button'

Publishing

We use releasy to publish our styleguide. To publish on both npm and render(VTEX IO), execute the command below:

releasy --stable --npm 

Also, if you want to post the changelog on Github Release Notes, is required to configure a Personal Token. See more here. When you have the environment set, add a --notes flag, For example:

releasy --stable --npm --notes

Docs

To update the docs:

yarn deploy
Known issues
  • Your project has to run with webpack >= 2. Here's a guide for upgrading Webpack to v2.

FAQs

Package last updated on 03 Aug 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc