Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ymc-github/js-lib-change-log
generate changelog for ymc repo
https://github.com/ymc-github/js-lib-change-log
babel6 chai4 commitlint8 cross-env eslint6 mocha6 nodemon2 nyc15 prettier1 rollup1
Last synced: about 1 month ago
JSON representation
generate changelog for ymc repo
- Host: GitHub
- URL: https://github.com/ymc-github/js-lib-change-log
- Owner: YMC-GitHub
- License: mit
- Created: 2020-01-23T03:13:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T19:32:53.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T01:16:43.363Z (almost 2 years ago)
- Topics: babel6, chai4, commitlint8, cross-env, eslint6, mocha6, nodemon2, nyc15, prettier1, rollup1
- Language: JavaScript
- Homepage:
- Size: 918 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: license
Awesome Lists containing this project
README
# change-log
## desc
genrate change log for git repo
## how to use for production?
### install```sh
#npm install change-log --save-dev
npm install https://github.com/YMC-GitHub/js-lib-change-log.git --save-dev
```### config
```js
const path = require('path');const rootPath = path.resolve(__dirname, '..');
// eslint-disable-next-line no-unused-vars
const resolve = file => path.resolve(rootPath, file);module.exports = {
PATH_TO_SAVE: rootPath,
FILE_TO_SAVE: 'CHANGELOG.md'
};
```### usage
```js
import He from 'change-log'
He.config(config).writeToFs()
```## how to use for developer?
### install
```sh
#get the code
git clone https://github.com/ymc-github/js-lib-change-log.git
#get his dep
npm install
```### usage
```sh
#dev
npm run dev#build
npm run build#release
npm run release#lint
npm run lint
npm run lint:no-fix#format
npm run beautify#test
npm run test
npm run test:unit
npm run test:coverage
```## Author
yemiancheng
## License
MIT