Skip to content

Commit

Permalink
fix typo and invalid authors object
Browse files Browse the repository at this point in the history
  • Loading branch information
xavimondev committed Jul 18, 2024
1 parent 844f8f5 commit fc3cc9d
Show file tree
Hide file tree
Showing 3 changed files with 10 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.3.1

### Patch Changes

- fix typos and invalid authors object

## 0.3.0

### Minor Changes
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.3.0",
"version": "0.3.1",
"description": "Command-line tool to generate SEO metadata and HTML meta tags using AI models",
"type": "module",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions src/utils/seoGeneration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const generateApplicationNameHtml = () => {
return `<meta name="application-name" content="${applicationName}" />\n`
}

export const generateMetadataBase = () => ({ metadataBase: 'https://example.com' })
export const generateMetadataBase = () => ({ metadataBase: new URL('https://example.com') })

export const generateAuthors = () => {
const packageInfo = getPackageJson()
Expand All @@ -23,7 +23,7 @@ export const generateAuthors = () => {
name: packageInfo.author?.name ?? '@seodev',
url: packageInfo.author?.url ?? 'https//github.com/seodev'
}
: '@seodev'
: { name: '@seodev', url: 'https://github.com/seodev' }

return { authors }
}
Expand Down Expand Up @@ -113,7 +113,7 @@ export const generateGraphImages = () => ({
images: [
{
url: '/seo/banner/og.png',
with: 1200,
width: 1200,
height: 675,
alt: 'Banner AI'
}
Expand Down

0 comments on commit fc3cc9d

Please sign in to comment.