Gathering detailed insights and metrics for @redallen-patternfly/react-core
Gathering detailed insights and metrics for @redallen-patternfly/react-core
Gathering detailed insights and metrics for @redallen-patternfly/react-core
Gathering detailed insights and metrics for @redallen-patternfly/react-core
npm install @redallen-patternfly/react-core
Typescript
Module System
Node Version
NPM Version
@redallen-patternfly/react-core@6.0.5
Updated on Feb 21, 2019
@redallen-patternfly/react-table@5.0.5
Updated on Feb 21, 2019
@redallen-patternfly/react-docs@3.26.5
Updated on Feb 21, 2019
@redallen-patternfly/react-table@5.0.3
Updated on Feb 21, 2019
@redallen-patternfly/react-core@6.0.3
Updated on Feb 21, 2019
@redallen-patternfly/react-docs@3.26.3
Updated on Feb 21, 2019
TypeScript (97.55%)
JavaScript (1.36%)
CSS (0.65%)
HTML (0.14%)
SCSS (0.14%)
Shell (0.09%)
Handlebars (0.06%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
3,522
Last Day
1
Last Week
3
Last Month
32
Last Year
414
MIT License
3,520 Commits
386 Branches
3 Contributors
Updated on Nov 25, 2020
Latest Version
6.0.4
Package Id
@redallen-patternfly/react-core@6.0.4
Unpacked Size
10.14 MB
Size
6.27 MB
File Count
991
NPM Version
lerna/3.13.0/node@v8.15.0+x64 (darwin)
Node Version
8.15.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
200%
3
Compared to previous week
Last Month
60%
32
Compared to previous month
Last Year
-35.6%
414
Compared to previous year
8
3
34
This package provides Core PatternFly components for the PatternFly 4.
This project currently supports Node Active LTS releases. Please stay current with Node Active LTS when developing patternfly-react.
For example, to develop with Node 8, use the following:
nvm install 8
nvm use 8
This project also requires a Yarn version of >=1.6.0. The latest version can be installed here.
yarn add @patternfly/react-core
or
npm install @patternfly/react-core --save
It's strongly advised to use the PatternFly Base CSS in your whole project, or some components may diverge in appearance:
1import '@patternfly/react-core/dist/styles/base.css';
1import React from 'react'; 2import { Button } from '@patternfly/react-core'; 3 4export default <Button variant="primary">Button</Button>;
All css related to each component is provided alongside it. There is no component level CSS to import.
This project uses Gatsby. For an overview of the project structure please refer to the Gatsby documentation - Building with Components.
A comprehensive list of components and detailed usage of each can be found on the PatternFly React Docs website You can also find how each component is meant to be used from a design perspective on the PatternFly 4 Core website.
Note: All commands below assume you are on the root directory in this repository.
Run to install all the dependencies
1yarn && yarn bootstrap && yarn build && yarn build:docs
To start the site locally.
1yarn build && yarn start:pf4
To build the site.
1yarn build:docs
This library makes use of the babel plugin from @patternfly/react-styles to enable providing the CSS alongside the components. This removes the need for consumers to use (style|css|sass)-loaders. For an example of using CSS from core you can reference Button.js. For any CSS not provided by core please use the StyleSheet.create
utility from @patternfly/react-styles. This will prevent collisions with any consumers, and allow the CSS to be bundled with the component.
yarn build
Note the build scripts for this are located in the root package.json under yarn build
.
Testing is done at the root of this repo. To only run the patternfly-react tests:
yarn test packages/patternfly-4/react-core
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
no SAST tool detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
159 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-17
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More