🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

github.com/ONSdigital/dis-design-system-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ONSdigital/dis-design-system-go

v0.1.0
Source
Go
Version published
Created
Source

dis-design-system-go

Proof of concept rendering library for Dissemination frontend go microservices. dis-design-system-go contains templates, localisations, model structs, css and javascript that are core to all dissemination frontend services.

Getting started

  • Run make help to see full list of make targets

Install dependencies

If you work across multiple Node.js projects there's a good chance they require different Node.js and npm versions.

It is recommended that you use nvm (Node Version Manager) to switch between versions easily:

  • Install nvm:

    brew install nvm
    

    :warning: Make sure to follow the instructions provided at the end of the install to configure up your shell profile.

  • Install the node version specified in .nvmrc through nvm:

    nvm install
    
  • No further dependencies other than those defined in go.mod

Generate the CSS and JS

  • Build the CSS and JS, and start the local web server with

    make debug
    
  • Once built, you can find assets stored on the web server, default location is localhost:9002/dist/assets/

Contributing

See CONTRIBUTING for details.

License

Copyright © 2025, Office for National Statistics (https://www.ons.gov.uk)

Released under MIT license, see LICENSE for details.

FAQs

Package last updated on 30 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts