Skip to content

bimdata/design-system

Repository files navigation

BIMData Design System

BIMData's Design System is an open-source DS. The documentation is available here: design.bimdata.io

BIMData Design System

Used by

🏃 Getting started

npm i @bimdata/design-system

🙋 Compatibility

BIMData Design System is a library compatible with Vue 3.

👐 Contributing

We are always on the lookout for contributors to help us fix bugs, create new features, or help us improve project documentation. If you are interested, feel free to create a PR or open a discussion on this topic.

Project setup

If you want to dev on the design system, follow these instruction:

npm install

### Compiles and hot-reloads for development
npm run dev

### Run your tests
npm run test

📦 Publish / 🚀 Deploy

Publish new version

To publish & deploy a new design-system version checkout to develop branch then:

./deploy.sh

deploy.sh is an helper to deploy a new released version on master.

The script take care of all the tricky things for you so you should always use it for deployment unless you have to perform a specific action (like bumping an old release version). If you do need to perform such action, please refer to the next section.

Semantic release

This repo use semantic-release for tag management and deployment.

It is possible to automatically publish a new npm package from the semantics of a commit message. The keywords are MAJOR, to publish a major version (X.0.0), MINOR, to publish a minor version (1.X.0), and PATCH, to publish a fix (1.0.X).

They must correspond to the following syntax:

/(MAJOR|MINOR|PATCH): .*/

Example :

git commit -m "MINOR: explain the new feature to deploy"

The branches on which it is possible to publish are the following:

Branches Git tag NPM version Env
develop 1.3.0-beta.1 * 1.0.3-beta.1
tag: next
staging
release/X.X.x 1.1.6 1.1.6
tag: 1.1.x
master 1.2.8 1.2.8
tag: latest
prod

* The develop branch will only release beta.x in succession until the release candidate or a higher version has been deployed to master.

For Merging this branches together, and to avoid any unexpected behavior, use --no-ff git merge option. After deploying a new latest tag with master branch, merge master into develop to update package.json and CHANGELOG.md.

License

BIMData Design System is published under the term of MIT License (see LICENSE).