mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-20 17:05:52 +01:00
chore: upgrade docusaurus 2.0.0-beta.17 (#3040)
This commit is contained in:
parent
d2dd76260b
commit
a049eaa38f
@ -5,8 +5,8 @@
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
"dependencies": {
|
||||
"@docusaurus/types": "2.0.0-beta.14",
|
||||
"@docusaurus/utils": "2.0.0-beta.14"
|
||||
"@docusaurus/types": "2.0.0-beta.17",
|
||||
"@docusaurus/utils": "2.0.0-beta.17"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
6771
pnpm-lock.yaml
generated
6771
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -62,7 +62,8 @@ module.exports = {
|
||||
'If you like Verdaccio, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/verdaccio/verdaccio">GitHub</a>! ⭐',
|
||||
},
|
||||
algolia: {
|
||||
apiKey: 'a8b4d117e513cd8d71d6a95e3d9d4a91',
|
||||
appId: 'B3TG5CBF5H',
|
||||
apiKey: 'ed054733cb03418e9af25b7beb82c924',
|
||||
indexName: 'verdaccio',
|
||||
contextualSearch: true
|
||||
},
|
||||
|
@ -21,17 +21,19 @@
|
||||
"node": ">=14"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.0.0-beta.14",
|
||||
"@docusaurus/plugin-google-analytics": "2.0.0-beta.14",
|
||||
"@docusaurus/preset-classic": "2.0.0-beta.14",
|
||||
"@docusaurus/remark-plugin-npm2yarn": "2.0.0-beta.14",
|
||||
"@docusaurus/theme-search-algolia": "2.0.0-beta.14",
|
||||
"docusaurus-plugin-contributors": "workspace:1.0.0",
|
||||
"@docusaurus/core": "2.0.0-beta.17",
|
||||
"@docusaurus/plugin-google-analytics": "2.0.0-beta.17",
|
||||
"@docusaurus/preset-classic": "2.0.0-beta.17",
|
||||
"@docusaurus/remark-plugin-npm2yarn": "2.0.0-beta.17",
|
||||
"@docusaurus/theme-search-algolia": "2.0.0-beta.17",
|
||||
"@docusaurus/plugin-content-docs": "2.0.0-beta.17",
|
||||
"@docusaurus/theme-common": "2.0.0-beta.17",
|
||||
"@material-ui/core": "^4.11.2",
|
||||
"@material-ui/icons": "^4.11.2",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"clsx": "^1.1.1",
|
||||
"copy-text-to-clipboard": "^3.0.1",
|
||||
"docusaurus-plugin-contributors": "workspace:1.0.0",
|
||||
"docusaurus-plugin-sentry": "^1.0.0",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2",
|
||||
|
@ -1,5 +1,5 @@
|
||||
import Translate, { translate } from '@docusaurus/Translate';
|
||||
import { Link } from '@docusaurus/router';
|
||||
import Link from '@docusaurus/Link';
|
||||
import { useBaseUrlUtils } from '@docusaurus/useBaseUrl';
|
||||
import React from 'react';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import Translate, { translate } from '@docusaurus/Translate';
|
||||
import { Link } from '@docusaurus/router';
|
||||
import Link from '@docusaurus/Link';
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import React from 'react';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { translate } from '@docusaurus/Translate';
|
||||
import { useColorMode } from '@docusaurus/theme-common';
|
||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import useThemeContext from '@theme/hooks/useThemeContext';
|
||||
import clsx from 'clsx';
|
||||
import React, { useCallback, useRef, useState } from 'react';
|
||||
import { Tweet } from 'react-twitter-widgets';
|
||||
@ -10,7 +10,7 @@ import styles from './TwitterCarrousel.module.scss';
|
||||
import useClampedIsInViewport from './hooks/useClampedIsInViewport';
|
||||
|
||||
const Carrousel = ({ data }: { data: string[][] }): React.ReactElement => {
|
||||
const { isDarkTheme } = useThemeContext();
|
||||
const { isDarkTheme } = useColorMode();
|
||||
const { i18n } = useDocusaurusContext();
|
||||
const [page, setPage] = useState(0);
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
@ -1,5 +1,5 @@
|
||||
import Translate from '@docusaurus/Translate';
|
||||
import { Link } from '@docusaurus/router';
|
||||
import Link from '@docusaurus/Link';
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import React from 'react';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user