diff --git a/packages/d2c-schematics/product-list-page-algolia/files/src/app/search/[[...node]]/layout.tsx.template b/packages/d2c-schematics/product-list-page-algolia/files/src/app/(store)/search/[[...node]]/layout.tsx.template similarity index 79% rename from packages/d2c-schematics/product-list-page-algolia/files/src/app/search/[[...node]]/layout.tsx.template rename to packages/d2c-schematics/product-list-page-algolia/files/src/app/(store)/search/[[...node]]/layout.tsx.template index 9e1fb2bd..937b6e50 100644 --- a/packages/d2c-schematics/product-list-page-algolia/files/src/app/search/[[...node]]/layout.tsx.template +++ b/packages/d2c-schematics/product-list-page-algolia/files/src/app/(store)/search/[[...node]]/layout.tsx.template @@ -1,5 +1,5 @@ import { ReactNode } from "react"; -import Breadcrumb from "../../../components/breadcrumb"; +import Breadcrumb from "../../../../components/breadcrumb"; export default function SearchLayout({ children }: { children: ReactNode }) { return ( diff --git a/packages/d2c-schematics/product-list-page-algolia/files/src/app/search/[[...node]]/page.tsx.template b/packages/d2c-schematics/product-list-page-algolia/files/src/app/(store)/search/[[...node]]/page.tsx.template similarity index 100% rename from packages/d2c-schematics/product-list-page-algolia/files/src/app/search/[[...node]]/page.tsx.template rename to packages/d2c-schematics/product-list-page-algolia/files/src/app/(store)/search/[[...node]]/page.tsx.template diff --git a/packages/d2c-schematics/product-list-page-algolia/files/src/app/search/search.tsx.template b/packages/d2c-schematics/product-list-page-algolia/files/src/app/(store)/search/search.tsx.template similarity index 79% rename from packages/d2c-schematics/product-list-page-algolia/files/src/app/search/search.tsx.template rename to packages/d2c-schematics/product-list-page-algolia/files/src/app/(store)/search/search.tsx.template index c0f077f0..8df2612d 100644 --- a/packages/d2c-schematics/product-list-page-algolia/files/src/app/search/search.tsx.template +++ b/packages/d2c-schematics/product-list-page-algolia/files/src/app/(store)/search/search.tsx.template @@ -1,11 +1,11 @@ "use client"; -import { searchClient } from "../../lib/search-client"; +import { searchClient } from "../../../lib/search-client"; import { InstantSearchNext } from "react-instantsearch-nextjs"; -import { algoliaEnvData } from "../../lib/resolve-algolia-env"; -import { resolveAlgoliaRouting } from "../../lib/algolia-search-routing"; -import SearchResults from "../../components/search/SearchResults"; +import { algoliaEnvData } from "../../../lib/resolve-algolia-env"; +import { resolveAlgoliaRouting } from "../../../lib/algolia-search-routing"; +import SearchResults from "../../../components/search/SearchResults"; import React from "react"; -import { buildBreadcrumbLookup } from "../../lib/build-breadcrumb-lookup"; +import { buildBreadcrumbLookup } from "../../../lib/build-breadcrumb-lookup"; import { useStore } from "@elasticpath/react-shopper-hooks"; import { HierarchicalMenuProps, @@ -21,8 +21,8 @@ import { useSearchBox, useSortBy, } from "react-instantsearch"; -import { sortByItems } from "../../lib/sort-by-items"; -import { hierarchicalAttributes } from "../../lib/hierarchical-attributes"; +import { sortByItems } from "../../../lib/sort-by-items"; +import { hierarchicalAttributes } from "../../../lib/hierarchical-attributes"; export function Search() { const { nav } = useStore(); diff --git a/packages/d2c-schematics/utility/latest-versions/package.json b/packages/d2c-schematics/utility/latest-versions/package.json index 9183d959..7e9e7ea1 100644 --- a/packages/d2c-schematics/utility/latest-versions/package.json +++ b/packages/d2c-schematics/utility/latest-versions/package.json @@ -44,7 +44,7 @@ "react-instantsearch-hooks": "^6.47.3", "react-instantsearch-nextjs": "^0.1.2", "server-only": "^0.0.1", - "instantsearch.js": "4.59.0", + "instantsearch.js": "4.64.0", "@next/bundle-analyzer": "^14.0.0", "@next/env": "^14.0.0", "encoding": "^0.1.13",