Skip to content

Commit

Permalink
chore: add standard-version
Browse files Browse the repository at this point in the history
  • Loading branch information
rihards-simanovics committed Sep 3, 2024
1 parent 728231e commit 47e7dd5
Show file tree
Hide file tree
Showing 3 changed files with 1,010 additions and 16 deletions.
38 changes: 38 additions & 0 deletions .versionrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Chores"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "style",
"section": "Styles Changes"
},
{
"type": "refactor",
"section": "Refactors"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "test",
"section": "Tests"
}
],
"commitUrlFormat": "https://github.com/rihards-simanovics/InvoiceShelf-payment-module/commits/{{hash}}",
"compareUrlFormat": "https://github.com/rihards-simanovics/InvoiceShelf-payment-module/compare/{{previousTag}}...{{currentTag}}"
}
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"private": true,
"version": "1.0.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"watch": "vite build --watch",
"serve": "vite preview",
"test": "eslint ./resources/scripts --ext .js,.vue",
"prepare": "husky"
"prepare": "husky",
"release": "standard-version",
"release:minor": "standard-version --release-as minor",
"release:patch": "standard-version --release-as patch",
"release:major": "standard-version --release-as major"
},
"devDependencies": {
"@commitlint/cli": "^19.4.1",
Expand All @@ -22,6 +27,7 @@
"postcss": "^8.4.5",
"prettier": "^2.3.0",
"sass": "^1.32.12",
"standard-version": "^9.5.0",
"tailwindcss": "^3.0.7",
"vite": "^2.0.1"
},
Expand All @@ -33,4 +39,4 @@
"vite-plugin-externals": "^0.3.0",
"vue": "^3.2.0-beta.5"
}
}
}
Loading

0 comments on commit 47e7dd5

Please sign in to comment.