A mono-repository containing all the available Co-op Foundations libraries. All libraries are found in the packages directory.
This repository uses lerna to automatically manage versioning of all the different packages. Clone this repository, then install dependencies:
$ npm install
This will install lerna, then bootstrap the local packages.
Publishing new versions
Creating and publishing new versions is only enabled on the master branch. To create and publish new versions, the following needs to be run by a user with write permissions to the @coopdigital npm registry:
$ npm run publish
This should provide a prompt to update the version according to semantic versioning -- note that cross-linked dependencies within the local packages will be updated automatically.
Lefthook git hooks pre commit
Currently, only one pre-commit hook is setup. This runs stylelint against currently staged