From bb599d4679435154e8a50e3e892feb7fc724fc06 Mon Sep 17 00:00:00 2001 From: Michael Zetterberg Date: Wed, 12 Mar 2025 15:34:01 +0100 Subject: [PATCH] fix: update readme for design system --- packages/design-system/README.md | 57 +++++++++++++++++++++++++------- 1 file changed, 45 insertions(+), 12 deletions(-) diff --git a/packages/design-system/README.md b/packages/design-system/README.md index 8f2230b10..11cb36166 100644 --- a/packages/design-system/README.md +++ b/packages/design-system/README.md @@ -36,27 +36,60 @@ One such notable component is the `Typography` component. Read the documentation To get started with the project, clone the repository and install the dependencies: ```bash -git clone git@bitbucket.org:scandic-swap/design-system.git -cd design-system -npm install +git clone git@bitbucket.org:scandic-swap/web.git +cd web +yarn +``` + +### Do your changes + +Work your magic. + +### Build the project + +```bash +yarn workspace @scandic-hotels/design-system build +``` + +### Push the build output to origin + +```bash +git add packages/design-system/ +git commit +git push ``` ## Main script targets +Run the following script targets either from the project root with: + +```bash +yarn workspace @scandic-hotels/design-system