mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-24 21:15:51 +01:00
chore: upgrade website reps (#3311)
This commit is contained in:
parent
b179541e66
commit
24c5d7ede5
@ -5,8 +5,8 @@
|
||||
"main": "./build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
"dependencies": {
|
||||
"@docusaurus/types": "2.0.0-beta.20",
|
||||
"@docusaurus/utils": "2.0.0-beta.20"
|
||||
"@docusaurus/types": "2.0.1 ",
|
||||
"@docusaurus/utils": "2.0.1 "
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf ./build",
|
||||
|
3173
pnpm-lock.yaml
generated
3173
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -21,21 +21,21 @@
|
||||
"node": ">=14"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.0.0-beta.20",
|
||||
"@docusaurus/plugin-google-analytics": "2.0.0-beta.20",
|
||||
"@docusaurus/preset-classic": "2.0.0-beta.20",
|
||||
"@docusaurus/remark-plugin-npm2yarn": "2.0.0-beta.20",
|
||||
"@docusaurus/theme-search-algolia": "2.0.0-beta.20",
|
||||
"@docusaurus/plugin-content-docs": "2.0.0-beta.20",
|
||||
"@docusaurus/theme-common": "2.0.0-beta.20",
|
||||
"@docusaurus/core": "2.0.1 ",
|
||||
"@docusaurus/plugin-google-analytics": "2.0.1 ",
|
||||
"@docusaurus/preset-classic": "2.0.1 ",
|
||||
"@docusaurus/remark-plugin-npm2yarn": "2.0.1 ",
|
||||
"@docusaurus/theme-search-algolia": "2.0.1 ",
|
||||
"@docusaurus/plugin-content-docs": "2.0.1 ",
|
||||
"@docusaurus/theme-common": "2.0.1 ",
|
||||
"@material-ui/core": "^4.11.2",
|
||||
"@material-ui/icons": "^4.11.2",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"clsx": "^1.1.1",
|
||||
"clsx": "1.1.1",
|
||||
"classnames": "2.3.1",
|
||||
"copy-text-to-clipboard": "^3.0.1",
|
||||
"copy-text-to-clipboard": "3.0.1",
|
||||
"docusaurus-plugin-contributors": "workspace:1.0.0",
|
||||
"docusaurus-plugin-sentry": "^1.0.0",
|
||||
"docusaurus-plugin-sentry": "1.0.0",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2",
|
||||
"react-twitter-widgets": "^1.10.0",
|
||||
@ -54,7 +54,7 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "2.0.0-beta.20",
|
||||
"@docusaurus/module-type-aliases": "2.0.1 ",
|
||||
"@tsconfig/docusaurus": "^1.0.2",
|
||||
"docusaurus-plugin-sass": "^0.2.1",
|
||||
"esbuild": "0.14.10",
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { translate } from '@docusaurus/Translate';
|
||||
import { useColorMode } from '@docusaurus/theme-common';
|
||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import clsx from 'clsx';
|
||||
import React, { useCallback, useRef, useState } from 'react';
|
||||
@ -10,7 +9,6 @@ import styles from './TwitterCarrousel.module.scss';
|
||||
import useClampedIsInViewport from './hooks/useClampedIsInViewport';
|
||||
|
||||
const Carrousel = ({ data }: { data: string[][] }): React.ReactElement => {
|
||||
const { isDarkTheme } = useColorMode();
|
||||
const { i18n } = useDocusaurusContext();
|
||||
const [page, setPage] = useState(0);
|
||||
const [loading, setLoading] = useState(true);
|
||||
@ -37,7 +35,7 @@ const Carrousel = ({ data }: { data: string[][] }): React.ReactElement => {
|
||||
{data[page].map((tweetId) => (
|
||||
<Tweet
|
||||
options={{
|
||||
theme: isDarkTheme ? 'dark' : 'light',
|
||||
theme: 'light',
|
||||
lang: i18n.currentLocale,
|
||||
dnt: true,
|
||||
align: 'center',
|
||||
|
Loading…
Reference in New Issue
Block a user