ONSdigital / sdc-global-design-patterns

The SDC Global Design Pattern library. Used as the basis for SDC projects. Outputs to CDN for use in production and development projects, documentation publishes to netlify.
https://sdc-global-design-patterns.netlify.com/
11 stars 2 forks source link
cdn frctl javascript pattern-library scss

GitHub release GitHub issues GitHub pull requests GitHub Fractal

⚠ This repository has now been archived and replaced with the ONS Design System - https://github.com/ONSdigital/design-system

Prerequisites

Getting started

  1. Install dependencies with yarn
  2. Run with browsersync yarn start

Pull requests

  1. Review pull request and comment as appropriate.
  2. Approved pull requests should then be pulled by approver and a deploy run to update the published pattern library.

Deploy

Deployment is handled via CI to Netlify, each merge to master updates the documentation at: https://sdc-global-design-patterns.netlify.com/

CDN

Releasing

Create a GitHib release with a Semantic version number.

When a new release is created that release version will then be available on the CDN e.g. https://cdn.ons.gov.uk/sdc/[short hash]/css/responsive.css will be available at https://cdn.ons.gov.uk/sdc/[release version]/css/responsive.css

Key files for use

Replace v1.5.0 for the current release version: GitHub release