Factorial Starter Kit
The Factorial Starter Kit is first of all a Drupal theme (https://www.drupal.org/project/fsk_frontend), which applies base styling to all form elements (and later most likely also other to Drupal core components). It is also published on npm (https://www.npmjs.com/package/@factorial/fsk). This allows importing the CSS and applying it in other contexts than Drupal.
Installation
Drupal theme
composer require 'drupal/fsk_frontend
Node module
yarn add @factorial/fsk
Contributing
Installation
composer install
yarn install
Pre-commits hook
When running composer install
, a pre-commit hook should be initialized and check your changed for linting errors.
Committing
We are using conventional commits (https://conventionalcommits.org/). This is also important as the CHANGELOG.md is based on that.
Creating a release
yarn release
git push
npm publish
- Go to https://www.drupal.org/ and create a new release