Skip to content

Commit 61b1454

Browse files
committed
Merge remote-tracking branch 'origin/master' into dev
2 parents 3eb319a + 0b8dc12 commit 61b1454

File tree

9 files changed

+19
-20
lines changed

9 files changed

+19
-20
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"rules": {
2222
"prettier/prettier": "error",
2323
"no-console": "error",
24-
"sort-imports": "off",
2524
"import/order": "off",
25+
"sort-imports": "off",
2626
"simple-import-sort/imports": "error",
2727
"simple-import-sort/exports": "error",
2828
"import/first": "error",

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/build
2-
/dist
2+
/dist
3+
/out

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) Dima Sukharev
3+
Copyright (c) Dima Sukharev, https://github.com/di-sukharev
44

55
Permission is hereby granted, free of charge, to any person obtaining a
66
copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h4 align="center">Follow the bird <a href="https://twitter.com/io_Y_oi"><img src="https://img.shields.io/twitter/follow/io_Y_oi?style=flat&label=io_Y_oi&logo=twitter&color=0bf&logoColor=fff" align="center"></a>
66
</h4>
77
</div>
8-
<h2>GPT CLI to auto-generate impressive commits in 1 second</h2>
8+
<h2>Auto-generate meaningful commits in 1 second</h2>
99
<p>Killing lame commits with AI 🤯🔫</p>
1010
<a href="https://www.npmjs.com/package/opencommit"><img src="https://img.shields.io/npm/v/opencommit" alt="Current version"></a>
1111
</div>
@@ -18,22 +18,16 @@
1818

1919
All the commits in this repo are done with OpenCommit — look into [the commits](https://github.com/di-sukharev/opencommit/commit/eae7618d575ee8d2e9fff5de56da79d40c4bc5fc) to see how OpenCommit works. Emoji and long commit description text is configurable.
2020

21-
## Setup OpenCommit as a Github Action
21+
## Setup OpenCommit as a Github Action 🔥
2222

2323
OpenCommit is now available as a GitHub Action which automatically improves all new commits messages when you push to remote!
2424

2525
This is great if you want to make sure all of the commits in all of repository branches are meaningful and not lame like `fix1` or `done2`.
2626

27-
### Automatic 1 click setup
28-
29-
You can simply [setup the action automatically via the GitHub Marketplace](TODO).
30-
31-
### Manual 3 clicks setup
32-
3327
Create a file `.github/workflows/opencommit.yml` with contents below:
3428

3529
```yml
36-
name: 'OpenCommit'
30+
name: 'OpenCommit Action'
3731

3832
on:
3933
push:
@@ -54,7 +48,7 @@ jobs:
5448
- uses: actions/checkout@v3
5549
with:
5650
fetch-depth: 0
57-
- uses: di-sukharev/opencommit@github-action
51+
- uses: di-sukharev/opencommit@github-action-v1.0.1
5852
with:
5953
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6054

action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
name: 'OpenCommit'
2-
description: 'Replaces lame commit messages with meaningful AI-generated messages when you push to remote 🤯🔫'
1+
name: 'OpenCommit — improve commits with AI 🧙'
2+
description: 'Replaces lame commit messages with meaningful AI-generated messages when you push to remote'
33
author: 'https://github.com/di-sukharev'
44
repo: 'https://github.com/di-sukharev/opencommit/tree/github-action'
5+
branding:
6+
icon: 'git-commit'
7+
color: 'green'
58
keywords:
69
[
710
'git',

out/cli.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16272,7 +16272,7 @@ function G3(t, e2) {
1627216272
// package.json
1627316273
var package_default = {
1627416274
name: "opencommit",
16275-
version: "2.0.15",
16275+
version: "2.0.16",
1627616276
description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
1627716277
keywords: [
1627816278
"git",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencommit",
3-
"version": "2.0.15",
3+
"version": "2.0.17",
44
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
55
"keywords": [
66
"git",
@@ -43,6 +43,7 @@
4343
"dev": "ts-node ./src/cli.ts",
4444
"build": "rimraf out && node esbuild.config.js",
4545
"deploy": "npm run build && npm version patch && npm publish --tag latest",
46+
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
4647
"lint": "eslint src --ext ts && tsc --noEmit",
4748
"format": "prettier --write src"
4849
},

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
"module": "ESNext",
77
// "rootDir": "./src",
8-
"moduleResolution": "node",
98
"resolveJsonModule": true,
9+
"moduleResolution": "node",
1010

1111
"allowJs": true,
1212

0 commit comments

Comments
 (0)