Skip to content

Commit

Permalink
🚀 Publish Extension
Browse files Browse the repository at this point in the history
Signed-off-by: zrr1999 <[email protected]>
  • Loading branch information
zrr1999 committed Oct 11, 2024
1 parent 844e102 commit b56542a
Show file tree
Hide file tree
Showing 13 changed files with 2,514 additions and 0 deletions.
82 changes: 82 additions & 0 deletions extensions/commit-message-formatter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Commit Message Formatter Changelog

## [Upgrade Commit Message Formatter] - 2024-10-10
- ♻️ refactor: remove unused code and use raycast-env.d.ts

## [Upgrade Commit Message Formatter] - 2024-10-04
- ✨ feat: support displaying multiple candidate commit messages on the search page

## [Upgrade Commit Message Formatter] - 2024-10-03
- 🔧 chore: change project name to commit-message-formatter

## [Upgrade Commit Message Formatter] - 2024-10-01

- 👷 ci: improve publish workflow
- 🔧 chore: rename gitmoji-llm to gitmoji-commit

## [Upgrade Commit Message Formatter] - 2024-09-20

- ⚡ perf: optimize prompts

## [Upgrade Commit Message Formatter] - 2024-09-18

- ⚡ perf: improve stability and add completion message for message generation command agent
- ⚡ perf: optimize prompts

## [Upgrade Commit Message Formatter] - 2024-09-14

- ♻️ refactor: use structured approach to generate commit message type
- ✨ feat: add generating animation when generating commit message

## [Upgrade Commit Message Formatter] - 2024-09-11

- ✨ feat: add publish action
- ✨ feat: add mechanism to generate package-lock.json in action
- 🐛 fix: resolve issue with node_modules directory not existing in path in action
- 🐛 fix: resolve issue with upload-artifact name
- ✨ feat: optimize publish action to support automatic submission PR
- 🐛 fix: correct git reset command usage
- 🐛 fix: add push-to-fork parameter in create-pull-request to fix action issue
- 🐛 fix: correct DESCRIPTION and SCREENCAST in publish action
- ♻️ refactor: use file to pass pr body instead of description and screencast environment variables
- 🐛 fix: fix token not passed in create-pull-request
- 🐛 fix: remove manual checkout for create-pull-request to correctly identify base
- 🐛 fix: fix commit-message and pr title
- 🔧 chore: remove bun.lockb and yarn.lock from source code

## [Upgrade Commit Message Formatter] - 2024-09-10

- ✨ feat: support custom language
- ♻️ refactor: move all files to root directory

## [Upgrade Commit Message Formatter] - 2024-09-08

- ✨ feat: support custom models
- ✨ feat: switch to using function calling
- 🔧 chore: format code styling
- ✨ feat: support copy and paste actions
- 🔧 chore: upgrade typescript to 5.5.4

## [Upgrade Commit Message Formatter] - 2024-09-08

- ✨ feat: use openai's native package instead of raycast's built-in ai

## [Upgrade Commit Message Formatter] - 2024-09-08

- ⚡ perf: optimize prompt

## [Upgrade Commit Message Formatter] - 2024-09-08

- ♻️ refactor: extract common code into separate files

## [Upgrade Commit Message Formatter] - 2024-09-08

- ✨ feat: add gitmoji-llm command for generating commit messages

## [Upgrade Commit Message Formatter] - 2024-09-07

- ✨ feat: add `🎉:tada:` to the list of gitmojis

## [Add Commit Message Formatter Extension] - 2024-09-07

- Add initial version of the Commit Message Formatter extension
28 changes: 28 additions & 0 deletions extensions/commit-message-formatter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Commit Message Formatter

[Commit Message Formatter](https://github.com/zrr1999/commit-message-formatter) is an commit messages generator.

## Features

- [x] Generate commit message by LLM following selected text
- [x] Concurrency of commit message generation
- [ ] History of generated commit messages
- [ ] Support custom git types
- [ ] Integrate with git diff

## Preferences

You can customize the following preferences:

- `Emoji Format`: Choose between `emoji` and `emoji code`.
- `Copy Format`: Choose between `emoji-type` and `emoji`.
- `Terminator`: Change the terminator of the commit type and message.
- `Action`: Choose between `Copy to Clipboard`, `Paste into Editor` and `Copy and Paste`.
- `OpenAI API Key`: API Key is used to authenticate with OpenAI API.
- `OpenAI Base Path (Optional)`: Base Path is used to override base path with OpenAI API.
- `Model`: Model is used to specify the model to use.
- `Language`: LLM will use this language to generate content.

## Customize

You can fork this repo and change the `src/lib/types.ts` to add more gitmojis.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions extensions/commit-message-formatter/bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[install.lockfile]
print = "yarn"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b56542a

Please sign in to comment.