You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@patterninc/react-ui

Package Overview
Dependencies
Maintainers
3
Versions
1678
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patterninc/react-ui

React UI component library for use at [Pattern](https://pattern.com).

3.6.9
npmnpm
Version published
Weekly downloads
325
-87.69%
Maintainers
3
Weekly downloads
 
Created
Source

React UI

React UI component library for use at Pattern.

Development

This project can be used as a frontend override, like any other app. Run yarn dev and set a frontend override to see your updates.

Adding/Updating Types

Typescript typechecking happens at build-time, so setting a frontend override won't help with typechecking. To ensure your types still work, you'll need to:

  • yalc publish in this repo

  • yalc link @patterninc/react-ui in the repo where the code will be tested (shelf/predict/marketshare/etc.)

After that, you can easily push out updates/changes from here (react-ui) to the other repos by doing:

  • yalc push --scripts

Note: you can either install yalc globally, or prefix all the previous commands with npx, e.g. npx yalc publish

Updating package.json version

Do either of the following:

  • Run npm version patch
  • Manually update the package.json version field by opening package.json and incrementing the last number

Removing yalc from Apps

Once you've tested the types, run

  • yalc remove @patterninc/react-ui

in the repo where this code was tested (Predict/Shelf/Marketshare/etc) to remove yalc changes

FAQs

Package last updated on 18 Apr 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