Skip to content

Commit

Permalink
chore/1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Baroshem committed Oct 27, 2023
1 parent 271c8b0 commit 8557c41
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nuxtjs/algolia",
"version": "1.8.0",
"version": "1.10.0",
"description": "Algolia module for Nuxt",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/crawler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import algoliasearch from 'algoliasearch'
import scraper from 'metadata-scraper'
import type { SearchClient, SearchIndex } from 'algoliasearch'
import type { MetaData } from 'metadata-scraper/lib/types'
import { Nuxt } from '@nuxt/schema'
import type { Nuxt } from '@nuxt/schema'
import type { ModuleOptions } from './../module'

export type CrawlerPage = { href: string } & MetaData
Expand Down
3 changes: 2 additions & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { resolve } from 'path'
import { fileURLToPath } from 'url'
import { defineNuxtModule, addPlugin, addComponentsDir, addServerHandler, addImportsDir, useLogger, isNuxt2 } from '@nuxt/kit'
import { defu } from 'defu'
import { createPageGenerateHook, createGenerateDoneHook, CrawlerPage, CrawlerHooks, CrawlerOptions } from './hooks'
import { createPageGenerateHook, createGenerateDoneHook } from './hooks'
import type { CrawlerPage, CrawlerHooks, CrawlerOptions } from './hooks'
import { InstantSearchThemes, type ModuleBaseOptions } from './types'

const MODULE_NAME = '@nuxtjs/algolia'
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { DocSearchTranslations } from '@docsearch/react'
import { InternalDocSearchHit, StoredDocSearchHit } from '@docsearch/react/dist/esm/types'
import type { DocSearchTranslations } from '@docsearch/react'
import type { InternalDocSearchHit, StoredDocSearchHit } from '@docsearch/react/dist/esm/types'
import type { SearchIndex } from 'algoliasearch'

export interface AlgoliaIndices {}
Expand Down

0 comments on commit 8557c41

Please sign in to comment.