Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@payfit/midnight

Package Overview
Dependencies
Maintainers
5
Versions
438
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@payfit/midnight

React UI components library for the PayFit Design System

  • 0.10.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

midnight

React UI components for the PayFit Design System

Usage

Install

  • yarn add @payfit/midnight (or npm i -S @payfit/midnight)

Import

import { Text, Button } from '@payfit/midnight'

Development

Run dev

  • yarn
  • yarn start (will start the storybook)
  • open http://localhost/9001 on your favorite browser (Chrome)

Test

  • yarn test

Release new version

  • npm login (login info in 1Password at npm)
  • git config --global push.followTags true (will push tags with git push automatically)
  • npm version patch|minor|major
  • npm publish
  • git push

Deploying APP

Make sure you did this before: https://www.notion.so/payfitapp/Connecting-to-our-staging-preprod-testing-Kubernetes-cluster-Getting-started-1ca6f236d9d64e2c8ea292cb6c6f55f1

You'll need helm:

brew install kubernetes-helm

Push your work, make sure CircleCi has finished its jobs (https://circleci.com/gh/PayFit/workflows)

Then if you want your work be accessed from: 'midnight-[branch-name].payfit.tech', you can deploy it through helm:

# Deploy
helm upgrade --namespace midnight --install [branch-name] ./deploy/website

# List deployed storybooks
helm list --namespace midnight

# Delete storybook named X when running the list command
helm del --purge [branch-name]

Starting now, when your branch will be updated, deployment will automatically be updated.

WARNING: If your branch name contains a non-alphanumerical character (such as / \_) it will be replaced by -.

When you don't need to publish a branch anymore, don't forget to purge it.

FAQs

Package last updated on 20 May 2019

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