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 🙏

© 2026 – Pkg Stats / Ryan Hefner

generator-jhipster-yellowbricks

v1.2.5

Published

Yellowbricks main blueprint — orchestrates all yellowbricks in a single JHipster blueprint

Readme

generator-jhipster-yellowbricks

Yellow Bricks Badge blueprint — a JHipster blueprint that orchestrates all yellowbricks selected in .yellowbricks.jsonc.

NPM version Generator GitHub Maintained

Concept

  generator-jhipster-yellowbricks          ← (aggregator + orchestrator) blueprint
  ├── generator-jhipster-yellowbricks-angular-contextpath
  ├── generator-jhipster-yellowbricks-spring-boot-contextpath
  ├── generator-jhipster-yellowbricks-client-contextpath
  ├── generator-jhipster-yellowbricks-angular-relativepathresource
  └── generator-jhipster-yellowbricks-client-relativepathresource

Rules

  • Every yellowbrick is a standalone JHipster blueprint — usable without this meta package
  • This meta package exists only to group and activate them
  • Each brick has exactly one responsibility

Available yellowbricks

| Yellowbrick name | What it does | | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------- | | generator-jhipster-yellowbricks-angular-contextpath | Sets baseHref in angular.json | | generator-jhipster-yellowbricks-spring-boot-contextpath | Sets context-path in application.yml | | generator-jhipster-yellowbricks-client-contextpath | Sets <base href> in index.html and swagger-ui/index.html | | generator-jhipster-yellowbricks-angular-relativepathresource | Makes logo URL relative in navbar.scss | | generator-jhipster-yellowbricks-client-relativepathresource | Makes logo URL relative in loading.css |

Prerequisites

  • Node.js ^22.18.0 || >=24.11.0
  • JHipster 9

Installation

npm install -g generator-jhipster-yellowbricks

Usage

Create a .yellowbricks.jsonc in your project directory. It supports comments, so you can easily toggle bricks and document your choices.

[!TIP] Only activate bricks that match your stack. If your JHipster app uses Vue or React instead of Angular, skip angular-contextpath and angular-relativepathresource — those bricks target Angular-specific files that won't exist in your project.

{
  // Order matters — bricks are activated in the order listed
  "use": [
    "generator-jhipster-yellowbricks-angular-contextpath",
    "generator-jhipster-yellowbricks-spring-boot-contextpath",
    "generator-jhipster-yellowbricks-client-contextpath",
    "generator-jhipster-yellowbricks-angular-relativepathresource",
    "generator-jhipster-yellowbricks-client-relativepathresource",
    // "generator-jhipster-yellowbricks-vue-relativepathresource",  // uncomment vue but don't forget to comment -angular-
  ],

  // Configuration for bricks that need it:
  // Keep contextPath the same across all context path bricks
  "generator-jhipster-yellowbricks-angular-contextpath": { "contextPath": "/jh/" },
  "generator-jhipster-yellowbricks-spring-boot-contextpath": { "contextPath": "/jh/" },
  "generator-jhipster-yellowbricks-client-contextpath": { "contextPath": "/jh/" },
}

The angular-relativepathresource and client-relativepathresource bricks require no configuration.

Then run JHipster with this blueprint:

# Standard generator
jhipster --blueprints yellowbricks

# With JDL
jhipster import-jdl your-app.jdl --blueprints yellowbricks

How to create a new yellowbrick

All yellowbricks start from the generator-jhipster-yellowbricks- prefix followed by the generator name and a purpose suffix.

To find the generator name, search the JHipster source for the template file you want to modify: https://github.com/search?q=repo%3Ajhipster%2Fgenerator-jhipster&type=code

For example, generators/angular/templates/angular.json.ejs lives under generators/angular — so the generator name is angular and the brick would be generator-jhipster-yellowbricks-angular-<purpose>.

Bricks that modify existing JHipster output

Override the specific sub-generator with sbsBlueprint: true:

mkdir generator-jhipster-yellowbricks-<generator>-<purpose>
cd generator-jhipster-yellowbricks-<generator>-<purpose>
jhipster generate-blueprint --sub-generators <generator> --all-priorities --defaults --skip-git

Answer:

| Prompt | Answer | | ---------------------------------------------------- | ------ | | Is <generator> generator a side-by-side blueprint? | Y | | Is <generator> generator a cli command? | N |

Bricks that add new files

Override the app generator with sbsBlueprint: true:

jhipster generate-blueprint --sub-generators app --defaults --skip-git

Answer:

| Prompt | Answer | | ------------------------------------------ | ------ | | Is app generator a side-by-side blueprint? | Y | | Is app generator a cli command? | N |