octicons-plain-react

19.12.0 • Public • Published

octicons-plain-react npm version

A rebuild of @primer/octicons to use lightweight React components

The GITHUB trademark is owned by GitHub, Inc. This repository is not associated with GitHub.

So this package simplifies import by the Refined GitHub extension by just exporting pre-built React components with the required classes.

Install

npm install octicons-plain-react

Usage

import AlertIcon from "octicons-plain-react/alert";

<AlertIcon/>

Publishing

  1. GitHub Actions runs bump-and-publish.sh
  2. It fetches the latest version of @primer/octicons
  3. It sets its own version to match that
  4. The version script is called and it installs its own version
    • Use npm version 1.2.3 --ignore-scripts to set a custom version without updating octicons
  5. git add is called to ensure these changes are saved in the tag itself
  6. If the version change is successful, npm publish is run
  7. Publishing calls prepack.sh, which builds the components and runs all the transforms
  8. The new files are published to npm

License

MIT © GitHub Inc

Package Sidebar

Install

npm i octicons-plain-react

Weekly Downloads

53

Version

19.12.0

License

MIT

Unpacked Size

277 kB

Total Files

329

Last publish

Collaborators

  • fregante