Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@evaneos/b2b-ui
Advanced tools
B2B-UI v4 is currently production ready!
You can build all of your UI with the MUI 5 components proxied by B2B-ui.
Example:
import { Box, Autocomplete, Stack } from '@evaneos/b2b-ui';
Make sure you checkout the storybook for more info around setup and usage.
Contribution is super easy.
Run the storybook locally, see if a story can help you see your update and make your update. Feel free to add new stories if needed as we are all owner of the storybook.
Send your PR to be reviewed, when all green merge.
A changelog PR will automatically appear, make sure it's all good then merge it, a new version of b2b-ui will be deployed automatically upon merge.
Currently tsup
builds the library. If you want to add a new exported function or component:
You can see the source code files and the compiled target in the build-config.ts file
Are you looking to add a new component to the design system or a new utility to the utilities?
Add the export to src/evaneos/index.ts
or src/evaneos/utilities.index.ts
if it's a small addition (not a full new lib for example).
Run npm run build
then npm run test:build
, it should break if you have not updated tests, that's expected. Now you should update the exported expected snapshot by running npm run test:build -- -u
, you should see your new exports in the updated snapshot.
Get your PR reviewed, merged and merge the changelog PR
src/evaneos/[your new exported file]/index.ts
/graph-xyz
npm run build
and then npm run test:build
, it should break with the new addition, update the snapshot accordingly.npm publish --dry-run | grep graph-xyz
you should see the compiled files for your new addition.package.json.files
, add your new entry "/graph-xyz/*",
You should be good to push and get reviewed.
Do this only if you have been check by the chapter front. Usually what motivates adding new file export are
Make sure to use the @latest
since we are currently under beta.
npm install @evaneos/b2b-ui@latest
If you are looking for the v3.x.x, checkout the b2b-ui/v3.x.x branch
Checkout out our storybook for documentation.
Publishing the NPM library is automatic, you should never do it manually. it's done by the release-please github action upon merging the automatic changelog PRs.
FAQs
React components for b2b design
We found that @evaneos/b2b-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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.