From 4332072db41c0fc289fa2253760c46bbf5a6d404 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 19 Jul 2022 07:57:03 +0200 Subject: [PATCH] docs: Update docusaurus to 2.0.0-rc.1 (#1831) * Chore: update docusaurus packages * Docs: add algolia doc search app id * Chore: update/specify node engine version: 16.14 --- website/docusaurus.config.js | 1 + website/package.json | 15 +++++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index f080ce8c46..88f78aab51 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -22,6 +22,7 @@ module.exports = { disableSwitch: true, respectPrefersColorScheme: false, algolia: { + appId: 'BH4D9OD16A', apiKey: '9772249a7262b377ac876853d32bd760', indexName: 'getunleash', }, diff --git a/website/package.json b/website/package.json index c8e42d3a10..565b58b6ae 100644 --- a/website/package.json +++ b/website/package.json @@ -2,6 +2,9 @@ "name": "websitev-2", "version": "0.0.0", "private": true, + "engines": { + "node": ">=16.14" + }, "scripts": { "docusaurus": "docusaurus", "start": "docusaurus start", @@ -16,11 +19,11 @@ "build-storybook": "build-storybook" }, "dependencies": { - "@docusaurus/core": "2.0.0-beta.15", - "@docusaurus/plugin-client-redirects": "2.0.0-beta.15", - "@docusaurus/plugin-google-analytics": "2.0.0-beta.15", - "@docusaurus/preset-classic": "2.0.0-beta.15", - "@docusaurus/remark-plugin-npm2yarn": "2.0.0-beta.15", + "@docusaurus/core": "2.0.0-rc.1", + "@docusaurus/plugin-client-redirects": "2.0.0-rc.1", + "@docusaurus/plugin-google-analytics": "2.0.0-rc.1", + "@docusaurus/preset-classic": "2.0.0-rc.1", + "@docusaurus/remark-plugin-npm2yarn": "2.0.0-rc.1", "@mdx-js/react": "1.6.22", "@svgr/webpack": "6.3.0", "clsx": "1.2.1", @@ -53,7 +56,7 @@ }, "devDependencies": { "@babel/core": "7.18.9", - "@docusaurus/module-type-aliases": "2.0.0-beta.18", + "@docusaurus/module-type-aliases": "2.0.0-rc.1", "@storybook/addon-actions": "6.5.9", "@storybook/addon-essentials": "6.5.9", "@storybook/addon-interactions": "6.5.9",