Skip to content

Commit

Permalink
feat: first release on commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiokopplin committed Jul 12, 2022
1 parent 24112fc commit 4e3507e
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Packages

- `@kopplin/commitlint-config`: CommitLint Preset
- `@kopplin/commitlint`: CommitLint Preset

### Useful commands

Expand Down
13 changes: 0 additions & 13 deletions packages/commitlint-config/CHANGELOG.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/commitlint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @kopplin/commitlint

## 0.0.1

### Patch Changes

- first release
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @kopplin/commitlint-config
# @kopplin/commitlint

[![npm version](https://badge.fury.io/js/%40kopplin%2Fcommitlint-config.svg)](https://badge.fury.io/js/%40kopplin%2Fcommitlint-config)
[![npm version](https://badge.fury.io/js/%40kopplin%2Fcommitlint.svg)](https://badge.fury.io/js/%40kopplin%2Fcommitlint)

Kopplin's shared [CommitLint](https://commitlint.js.org/) configuration.

Expand All @@ -9,10 +9,11 @@ Kopplin's shared [CommitLint](https://commitlint.js.org/) configuration.
1. Install the packages

```sh
npm i -D @kopplin/commitlint-config @commitlint/cli husky
npm i -D @kopplin/commitlint @commitlint/cli husky
```

2. Install Husky

```sh
npx husky install
```
Expand All @@ -28,5 +29,5 @@ npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1'
After installing it, apply the config to commitlint by running the following command:

```bash
echo "module.exports = { extends: ['@kopplin/commitlint-config'] };" > .commitlintrc.js
echo "module.exports = { extends: ['@kopplin/commitlint'] };" > .commitlintrc.js
```
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kopplin/commitlint-config",
"version": "1.0.0",
"name": "@kopplin/commitlint",
"version": "0.0.1",
"description": "Shareable commitlint",
"main": "index.js",
"license": "MIT",
Expand Down

0 comments on commit 4e3507e

Please sign in to comment.