@lite-v3/changelogger
A minimal utility generating changelog for your package, automatically.
This module is only needed for webpack 4+.
Prerequisites
git v2.0.0 or higher.
node.js v14.
Install
npm install @lite-v3/changelogger
yarn add @lite-v3/changelogger
pnpm install @lite-v3/changelogger
Usage
import path from 'path';
import changelogger from '@lite-v3/changelogger';
const packageNamePattern = '@tokopedia/lite-utils/**';
const packagePathPattern = '**packages/private/lite-utils**';
const output = path.resolve('path/to/your/package/CHANGELOG.md');
await changelogger(packageNamePattern, packagePathPattern, { output: output });
API
changelogger(packageNamePattern, packagePathPattern, options);
Arguments
packageNamePattern: String
(blob pattern, follwoing git's pathspec);
packagePathPattern: String
(blob pattern, follwoing git's pathspec);
options.ouput: String
Code By WPE Team @Tokopedia