24.9.3 • Published 5 years ago

@debijenkorf/core-assets v24.9.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

CI Quality Gate Status

core-assets 🌽 🍑

Holds the common CSS code for the de Bijenkorf website and code for the styleguide.

See it in action: https://styleguide.dev-debijenkorf.nl/ 🚀

Table of contents

Getting Started

To copy the repository locally run:

git clone git@github.com:deBijenkorf/core-assets.git

Technologies

  • SASS - CSS is compiled from SASS files. All styling is written in SASS.

Prerequisites

To run the code in this repository you need to have the following installed on your machine:

  • git - Git is a free and open source distributed version control system.
  • npm & node - Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. npm is a package manager for the JavaScript programming language.

You should have access to the following:

Installing

npm install

Local development with another repository

The easiest way is to create npm-link for that.

  1. Create link in core-assets

    npm link
  2. Connect link to core-assets in your repository in a folder where package.json is.

    npm link @debijenkorf/core-assets

Styleguide

De Bijenkorf's Design System is called Propolis, which contains all the design patterns to be used across de Bijenkorf's digital touch points. The styling in this project must be kept up to date with any evolution in design documented in Propolis.

Build

You can create the bundles with:

# build production bundles → /dist
npm run build
# build dev bundles (source-map & un-minified) → /dist
npm run build:watch

Icons

Icon (.svg) files can be found in:

./src/icons/...

To manage icons in the spritesheet output, modify the imports in the file /src/entry.js Building the project with npm run build will make a _build directory. You can check _build/dbk-sprite.svg in a text editor to see if it was added. If the name/path is wrong, you will see an error in the cli.

If your icon is appearing in the spritesheet then a normal release is safe to do.

Tests and Risk Assessment

This repository does not require testing as it contains mostly styling.

Making a release

Depending on the type of changes that need to be released, a patch-, minor- or major release can be issued.

As a general rule of thumb:

  • patch release (0.0.X): fixes or non-breaking updates
  • minor release (0.X.0): non-breaking changes or feature additions
  • major release (X.0.0): breaking changes

Refer to https://semver.org/ for the semantic versioning specification.

Two steps process

After your PR has been approved and merged to master then follow these steps.

1. Create a branch

# make sure you start clean
git checkout master
git fetch origin master
git pull origin master

# check expected changes are in your local master branch
git log --oneline --decorate --color

# create your release branch
git checkout -b prerelease/v{my release tag}

# use the appropriate npm script `release:*`, here we are going for a minor release
# it will:
# - build the /dist folder
# - update package.json
# - create the tag
# - push changes to github
npm run release:minor

Make sure the proposed changes are in master before proceeding to step 2.

2. NPM publish

# make sure you start clean
git checkout master
git fetch origin master
git pull origin master

# publish to npm
npm run release:publish

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Guidelines

  • Prettier is used for style consistencies in .js files
  • ESlint is used for linting the .js files
  • Stylelint is used for linting the .scss files
  • EditorConfig is used to enforce correct spacings on all files
  • The above is enforced when you try to commit
  • Pull request branches should be the Jira issue, e.g. WD-8025
  • Commits should be in the form of:
<type>(<scope>): <subject>

<type>: feat, fix, docs, style, refactor, perf, test or chore
<scope>: the scope of the commit
<subject>: a short imperative subject

feat(search): Add focus to input field
chore(webpack): Migrate to webpack 2
test(react): Add carousel unit tests

For ease of use you can use the template provided above. The following command will add it as default for this repo only:

git config commit.template .gitmessage

Taken from angular contrib guidelines.

Ownership

This project is not owned by a specific squad

NameRoleEmail
Mark BoereCaptain Americamark.boere@debijenkorf.nl
Chris AsteriouCaptain hookchris.asteriou@debijenkorf.nl

See also the list of contributors who participated in this project.

24.9.3

5 years ago

24.9.2

5 years ago

24.9.1

5 years ago

24.9.0

5 years ago

24.7.0

5 years ago

24.5.0

5 years ago

24.6.0

5 years ago

24.4.0

5 years ago

24.3.0

5 years ago

24.2.0

5 years ago

24.1.3

5 years ago

24.1.2

5 years ago

24.1.0

5 years ago

24.0.0

5 years ago

23.5.1

5 years ago

23.5.0

