mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-03 19:32:35 +02:00
chore: bump dependencies major versions (#8537)
This commit is contained in:
parent
e8a07633ba
commit
3526059214
25 changed files with 126 additions and 664 deletions
|
@ -111,7 +111,7 @@
|
||||||
"strip-ansi": "^6.0.1",
|
"strip-ansi": "^6.0.1",
|
||||||
"stylelint": "^14.16.1",
|
"stylelint": "^14.16.1",
|
||||||
"stylelint-config-prettier": "^9.0.4",
|
"stylelint-config-prettier": "^9.0.4",
|
||||||
"stylelint-config-standard": "^28.0.0",
|
"stylelint-config-standard": "^29.0.0",
|
||||||
"typescript": "~4.9.4"
|
"typescript": "~4.9.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
"@docusaurus/logger": "^3.0.0-alpha.0",
|
"@docusaurus/logger": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/utils": "^3.0.0-alpha.0",
|
"@docusaurus/utils": "^3.0.0-alpha.0",
|
||||||
"commander": "^5.1.0",
|
"commander": "^5.1.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"prompts": "^2.4.2",
|
"prompts": "^2.4.2",
|
||||||
"semver": "^7.3.8",
|
"semver": "^7.3.8",
|
||||||
|
|
|
@ -24,9 +24,9 @@ const config = {
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: 'throw',
|
||||||
onBrokenMarkdownLinks: 'warn',
|
onBrokenMarkdownLinks: 'warn',
|
||||||
|
|
||||||
// Even if you don't use internationalization, you can use this field to set useful
|
// Even if you don't use internationalization, you can use this field to set
|
||||||
// metadata like html lang. For example, if your site is Chinese, you may want
|
// useful metadata like html lang. For example, if your site is Chinese, you
|
||||||
// to replace "en" with "zh-Hans".
|
// may want to replace "en" with "zh-Hans".
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
locales: ['en'],
|
locales: ['en'],
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
"@mdx-js/mdx": "^1.6.22",
|
"@mdx-js/mdx": "^1.6.22",
|
||||||
"escape-html": "^1.0.3",
|
"escape-html": "^1.0.3",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"image-size": "^1.0.2",
|
"image-size": "^1.0.2",
|
||||||
"mdast-util-to-string": "^2.0.0",
|
"mdast-util-to-string": "^2.0.0",
|
||||||
"remark-emoji": "^2.2.0",
|
"remark-emoji": "^2.2.0",
|
||||||
|
|
|
@ -29,10 +29,10 @@
|
||||||
"@mapbox/hast-util-to-jsx": "^2.0.0",
|
"@mapbox/hast-util-to-jsx": "^2.0.0",
|
||||||
"color": "^4.2.3",
|
"color": "^4.2.3",
|
||||||
"commander": "^5.1.0",
|
"commander": "^5.1.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"hast-util-to-string": "^1.0.4",
|
"hast-util-to-string": "^1.0.4",
|
||||||
"html-tags": "^3.2.0",
|
"html-tags": "^3.2.0",
|
||||||
"jscodeshift": "^0.13.1",
|
"jscodeshift": "^0.14.0",
|
||||||
"rehype-parse": "^7.0.1",
|
"rehype-parse": "^7.0.1",
|
||||||
"remark-parse": "^8.0.2",
|
"remark-parse": "^8.0.2",
|
||||||
"remark-stringify": "^8.1.0",
|
"remark-stringify": "^8.1.0",
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"@docusaurus/utils-common": "^3.0.0-alpha.0",
|
"@docusaurus/utils-common": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
||||||
"eta": "^1.12.3",
|
"eta": "^1.12.3",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"tslib": "^2.4.1"
|
"tslib": "^2.4.1"
|
||||||
},
|
},
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
||||||
"cheerio": "^1.0.0-rc.12",
|
"cheerio": "^1.0.0-rc.12",
|
||||||
"feed": "^4.2.2",
|
"feed": "^4.2.2",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"reading-time": "^1.5.0",
|
"reading-time": "^1.5.0",
|
||||||
"tslib": "^2.4.1",
|
"tslib": "^2.4.1",
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
||||||
"@types/react-router-config": "^5.0.6",
|
"@types/react-router-config": "^5.0.6",
|
||||||
"combine-promises": "^1.1.0",
|
"combine-promises": "^1.1.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"import-fresh": "^3.3.0",
|
"import-fresh": "^3.3.0",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
"@docusaurus/types": "^3.0.0-alpha.0",
|
"@docusaurus/types": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/utils": "^3.0.0-alpha.0",
|
"@docusaurus/utils": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"tslib": "^2.4.1",
|
"tslib": "^2.4.1",
|
||||||
"webpack": "^5.75.0"
|
"webpack": "^5.75.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
"@docusaurus/core": "^3.0.0-alpha.0",
|
"@docusaurus/core": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/types": "^3.0.0-alpha.0",
|
"@docusaurus/types": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/utils": "^3.0.0-alpha.0",
|
"@docusaurus/utils": "^3.0.0-alpha.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"react-json-view": "^1.21.3",
|
"react-json-view": "^1.21.3",
|
||||||
"tslib": "^2.4.1"
|
"tslib": "^2.4.1"
|
||||||
},
|
},
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/module-type-aliases": "^3.0.0-alpha.0",
|
"@docusaurus/module-type-aliases": "^3.0.0-alpha.0",
|
||||||
"fs-extra": "^10.1.0"
|
"fs-extra": "^11.1.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"jimp": "*",
|
"jimp": "*",
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
"@docusaurus/types": "^3.0.0-alpha.0",
|
"@docusaurus/types": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/utils": "^3.0.0-alpha.0",
|
"@docusaurus/utils": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
||||||
"babel-loader": "^8.3.0",
|
"babel-loader": "^9.1.2",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
"core-js": "^3.27.1",
|
"core-js": "^3.27.1",
|
||||||
"terser-webpack-plugin": "^5.3.6",
|
"terser-webpack-plugin": "^5.3.6",
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/module-type-aliases": "^3.0.0-alpha.0",
|
"@docusaurus/module-type-aliases": "^3.0.0-alpha.0",
|
||||||
"fs-extra": "^10.1.0"
|
"fs-extra": "^11.1.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": "^16.8.4 || ^17.0.0",
|
"react": "^16.8.4 || ^17.0.0",
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"@docusaurus/utils": "^3.0.0-alpha.0",
|
"@docusaurus/utils": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/utils-common": "^3.0.0-alpha.0",
|
"@docusaurus/utils-common": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"sitemap": "^7.1.1",
|
"sitemap": "^7.1.1",
|
||||||
"tslib": "^2.4.1"
|
"tslib": "^2.4.1"
|
||||||
},
|
},
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
"@types/nprogress": "^0.2.0",
|
"@types/nprogress": "^0.2.0",
|
||||||
"@types/prismjs": "^1.26.0",
|
"@types/prismjs": "^1.26.0",
|
||||||
"@types/rtlcss": "^3.5.0",
|
"@types/rtlcss": "^3.5.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"react-test-renderer": "^17.0.2",
|
"react-test-renderer": "^17.0.2",
|
||||||
"utility-types": "^3.10.0"
|
"utility-types": "^3.10.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/core": "^3.0.0-alpha.0",
|
"@docusaurus/core": "^3.0.0-alpha.0",
|
||||||
"@docusaurus/types": "^3.0.0-alpha.0",
|
"@docusaurus/types": "^3.0.0-alpha.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"lodash": "^4.17.21"
|
"lodash": "^4.17.21"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|
|
@ -24,9 +24,9 @@ export type BlogPostContextValue = Pick<
|
||||||
const Context = React.createContext<BlogPostContextValue | null>(null);
|
const Context = React.createContext<BlogPostContextValue | null>(null);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Note: we don't use `PropBlogPostContent` as context value on purpose. Metadata is
|
* Note: we don't use `PropBlogPostContent` as context value on purpose.
|
||||||
* currently stored inside the MDX component, but we may want to change that in
|
* Metadata is currently stored inside the MDX component, but we may want to
|
||||||
* the future.
|
* change that in the future.
|
||||||
*/
|
*/
|
||||||
function useContextValue({
|
function useContextValue({
|
||||||
content,
|
content,
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
"@docusaurus/utils-validation": "^3.0.0-alpha.0",
|
||||||
"@philpl/buble": "^0.19.7",
|
"@philpl/buble": "^0.19.7",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"react-live": "2.2.3",
|
"react-live": "2.2.3",
|
||||||
"tslib": "^2.4.1"
|
"tslib": "^2.4.1"
|
||||||
},
|
},
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
"algoliasearch-helper": "^3.11.2",
|
"algoliasearch-helper": "^3.11.2",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
"eta": "^1.12.3",
|
"eta": "^1.12.3",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"tslib": "^2.4.1",
|
"tslib": "^2.4.1",
|
||||||
"utility-types": "^3.10.0"
|
"utility-types": "^3.10.0"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
"update": "node ./update.mjs"
|
"update": "node ./update.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"tslib": "^2.4.1"
|
"tslib": "^2.4.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
"@svgr/webpack": "^6.5.1",
|
"@svgr/webpack": "^6.5.1",
|
||||||
"escape-string-regexp": "^4.0.0",
|
"escape-string-regexp": "^4.0.0",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"github-slugger": "^1.5.0",
|
"github-slugger": "^1.5.0",
|
||||||
"globby": "^11.1.0",
|
"globby": "^11.1.0",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
"@slorber/static-site-generator-webpack-plugin": "^4.0.7",
|
"@slorber/static-site-generator-webpack-plugin": "^4.0.7",
|
||||||
"@svgr/webpack": "^6.5.1",
|
"@svgr/webpack": "^6.5.1",
|
||||||
"autoprefixer": "^10.4.13",
|
"autoprefixer": "^10.4.13",
|
||||||
"babel-loader": "^8.3.0",
|
"babel-loader": "^9.1.2",
|
||||||
"babel-plugin-dynamic-import-node": "^2.3.3",
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
||||||
"boxen": "^6.2.1",
|
"boxen": "^6.2.1",
|
||||||
"chalk": "^4.1.2",
|
"chalk": "^4.1.2",
|
||||||
|
@ -72,8 +72,8 @@
|
||||||
"escape-html": "^1.0.3",
|
"escape-html": "^1.0.3",
|
||||||
"eta": "^1.12.3",
|
"eta": "^1.12.3",
|
||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"html-minifier-terser": "^6.1.0",
|
"html-minifier-terser": "^7.1.0",
|
||||||
"html-tags": "^3.2.0",
|
"html-tags": "^3.2.0",
|
||||||
"html-webpack-plugin": "^5.5.0",
|
"html-webpack-plugin": "^5.5.0",
|
||||||
"import-fresh": "^3.3.0",
|
"import-fresh": "^3.3.0",
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
"tslib": "^2.4.1",
|
"tslib": "^2.4.1",
|
||||||
"update-notifier": "^5.1.0",
|
"update-notifier": "^5.1.0",
|
||||||
"url-loader": "^4.1.1",
|
"url-loader": "^4.1.1",
|
||||||
"wait-on": "^6.0.1",
|
"wait-on": "^7.0.1",
|
||||||
"webpack": "^5.75.0",
|
"webpack": "^5.75.0",
|
||||||
"webpack-bundle-analyzer": "^4.7.0",
|
"webpack-bundle-analyzer": "^4.7.0",
|
||||||
"webpack-dev-server": "^4.11.1",
|
"webpack-dev-server": "^4.11.1",
|
||||||
|
|
|
@ -5,12 +5,7 @@
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/* eslint-disable global-require */
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import React, {type ComponentProps} from 'react';
|
import React, {type ComponentProps} from 'react';
|
||||||
import {
|
import {
|
||||||
|
@ -21,9 +16,9 @@ import {
|
||||||
ButtonNext,
|
ButtonNext,
|
||||||
DotGroup,
|
DotGroup,
|
||||||
} from 'pure-react-carousel';
|
} from 'pure-react-carousel';
|
||||||
import 'pure-react-carousel/dist/react-carousel.es.css';
|
|
||||||
import Link from '@docusaurus/Link';
|
import Link from '@docusaurus/Link';
|
||||||
import Image from '@theme/IdealImage';
|
import Image from '@theme/IdealImage';
|
||||||
|
import 'pure-react-carousel/dist/react-carousel.es.css';
|
||||||
import styles from './ShowcaseCarousel.module.css';
|
import styles from './ShowcaseCarousel.module.css';
|
||||||
|
|
||||||
type Site = {
|
type Site = {
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
"@swc/core": "1.2.197",
|
"@swc/core": "1.2.197",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
"color": "^4.2.3",
|
"color": "^4.2.3",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^11.1.0",
|
||||||
"netlify-plugin-cache": "^1.0.3",
|
"netlify-plugin-cache": "^1.0.3",
|
||||||
"pure-react-carousel": "^1.30.1",
|
"pure-react-carousel": "^1.30.1",
|
||||||
"raw-loader": "^4.0.2",
|
"raw-loader": "^4.0.2",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import 'react-medium-image-zoom/dist/styles.css';
|
@import url('react-medium-image-zoom/dist/styles.css');
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue