![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.
@lightspeed/cirrus
Advanced tools
A package containing all Cirrus React components.
Refer to main README for usage.
Both steps are self contained in their own command.
To build, run the following command:
yarn build
This will do the followng in order:
dist
foldersrc
folderPlease note, that during the transpilation phase, the story.js
file and whatever files contained within a folder named examples
will be ignored.
You may notice that there are empty folders that get outputted into the dist
folder. These will get auto ignored during the publish phase.
First, make sure you've went through the release workflow, skip step 3 (npm publish
)
Then, to publish, run the following command:
yarn release
This will build and publish the recently built components.
If you didn't properly bump the version, npm will throw an error. So no need to worry of squashing a previously published version.
Component Name | styled-system props |
---|---|
Alert | space |
Bone | space |
width | |
bgColor | |
Button | space |
Card | colors |
CardSection | space |
Box | space |
width | |
fontSize | |
colors | |
Flex (extends Box) | flex, flexWrap, flexDirection, alignItems, justifyContent |
Divider | space |
Group | flex, justifyContent |
GroupItem | flex |
width | |
GroupAddon | width |
Logo | width |
Text | fontSize |
space | |
fontFamily, textAlign, fontWeight, letterSpacing, lineHeight | |
textTransform (custom property that takes any text-transform values) | |
fontSize | |
textColor | |
fontSize |
FAQs
Cirrus, all inclusive
The npm package @lightspeed/cirrus receives a total of 73 weekly downloads. As such, @lightspeed/cirrus popularity was classified as not popular.
We found that @lightspeed/cirrus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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.