5 years ago

23.4.1

5 years ago

22.5.0

5 years ago

23.4.0

5 years ago

22.4.1

5 years ago

23.1.1

5 years ago

23.1.0

5 years ago

23.0.5

5 years ago

23.0.4

5 years ago

23.0.2

5 years ago

23.0.0

5 years ago

22.4.0

5 years ago

22.3.8

5 years ago

22.3.7

5 years ago

22.3.6

5 years ago

22.3.5

5 years ago

22.3.4

5 years ago

22.3.3

5 years ago

22.3.2

5 years ago

22.3.1

5 years ago

22.3.0

5 years ago

22.2.6

5 years ago

22.2.5

5 years ago

22.2.4

5 years ago

22.2.3

5 years ago

22.2.1

5 years ago

22.2.2

5 years ago

22.2.0

5 years ago

22.1.3

5 years ago

22.1.2

5 years ago

22.1.1

5 years ago

22.1.0

5 years ago

22.0.0

5 years ago

21.0.4

5 years ago

21.0.3

5 years ago

21.0.2

5 years ago

21.0.1

5 years ago

21.0.0

5 years ago

20.1.2

5 years ago

20.1.0

5 years ago

20.1.1

5 years ago

20.0.2

5 years ago

20.0.1

5 years ago

20.0.0

5 years ago

19.0.1

5 years ago

19.0.0

5 years ago

18.3.1

5 years ago

18.2.6

5 years ago

18.2.5

5 years ago

18.2.4

5 years ago

18.2.3

5 years ago

18.2.2

5 years ago

18.2.1

5 years ago

18.2.0

5 years ago

18.1.0

5 years ago

18.0.0

5 years ago

17.1.1

6 years ago

17.1.0

6 years ago

17.0.1

6 years ago

17.0.0

6 years ago

16.3.7

6 years ago

16.3.8

6 years ago

16.3.6

6 years ago

16.3.5

6 years ago

16.3.3

6 years ago

16.3.2

6 years ago

16.3.1

6 years ago

16.3.0

6 years ago

16.2.2

6 years ago

16.2.1

6 years ago

16.2.0

6 years ago

16.1.0

6 years ago

16.0.0

6 years ago

15.0.3

6 years ago

15.0.2

6 years ago

15.0.1

6 years ago

15.0.0

6 years ago

14.0.3

6 years ago

14.0.2

6 years ago

14.0.1

6 years ago

14.0.0

6 years ago

13.0.2

6 years ago

13.0.1

6 years ago

13.0.0

6 years ago

12.1.0

6 years ago

12.0.1

6 years ago

12.0.0

6 years ago

11.3.5

6 years ago

11.3.4

6 years ago

11.3.3

6 years ago

11.3.2

6 years ago

11.3.1

6 years ago

11.3.0

6 years ago

11.2.0

6 years ago

11.1.2

6 years ago

11.1.1

6 years ago

11.1.0

6 years ago

11.0.1

6 years ago

11.0.0

6 years ago

10.2.0

6 years ago

10.1.9

6 years ago

10.1.8

6 years ago

10.1.7

6 years ago

10.1.6

6 years ago

10.1.5

6 years ago

10.1.4

6 years ago

10.1.3

6 years ago

10.1.2

6 years ago

10.1.1

6 years ago

10.1.0

6 years ago

10.0.0

6 years ago

9.6.0

6 years ago

9.5.0

6 years ago

9.4.7

6 years ago

9.4.6

6 years ago

9.4.5

6 years ago

9.4.4

6 years ago

9.4.3

6 years ago

9.4.2

6 years ago

9.4.1

6 years ago

9.4.0

6 years ago

9.3.2

6 years ago

9.3.0

6 years ago

9.2.7

6 years ago

9.2.4

6 years ago

9.2.3

6 years ago

9.2.2

6 years ago

9.2.1

6 years ago

9.2.0

6 years ago

9.1.6

6 years ago

9.1.5

6 years ago

9.1.4

6 years ago

9.1.3

6 years ago

9.1.2

6 years ago

9.1.1

6 years ago

9.0.1

6 years ago

9.0.0

6 years ago

8.1.1

6 years ago

8.1.0

6 years ago

8.0.0

6 years ago

7.0.2

6 years ago

7.0.0

6 years ago

