di-sukharev
5d0c69e849
1.1.11
v1.1.11
2023-03-16 11:48:42 +08:00
di-sukharev
9754442efa
chore(README.md): update Twitter handle in header
2023-03-16 11:48:31 +08:00
di-sukharev
a619cd1f78
docs(README.md): update payment information to include GPT-4 cost comparison
2023-03-15 17:35:25 +08:00
di-sukharev
1fc4a6b6c0
1.1.10
v1.1.10
2023-03-15 17:33:55 +08:00
di-sukharev
798bddba81
docs(README.md): remove outdated information about minimum supported version of Node.js
2023-03-15 17:33:43 +08:00
di-sukharev
42ed2a31f4
fix(commit.ts): remove '-u' and 'origin' arguments from git push command to push to the current branch
2023-03-15 14:51:26 +08:00
di-sukharev
571e1e9d8f
chore(TODO.md): mark batch small files in one request as completed
...
refactor(TODO.md): rephrase optimize prompt TODO to suggest exploring cleaner alternatives to prompt
2023-03-15 14:49:38 +08:00
di-sukharev
bd8de7a8ea
feat(commit.ts): add '-u origin HEAD' flag to 'git push' command to set upstream branch and push current branch to it
2023-03-15 14:46:15 +08:00
di-sukharev
913bcd379f
1.1.9
v1.1.9
2023-03-14 18:51:06 +08:00
di-sukharev
25468f67ad
1.1.8
v1.1.8
2023-03-14 18:50:57 +08:00
Benny Neugebauer
6766f62848
Replace type assertion with built-in error detection ( #10 )
...
* refactor(api.ts): use built-in axios error detection
2023-03-14 18:50:25 +08:00
di-sukharev
71c36db265
1.1.7
v1.1.7
2023-03-13 16:44:36 +08:00
di-sukharev
ed66e403e7
1.1.6
v1.1.6
2023-03-13 16:44:19 +08:00
di-sukharev
b89e50ebbf
* fix(generateCommitMessageFromGitDiff.ts): fix formatting of commit message prompt
...
* feat(generateCommitMessageFromGitDiff.ts): add description to commit message prompt
2023-03-13 16:43:59 +08:00
di-sukharev
38ebe49daa
1.1.5
v1.1.5
2023-03-11 18:04:04 +08:00
di-sukharev
6ccded1f23
1.1.4
v1.1.4
2023-03-11 13:24:58 +08:00
di-sukharev
31357132e4
* chore(api.ts): add error handling for openAI api error
...
* chore(generateCommitMessageFromGitDiff.ts): remove console.log statement
2023-03-11 13:24:02 +08:00
di-sukharev
b35a393152
* docs(README.md): add reminder to add payment details to OpenAI API key
...
* docs(api.ts): update error message to remind user to add payment details to OpenAI API key
* refactor(cli.ts): remove unused import
* refactor(config.ts): update error message to use outro instead of throwing an error and exit the process
* chore(generateCommitMessageFromGitDiff.ts): add console.log for error debugging
2023-03-11 13:23:46 +08:00
di-sukharev
8fe382a072
1.1.3
v1.1.3
2023-03-11 01:02:37 +08:00
di-sukharev
4b703c634a
* chore(TODO.md): update TODO list, remove completed task
...
* refactor(cli.ts): remove unnecessary async/await keywords, remove version check and "new version available" message
2023-03-11 01:01:26 +08:00
di-sukharev
6821e937cf
1.1.2
v1.1.2
2023-03-11 00:58:18 +08:00
di-sukharev
69f3c48b2c
* chore(TODO.md): mark "show new version available message" as completed
...
* chore(package.json): add `--tag latest` flag to `npm publish` command in `deploy` script
* refactor(cli.ts): add async/await to `prepareCommitMessageHook` and `commit` functions, and check for new version of `opencommit` after commit is made
2023-03-11 00:57:48 +08:00
di-sukharev
f49f1a86df
* chore(package.json): update version from 1.0.17 to 1.1.1
2023-03-11 00:55:36 +08:00
di-sukharev
98945df561
1.0.17
v1.0.17
2023-03-11 00:53:29 +08:00
di-sukharev
e8e190ff3d
1.0.16
v1.0.16
2023-03-11 00:49:50 +08:00
di-sukharev
9c3f28b7c6
* chore(TODO.md): move TODO.md to .github/TODO.md
...
* chore(TODO.md): set prepare-commit-msg hook
* chore(cli.ts): remove async/await from commit and prepareCommitMessageHook calls
* feat(cli.ts): add check for new version available after commit
2023-03-11 00:49:22 +08:00
di-sukharev
e146d4d60d
* fix(cli.ts): add curly braces to if statement in cli function to improve readability
2023-03-11 00:32:37 +08:00
di-sukharev
2ae35749a5
1.0.15
v1.0.15
2023-03-11 00:28:58 +08:00
di-sukharev
8836c57fa4
* chore(commit.ts): add TODO comment to show proper error messages
2023-03-11 00:24:52 +08:00
di-sukharev
4b523e5782
1.0.14
v1.0.14
2023-03-11 00:23:55 +08:00
di-sukharev
33491486bb
* feat(CommandsEnum.ts): add COMMANDS enum
...
* refactor(api.ts): use CONFIG_MODES enum from config.ts
* refactor(config.ts): use COMMANDS and CONFIG_MODES enums, extract validateConfig function
* feat(config.ts): add CONFIG_MODES enum and refactor configCommand function to use it
* refactor(githook.ts): import COMMANDS enum from CommandsEnum.js file
2023-03-11 00:23:30 +08:00
di-sukharev
e76db8276b
1.0.13
v1.0.13
2023-03-11 00:20:09 +08:00
di-sukharev
c2ae98170c
* refactor(api.ts): move apiKey initialization to the top of the file
...
* feat(api.ts): add check for process arguments to avoid intro message if 'config set' command is used
2023-03-11 00:19:29 +08:00
di-sukharev
91987030f0
1.0.12
v1.0.12
2023-03-11 00:15:34 +08:00
di-sukharev
2a55b08b51
* refactor(api.ts): remove redundant code block and process.exit(1) call
2023-03-11 00:15:17 +08:00
di-sukharev
ed4d6e0109
1.0.11
v1.0.11
2023-03-10 22:49:43 +08:00
di-sukharev
6712e798c5
* feat(cli.ts): add check for new opencommit version after commit is made
...
* chore(cli.ts): import execa and outro from their respective packages
2023-03-10 22:49:27 +08:00
di-sukharev
1347962a93
1.0.10
v1.0.10
2023-03-10 22:42:33 +08:00
di-sukharev
3ca9b9752f
* fix(api.ts): add process.exit(1) to terminate the process if apiKey is not provided
2023-03-10 22:41:53 +08:00
di-sukharev
50e2f67a9b
1.0.9
v1.0.9
2023-03-10 17:56:21 +08:00
di-sukharev
c1a4c3daf2
* chore: update package description and keywords
...
* chore: update README with new package description and title
2023-03-10 17:55:51 +08:00
di-sukharev
e4de6d8186
* feat(README.md): add OpenCommit example image to README
...
* chore(README.md): update OPENAI_API_KEY config key to use 'your_api_key' instead of 'your token'
* chore(README.md): update description of where the api key is stored
2023-03-10 15:59:57 +08:00
di-sukharev
5abe5d715d
* refactor(commit.ts): remove unnecessary blank lines
...
* feat(commit.ts): add spinner to show progress of `git push` command
* feat(commit.ts): show success message after successful `git push` command execution
2023-03-10 15:24:49 +08:00
di-sukharev
32c34abd22
1.0.8
v1.0.8
2023-03-09 21:32:24 +08:00
di-sukharev
1050cad95d
* refactor(commit.ts): extract stdout from git push command into a variable
2023-03-09 21:32:07 +08:00
di-sukharev
7bbc97980e
* refactor(commit.ts): remove unused stdout variable and simplify pushSpinner.stop() call
2023-03-09 21:31:31 +08:00
di-sukharev
2a9a3d5818
* chore(README.md): add emoji to the project description
2023-03-09 21:30:44 +08:00
di-sukharev
22935f38ba
1.0.7
v1.0.7
2023-03-09 21:29:52 +08:00
di-sukharev
4ae6361ad8
* chore(package.json): update description with emojis.
2023-03-09 21:29:28 +08:00
di-sukharev
5a0a384cbe
1.0.6
v1.0.6
2023-03-09 21:25:49 +08:00