Skip to content

πŸ›  Set of common functionality across Decentraland projects.

Notifications You must be signed in to change notification settings

decentraland/decentraland-commons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bd6f64f Β· May 13, 2020
May 13, 2020
May 26, 2018
May 26, 2018
Jun 15, 2018
Jan 24, 2018
May 26, 2018
May 26, 2018
Oct 16, 2017
Feb 26, 2018
May 13, 2020
May 13, 2020
May 26, 2018
May 26, 2018

Repository files navigation

Commons semantic-release

Set of common functionality accross Decentraland projects.

Scripts

build

Build the lib for use

lint

Lint js files with tslint

docs

Builds an static page with the JSDoc documentation

test

Run tests using mocha and chai

Release

We use semantic-release to automate the release process of this package. Every time we merge to master, the CI will run semantic-release and it will publish a new version of the package. It will determine the next version of the package and it will generate release notes from the commit messages. That's why we enforce the following format for commit messages:

type: message

or

type(scope): messages

for example

feature(Map): added zoom levels

We use husky and validate-commit-msg to enforce this format on every commit.

Continuous Deployment

If you have commons as a dependency and you're deploying to a Linux system, you might run into an error like this one: commit 2dd8319 on CircleCI.

The error comes from the installation of node-hid, you need to have libusb available for it to work, and it's not present in all Linux systems.

You can see an example of a fix in this repos config.yml file.

node-hid is a dependency of ledgerco, which in turn is a dependency of ledger-wallet-provider, used by this lib.