6.5.3

6 years ago

6.5.2

6 years ago

6.5.1

6 years ago

6.5.0

6 years ago

6.4.8

6 years ago

6.4.6

6 years ago

6.4.7

6 years ago

6.4.5

6 years ago

6.4.4

7 years ago

6.4.3

7 years ago

6.4.2

7 years ago

6.4.1

7 years ago

6.4.0

7 years ago

6.2.1

7 years ago

6.2.0

7 years ago

6.1.3

7 years ago

6.1.2

7 years ago

6.1.1

7 years ago

6.1.0

7 years ago

6.0.6

7 years ago

6.0.5

7 years ago

6.0.4

7 years ago

6.0.3

7 years ago

6.0.2

7 years ago

6.0.2-0

7 years ago

6.0.1

7 years ago

6.0.0-1

7 years ago

6.0.0-0

7 years ago

5.0.0-18

7 years ago

5.0.0-17

7 years ago

5.0.0-16

7 years ago

5.0.0-15

7 years ago

5.0.0-14

7 years ago

5.0.0-13

7 years ago

5.0.0-12

7 years ago

5.0.0-11

7 years ago

5.0.0-10

7 years ago

5.0.0-9

7 years ago

5.0.0-8

7 years ago

5.0.0-7

7 years ago

5.0.0-6

7 years ago

5.0.0-5

7 years ago

5.0.0-4

7 years ago

5.0.0-3

7 years ago

5.0.0-2

7 years ago

4.0.0-79

7 years ago

5.0.0-1

7 years ago

5.0.0-0

7 years ago

4.0.0-78

7 years ago

4.0.0-77

7 years ago

4.0.0-76

7 years ago

4.0.0-75

7 years ago

4.0.0-74

7 years ago

4.0.0-73

7 years ago

4.0.0-72

7 years ago

4.0.0-71

7 years ago

4.0.0-70

7 years ago

4.0.0-69

7 years ago

4.0.0-68

7 years ago

4.0.0-67

7 years ago

4.0.0-66

7 years ago

4.0.0-65

7 years ago

4.0.0-64

7 years ago

4.0.0-63

7 years ago

4.0.0-62

7 years ago

4.0.0-61

7 years ago

4.0.0-60

7 years ago

4.0.0-59

7 years ago

4.0.0-57

8 years ago

4.0.0-56

8 years ago

4.0.0-55

8 years ago

4.0.0-54

8 years ago

4.0.0-53

8 years ago

4.0.0-52

8 years ago

4.0.0-51

8 years ago

4.0.0-49

8 years ago

4.0.0-48

8 years ago

4.0.0-47

8 years ago

4.0.0-46

8 years ago

4.0.0-45

8 years ago

4.0.0-44

8 years ago

4.0.0-43

8 years ago

4.0.0-42

8 years ago

4.0.0-41

8 years ago

4.0.0-39

8 years ago

4.0.0-38

8 years ago

4.0.0-37

8 years ago

4.0.0-36

8 years ago

4.0.0-35

8 years ago

4.0.0-34

8 years ago

4.0.0-33

8 years ago

4.0.0-32

8 years ago

4.0.0-31

8 years ago

4.0.0-30

8 years ago

4.0.0-29

8 years ago

4.0.0-28

8 years ago

4.0.0-27

8 years ago

4.0.0-25

8 years ago

4.0.0-24

8 years ago

4.0.0-23

8 years ago

4.0.0-22

8 years ago

4.0.0-21

8 years ago

4.0.0-20

8 years ago

4.0.0-19

8 years ago

4.0.0-18

8 years ago

4.0.0-17

8 years ago

4.0.0-16

8 years ago

4.0.0-15

8 years ago

4.0.0-14

8 years ago

4.0.0-13

8 years ago

4.0.0-12

8 years ago

4.0.0-11

8 years ago

4.0.0-10

8 years ago

4.0.0-9

8 years ago

4.0.0-8

8 years ago

4.0.0-7

8 years ago

4.0.0-6

8 years ago

4.0.0-5

8 years ago

4.0.0-4

8 years ago

4.0.0-3

8 years ago

4.0.0-2

8 years ago

4.0.0-1

8 years ago

4.0.0-0

8 years ago

3.1.0

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.1.4

8 years ago

2.1.3

8 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago