Skip to content

Commit

Permalink
setup: add release-it as publishing tool
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusBorg committed Nov 7, 2022
1 parent 70a21a6 commit c58b28c
Show file tree
Hide file tree
Showing 3 changed files with 1,642 additions and 21 deletions.
14 changes: 14 additions & 0 deletions .relase-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
"type-check": "tsc --noEmit -p tsconfig.vitest.json --composite false",
"test:unit": "vitest --environment jsdom --root src/",
"test:ci": "vitest --environment jsdom --root src/ --run",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix"
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
"size": "pnpm size-limit",
"release": "release-it"
},
"packageManager": "pnpm@7.14.1",
"size-limit": [
Expand All @@ -68,6 +70,7 @@
"jsdom": "^20.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"release-it": "^15.5.0",
"size-limit": "^8.1.0",
"type-fest": "^3.2.0",
"typescript": "~4.7.4",
Expand Down
Loading

0 comments on commit c58b28c

Please sign in to comment.