Skip to content

Commit

Permalink
refactor: small changes (#71)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Aug 9, 2024
1 parent 979099c commit b3dfb02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@

## Installation

```shell
# bun
bun i -D @archoleat/commitlint-define-config
```

```shell
# pnpm
pnpm i -D @archoleat/commitlint-define-config
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import typescript from '@rollup/plugin-typescript';

const sourceFolder = 'src';

const fileName = 'index';
const fileFormat = 'es';
const fileName = 'index';

const indexFile = `${fileName}.ts`;
const declarationFile = `${fileName}.d.ts`;
const indexFile = `${fileName}.ts`;
const outputFile = `${fileName}.js`;

export default defineConfig([
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { UserConfig } from '@commitlint/types';
/**
* Define an Commitlint config.
*
* @param {object} config Commitlint config.
* @param {object} config Commitlint.
*
* @returns Commitlint config.
*/
Expand Down

0 comments on commit b3dfb02

Please sign in to comment.