Skip to content

An NHS.UK version of the GOV.UK Prototype Rig

License

Notifications You must be signed in to change notification settings

x-govuk/nhsuk-prototype-rig

Repository files navigation

NHS.UK Prototype Rig

A WIP NHS.UK of the GOV.UK Prototype Rig.

Requirements

  • Node.js v20

Installation

  1. Clone this repository:
    git clone [email protected]:x-govuk/nhsuk-prototype-rig.git

  2. Install the dependencies:
    npm install

  3. Start the application:
    npm start

You can change the service name by changing the prototype.serviceName value in package.json.

By default, the rig expects templates to use the .html file extension. You can change this by setting the prototype.templateExtension value in package.json.

Developing locally

To automatically refresh the browser upon updating a file, use npm run dev.

To lint JavaScript and CSS files, use npm run lint.

Releasing a new version

npm run release

This command will ask you what version you want to use. It will then publish a new version on NPM, create and push a new git tag and then generate release notes ready for posting on GitHub.

Note

Releasing a new version requires permission to publish packages to the @x-govuk organisation.

Contributing

If you’ve got an idea or suggestion, please create a GitHub issue.