![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@veeqo/ui
Advanced tools
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 WILL been moved:
For now please use individual icons to preserve tree shaking, while downstream uses can use the old component library Glyph component if needed (not tree shakable, huge size).
Setup should be simple, clone the repo and use npm to install all dependencies.
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:
npm run test
npm run test:watch
optionally with a filepath.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.
We currently deploy to NPM, and you will need to be a member of the team to be able to publish.
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
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
Versioning will happen on the package.json
version number, and is for the library as a whole instead of per component for simplicity.
When have made a change you want published, use npm run patch
or npm run minor
or npm run major
depending on your changes:
After this is done, merge your PR.
Once your PR is reviewed and merged, you can then run npm publish
from master.
FAQs
New optimised component library for Veeqo.
The npm package @veeqo/ui receives a total of 5,498 weekly downloads. As such, @veeqo/ui popularity was classified as popular.
We found that @veeqo/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.