Skip to content

Commit

Permalink
fix packages
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed May 3, 2024
1 parent 57665a8 commit 080949b
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 775 deletions.
10 changes: 5 additions & 5 deletions packages/docusaurus-plugin-content-showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
},
"license": "MIT",
"dependencies": {
"@docusaurus/core": "3.2.1",
"@docusaurus/types": "3.2.1",
"@docusaurus/utils": "3.2.1",
"@docusaurus/utils-validation": "3.2.1",
"@docusaurus/theme-common": "3.2.1",
"@docusaurus/core": "3.3.2",
"@docusaurus/types": "3.3.2",
"@docusaurus/utils": "3.3.2",
"@docusaurus/utils-validation": "3.3.2",
"@docusaurus/theme-common": "3.3.2",
"fs-extra": "^11.1.1",
"js-yaml": "^4.1.0",
"tslib": "^2.6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import React, {
useCallback,
type ReactNode,
} from 'react';
// TODO Docusaurus v4: remove theme-common > content-plugin/client dependency
// Move every plugin-specific code to content-plugin/client directly
import {
useAllDocsData,
useDocsData,
Expand Down
2 changes: 2 additions & 0 deletions packages/docusaurus-theme-common/src/utils/docsUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import {useMemo} from 'react';
import {matchPath, useLocation} from '@docusaurus/router';
import renderRoutes from '@docusaurus/renderRoutes';
// TODO Docusaurus v4: remove theme-common > content-plugin/client dependency
// Move every plugin-specific code to content-plugin/client directly
import {
useAllDocsData,
useActivePlugin,
Expand Down
2 changes: 2 additions & 0 deletions packages/docusaurus-theme-common/src/utils/searchUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/

// TODO Docusaurus v4: remove theme-common > content-plugin/client dependency
// Move every plugin-specific code to content-plugin/client directly
import {
useAllDocsData,
useActivePluginAndVersion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

import {useBaseUrlUtils, type BaseUrlUtils} from '@docusaurus/useBaseUrl';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';

// TODO Docusaurus v4: remove theme-common > content-plugin/client dependency
// Move every plugin-specific code to content-plugin/client directly
import {useBlogMetadata} from '@docusaurus/plugin-content-blog/client';
import type {Props as BlogListPageStructuredDataProps} from '@theme/BlogListPage/StructuredData';
import {useBlogPost} from '../contexts/blogPost';
Expand Down
Loading

0 comments on commit 080949b

Please sign in to comment.