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

@veeqo/ui

Package Overview
Dependencies
Maintainers
10
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@veeqo/ui

New optimised component library for Veeqo.

  • 0.0.4
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
decreased by-55.74%
Maintainers
10
Weekly downloads
 
Created
Source

Veeqo Components

Intro

The frontend component library for reusable components in Veeqo which aim to reflect the Veeqo Design System. When possible we should aim to re-use components in this library all over the frontend and reduce the amount of custom components we create to reduce bundle size.

This library has been re-written and refactored with the aims of enable tree-shaking which will allow us to reduce our bundle size and decrease page load times while also simplifying the library making it easier to work with and develop.

Icons and Integrations have been moved:

Getting Started

Setup should be simple, clone the repo and use npm to install all dependencies.

Testing

With this new library we aim to improve the quality of the code, and would like good test coverage of our components covering its main behaviour.

Note:

  • We use React testing library.
  • Run tests with npm run test
  • Watch (listen to changes/ file saves) tests with npm run test:watch optionally with a filepath.

Prettier Setup

Everything should mostly be setup already, if prettier isn't automatically formatting please check your .vscode/settings.json and adjust if needed (and remove from git).

You will need to install ESlint and Prettier VSCode Extensions, if you haven't already.

Publishing to NPM

We currently deploy to NPM, and you will need to be a member of the team to be able to publish.

Setup Steps

1. Register NPM and request package access

In order to make sure you're not a random stranger to do the publish, you need to register your amazon account (email ending with @amazon.com) on npm. And then create a ticket in this system to request you permission to access Veeqo-FE package, using the following options to create this access request ticket.

Category (C)
Veeqo

Type (T)
Access Provisioning

Item (I)
Access Requests

Ps: feel free to PM your manager about your access request too as sometimes they may miss the emails

2. Authenticate

Once you've granted the access to Veeqo-FE package, make sure you have authenticated NPM and logged in with your account on your local machine.

An easy way to do this is to run:

npm login

Publishing

Versioning will happen on the package.json version number, and is for the library as a whole instead of per component for simplicity.

When you make a change, which should be published to NPM please use: npm version (patch | minor | major)

  • This create a commit where you update the version number
  • Create a git tag for that version, making the version history straightward to look back on.

FAQs

Package last updated on 27 Sep 2023

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