Meter Group Design System
This is a design system developed wit storybook.
🚅 Get it running
-
Clone Repository
Clone the repository by using this command in your terminal:
git clone git@github.com:ixwerk/meter_components.git
-
Install dependencies
Install th dependencies by entering:
yarn
-
Build Storybook
Build Storybook locally:
yarn storybook
🖥 Dev workflow
-
Create issue
Create isuue in github describe what you want to be developed and assign it to the developer
-
Create component branch
Create a branch for each component and work on it independently.
-
Link Commits to Issue
Link commits to issue by adding the number to the commit message:
added component #26
-
Create a merge request
By creating a merge request the storybook ci is starting to make some tests and prepare upload the new component to library.
-
Link issue to merge request
Link issue to merge request to close it autiomatically when request will be done
-
Review
Paste storybook links in request chat and assign the request to team members.
-
Confirm Changes
When everybody is confident with the changes its possible to complete the build process in chromatic. This finishes the request and closes the issue.
🔎 What's inside?
A quick look at the top-level files and directories included with this template.
.
├── github
├── storybook
├── dist
├── node_modules
├── public
├── src
├── .gitignore
├── .env
├── LICENSE
├── package.json
├── yarn.lock
└── README.md
-
github
: This directory contains the workflows that manage CI, important for automatic chromatic build and npm package releases. -
storybook
: This directory contains the workflows that manage CI, important for automatic chromatic build and npm package releases. -
dist
: This directory contains the configuration files (main.js, preview.js), where you can adjust things for storybook -
node_modules
: This directory contains all of the modules of code that your project depends on (npm packages). -
public
: This directory will contain the development and production build of the site. -
src
: This directory will contain all of the code related to what you will see on your application. -
.env
: This file will contain the necessary environment variables for your application. -
.gitignore
: This file tells git which files it should not track or maintain during the development process of your project. -
LICENSE
: The template is licensed under the MIT licence. -
package.json
: Standard manifest file for Node.js projects, which typically includes project specific metadata (such as the project's name, the author among other information). It's based on this file that npm will know which packages are necessary to the project. -
yarn.lock
: This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (Do not change it manually). -
README.md
: A text file containing useful reference information about the project.
Learning Storybook
- Read our introductory tutorial over at Storybook tutorials.
- Learn how to transform your component libraries into design systems in our Design Systems for Developers tutorial.
- See our official documentation at Storybook.