mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-12 23:28:16 -05:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c50c416dfc | ||
|
|
f8720ff089 | ||
|
|
afa5949c06 | ||
|
|
b1ec69e4dd | ||
|
|
0061816b6a | ||
|
|
352b81c6c6 | ||
|
|
430776af29 | ||
|
|
c573edea97 | ||
|
|
5282734583 |
3
TODO.md
3
TODO.md
@@ -1,4 +1,5 @@
|
||||
# TODOs
|
||||
|
||||
- [] [build for both mjs and cjs](https://snyk.io/blog/best-practices-create-modern-npm-package/)
|
||||
- []
|
||||
- [] make bundle smaller by properly configuring esbuild
|
||||
- [] batch small files in one request
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "open-commit",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.10",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "open-commit",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.10",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@clack/prompts": "^0.6.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "opencommit",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.10",
|
||||
"description": "AI generates conventional commits with mind-blowing accuracy.",
|
||||
"keywords": [
|
||||
"git",
|
||||
@@ -37,7 +37,7 @@
|
||||
"start": "node ./out/cli.cjs",
|
||||
"dev": "ts-node ./src/cli.ts",
|
||||
"build": "rimraf out && esbuild ./src/cli.ts --bundle --outfile=out/cli.cjs --format=cjs --platform=node",
|
||||
"publish": "npm version patch && npm publish",
|
||||
"patch": "npm version patch",
|
||||
"lint": "eslint src --ext ts && tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -20,7 +20,7 @@ export const hookCommand = command(
|
||||
parameters: ['<set/unset>']
|
||||
},
|
||||
async (argv) => {
|
||||
const HOOK_PATH = fileURLToPath(new URL('cli.mjs', import.meta.url));
|
||||
const HOOK_PATH = fileURLToPath(new URL('cli.cjs', import.meta.url));
|
||||
|
||||
try {
|
||||
await assertGitRepo();
|
||||
|
||||
Reference in New Issue
Block a user