Giter Site home page Giter Site logo

spjpgrd / newskit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from newscorp-ghfb/newskit

0.0 0.0 0.0 133.79 MB

The NewsKit Design system

Home Page: https://newskit.co.uk

License: Other

Shell 0.03% JavaScript 2.89% TypeScript 96.44% Makefile 0.06% HTML 0.22% HCL 0.35% Dockerfile 0.01%

newskit's Introduction

NewsKit

NewsKit is News UK’s design system. It provides interactive building blocks and guidelines for crafting cohesive digital product interfaces and accelerating development. Build better products faster.

Environment Link
Develop https://www.newskit.dev-news.co.uk/
Develop https://storybook.newskit.dev-news.co.uk/
Prod https://www.newskit.co.uk/
Prod https://storybook.newskit.co.uk/

πŸ™Œ Browser support

Chrome
Chrome
Firefox
Firefox
Safari
Safari
last 2 versions last 2 versions last 2 versions

βœ… Pre-requisites

You will need to install the following as pre-requisites to getting started:

  • Node.js We use two versions of node. You need to be on version: >=16.10.0 to run the application. In your terminal run the command nvm use to install the required version.

  • Yarn to install the project dependencies

  • (Windows Only) Linux Subsystem

  • Additional setup required for WSL is documented here

πŸ“¦ Getting Started

Once you have the above installed, run the following commands: Note that if you are on Windows machine, you need to run the wsl command first to run which ever linux environment you've installed on your machine.

git clone [email protected]:newscorp-ghfb/newskit.git
cd newskit
yarn && yarn dev

A few pages on the site use Google Sheets as a simple CMS, if you are contributing to the product you can request these variables from the team.

Testing

We use the following libraries for our automated tests:

  • Jest and React Testing Library for unit testing
  • Cypress for component and E2E testing
  • cypress-axe for automated accessibility testing
  • Percy for cross browser visual testing

For detailed information on how to run the automated tests, please visit Testing

πŸ‘‰ What’s next

Styleguides

Commit Messages

Please follow this format for commit messages and PR titles:

[fix|feat|docs|chore|ci]([github issue number]): [description]

eg fix(999): menu z-order affects focus

Branch Names

The branch naming convention is

[fix|feat|docs|chore|ci]/[github issue number]-[short desscription]

eg git checkout -b fix/999-menu-z-order

πŸ”— Key Links

newskit's People

Contributors

agagotowiec avatar baburay23 avatar daniel-georgiev avatar dependabot[bot] avatar evgenitsn avatar gdrake235 avatar georg-mirchev avatar jannuk59 avatar johntparsons avatar lhaggar avatar lukefinch avatar madmango avatar mdcruz avatar mstuartf avatar mutebg avatar newsuk-jzelenka avatar othetgyi avatar panchodaskalov avatar parkjh avatar pdimova avatar rashikanewsuk avatar srinivasan-ramasamy avatar szabodavid99 avatar taliss avatar tbradbury avatar todorradkov avatar vanals avatar vaughnangoynewsuk avatar velkovb-nuk avatar xin00163 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.