qld-gov-au / qgds-bootstrap5

MVP development space for Queensland Government Design System (QGDS) Bootstrap 5 implementation, Dist folder located in https://github.com/qld-gov-au/qgds-bootstrap5-release
https://qld-gov-au.github.io/qgds-bootstrap5/
3 stars 4 forks source link
bootstrap5 design design-system

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:

Technical overview

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:

** 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

IDE Development suggestions

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

Webstorm also works.