Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Config] change log automation #25

Merged
merged 5 commits into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.DS_Store
.DS_Store
.env
64 changes: 64 additions & 0 deletions .versionrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"types": [
{
"type": "chore",
"section": "Others",
"hidden": false
},
{
"type": "revert",
"section": "Reverts",
"hidden": false
},
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "improvement",
"section": "Feature Improvements",
"hidden": false
},
{
"type": "docs",
"section": "Docs",
"hidden": false
},
{
"type": "style",
"section": "Styling",
"hidden": false
},
{
"type": "refactor",
"section": "Code Refactoring",
"hidden": false
},
{
"type": "perf",
"section": "Performance Improvements",
"hidden": false
},
{
"type": "test",
"section": "Tests",
"hidden": false
},
{
"type": "build",
"section": "Build System",
"hidden": false
},
{
"type": "ci",
"section": "CI",
"hidden": false
}
]
}
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.1.2](https://github.com/dovigod/workflow-cli/compare/v0.1.1...v0.1.2) (2024-02-17)


### CI

* formatter for changelog automation ([7b2c517](https://github.com/dovigod/workflow-cli/commit/7b2c517cc6e411832825991455c64bbe787fbe64))

### [0.1.1](https://github.com/dovigod/workflow-cli/compare/v0.1.0...v0.1.1) (2024-02-17)


### CI

* versionrc created to use conventional commits ([ea4f3d2](https://github.com/dovigod/workflow-cli/commit/ea4f3d26a83c349781203cadf405f8043002fb3d))


### Others

* **release:** 0.1.0 ([82c76d8](https://github.com/dovigod/workflow-cli/commit/82c76d89f15f61aa58f251239ac1824f10542151))

# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
20 changes: 20 additions & 0 deletions conventionalGithubReleaser.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import "dotenv/config";
import conventionalGithubReleaser from "conventional-github-releaser";

conventionalGithubReleaser(
{
type: "oauth",
url: "https://api.github.com/",
token: process.env.GITHUB_TOKEN,
},
{
preset: "angular",
},
(e, release) => {
if (e) {
console.error(e);
process.exit(1);
}
process.exit(0);
}
);
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oh-my-task",
"version": "0.1.0",
"version": "0.1.2",
"description": "OH-MY-TASK is mainly focused on helping indie developers to manage their projects neatly.",
"main": "cli/oh-my-task.mjs",
"bin": {
Expand All @@ -14,6 +14,7 @@
"omt-finish": "cli/oh-my-task-finish.mjs"
},
"scripts": {
"release": "standard-version",
"pub": "node ./versionManager.mjs",
"pub:major": "node ./versionManager.mjs --major",
"pub:minor": "node ./versionManager.mjs --minor",
Expand All @@ -37,5 +38,10 @@
"commander": "^12.0.0",
"path": "^0.12.7",
"yaml": "^2.3.4"
},
"devDependencies": {
"conventional-github-releaser": "^3.1.5",
"dotenv": "^16.4.4",
"standard-version": "^9.5.0"
}
}
}
Loading
Loading