1.2.10 • Published 5 years ago

@storaensods/se-design-system v1.2.10

Weekly downloads
13
License
-
Repository
-
Last release
5 years ago

Getting started

Quick start guide

  1. Clone the git repository
  2. npm install
  3. git checkout staging
  4. git branch your-new-branch && git checkout your-new-branch
  5. npm start
  6. Commit your changes and submit a pull request to staging
  7. When staging is ready for a new release, update CHANGELOG and run npm version <major|minor|patch>
  8. Submit a pull request to merge staging to master
  9. Pull updated master branch and run npm publish

Detailed guide

Installing

To get started clone the project to your development machine and run install dependencies with npm install.

We recommend using NodeJS version 10.15.3 LTS or greater.

Windows user? We have tried to update the development environment to also work on Windows. If you still run to issues it might be easier to get up and running using Docker. We have provided a basic docker-compose configuration for running the development environment using docker-compose up.

Running the development server

After installing dependencies run npm start to start your development server. If you make changes to styleguidist configuration or tokens, you might need to restart the process.

You can test building the package using npm run build

Git Workflow

We have two main remote branches:

  1. Staging Development and testing branch for the components or changes that are going to be included in the next release. When developing you should base your development branch on staging.

    Push will trigger documentation website update which is available by link: https://staging-storaenso-ds.netlify.com/.

  2. Master Release branch. Direct pushes to the master branch are blocked by BitBucket. To get your changes merged to production you need to first merge them to staging and submit a pull request. The latest documentation website for the production package available here: https://storaenso-ds.netlify.com/

Misc

Adding new documentation pages

Documentation files can be found under src/styleguidist/docs. To create a new page first create a new markdown file under the documentation folder and add a new section to styleguide.config.js.

Hotjar code

To get Hotjar tracking working, add SEEDS_DOCS_HOTJAR environment variable. Hotjar script is initialised when this variable is present, this functionality is implemented in styleguide.config.js.

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.78

5 years ago

0.0.77

5 years ago

0.0.76

5 years ago

0.0.75

5 years ago

0.0.74

5 years ago

0.0.73

5 years ago

0.0.72

5 years ago

0.0.71

5 years ago

0.0.70

5 years ago

0.0.69

5 years ago

0.0.68

5 years ago

0.0.67

5 years ago

0.0.66

5 years ago

0.0.65

5 years ago

0.0.64

5 years ago

0.0.63

5 years ago

0.0.62

5 years ago

0.0.61

5 years ago

0.0.60

5 years ago

0.0.59

5 years ago

0.0.58

5 years ago

0.0.56

5 years ago

0.0.55

5 years ago

0.0.54

5 years ago

0.0.53

5 years ago

0.0.52

5 years ago

0.0.51

5 years ago

0.0.50

5 years ago

0.0.49

5 years ago

0.0.48

5 years ago

0.0.47

5 years ago

0.0.46

5 years ago

0.0.45

5 years ago

0.0.44

5 years ago

0.0.42

5 years ago

0.0.41

5 years ago

0.0.40

5 years ago

0.0.38

5 years ago

0.0.37

5 years ago

0.0.36

5 years ago

0.0.35

5 years ago

0.0.34

5 years ago

0.0.33

5 years ago

0.0.32

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.28

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago