1.2.12 • Published 3 years ago

@vikasit/config v1.2.12

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

🛠️ Vikasit JS projects config files

This repository contains the common configuration files for Vikasit projects.

💻 Usage

Install the package as a dev dependency from npm:

npm install --save-dev @vikasit/config

Prettier

Our Prettier configuration keeps all defaults with the exception of print width, which is set at 100 characters rather than 80. To use this configuration, create a Prettier config file .prettierrc.cjs in the project root:

module.exports = require("@vikasit/config").prettier;

Semantic Release

We use Semantic Release for automated deployments of our packages. Our configuration adds support for Gitmoji commits, creating release notes with a CHANGELOG.md, and publishing to GitHub and npm.

Create a Semantic Release config file release.config.js in the project room. If you want to release the master, main or production branches, you can use the import directly:

module.exports = require("@vikasit/config").master;

OR

module.exports = require("@vikasit/config").main;

Alternately, you can specify the branch you want to release:

module.exports = require("@vikasit/config").release("branch-name");