File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ You can use OpenCommit by simply running it via the CLI like this `oco`. 2 secon
2929 npm install -g opencommit
3030 ```
3131
32+ MacOS may ask to run the command with ` sudo ` when installing a package globally.
33+
32342 . Get your API key from [ OpenAI] ( https://platform.openai.com/account/api-keys ) . Make sure that you add your payment details, so the API works.
3335
34363 . Set the key to OpenCommit config:
Original file line number Diff line number Diff line change @@ -16384,7 +16384,7 @@ function G3(t, e2) {
1638416384// package.json
1638516385var package_default = {
1638616386 name: "opencommit",
16387- version: "2.4.2 ",
16387+ version: "3.0.0 ",
1638816388 description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
1638916389 keywords: [
1639016390 "git",
@@ -16426,7 +16426,7 @@ var package_default = {
1642616426 dev: "ts-node ./src/cli.ts",
1642716427 build: "rimraf out && node esbuild.config.js",
1642816428 "build:push": "npm run build && git add . && git commit -m 'build' && git push",
16429- deploy: "npm run build:push && npm version patch && git push --tags && git push && npm publish --tag latest",
16429+ deploy: "npm run build:push && npm version patch && git push --follow- tags && npm publish --tag latest",
1643016430 lint: "eslint src --ext ts && tsc --noEmit",
1643116431 format: "prettier --write src"
1643216432 },
Original file line number Diff line number Diff line change 4343 "dev" : " ts-node ./src/cli.ts" ,
4444 "build" : " rimraf out && node esbuild.config.js" ,
4545 "build:push" : " npm run build && git add . && git commit -m 'build' && git push" ,
46- "deploy" : " npm run build:push && npm version patch && git push --tags && npm publish --tag latest" ,
46+ "deploy" : " npm run build:push && npm version patch && git push --follow- tags && npm publish --tag latest" ,
4747 "lint" : " eslint src --ext ts && tsc --noEmit" ,
4848 "format" : " prettier --write src"
4949 },
You can’t perform that action at this time.
0 commit comments