Skip to content

Commit

Permalink
update readme and package json info
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimondev committed Aug 9, 2024
1 parent 8d14fcd commit 78109df
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# seo-ai

## 0.7.1

### Patch Changes

- update readme and package json info

## 0.7.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ npx seo-ai config set GROQ_API_KEY=<your-key>
### Run

```sh
npx seo-ai generate
npx seo-ai@latest generate
```

### CLI
Expand All @@ -70,7 +70,7 @@ config [arguments] Sets API Keys configuration
#### Generate

```sh
npx seo-ai generate [tags] [options]
npx seo-ai@latest generate [tags] [options]

Arguments:
[tags] SEO tags to be generated. See [Available Tags](#available-tags)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seo-ai",
"version": "0.7.0",
"version": "0.7.1",
"description": "Command-line tool to generate SEO metadata and HTML meta tags using AI models",
"type": "module",
"license": "MIT",
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ import { intro } from '@clack/prompts'
import chalk from 'chalk'
import { generate } from '@/commands/generate'
import { config } from '@/commands/config'
import { getPackageJson } from '@/utils/getPackageJson'

process.on('SIGINT', () => process.exit(0))
process.on('SIGTERM', () => process.exit(0))

const NAME_APP = 'seo-ai'
async function main() {
const packageInfo = getPackageJson()
const program = new Command()
.name(NAME_APP)
.description('Generate SEO data for your website')
.version('0.5.0', '-v, --version', 'display the version number')
.version(packageInfo.version || '1.0.0', '-v, --version', 'display the version number')

intro(chalk.inverse(NAME_APP))
program.addCommand(generate).addCommand(config)
Expand Down

0 comments on commit 78109df

Please sign in to comment.