Skip to content

Commit

Permalink
chore: update generate release action & improve package.json metadata [
Browse files Browse the repository at this point in the history
  • Loading branch information
d3p1 committed Sep 6, 2023
1 parent 53e609c commit e52ae2d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
fetch-depth: 0

- name: Generate release
uses: d3p1/semantic-release-action@1.4.5
uses: d3p1/semantic-releasify@v1
env :
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
[![Release](https://github.com/d3p1/commitlint-config-conventional/actions/workflows/release.yml/badge.svg)](https://github.com/d3p1/commitlint-config-conventional/actions/workflows/release.yml)
[![CodeQL](https://github.com/d3p1/commitlint-config-conventional/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/d3p1/commitlint-config-conventional/actions/workflows/github-code-scanning/codeql)
[![Release](https://github.com/d3p1/commitlint-config/actions/workflows/release.yml/badge.svg)](https://github.com/d3p1/commitlint-config/actions/workflows/release.yml)
[![CodeQL](https://github.com/d3p1/commitlint-config/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/d3p1/commitlint-config/actions/workflows/github-code-scanning/codeql)

</div>

Expand All @@ -31,14 +31,14 @@ Where:
Install [`commitlint`](https://commitlint.js.org/#/guides-local-setup) and this configuration:

```
npm install --save-dev @commitlint/cli @d3p1/commitlint-config-conventional
npm install --save-dev @commitlint/cli @d3p1/commitlint-config
```

Then, extend this configuration from your [`commitlint` configuration object](https://commitlint.js.org/#/reference-configuration?id=configuration-object-example) using the `extends` option. For example, create in the root of your project a `commitlint.config.js` file with the following content:

```js
module.exports = {
extends: ['@d3p1/commitlint-config-conventional']
extends: ['@d3p1/commitlint-config']
};
```

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"name": "@d3p1/commitlint-config-conventional",
"name": "@d3p1/commitlint-config",
"version": "0.0.0",
"description": "An extension of the commitlint conventional config that validates the addition of an issue number",
"private": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/d3p1/commitlint-config-conventional.git"
"url": "git+https://github.com/d3p1/commitlint-config.git"
},
"keywords": [
"commitlint",
Expand All @@ -15,9 +18,9 @@
"author": "C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/d3p1/commitlint-config-conventional/issues"
"url": "https://github.com/d3p1/commitlint-config/issues"
},
"homepage": "https://github.com/d3p1/commitlint-config-conventional",
"homepage": "https://github.com/d3p1/commitlint-config",
"dependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0"
Expand Down

0 comments on commit e52ae2d

Please sign in to comment.