Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
harvest-profit-ui
Advanced tools
A collection of React components used by Harvest Profit to rapidly prototype new ideas without re-inventing the wheel.
Check out the docs!
You can install this via NPM:
npm install harvest-profit-ui
Or Yarn:
yarn add harvest-profit-ui
Each component is actually exported from the main package, so you would simply do the following:
import { Button, InputString } from 'harvest-profit-ui';
You will need something to compile SASS, like webpack with sass-loader.
Styles are SCSS files contained separately from the code. You'll have to import those yourself, either in a SASS file, like so:
// Import from the node modules directory directly
@import './node_modules/harvest-profit-ui/scss/index';
// Import after setting up webpack (or other build method) with node_modules included
@import 'harvest-profit-ui/scss/index';
Or you can require it in a bundled Javascript file (when using webpack or other build tool with SASS):
// Using ES6 "import"
import 'harvest-profit-ui/scss/index.scss';
// Using "require" syntax
require('harvest-profit-ui/scss/index.scss');
You can overwrite the default variables by looking at the _variables.scss
file, and creating the variables ahead of time, when using your own SCSS file:
/* my-styles.scss */
// Define "blue" before the import
$blue: #3d87bf;
// Anything "blue" will use the new "blue"
@import 'harvest-profit-ui/scss/index';
The documentation for this project can be found here.
This project uses React Styleguidist for documentation. While developing, you may find it useful to preview your components. You can do so by running the development server with:
yarn run start
To deploy a new version to NPM, bump the version number, commit/merge to master
, and run the following:
yarn run clean
yarn run build
# Either NPM
npm publish
# Or Yarn, they do the same thing
yarn publish
This project is MIT licensed
FAQs
Harvest Profit UI Components
We found that harvest-profit-ui 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.