
Security News
Open VSX Begins Implementing Pre-Publish Security Checks After Repeated Supply Chain Incidents
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.
@hiro-ui/bootstrap
Advanced tools
This project provides standardised components, themes and rendering for Hiro Apps. By rendering your React app as a Hiro App; Authentication, ORM, Redux store and Routing are all handled for you. Additionally, Hiro UI Themes are provided and work in conjunction with the underlying Semantic UI components to provide re-usable React components.
yarn lerna publish
First create your React app using the create-react-app tool.
yarn create react-app my-app --typescript
Follow the given instructions.
Then import components as normal and use:
import { Container, Menu, MenuItem, Segment } from '@hiro-ui/bootstrap';
import HiroLogo from './hiro-logo.svg';
const MyApp = () => (
<Container>
<GlobalStyle />
<Menu bordered>
<MenuItem border="right">
<img src={HiroLogo} width={35} height={35} alt="HIRO Login" />
</MenuItem>
<MenuItem>Welcome</MenuItem>
</Menu>
<p>Hello world!</p>
</Container>
);
Hello world!
See the docs for examples of components and their props: https://arago.github.io/hiro-ui/
First, install this package, ESLint and the necessary plugins.
yarn add -D @hiro-ui/eslint-config
Then create a file named .eslintrc.json with following contents in the root folder of your project:
{
"extends": "@hiro-ui"
}
Install:
$ yarn add --dev @hiro-ui/prettier-config
Edit package.json:
{
// ...
"prettier": "@hiro-ui/prettier-config"
}
Install:
yarn add --dev husky @hiro-ui/husky-config
Create .huskyrc.js:
module.exports = require('@hiro-ui/husky-config');
Run the storybook locally:
yarn storybook
Storybook exists remotely on arago.github.io. Once you update any story, you will need to publish it there.
The main idea is that you need to generate files in docs folder of bootstrap on master branch,
copy it somewhere, checkout to gh-pages branch, replace all the files
in storybook-files folder with the generated ones and push updated gh-pages.
git checkout master && git pullcd packages/bootstrap/Generate files and folders inside of docs folder that will be used in the future:
yarn docsCreate a folder located over hiro-ui:
cd ../../ && mkdir ../docsCopy all the generated files into created on the previous step folder:
cp -r docs/* ../docsrm -r docs/*Pull gh-pages branch:
git checkout gh-pages && git pullRemove existing files:
rm -r storybook-files/*Populate storybook-files with new files:
cp -r ../docs/* ./storybook-filesgit add ./storybook-files && git commit -m "Your commit" && git push origin gh-pagesrm -rf ../docsFAQs
Hiro UI - Bootstrap
The npm package @hiro-ui/bootstrap receives a total of 196 weekly downloads. As such, @hiro-ui/bootstrap popularity was classified as not popular.
We found that @hiro-ui/bootstrap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.