Socket
Book a DemoInstallSign in
Socket

@engyalo/react-yalo-components

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@engyalo/react-yalo-components

react library with reusable components

2.0.4
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

⛔️ DEPRECATED

This project has been deprecated, if you need a component or help with one in this library please reach yalo eng team

React Yalo Components

This project contains multiple reusable componentes based on Yalo Design guidelines.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. ˚

Try the project before publishing it.

You might need to test the library within the context of an app. This library installs react and react-dom to be able to run, but when mixed with other projects that also have these libraries in particular tests might start failing. The following steps will solve that issue: As an example, we will use App1 as the name of the app we want to try our library in._

  • pushd App1/node_modules/react
  • yarn link && popd
  • pushd App1/node_modules/react-dom
  • yarn link && popd
  • pushd react-yalo-components/
  • yarn link react
  • yarn link react-dom
  • yarn link && popd
  • cd App1/
  • yarn link @engyalo/react-yalo-components

pushd and popd are replacements for cd ... that are programmatically capable to go back to where you started before using cd

if you are interested in further reading about why we need to do all this, please read the following issue.

another alternative is to "pack" the changes into a .tgz file.

  • pushd react-yalo-components/
  • make all the changes you want
  • yarn build
  • npm pack
  • popd
  • pushd App1/
  • yarn add path/where/react-yalo-components/react-yalo-components-[major]-[minor]-[fix].tgz

Run project

After having all the dependencies you can run

yarn storybook

Runs storybook command to open a UI where you can play with all the components the library has.

The page will reload if you make edits. You will also see any lint errors in the console.

Running the tests

To run test just run

yarn test

Build

To build components we use Bit as component manager so each of the component is upload independently.

Dependencies

This project uses:

FAQs

Package last updated on 27 Oct 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.