Add release-it

This commit is contained in:
Max Isom 2021-12-18 12:29:50 -06:00
parent 6521403b5d
commit ebf07ff4bc
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
4 changed files with 735 additions and 45 deletions

12
.release-it.json Normal file
View file

@ -0,0 +1,12 @@
{
"plugins": {
"@release-it/keep-a-changelog": {
"filename": "CHANGELOG.md",
"addUnreleased": true,
"addVersionUrl": true
}
},
"npm": {
"publish": false
}
}

View file

@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
### Added
- [release-it](https://www.npmjs.com/package/release-it): makes it easier to generate new tags and releases
## [0.2.0] ## [0.2.0]
### Added ### Added

View file

@ -26,9 +26,10 @@
"prepack": "npm run clean && npm run build", "prepack": "npm run clean && npm run build",
"start": "node --experimental-json-modules dist/src/index.js", "start": "node --experimental-json-modules dist/src/index.js",
"dev": "concurrently nodemon 'tsc --watch'", "dev": "concurrently nodemon 'tsc --watch'",
"docker-publish": "docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t codetheweb/muse:latest --push ." "release": "release-it"
}, },
"devDependencies": { "devDependencies": {
"@release-it/keep-a-changelog": "^2.3.0",
"@types/bluebird": "^3.5.35", "@types/bluebird": "^3.5.35",
"@types/debug": "^4.1.5", "@types/debug": "^4.1.5",
"@types/fluent-ffmpeg": "^2.1.17", "@types/fluent-ffmpeg": "^2.1.17",
@ -46,6 +47,7 @@
"eslint-config-xo-typescript": "^0.44.0", "eslint-config-xo-typescript": "^0.44.0",
"husky": "^4.3.8", "husky": "^4.3.8",
"nodemon": "^2.0.7", "nodemon": "^2.0.7",
"release-it": "^14.11.8",
"ts-node": "^10.4.0", "ts-node": "^10.4.0",
"type-fest": "^2.5.4", "type-fest": "^2.5.4",
"typescript": "^4.5.3" "typescript": "^4.5.3"

762
yarn.lock

File diff suppressed because it is too large Load diff