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.
@blockchain-com/components
Advanced tools
The library Blockchain Components is based on React and styled-components. It contains basic components, "atoms", and more complex "molecules" that are used on the Blockchain.com ecosystem.
Both yarn
and npm
are supported.
The commands are given using npm
however you can use the yarn
equivalent and it will Just Work™
npm i blockchain-info-components
and you are good to go!npm i
npm run start
This library follows the Atomic Design principles.
An additional attention has be taken to ensure that all components are available and fully functional accross major web browsers*, as well as responsive on any screen sizes.
Browsers with > 1% usage:
To create a new release, just run npm version patch|minor|major
Please make sure that you are on master
with a clean git status
first
Once the versioning pull request is merged, you can generate the changelog using:
git-changelog -t @LAST-VERSION-HERE@
git-changelog
can be installed with the following: npm i -g git-changelog
The coding style rules are defined by Prettier and enforced by Eslint The "good practices™" that we follow are defined by the Javascript Standard Style
The following commands are available:
npm run lint:js
Lints JS codenpm run lint:css
Lints styled componentsPlease execute npm test
to run the unit tests
Testing is done using Jest and Enzyme.
We use Husky to automatically deploy git hooks
On every git commit
and git push
we run the unit tests and the linting tasks.
FAQs
Blockchain.com components library
The npm package @blockchain-com/components receives a total of 66 weekly downloads. As such, @blockchain-com/components popularity was classified as not popular.
We found that @blockchain-com/components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.