npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

generator-helm-phr

v1.9.1

Published

Generator for automatic creating HelmPHR-version

Downloads

1

Readme

General infornation

The Helm PHR Generator comprises of three key Ripple Foundation supported components namely, PulseTile, QEWD.js and EtherCIS. Each component is developed independently and therefore has its own development and build process. This Generator takes the PulseTile component (React.js version) and gets it ready for deployment within the Helm PHR environment.

Any version of PulseTile-React project, such as this Helm PHR version, consists of two main parts: Core framework and Non-Core plugins, including themes (i.e. styles and images).

This generator allows us to change / add / remove select plugins and automatically create the PulseTile Showcase build without changing the PulseTile React.js core framework.

For this automatic creation of the build, a generator based on Yeoman technology is used. This tool gives the possibility to create new builds from modules, that are located in the separate GitHub repositories.

To learn more about Yeoman, please see http://yeoman.io/

The components used in the Helm PHR Generator

The current version of Helm PHR Generator includes following sub-generators:

  1. Core sub-generator;
  2. Non-core plugins sub-generators:
    • for TopThreeThings plugin;
    • for Vaccinations plugin;
    • for Feeds plugin;
  3. Non-core features sub-generators:
    • for Terms and Conditions feature plugin;
  4. Theme Helm PHR sub-generator;
  5. Sub-generator for configuration files updating.

You can see how it works on the scheme below:

alt text

How it works

We have separate GitHub repositories with Core (all core plugins and features), Non-Core plugins and features, and Theme that are then imported.

When the Helm PHR version is built, Generator makes following steps automatically:

  1. Clone latest version of Core from GitHub and install all required modules and libraries: $ yo helm-phr:core

  2. Clone all Non-Core plugins from GitHub and add it to Non-Core component storage:
    $ yo helm-phr:plugin-top-three-things
    $ yo helm-phr:plugin-vaccinations
    $ yo helm-phr:plugin-feeds

  3. Clone other features from GitHub and add it to the Non-Core component storage:
    $ yo helm-phr:feature-user-tour

  4. Clone Helm-PHR-theme from GitHub and add it into your build:
    $ yo helm-phr:theme-helm-phr --force

  5. Update the config files which unite Core with Non-Core component storage:
    $ yo helm-phr:update --theme=helm --force

  6. Create the build:
    $ npm run build

After these steps have taken place, the built Helm PHR version is ready for use.

Please see more detailed command line instructions below.

Before installing the Generator, you will need the following:

  • Node.js 6 or higher
  • npm 3 or higher (which comes bundled with Node)
  • Git

You can check current version by:

   $ node --version  
   $ npm --version  
   $ git --version  

Installing

Install Yeoman tool at you local machine if it is absent there:

    $ npm install -g yo
    $ npm install -g generator-helm-phr

Go to the directory, where you will create your build, for example:

    $ cd /var/www/html/myDirectoryName/

Use Yeoman-generator to create your build automatically:

    $ yo helm-phr:core
    $ yo helm-phr:plugin-top-three-things 
    $ yo helm-phr:plugin-vaccinations 
    $ yo helm-phr:plugin-feeds 
    $ yo helm-phr:feature-user-tour
    $ yo helm-phr:theme-helm-phr --force
    $ yo helm-phr:update --theme=helm --force

Attribute --theme is used to set the name of required theme.

Attribute --force is used for overwriting config files by default.

Attribute --skip is used for skipping user dialog. You can use this attribute with each sub-generator. It is necessary if you want to provide automatic work of Generator (in Docker, for example)

When you build will be created, go to project directory and create the build:

    $ cd PulseTile-React-Core
    $ npm run build

Your build will be located in two places:

  • as zip-archive in projectDirectory/build/
  • as set of files in projectDirectory/dist/