Skip to content
This repository has been archived by the owner on Jul 20, 2019. It is now read-only.

ecmatonix/initial-project-basis

Repository files navigation

initial-project-basis

The basis for the development of projects.

Getting started

Download this zip archive or clone this repository (Git required) to your computer.

Then:

  1. $ cd initial-project-basis - go inside the project directory;
  2. $ npm install - install dependencies.

Formatter

Command line:

  • $ npm run format - format all code in files according to a pattern (**/*.{json,yml,md});
  • $ npm run format:check - check whether there is unformatted code in files (**/*.{json,yml,md}).

In addition, the code formatting check ($ npm run format:check) is performed in the pre-commit hook.

Check commit message

Checking a commit message is done using the commitlint module. Rules for validation correspond to conventional commit specification.

Commitlint.io (online generator) is used to create and pre-check the text of the commit message.

Recommended workflow

Workflow:

  1. make changes;
  2. commit those changes;
  3. pull all the tags (optional);
  4. $ npm version [patch|minor|major] - run the command;
  5. push commits and tags to remote repository.

Bugs

If you find a bug or something does not work, please leave your questions or comments on issues.

License

This software is released under the terms of the MIT license.