Using this method of versioning enables Transport for West Midlands Design System to release new versions without breaking any projects dependant on previous releases.
This method also allows you to upgrade your project to the latest version of the design system when you are able to.
Accessing a previous releases
It is recommended that you use the latest release of Transport for West Midlands Design System in your project. This guide explains how to access a previous release for older documentation.
Install Node.js If you have not already installed version 4.2.0 or later of Node.js, install the latest Long Term Support(LTS) version.
Visit Transport for West Midlands Design System releases for previous releases. This log includes a list of bug fixes, new features, as well as any breaking changes.
Click the link of the version number (prefixed with "v", for example v1.1.0).
Source code (zip)and extract it to a folder on your computer.
Navigate to the extracted folder and open a terminal. In your terminal, run:
When the installation finishes in step 5. In your terminal, run:
This will launch a local webserver. When ready, your default web browser will automatically open with your selected release of the Transport for West Midlands Design System.
You can now browse the documentation for your selected release.