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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@qld-gov-au/qgds-bootstrap5

v1.0.15

Published

A Queensland Online - Design System development space

Downloads

655

Readme

Queensland Government Design System - Bootstrap 5 - Edition

A Queensland Online - Design System development space

Please see For Gov - Queensland Government Design System for more details.

This is a BS5 flavour based on QGDS Figma Design. Qld Health edition can be found at design-system.health.qld.gov.au.

This includes:

  • Public NPM Release packages:
    • https://www.npmjs.com/package/@qld-gov-au/qgds-bootstrap5
    • https://github.com/qld-gov-au/qgds-bootstrap5/pkgs/npm/qgds-bootstrap5
  • Squiz Git bridge dist/binary repo: https://github.com/qld-gov-au/qgds-bootstrap5-release
  • Git CDN repo: https://github.com/qld-gov-au/qgds-bootstrap5-cdn

Technical overview

  • ES6 Javascript
  • ESbuild for bundling, minification and transpiling
  • Storybook for component development and documentation
  • Mustache JS / Handlebars JS for component and HTML templating
  • Figma for design and prototyping
  • CSS/SCSS, extending Bootstrap 5.3 core components with custom CSS properties
  • NPM for package management

Documentation

Development Getting started

Personal Development

This repo is designed to allow easy forking. Do enable GitHub Actions post forking and GitHub pages via GitHub actions Also do configure your own personal chromatic to ease development in providing delta change diff-ing.

We welcome external contributors, so don't be afraid to raise PR's back to this repo for inclusion into core deployment + cdn repo.

GitHub Actions

This repo includes many workflows to reduce developer overheads. This includes but not limited to:

  • CICD on all commit's and PR's
  • GitHub io static document deployment based on develop/main
  • Dependabot auto patching + storybook upgrade feature
  • One click npm versioning publish (patch, minor, major) **
  • Auto generate release notes based on PR's created (On version Tag)
  • Npm js package publish (On version Tag) ***
  • GitHub package Publish (On version Tag) ****

** Must configure GitHub service account ssh private key loaded into GitHub actions secret DEPLOY_KEY *** Must have npm js token loaded into GitHub actions secrets NPM_TOKEN to allow publishing. **** Switch's @qld-gov-au with forked username (lowercase) and publish to your account see .github/workflows/githubPackage.yml step Update package scope, export package name.

Quick build

If you hava java and maven installed. This will pull in a local node/npm version and run through the full lifecycle build.

git clone https://github.com/qld-gov-au/qgds-bootstrap5
cd qgds-bootstrap5
mvn install

Standard build

  1. Download

    git clone https://github.com/qld-gov-au/qgds-bootstrap5
  2. Setup

    Prerequisites

    • Node 18.17.1+
    • NPM 10.2.5+
  3. Install dependencies

    npm install
  4. Build the Design System CSS, Components and templates

    npm run build
  5. Start Watch and Storybook for component development

    npm run dev-storybook

    Alt:

    npm run watch
    npm run storybook
  6. Lint

    npm run lint
  • Static view, start a local server from /dist folder

    npm run serve
  • Next steps

    • HTML templating using drop in components

      If you wish to use the includes handle bars, please ensure "handlebars": "4.7.8" + is loaded prior to running handlebars.helpers.bundle.js

    • Dev build and testing branching

IDE Development suggestions

We recommend using VSCode as the IDE for development with the following plugins:

  • Prettier
  • ESLint
  • Mustache JS or Handlebars JS template support

Webstorm also works.