mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-13 07:38:01 -05:00
* ✨ feat(package.json): add publish script The cli file extension has been changed from .mjs to .cjs to improve compatibility with Node.js. The publish script has been added to simplify the process of publishing a new version of the package to npm. * 🎨 style(api.ts): remove unused import statement * 🐛 fix(api.ts): remove setConfig function call * 🚧 chore(api.ts): add comment to explain apiKey variable initialization * 🚧 chore(api.ts): comment out code block that prompts user for OPENAI_API_KEY The unused import statement for `text` function from `@clack/prompts` has been removed. The `setConfig` function call has been removed as it is not needed and was causing an error. A comment has been added to explain the initialization of the `apiKey` variable. The code block that prompts the user for `OPENAI_API_KEY` has been commented out as it is not needed and was causing an error. * 🐛 fix(tsconfig.json): change target to ES6 The target was previously set to ESNext, which is not supported by all browsers. Changing it to ES6 ensures that the emitted JavaScript is compatible with a wider range of browsers.