From f303cae33b89a9f9b976d5562d403b6f19efe6df Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Wed, 1 Nov 2023 16:37:30 -0700 Subject: [PATCH] Ts work. --- tsconfig.eslint.json | 3 +- website/.eslintrc.js | 2 +- website/docusaurus.config.js | 271 ------------ website/docusaurus.config.ts | 259 +++++++++++ website/{prism.config.js => prism.config.ts} | 11 +- website/{sidebars.js => sidebars.ts} | 8 +- website/src/components/AddDepsTabs.tsx | 1 - website/src/components/ComparisonColumn.tsx | 2 - website/src/components/Docs/HeaderLabel.tsx | 1 - .../src/components/Docs/HeadingApiLink.tsx | 1 - website/src/components/Docs/Image.tsx | 2 - website/src/components/Docs/RequiredLabel.tsx | 1 - website/src/components/Docs/TomlLink.tsx | 1 - website/src/components/Docs/VersionLabel.tsx | 1 - website/src/components/Docs/WasmLink.tsx | 1 - website/src/components/Home/CTA.tsx | 1 - .../src/components/Home/ProductSection.tsx | 1 - website/src/components/Home/UsedBy.tsx | 1 - .../Products/AdditionalFeatures.tsx | 1 - website/src/components/Products/Features.tsx | 1 - website/src/components/Products/HeroIcon.tsx | 2 - website/src/components/Products/Moon/Hero.tsx | 1 - .../src/components/Products/Moonbase/Hero.tsx | 1 - .../components/Products/Moonbase/Pricing.tsx | 1 - .../Products/Moonbase/Screenshots.tsx | 2 - .../Products/Proto/HeroTerminal.tsx | 24 +- .../components/Products/Proto/ToolCard.tsx | 1 - .../components/Products/Proto/ToolCards.tsx | 1 - .../components/Products/Proto/ToolsGrid.tsx | 1 - website/src/pages/index.tsx | 1 - website/src/pages/moon.tsx | 1 - website/src/pages/moonbase.tsx | 1 - website/src/pages/proto.tsx | 1 - website/src/theme/A.tsx | 1 - website/src/theme/DocBreadcrumbs.tsx | 1 - website/src/theme/Footer/Layout/index.tsx | 1 - .../src/theme/Footer/Links/MultiColumn.tsx | 1 - website/src/theme/PaginatorNavLink.tsx | 1 - website/src/ui/Button.tsx | 1 - website/src/ui/iconography/ProductIcon.tsx | 1 - website/src/ui/typography/Heading.tsx | 1 - website/src/ui/typography/Label.tsx | 1 - website/src/ui/typography/Link.tsx | 1 - website/src/ui/typography/Text.tsx | 1 - website/tsconfig.json | 10 +- yarn.lock | 408 ++---------------- 46 files changed, 323 insertions(+), 714 deletions(-) delete mode 100644 website/docusaurus.config.js create mode 100644 website/docusaurus.config.ts rename website/{prism.config.js => prism.config.ts} (83%) rename website/{sidebars.js => sidebars.ts} (97%) diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 58d268c6a91..aaad4002def 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -15,6 +15,7 @@ "packages/*/*", "scripts/**/*", "website/src/**/*", - "website/*.js" + "website/*.js", + "website/*.ts", ] } diff --git a/website/.eslintrc.js b/website/.eslintrc.js index c7f096a3c85..6cbd56fed68 100644 --- a/website/.eslintrc.js +++ b/website/.eslintrc.js @@ -1,5 +1,5 @@ module.exports = { - ignorePatterns: ['prism.config.js', 'tailwind.config.js'], + ignorePatterns: ['tailwind.config.js'], rules: { // This fails on windows for some reason 'import/named': 'off', diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js deleted file mode 100644 index 55955fe320e..00000000000 --- a/website/docusaurus.config.js +++ /dev/null @@ -1,271 +0,0 @@ -/* eslint-disable sort-keys */ -// @ts-check - -const path = require('path'); -const prismTheme = require('./prism.config'); - -const social = [ - { - label: 'GitHub', - to: 'https://github.com/moonrepo', - }, - { - label: 'Discord', - to: 'https://discord.gg/qCh9MEynv2', - }, - { - label: 'Twitter', - to: 'https://twitter.com/tothemoonrepo', - }, -]; - -/** @type {import('@docusaurus/types').Config} */ -const config = { - title: 'moonrepo', - tagline: 'A developer productivity tooling platform.', - url: 'https://moonrepo.dev', - baseUrl: '/', - onBrokenLinks: 'throw', - onBrokenMarkdownLinks: 'warn', - favicon: 'img/favicon.svg', - organizationName: 'moonrepo', - projectName: 'moon', - deploymentBranch: 'gh-pages', - trailingSlash: false, - - presets: [ - [ - 'classic', - /** @type {import('@docusaurus/preset-classic').Options} */ - ({ - docs: { - sidebarPath: require.resolve('./sidebars.js'), - editUrl: 'https://github.com/moonrepo/moon/tree/master/website', - }, - blog: { - showReadingTime: true, - editUrl: 'https://github.com/moonrepo/moon/tree/master/website', - }, - theme: { - customCss: [ - require.resolve('./src/css/theme.css'), - require.resolve('./src/css/custom.css'), - ], - }, - gtag: { - trackingID: 'G-LB233GTZD3', - }, - }), - ], - ], - - themeConfig: - /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ - ({ - algolia: { - apiKey: 'dfe3e44100d7dfc6d7d3b644e8b09581', - appId: '400S075OEM', - indexName: 'moonrepo', - }, - metadata: [ - { - name: 'keywords', - content: - 'moon, repo, moonrepo, task, runner, build, system, ci, times, devx, developer, experience, tooling, tools, monorepo, polyrepo, productivity, platform, proto, toolchain', - }, - { - name: 'og:image', - content: 'https://moonrepo.dev/img/hero/slate-bg.jpg', - }, - ], - navbar: { - // title: 'moon', - logo: { - alt: 'moon', - src: 'img/logo.svg', - }, - items: [ - { - type: 'dropdown', - position: 'left', - label: 'Products', - items: [ - { - to: '/moon', - html: 'moon
Build system for managing codebases
', - }, - { - to: '/moonbase', - html: 'moonbase
Service for scaling CI pipelines
', - }, - { - to: '/proto', - html: 'proto
Multi-language version manager
', - }, - { - to: 'https://espresso.build', - html: 'espresso
Next-gen JavaScript package system
', - }, - ], - }, - { - type: 'dropdown', - position: 'left', - label: 'Docs', - items: [ - { - type: 'doc', - docId: 'intro', - html: 'moon', - }, - { - type: 'doc', - docId: 'proto/index', - html: 'proto', - }, - ], - }, - { - type: 'doc', - docId: 'guides/ci', - position: 'left', - label: 'Guides', - }, - { - to: '/blog', - label: 'Blog', - position: 'left', - }, - { - ...social[0], - position: 'left', - }, - { - to: 'https://moonrepo.app', - label: 'Sign in', - position: 'right', - }, - ], - }, - footer: { - style: 'dark', - links: [ - { - title: 'Learn', - items: [ - { - label: 'Docs', - to: '/docs', - }, - { - label: 'Guides', - to: '/docs/guides/ci', - }, - { - label: 'Blog', - to: '/blog', - }, - { - label: 'API', - to: '/api', - }, - ], - }, - { - title: 'Ecosystem', - items: [ - { - label: 'Releases', - to: 'https://github.com/moonrepo/moon/releases', - }, - { - label: 'Shared configs', - to: 'https://github.com/moonrepo/moon-configs', - }, - { - label: 'Developer tools', - href: 'https://github.com/moonrepo/dev', - }, - { - label: 'Examples repository', - href: 'https://github.com/moonrepo/examples', - }, - ], - }, - { - title: 'Support', - items: social, - }, - ], - copyright: `Copyright © ${new Date().getFullYear()}, moonrepo, Inc.`, - }, - prism: { - theme: prismTheme, - darkTheme: prismTheme, - additionalLanguages: [ - 'docker', - 'twig', - 'toml', - 'rust', - 'bash', - 'diff', - 'json', - 'typescript', - ], - }, - }), - - plugins: [ - [ - '@docusaurus/plugin-client-redirects', - { - redirects: [ - { - from: '/docs/how-it-works/dep-graph', - to: '/docs/how-it-works/action-graph', - }, - { - from: '/docs/commands/dep-graph', - to: '/docs/commands/action-graph', - }, - { - from: '/docs/config/global-project', - to: '/docs/config/tasks', - }, - { - from: '/docs/config/inherited-tasks', - to: '/docs/config/tasks', - }, - { - from: '/docs/guides/git-hooks', - to: '/docs/guides/vcs-hooks', - }, - ], - }, - ], - [ - 'docusaurus-plugin-typedoc-api', - { - projectRoot: path.join(__dirname, '..'), - packages: ['packages/report', 'packages/runtime', 'packages/types'], - minimal: true, - readmes: true, - }, - ], - function tailwind() { - return { - name: 'docusaurus-tailwindcss', - configurePostCss(postcssOptions) { - // eslint-disable-next-line import/no-extraneous-dependencies - postcssOptions.plugins.push(require('tailwindcss')); - - return postcssOptions; - }, - }; - }, - ], - - clientModules: [require.resolve('./src/js/darkModeSyncer.ts')], -}; - -module.exports = config; diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts new file mode 100644 index 00000000000..565b3022ed7 --- /dev/null +++ b/website/docusaurus.config.ts @@ -0,0 +1,259 @@ +/* eslint-disable sort-keys */ + +import path from 'path'; +import type * as Preset from '@docusaurus/preset-classic'; +import type { Config } from '@docusaurus/types'; +// import prismTheme from './prism.config'; + +const social = [ + { + label: 'GitHub', + to: 'https://github.com/moonrepo', + }, + { + label: 'Discord', + to: 'https://discord.gg/qCh9MEynv2', + }, + { + label: 'Twitter', + to: 'https://twitter.com/tothemoonrepo', + }, +]; + +const config: Config = { + title: 'moonrepo', + tagline: 'A developer productivity tooling platform.', + url: 'https://moonrepo.dev', + baseUrl: '/', + onBrokenLinks: 'throw', + onBrokenMarkdownLinks: 'warn', + favicon: 'img/favicon.svg', + organizationName: 'moonrepo', + projectName: 'moon', + deploymentBranch: 'gh-pages', + trailingSlash: false, + + presets: [ + [ + 'classic', + { + docs: { + sidebarPath: require.resolve('./sidebars.js'), + editUrl: 'https://github.com/moonrepo/moon/tree/master/website', + }, + blog: { + showReadingTime: true, + editUrl: 'https://github.com/moonrepo/moon/tree/master/website', + }, + theme: { + customCss: [ + require.resolve('./src/css/theme.css'), + require.resolve('./src/css/custom.css'), + ], + }, + gtag: { + trackingID: 'G-LB233GTZD3', + }, + } satisfies Preset.Options, + ], + ], + + themeConfig: { + algolia: { + apiKey: 'dfe3e44100d7dfc6d7d3b644e8b09581', + appId: '400S075OEM', + indexName: 'moonrepo', + }, + metadata: [ + { + name: 'keywords', + content: + 'moon, repo, moonrepo, task, runner, build, system, ci, times, devx, developer, experience, tooling, tools, monorepo, polyrepo, productivity, platform, proto, toolchain', + }, + { + name: 'og:image', + content: 'https://moonrepo.dev/img/hero/slate-bg.jpg', + }, + ], + navbar: { + // title: 'moon', + logo: { + alt: 'moon', + src: 'img/logo.svg', + }, + items: [ + { + type: 'dropdown', + position: 'left', + label: 'Products', + items: [ + { + to: '/moon', + html: 'moon
Build system for managing codebases
', + }, + { + to: '/moonbase', + html: 'moonbase
Service for scaling CI pipelines
', + }, + { + to: '/proto', + html: 'proto
Multi-language version manager
', + }, + { + to: 'https://espresso.build', + html: 'espresso
Next-gen JavaScript package system
', + }, + ], + }, + { + type: 'dropdown', + position: 'left', + label: 'Docs', + items: [ + { + type: 'doc', + docId: 'intro', + html: 'moon', + }, + { + type: 'doc', + docId: 'proto/index', + html: 'proto', + }, + ], + }, + { + type: 'doc', + docId: 'guides/ci', + position: 'left', + label: 'Guides', + }, + { + to: '/blog', + label: 'Blog', + position: 'left', + }, + { + ...social[0], + position: 'left', + }, + { + to: 'https://moonrepo.app', + label: 'Sign in', + position: 'right', + }, + ], + }, + footer: { + style: 'dark', + links: [ + { + title: 'Learn', + items: [ + { + label: 'Docs', + to: '/docs', + }, + { + label: 'Guides', + to: '/docs/guides/ci', + }, + { + label: 'Blog', + to: '/blog', + }, + { + label: 'API', + to: '/api', + }, + ], + }, + { + title: 'Ecosystem', + items: [ + { + label: 'Releases', + to: 'https://github.com/moonrepo/moon/releases', + }, + { + label: 'Shared configs', + to: 'https://github.com/moonrepo/moon-configs', + }, + { + label: 'Developer tools', + href: 'https://github.com/moonrepo/dev', + }, + { + label: 'Examples repository', + href: 'https://github.com/moonrepo/examples', + }, + ], + }, + { + title: 'Support', + items: social, + }, + ], + copyright: `Copyright © ${new Date().getFullYear()}, moonrepo, Inc.`, + }, + prism: { + // theme: prismTheme, + // darkTheme: prismTheme, + additionalLanguages: ['docker', 'twig', 'toml', 'rust', 'bash', 'diff', 'json', 'typescript'], + }, + } satisfies Preset.ThemeConfig, + + plugins: [ + [ + '@docusaurus/plugin-client-redirects', + { + redirects: [ + { + from: '/docs/how-it-works/dep-graph', + to: '/docs/how-it-works/action-graph', + }, + { + from: '/docs/commands/dep-graph', + to: '/docs/commands/action-graph', + }, + { + from: '/docs/config/global-project', + to: '/docs/config/tasks', + }, + { + from: '/docs/config/inherited-tasks', + to: '/docs/config/tasks', + }, + { + from: '/docs/guides/git-hooks', + to: '/docs/guides/vcs-hooks', + }, + ], + }, + ], + [ + 'docusaurus-plugin-typedoc-api', + { + projectRoot: path.join(__dirname, '..'), + packages: ['packages/report', 'packages/runtime', 'packages/types'], + minimal: true, + readmes: true, + }, + ], + function tailwind() { + return { + name: 'docusaurus-tailwindcss', + configurePostCss(postcssOptions) { + // eslint-disable-next-line import/no-extraneous-dependencies + postcssOptions.plugins.push(require('tailwindcss')); + + return postcssOptions; + }, + }; + }, + ], + + clientModules: [require.resolve('./src/js/darkModeSyncer.ts')], +}; + +export default config; diff --git a/website/prism.config.js b/website/prism.config.ts similarity index 83% rename from website/prism.config.js rename to website/prism.config.ts index 3a72a0822ab..1ea6c174234 100644 --- a/website/prism.config.js +++ b/website/prism.config.ts @@ -1,8 +1,11 @@ -const tailwind = require('./tailwind.config'); +/* eslint-disable sort-keys */ -const { colors } = tailwind.theme; +import type { PrismTheme } from 'prism-react-renderer'; +import tailwind from './tailwind.config'; -module.exports = { +const colors = tailwind.theme!.colors as Record; + +const theme: PrismTheme = { plain: { backgroundColor: colors.slate['900'], color: colors.gray['100'], @@ -84,3 +87,5 @@ module.exports = { }, ], }; + +export default theme; diff --git a/website/sidebars.js b/website/sidebars.ts similarity index 97% rename from website/sidebars.js rename to website/sidebars.ts index 1f3b0e4403e..61345fc8c22 100644 --- a/website/sidebars.js +++ b/website/sidebars.ts @@ -1,8 +1,7 @@ /* eslint-disable sort-keys */ -// @ts-check +import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'; -/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ -const sidebars = { +const sidebars: SidebarsConfig = { docs: [ 'intro', { @@ -311,5 +310,4 @@ const sidebars = { ], }; -// eslint-disable-next-line import/no-commonjs -module.exports = sidebars; +export default sidebars; diff --git a/website/src/components/AddDepsTabs.tsx b/website/src/components/AddDepsTabs.tsx index 56556953a27..5935f5a75d8 100644 --- a/website/src/components/AddDepsTabs.tsx +++ b/website/src/components/AddDepsTabs.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import CodeBlock from '@theme/CodeBlock'; import TabItem from '@theme/TabItem'; import Tabs from '@theme/Tabs'; diff --git a/website/src/components/ComparisonColumn.tsx b/website/src/components/ComparisonColumn.tsx index 9f86e2c839d..3e3cea84d73 100644 --- a/website/src/components/ComparisonColumn.tsx +++ b/website/src/components/ComparisonColumn.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - export interface ComparisonColumnProps { left: React.ReactNode; right: React.ReactNode; diff --git a/website/src/components/Docs/HeaderLabel.tsx b/website/src/components/Docs/HeaderLabel.tsx index 14b915b8a5b..e5dd99a7357 100644 --- a/website/src/components/Docs/HeaderLabel.tsx +++ b/website/src/components/Docs/HeaderLabel.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { faClock } from '@fortawesome/pro-regular-svg-icons'; import Label, { LabelProps } from '../../ui/typography/Label'; diff --git a/website/src/components/Docs/HeadingApiLink.tsx b/website/src/components/Docs/HeadingApiLink.tsx index 62a6a4fc7b0..902ccdb7ca9 100644 --- a/website/src/components/Docs/HeadingApiLink.tsx +++ b/website/src/components/Docs/HeadingApiLink.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { faCode } from '@fortawesome/pro-regular-svg-icons'; import Icon from '../../ui/iconography/Icon'; diff --git a/website/src/components/Docs/Image.tsx b/website/src/components/Docs/Image.tsx index b166d4d6610..913b7513e88 100644 --- a/website/src/components/Docs/Image.tsx +++ b/website/src/components/Docs/Image.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - export interface ImageProps { alt?: string; src: { default: string }; diff --git a/website/src/components/Docs/RequiredLabel.tsx b/website/src/components/Docs/RequiredLabel.tsx index 051a69e7133..2a5a126c8a4 100644 --- a/website/src/components/Docs/RequiredLabel.tsx +++ b/website/src/components/Docs/RequiredLabel.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import Label from '../../ui/typography/Label'; export interface RequiredLabelProps { diff --git a/website/src/components/Docs/TomlLink.tsx b/website/src/components/Docs/TomlLink.tsx index c084a140795..5a38d00bc7e 100644 --- a/website/src/components/Docs/TomlLink.tsx +++ b/website/src/components/Docs/TomlLink.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { faPuzzle } from '@fortawesome/pro-regular-svg-icons'; import Label from '../../ui/typography/Label'; diff --git a/website/src/components/Docs/VersionLabel.tsx b/website/src/components/Docs/VersionLabel.tsx index 9664253daac..9c6e6025716 100644 --- a/website/src/components/Docs/VersionLabel.tsx +++ b/website/src/components/Docs/VersionLabel.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import Label from '../../ui/typography/Label'; interface VersionLabelProps { diff --git a/website/src/components/Docs/WasmLink.tsx b/website/src/components/Docs/WasmLink.tsx index fa5bad87743..67640df8b6f 100644 --- a/website/src/components/Docs/WasmLink.tsx +++ b/website/src/components/Docs/WasmLink.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { faPuzzle } from '@fortawesome/pro-regular-svg-icons'; import Label from '../../ui/typography/Label'; diff --git a/website/src/components/Home/CTA.tsx b/website/src/components/Home/CTA.tsx index 344cb31cf63..b969d420a1a 100644 --- a/website/src/components/Home/CTA.tsx +++ b/website/src/components/Home/CTA.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import clsx from 'clsx'; import Link from '@docusaurus/Link'; diff --git a/website/src/components/Home/ProductSection.tsx b/website/src/components/Home/ProductSection.tsx index be016406fc8..f617518acb6 100644 --- a/website/src/components/Home/ProductSection.tsx +++ b/website/src/components/Home/ProductSection.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import cx from 'clsx'; import { IconDefinition } from '@fortawesome/fontawesome-svg-core'; import Icon from '@site/src/ui/iconography/Icon'; diff --git a/website/src/components/Home/UsedBy.tsx b/website/src/components/Home/UsedBy.tsx index ae6cee189bf..ce8b299320f 100644 --- a/website/src/components/Home/UsedBy.tsx +++ b/website/src/components/Home/UsedBy.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { faCirclePlus } from '@fortawesome/pro-duotone-svg-icons'; import DepotSvg from '../../../static/brands/depot.svg'; import GallerySvg from '../../../static/brands/gallery.svg'; diff --git a/website/src/components/Products/AdditionalFeatures.tsx b/website/src/components/Products/AdditionalFeatures.tsx index b334a588310..b7cc42a3e0e 100644 --- a/website/src/components/Products/AdditionalFeatures.tsx +++ b/website/src/components/Products/AdditionalFeatures.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import Icon from '../../ui/iconography/Icon'; import Heading from '../../ui/typography/Heading'; import Text from '../../ui/typography/Text'; diff --git a/website/src/components/Products/Features.tsx b/website/src/components/Products/Features.tsx index e2de8e92697..54e0a0ed80d 100644 --- a/website/src/components/Products/Features.tsx +++ b/website/src/components/Products/Features.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import cx from 'clsx'; import { IconDefinition } from '@fortawesome/fontawesome-svg-core'; import Icon from '../../ui/iconography/Icon'; diff --git a/website/src/components/Products/HeroIcon.tsx b/website/src/components/Products/HeroIcon.tsx index 91cefe0baf2..4e0f37f51c8 100644 --- a/website/src/components/Products/HeroIcon.tsx +++ b/website/src/components/Products/HeroIcon.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - export interface HeroIconProps { icon: React.ReactNode; text: React.ReactNode; diff --git a/website/src/components/Products/Moon/Hero.tsx b/website/src/components/Products/Moon/Hero.tsx index f66e63ac30c..c6fa374f24e 100644 --- a/website/src/components/Products/Moon/Hero.tsx +++ b/website/src/components/Products/Moon/Hero.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import Link from '@docusaurus/Link'; import { faRocketLaunch } from '@fortawesome/pro-duotone-svg-icons'; import Text from '@site/src/ui/typography/Text'; diff --git a/website/src/components/Products/Moonbase/Hero.tsx b/website/src/components/Products/Moonbase/Hero.tsx index 1cea8d2254c..ec725a28102 100644 --- a/website/src/components/Products/Moonbase/Hero.tsx +++ b/website/src/components/Products/Moonbase/Hero.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { faSpaceStationMoon } from '@fortawesome/pro-duotone-svg-icons'; import LogoIcon from '../../../../static/brand/moonbase/icon.svg'; import TextVector from '../../../../static/brand/moonbase/text-vector.svg'; diff --git a/website/src/components/Products/Moonbase/Pricing.tsx b/website/src/components/Products/Moonbase/Pricing.tsx index 9817e4816b9..44d924badf3 100644 --- a/website/src/components/Products/Moonbase/Pricing.tsx +++ b/website/src/components/Products/Moonbase/Pricing.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { faCheck } from '@fortawesome/pro-regular-svg-icons'; import Button, { ButtonProps } from '@site/src/ui/Button'; import Icon from '@site/src/ui/iconography/Icon'; diff --git a/website/src/components/Products/Moonbase/Screenshots.tsx b/website/src/components/Products/Moonbase/Screenshots.tsx index cdb6d73cc89..58043d1b12a 100644 --- a/website/src/components/Products/Moonbase/Screenshots.tsx +++ b/website/src/components/Products/Moonbase/Screenshots.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - export default function Screenshots() { return ( <> diff --git a/website/src/components/Products/Proto/HeroTerminal.tsx b/website/src/components/Products/Proto/HeroTerminal.tsx index 8db357e48cb..8aec597378a 100644 --- a/website/src/components/Products/Proto/HeroTerminal.tsx +++ b/website/src/components/Products/Proto/HeroTerminal.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import { Fragment } from 'react'; const LANGS = ['bun', 'deno', 'node', 'go', 'rust']; @@ -28,27 +28,27 @@ export default function HeroTerminal() { {lang === 'bun' && ( - +
  • # Install Bun
  • -
  • proto install bun 0.5
  • +
  • proto install bun
  • # Use immediately
  • bun run index.ts
  • -
    + )} {lang === 'deno' && ( - +
  • # Install Deno
  • proto install deno 1.31
  • # Use immediately
  • deno run index.ts
  • -
    + )} {lang === 'node' && ( - +
  • # Install Node.js
  • proto install node 18
  • proto install pnpm
  • @@ -56,27 +56,27 @@ export default function HeroTerminal() {
  • # Use immediately
  • pnpm install
  • pnpm run dev
  • -
    + )} {lang === 'go' && ( - +
  • # Install Go
  • proto install go 1.20
  • # Use immediately
  • go run .
  • -
    + )} {lang === 'rust' && ( - +
  • # Install Rust (requires rustup)
  • proto install rust 1.68
  • # Use immediately
  • cargo build
  • -
    + )} ); diff --git a/website/src/components/Products/Proto/ToolCard.tsx b/website/src/components/Products/Proto/ToolCard.tsx index f2e7d0085a3..5620c6d5aba 100644 --- a/website/src/components/Products/Proto/ToolCard.tsx +++ b/website/src/components/Products/Proto/ToolCard.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import Link from '@docusaurus/Link'; import Heading from '@site/src/ui/typography/Heading'; import Text from '@site/src/ui/typography/Text'; diff --git a/website/src/components/Products/Proto/ToolCards.tsx b/website/src/components/Products/Proto/ToolCards.tsx index d33aef01eaf..ba91fb19e21 100644 --- a/website/src/components/Products/Proto/ToolCards.tsx +++ b/website/src/components/Products/Proto/ToolCards.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { ProtoTool } from '../../../data/proto-tools'; import ToolCard from './ToolCard'; diff --git a/website/src/components/Products/Proto/ToolsGrid.tsx b/website/src/components/Products/Proto/ToolsGrid.tsx index 22d4e2926ae..0a6228e21bf 100644 --- a/website/src/components/Products/Proto/ToolsGrid.tsx +++ b/website/src/components/Products/Proto/ToolsGrid.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import clsx from 'clsx'; import Link from '@docusaurus/Link'; import Text from '@site/src/ui/typography/Text'; diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx index 8945a34b6b1..044045009aa 100644 --- a/website/src/pages/index.tsx +++ b/website/src/pages/index.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import { faBolt, diff --git a/website/src/pages/moon.tsx b/website/src/pages/moon.tsx index 6e7f406d767..810d68b9d25 100644 --- a/website/src/pages/moon.tsx +++ b/website/src/pages/moon.tsx @@ -1,6 +1,5 @@ /* eslint-disable sort-keys */ -import React from 'react'; import Link from '@docusaurus/Link'; import { faAperture, diff --git a/website/src/pages/moonbase.tsx b/website/src/pages/moonbase.tsx index ac35c68b423..c63f7f893c2 100644 --- a/website/src/pages/moonbase.tsx +++ b/website/src/pages/moonbase.tsx @@ -1,6 +1,5 @@ /* eslint-disable sort-keys */ -import React from 'react'; import { faCloudArrowUp, faDiagramSankey, diff --git a/website/src/pages/proto.tsx b/website/src/pages/proto.tsx index 02aecd92e6a..00c97d9c72c 100644 --- a/website/src/pages/proto.tsx +++ b/website/src/pages/proto.tsx @@ -1,6 +1,5 @@ /* eslint-disable sort-keys */ -import React from 'react'; import { faPuzzle, faRadar, diff --git a/website/src/theme/A.tsx b/website/src/theme/A.tsx index 08f7c0ef298..0f276b496b4 100644 --- a/website/src/theme/A.tsx +++ b/website/src/theme/A.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import Link, { LinkProps } from '../ui/typography/Link'; export default function MDXA(props: LinkProps) { diff --git a/website/src/theme/DocBreadcrumbs.tsx b/website/src/theme/DocBreadcrumbs.tsx index 3e75aee2c0a..8e4713481a5 100644 --- a/website/src/theme/DocBreadcrumbs.tsx +++ b/website/src/theme/DocBreadcrumbs.tsx @@ -1,6 +1,5 @@ /* eslint-disable @typescript-eslint/no-unsafe-call */ -import React from 'react'; import { useHomePageRoute, useSidebarBreadcrumbs } from '@docusaurus/theme-common/internal'; import useBaseUrl from '@docusaurus/useBaseUrl'; import { faAngleRight, faHouseBlank } from '@fortawesome/pro-regular-svg-icons'; diff --git a/website/src/theme/Footer/Layout/index.tsx b/website/src/theme/Footer/Layout/index.tsx index fe39a38a519..e3da3850b75 100644 --- a/website/src/theme/Footer/Layout/index.tsx +++ b/website/src/theme/Footer/Layout/index.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { faDiscord, faGithub, faTwitter } from '@fortawesome/free-brands-svg-icons'; import Icon from '../../../ui/iconography/Icon'; import Heading from '../../../ui/typography/Heading'; diff --git a/website/src/theme/Footer/Links/MultiColumn.tsx b/website/src/theme/Footer/Links/MultiColumn.tsx index 023e7869011..2331298b3f3 100644 --- a/website/src/theme/Footer/Links/MultiColumn.tsx +++ b/website/src/theme/Footer/Links/MultiColumn.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { FooterLinkItem } from '@docusaurus/theme-common'; import useBaseUrl from '@docusaurus/useBaseUrl'; import type { Props } from '@theme/Footer/Links/MultiColumn'; diff --git a/website/src/theme/PaginatorNavLink.tsx b/website/src/theme/PaginatorNavLink.tsx index 441a6fefcd4..bd5e0759464 100644 --- a/website/src/theme/PaginatorNavLink.tsx +++ b/website/src/theme/PaginatorNavLink.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import cx from 'clsx'; import { faChevronLeft, faChevronRight } from '@fortawesome/pro-regular-svg-icons'; import type { Props } from '@theme/PaginatorNavLink'; diff --git a/website/src/ui/Button.tsx b/website/src/ui/Button.tsx index 93ddadaecde..5dc76f2a1e6 100644 --- a/website/src/ui/Button.tsx +++ b/website/src/ui/Button.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import cx from 'clsx'; export interface ButtonProps { diff --git a/website/src/ui/iconography/ProductIcon.tsx b/website/src/ui/iconography/ProductIcon.tsx index 730750e917f..986ba8c2efb 100644 --- a/website/src/ui/iconography/ProductIcon.tsx +++ b/website/src/ui/iconography/ProductIcon.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { faDiscord, faGithub, faTwitter } from '@fortawesome/free-brands-svg-icons'; import { faCircle, diff --git a/website/src/ui/typography/Heading.tsx b/website/src/ui/typography/Heading.tsx index c99fae4b1aa..4ed786df16f 100644 --- a/website/src/ui/typography/Heading.tsx +++ b/website/src/ui/typography/Heading.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import cx from 'clsx'; import { alignment, overflows, transforms, variants } from './Text'; import { TypographyProps } from './types'; diff --git a/website/src/ui/typography/Label.tsx b/website/src/ui/typography/Label.tsx index 6220cb61867..b1fba89285b 100644 --- a/website/src/ui/typography/Label.tsx +++ b/website/src/ui/typography/Label.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import cx from 'clsx'; import { IconDefinition } from '@fortawesome/fontawesome-svg-core'; import Icon from '../iconography/Icon'; diff --git a/website/src/ui/typography/Link.tsx b/website/src/ui/typography/Link.tsx index dbded128ab6..e1b4abf1573 100644 --- a/website/src/ui/typography/Link.tsx +++ b/website/src/ui/typography/Link.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import cx from 'clsx'; import BaseLink, { Props as BaseLinkProps } from '@docusaurus/Link'; import { sizes, TextSize, transforms, weights } from './Text'; diff --git a/website/src/ui/typography/Text.tsx b/website/src/ui/typography/Text.tsx index 4d51fd280d9..a4e8a1572ee 100644 --- a/website/src/ui/typography/Text.tsx +++ b/website/src/ui/typography/Text.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import cx from 'clsx'; import { TypographyAlign, diff --git a/website/tsconfig.json b/website/tsconfig.json index 4ef848b68a4..ffb4e6fdffb 100644 --- a/website/tsconfig.json +++ b/website/tsconfig.json @@ -1,12 +1,20 @@ { "extends": ["../tsconfig.options.json", "@docusaurus/tsconfig"], "compilerOptions": { + "emitDeclarationOnly": true, + "noEmit": false, "outDir": "../.moon/cache/types/website", - "verbatimModuleSyntax": false + "verbatimModuleSyntax": false, + "baseUrl": ".", + "paths": { + "@site/*": ["./*"] + } }, "include": [ ".eslintrc.js", "*.config.js", + "*.config.ts", + "sidebars.ts", "src/**/*" ], "references": [ diff --git a/yarn.lock b/yarn.lock index ea9a5c4cdf0..d7e5744826d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1773,16 +1773,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.10.3, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.8.4": - version: 7.22.15 - resolution: "@babel/runtime@npm:7.22.15" - dependencies: - regenerator-runtime: "npm:^0.14.0" - checksum: 9670da63b77ea6d8234117c55a6d9888be5cf220b91a5954d7faefe7a537e06fa8992e11d36b7cff2ab0ef5301fe6effb3d41bec8b4e0bae10d386b7c377568b - languageName: node - linkType: hard - -"@babel/runtime@npm:^7.22.6": +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.10.3, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.20.6, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.8.4": version: 7.23.2 resolution: "@babel/runtime@npm:7.23.2" dependencies: @@ -3200,16 +3191,6 @@ __metadata: languageName: node linkType: hard -"@jridgewell/source-map@npm:^0.3.2": - version: 0.3.2 - resolution: "@jridgewell/source-map@npm:0.3.2" - dependencies: - "@jridgewell/gen-mapping": "npm:^0.3.0" - "@jridgewell/trace-mapping": "npm:^0.3.9" - checksum: 1aaa42075bac32a551708025da0c07b11c11fb05ccd10fb70df2cb0db88773338ab0f33f175d9865379cb855bb3b1cda478367747a1087309fda40a7b9214bfa - languageName: node - linkType: hard - "@jridgewell/source-map@npm:^0.3.3": version: 0.3.5 resolution: "@jridgewell/source-map@npm:0.3.5" @@ -4210,7 +4191,7 @@ __metadata: languageName: node linkType: hard -"@types/debug@npm:^4.0.0": +"@types/debug@npm:^4.0.0, @types/debug@npm:^4.1.7": version: 4.1.10 resolution: "@types/debug@npm:4.1.10" dependencies: @@ -4219,15 +4200,6 @@ __metadata: languageName: node linkType: hard -"@types/debug@npm:^4.1.7": - version: 4.1.7 - resolution: "@types/debug@npm:4.1.7" - dependencies: - "@types/ms": "npm:*" - checksum: 0a7b89d8ed72526858f0b61c6fd81f477853e8c4415bb97f48b1b5545248d2ae389931680b94b393b993a7cfe893537a200647d93defe6d87159b96812305adc - languageName: node - linkType: hard - "@types/eslint-scope@npm:^3.7.3": version: 3.7.4 resolution: "@types/eslint-scope@npm:3.7.4" @@ -4488,18 +4460,7 @@ __metadata: languageName: node linkType: hard -"@types/react-router-config@npm:*": - version: 5.0.6 - resolution: "@types/react-router-config@npm:5.0.6" - dependencies: - "@types/history": "npm:^4.7.11" - "@types/react": "npm:*" - "@types/react-router": "npm:*" - checksum: e32a7b19d14c1c07e2c06630207bc4ecf86a01585b832bf3c0756c9eaca312b5839bc8d50e8d744738ea50e7bbde0be3b1fd14a6a9398159d36bce33aff7f280 - languageName: node - linkType: hard - -"@types/react-router-config@npm:^5.0.7": +"@types/react-router-config@npm:*, @types/react-router-config@npm:^5.0.7": version: 5.0.9 resolution: "@types/react-router-config@npm:5.0.9" dependencies: @@ -4521,17 +4482,7 @@ __metadata: languageName: node linkType: hard -"@types/react-router@npm:*": - version: 5.1.19 - resolution: "@types/react-router@npm:5.1.19" - dependencies: - "@types/history": "npm:^4.7.11" - "@types/react": "npm:*" - checksum: a3e34227eb2755a37488d27b57aa1f051537f0b381ea6a1c1d5f14d82bea79d517a242a4345f9b076181c8d08f753c7d1deb1da8d65f0ede194792f14be14b7a - languageName: node - linkType: hard - -"@types/react-router@npm:^5.1.0": +"@types/react-router@npm:*, @types/react-router@npm:^5.1.0": version: 5.1.20 resolution: "@types/react-router@npm:5.1.20" dependencies: @@ -4631,20 +4582,20 @@ __metadata: languageName: node linkType: hard -"@types/unist@npm:*, @types/unist@npm:^2.0.0": - version: 2.0.6 - resolution: "@types/unist@npm:2.0.6" - checksum: 25cb860ff10dde48b54622d58b23e66214211a61c84c0f15f88d38b61aa1b53d4d46e42b557924a93178c501c166aa37e28d7f6d994aba13d24685326272d5db - languageName: node - linkType: hard - -"@types/unist@npm:^3.0.0": +"@types/unist@npm:*, @types/unist@npm:^3.0.0": version: 3.0.1 resolution: "@types/unist@npm:3.0.1" checksum: 5692b9b271724d4ab6434f125350436bb35eb8ffdaeb5b762c7282870be9562f364bc49016e4b25afb442b68ad9ee042a262c093af07738af6b8a9b858335e37 languageName: node linkType: hard +"@types/unist@npm:^2.0.0": + version: 2.0.6 + resolution: "@types/unist@npm:2.0.6" + checksum: 25cb860ff10dde48b54622d58b23e66214211a61c84c0f15f88d38b61aa1b53d4d46e42b557924a93178c501c166aa37e28d7f6d994aba13d24685326272d5db + languageName: node + linkType: hard + "@types/ws@npm:^8.5.5": version: 8.5.8 resolution: "@types/ws@npm:8.5.8" @@ -5190,7 +5141,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.0, acorn@npm:^8.8.2": +"acorn@npm:^8.0.0, acorn@npm:^8.0.4, acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.11.2 resolution: "acorn@npm:8.11.2" bin: @@ -5199,15 +5150,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.4, acorn@npm:^8.5.0, acorn@npm:^8.7.1, acorn@npm:^8.9.0": - version: 8.10.0 - resolution: "acorn@npm:8.10.0" - bin: - acorn: bin/acorn - checksum: 522310c20fdc3c271caed3caf0f06c51d61cb42267279566edd1d58e83dbc12eebdafaab666a0f0be1b7ad04af9c6bc2a6f478690a9e6391c3c8b165ada917dd - languageName: node - linkType: hard - "address@npm:^1.0.1, address@npm:^1.1.2": version: 1.2.1 resolution: "address@npm:1.2.1" @@ -6084,7 +6026,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.14.5, browserslist@npm:^4.16.6, browserslist@npm:^4.18.1, browserslist@npm:^4.20.3, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.21.9, browserslist@npm:^4.22.1": +"browserslist@npm:^4.0.0, browserslist@npm:^4.14.5, browserslist@npm:^4.18.1, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.21.9, browserslist@npm:^4.22.1": version: 4.22.1 resolution: "browserslist@npm:4.22.1" dependencies: @@ -6410,16 +6352,7 @@ __metadata: languageName: node linkType: hard -"clean-css@npm:^5.2.2": - version: 5.3.1 - resolution: "clean-css@npm:5.3.1" - dependencies: - source-map: "npm:~0.6.0" - checksum: bc080ae0a9ca9934193f9b3e6a4cfb7ed3daab096f2c3ebfe09a4c24e36a75c19c81c8bb48533648013a6cbf4280602c864f24b5ac204f423345a7339d5fba27 - languageName: node - linkType: hard - -"clean-css@npm:^5.3.2, clean-css@npm:~5.3.2": +"clean-css@npm:^5.2.2, clean-css@npm:^5.3.2, clean-css@npm:~5.3.2": version: 5.3.2 resolution: "clean-css@npm:5.3.2" dependencies: @@ -6988,15 +6921,6 @@ __metadata: languageName: node linkType: hard -"css-declaration-sorter@npm:^6.3.0": - version: 6.3.1 - resolution: "css-declaration-sorter@npm:6.3.1" - peerDependencies: - postcss: ^8.0.9 - checksum: 638284daf2500eb70c414e2b1742d0b696f1b484cf6758ee93cc5781730fdbe9b3895481234d8e750e2d3628d3a33da22cdf06fc02258ec59ce7d31b55086e95 - languageName: node - linkType: hard - "css-declaration-sorter@npm:^6.3.1": version: 6.4.1 resolution: "css-declaration-sorter@npm:6.4.1" @@ -7121,45 +7045,6 @@ __metadata: languageName: node linkType: hard -"cssnano-preset-default@npm:^5.2.12": - version: 5.2.12 - resolution: "cssnano-preset-default@npm:5.2.12" - dependencies: - css-declaration-sorter: "npm:^6.3.0" - cssnano-utils: "npm:^3.1.0" - postcss-calc: "npm:^8.2.3" - postcss-colormin: "npm:^5.3.0" - postcss-convert-values: "npm:^5.1.2" - postcss-discard-comments: "npm:^5.1.2" - postcss-discard-duplicates: "npm:^5.1.0" - postcss-discard-empty: "npm:^5.1.1" - postcss-discard-overridden: "npm:^5.1.0" - postcss-merge-longhand: "npm:^5.1.6" - postcss-merge-rules: "npm:^5.1.2" - postcss-minify-font-values: "npm:^5.1.0" - postcss-minify-gradients: "npm:^5.1.1" - postcss-minify-params: "npm:^5.1.3" - postcss-minify-selectors: "npm:^5.2.1" - postcss-normalize-charset: "npm:^5.1.0" - postcss-normalize-display-values: "npm:^5.1.0" - postcss-normalize-positions: "npm:^5.1.1" - postcss-normalize-repeat-style: "npm:^5.1.1" - postcss-normalize-string: "npm:^5.1.0" - postcss-normalize-timing-functions: "npm:^5.1.0" - postcss-normalize-unicode: "npm:^5.1.0" - postcss-normalize-url: "npm:^5.1.0" - postcss-normalize-whitespace: "npm:^5.1.1" - postcss-ordered-values: "npm:^5.1.3" - postcss-reduce-initial: "npm:^5.1.0" - postcss-reduce-transforms: "npm:^5.1.0" - postcss-svgo: "npm:^5.1.0" - postcss-unique-selectors: "npm:^5.1.1" - peerDependencies: - postcss: ^8.2.15 - checksum: 5866842e6d9c99c3e71ff5b6c73224beac45a461b32151d8dc6a3ec8abc68b3d439b0c41c29704f9a8b4441f9e85ead159809ebfd55c3ca9aae6e86048b1b2c1 - languageName: node - linkType: hard - "cssnano-preset-default@npm:^5.2.14": version: 5.2.14 resolution: "cssnano-preset-default@npm:5.2.14" @@ -7208,7 +7093,7 @@ __metadata: languageName: node linkType: hard -"cssnano@npm:^5.1.15": +"cssnano@npm:^5.1.15, cssnano@npm:^5.1.8": version: 5.1.15 resolution: "cssnano@npm:5.1.15" dependencies: @@ -7221,19 +7106,6 @@ __metadata: languageName: node linkType: hard -"cssnano@npm:^5.1.8": - version: 5.1.13 - resolution: "cssnano@npm:5.1.13" - dependencies: - cssnano-preset-default: "npm:^5.2.12" - lilconfig: "npm:^2.0.3" - yaml: "npm:^1.10.2" - peerDependencies: - postcss: ^8.2.15 - checksum: 4eeb6f89f02a18e6305f3957dda5412cf38e85a2fb3a946ca2eff7b761b5dbb0ad9dbd365f853a82f2fd56d108e7004347ef39d81c0bc8c4d9096fbe5537ed1e - languageName: node - linkType: hard - "csso@npm:^4.2.0": version: 4.2.0 resolution: "csso@npm:4.2.0" @@ -7883,14 +7755,7 @@ __metadata: languageName: node linkType: hard -"entities@npm:^4.2.0, entities@npm:^4.3.0": - version: 4.4.0 - resolution: "entities@npm:4.4.0" - checksum: b627cb900e901cc7817037b83bf993a1cbf6a64850540f7526af7bcf9c7d09ebc671198e6182cfae4680f733799e2852e6a1c46aa62ff36eb99680057a038df5 - languageName: node - linkType: hard - -"entities@npm:^4.4.0": +"entities@npm:^4.2.0, entities@npm:^4.3.0, entities@npm:^4.4.0": version: 4.5.0 resolution: "entities@npm:4.5.0" checksum: ede2a35c9bce1aeccd055a1b445d41c75a14a2bb1cd22e242f20cf04d236cdcd7f9c859eb83f76885327bfae0c25bf03303665ee1ce3d47c5927b98b0e3e3d48 @@ -9202,17 +9067,7 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.0.0": - version: 1.15.2 - resolution: "follow-redirects@npm:1.15.2" - peerDependenciesMeta: - debug: - optional: true - checksum: 8be0d39919770054812537d376850ccde0b4762b0501c440bd08724971a078123b55f57704f2984e0664fecc0c86adea85add63295804d9dce401cd9604c91d3 - languageName: node - linkType: hard - -"follow-redirects@npm:^1.14.9": +"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.9": version: 1.15.3 resolution: "follow-redirects@npm:1.15.3" peerDependenciesMeta: @@ -10030,14 +9885,7 @@ __metadata: languageName: node linkType: hard -"html-tags@npm:^3.0.0": - version: 3.2.0 - resolution: "html-tags@npm:3.2.0" - checksum: a0c9e96ac26c84adad9cc66d15d6711a17f60acda8d987218f1d4cbaacd52864939b230e635cce5a1179f3ddab2a12b9231355617dfbae7945fcfec5e96d2041 - languageName: node - linkType: hard - -"html-tags@npm:^3.3.1": +"html-tags@npm:^3.0.0, html-tags@npm:^3.3.1": version: 3.3.1 resolution: "html-tags@npm:3.3.1" checksum: d0e808544b92d8b999cbcc86d539577255a2f0f2f4f73110d10749d1d36e6fe6ad706a0355a8477afb6e000ecdc93d8455b3602951f9a2b694ac9e28f1b52878 @@ -10090,14 +9938,7 @@ __metadata: languageName: node linkType: hard -"http-cache-semantics@npm:^4.1.0": - version: 4.1.0 - resolution: "http-cache-semantics@npm:4.1.0" - checksum: c9c29508b27c1d81ba78fc1df45dc142dfc039a0871e596db0a2257f08c7e9de16be6a61c3a7c90f4cb0e7dfc1c0277ed8a1ea4bc700b07d4e91ff403ca46d9e - languageName: node - linkType: hard - -"http-cache-semantics@npm:^4.1.1": +"http-cache-semantics@npm:^4.1.0, http-cache-semantics@npm:^4.1.1": version: 4.1.1 resolution: "http-cache-semantics@npm:4.1.1" checksum: 362d5ed66b12ceb9c0a328fb31200b590ab1b02f4a254a697dc796850cc4385603e75f53ec59f768b2dad3bfa1464bd229f7de278d2899a0e3beffc634b6683f @@ -11617,16 +11458,7 @@ __metadata: languageName: node linkType: hard -"jiti@npm:^1.18.2": - version: 1.18.2 - resolution: "jiti@npm:1.18.2" - bin: - jiti: bin/jiti.js - checksum: 11227bd99773dd5c596a2e9a253b22e9ec077ccae769f14c1b23cf381f0ba1b0354e7c065e8b5cb0d8044e4c3e047de3de8c1f07e3ce99997011708bffce80bc - languageName: node - linkType: hard - -"jiti@npm:^1.20.0": +"jiti@npm:^1.18.2, jiti@npm:^1.20.0": version: 1.21.0 resolution: "jiti@npm:1.21.0" bin: @@ -13237,14 +13069,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.0, minimist@npm:^1.2.6": - version: 1.2.6 - resolution: "minimist@npm:1.2.6" - checksum: b956a7d48669c5007f0afce100a92d3af18e77939a25b5b4f62e9ea07c2777033608327e14c2af85684d5cd504f623f2a04d30a4a43379d21dd3c6dcf12b8ab8 - languageName: node - linkType: hard - -"minimist@npm:^1.2.7": +"minimist@npm:^1.2.0, minimist@npm:^1.2.6, minimist@npm:^1.2.7": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f @@ -14291,20 +14116,6 @@ __metadata: languageName: node linkType: hard -"postcss-colormin@npm:^5.3.0": - version: 5.3.0 - resolution: "postcss-colormin@npm:5.3.0" - dependencies: - browserslist: "npm:^4.16.6" - caniuse-api: "npm:^3.0.0" - colord: "npm:^2.9.1" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 3d3e3cc25071407fb73d68541ca1039ebd154fceb649041461a8a3cab0400cc89b42dbb34a4eeaf573be4ba2370ce23af5e01aff5e03a8d72275f40605577212 - languageName: node - linkType: hard - "postcss-colormin@npm:^5.3.1": version: 5.3.1 resolution: "postcss-colormin@npm:5.3.1" @@ -14319,18 +14130,6 @@ __metadata: languageName: node linkType: hard -"postcss-convert-values@npm:^5.1.2": - version: 5.1.2 - resolution: "postcss-convert-values@npm:5.1.2" - dependencies: - browserslist: "npm:^4.20.3" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 54bbf702164a50407ff318e7877661b72acdc8e04c293a884cb258b2ed58483bcae7ce31fdc3e74e4bdd48262e1799230947684b3732f92c75b4aeb6943544a7 - languageName: node - linkType: hard - "postcss-convert-values@npm:^5.1.3": version: 5.1.3 resolution: "postcss-convert-values@npm:5.1.3" @@ -14458,18 +14257,6 @@ __metadata: languageName: node linkType: hard -"postcss-merge-longhand@npm:^5.1.6": - version: 5.1.6 - resolution: "postcss-merge-longhand@npm:5.1.6" - dependencies: - postcss-value-parser: "npm:^4.2.0" - stylehacks: "npm:^5.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 990efea68de63c88ea6c6f9017a03d9907bd05cf3ff35384bd3c334aba020ad5179f466a24554b4c538243773af984d555a9c81669b4483e5d7722522aa0fe04 - languageName: node - linkType: hard - "postcss-merge-longhand@npm:^5.1.7": version: 5.1.7 resolution: "postcss-merge-longhand@npm:5.1.7" @@ -14482,20 +14269,6 @@ __metadata: languageName: node linkType: hard -"postcss-merge-rules@npm:^5.1.2": - version: 5.1.2 - resolution: "postcss-merge-rules@npm:5.1.2" - dependencies: - browserslist: "npm:^4.16.6" - caniuse-api: "npm:^3.0.0" - cssnano-utils: "npm:^3.1.0" - postcss-selector-parser: "npm:^6.0.5" - peerDependencies: - postcss: ^8.2.15 - checksum: 2eb44c7bcbc6f04a4799f67f3978242eef39f43f7fa2c33727fdcb15773d17c7228aa1766bb74d3187023ae0b65d467e63684ada4b0b431f00bba790c5ec9a44 - languageName: node - linkType: hard - "postcss-merge-rules@npm:^5.1.4": version: 5.1.4 resolution: "postcss-merge-rules@npm:5.1.4" @@ -14534,19 +14307,6 @@ __metadata: languageName: node linkType: hard -"postcss-minify-params@npm:^5.1.3": - version: 5.1.3 - resolution: "postcss-minify-params@npm:5.1.3" - dependencies: - browserslist: "npm:^4.16.6" - cssnano-utils: "npm:^3.1.0" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 2d218f6b82474310c866b690210595a5e6a4c695f174f9100b018adb4a171bd67b1adaba26c241b3d41a4ea0f4962e0f5a77cf12ae60d9db76f80b0c7cbd6bcd - languageName: node - linkType: hard - "postcss-minify-params@npm:^5.1.4": version: 5.1.4 resolution: "postcss-minify-params@npm:5.1.4" @@ -14690,18 +14450,6 @@ __metadata: languageName: node linkType: hard -"postcss-normalize-unicode@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-unicode@npm:5.1.0" - dependencies: - browserslist: "npm:^4.16.6" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 3570c90050f190811b5dbf7b4cf4f30f0b627c1ba5fbe5ad332e8b0aa7ef14b3d0aa2af1cb1074d0267aec8c9771e28866d867c8a8a0c433b6c34e50445f9c16 - languageName: node - linkType: hard - "postcss-normalize-unicode@npm:^5.1.1": version: 5.1.1 resolution: "postcss-normalize-unicode@npm:5.1.1" @@ -14760,18 +14508,6 @@ __metadata: languageName: node linkType: hard -"postcss-reduce-initial@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-reduce-initial@npm:5.1.0" - dependencies: - browserslist: "npm:^4.16.6" - caniuse-api: "npm:^3.0.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 56a784fb69ae17edbdb7b9fd93dc36c7ff52889f86153017a47216ec792de23b22a8c3f6a4a5dc6fed88bb13c88b47a5f7b4a8fd8d3f2edee0cab07db5e0f057 - languageName: node - linkType: hard - "postcss-reduce-initial@npm:^5.1.2": version: 5.1.2 resolution: "postcss-reduce-initial@npm:5.1.2" @@ -16069,18 +15805,7 @@ __metadata: languageName: node linkType: hard -"schema-utils@npm:^3.0.0, schema-utils@npm:^3.1.1": - version: 3.1.1 - resolution: "schema-utils@npm:3.1.1" - dependencies: - "@types/json-schema": "npm:^7.0.8" - ajv: "npm:^6.12.5" - ajv-keywords: "npm:^3.5.2" - checksum: cfcf991f108797719d8054281272cf508543d6e092e273129fca84d569baafa5344bc23ec98cf2274943f6ed69851ced4fd0ae24471601f3f4d69c00fac47be6 - languageName: node - linkType: hard - -"schema-utils@npm:^3.2.0": +"schema-utils@npm:^3.0.0, schema-utils@npm:^3.1.1, schema-utils@npm:^3.2.0": version: 3.3.0 resolution: "schema-utils@npm:3.3.0" dependencies: @@ -16188,16 +15913,7 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:^6.0.0": - version: 6.0.0 - resolution: "serialize-javascript@npm:6.0.0" - dependencies: - randombytes: "npm:^2.1.0" - checksum: ed3dabfbb565c48c9eb1ca8fe58f0d256902ab70a8a605be634ddd68388d5f728bb0bd1268e94fab628748ba8ad8392f01b05f3cbe1e4878b5c58c669fd3d1b4 - languageName: node - linkType: hard - -"serialize-javascript@npm:^6.0.1": +"serialize-javascript@npm:^6.0.0, serialize-javascript@npm:^6.0.1": version: 6.0.1 resolution: "serialize-javascript@npm:6.0.1" dependencies: @@ -16309,14 +16025,7 @@ __metadata: languageName: node linkType: hard -"shell-quote@npm:^1.6.1, shell-quote@npm:^1.7.3": - version: 1.7.3 - resolution: "shell-quote@npm:1.7.3" - checksum: 0ab00c37c84ea3ac13d5f0d45c6850701254fd1d6653d0604a48973ba3911ad0dd9f414672253a01f68fe48bb651a7138317ed4543b75ce4192c1d610e453d4c - languageName: node - linkType: hard - -"shell-quote@npm:^1.8.1": +"shell-quote@npm:^1.6.1, shell-quote@npm:^1.7.3, shell-quote@npm:^1.8.1": version: 1.8.1 resolution: "shell-quote@npm:1.8.1" checksum: af19ab5a1ec30cb4b2f91fd6df49a7442d5c4825a2e269b3712eded10eedd7f9efeaab96d57829880733fc55bcdd8e9b1d8589b4befb06667c731d08145e274d @@ -16907,18 +16616,6 @@ __metadata: languageName: node linkType: hard -"stylehacks@npm:^5.1.0": - version: 5.1.0 - resolution: "stylehacks@npm:5.1.0" - dependencies: - browserslist: "npm:^4.16.6" - postcss-selector-parser: "npm:^6.0.4" - peerDependencies: - postcss: ^8.2.15 - checksum: e6c0d318286db8bf1dd3fa633798f6772cd3888e010e8224ba271cb8ff2b41a64bbebf938a2f7cacad7e319c4c963648fe9e9376c564229bd6029ee4d4f57c3f - languageName: node - linkType: hard - "stylehacks@npm:^5.1.1": version: 5.1.1 resolution: "stylehacks@npm:5.1.1" @@ -17114,21 +16811,7 @@ __metadata: languageName: node linkType: hard -"terser@npm:^5.10.0": - version: 5.15.0 - resolution: "terser@npm:5.15.0" - dependencies: - "@jridgewell/source-map": "npm:^0.3.2" - acorn: "npm:^8.5.0" - commander: "npm:^2.20.0" - source-map-support: "npm:~0.5.20" - bin: - terser: bin/terser - checksum: a3925c4f00be6d0a7cca30a76d2c7c44d474944279f26191f1fe82460c903c572707b87692f2a3fa00d33b93f17bd1fe9f52855def8cf414002dbbd9d8195f4a - languageName: node - linkType: hard - -"terser@npm:^5.15.1, terser@npm:^5.16.8": +"terser@npm:^5.10.0, terser@npm:^5.15.1, terser@npm:^5.16.8": version: 5.24.0 resolution: "terser@npm:5.24.0" dependencies: @@ -17326,14 +17009,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.4.0": - version: 2.4.0 - resolution: "tslib@npm:2.4.0" - checksum: d8379e68b36caf082c1905ec25d17df8261e1d68ddc1abfd6c91158a064f6e4402039ae7c02cf4c81d12e3a2a2c7cd8ea2f57b233eb80136a2e3e7279daf2911 - languageName: node - linkType: hard - -"tslib@npm:^2.6.0": +"tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.4.0, tslib@npm:^2.6.0": version: 2.6.2 resolution: "tslib@npm:2.6.2" checksum: bd26c22d36736513980091a1e356378e8b662ded04204453d353a7f34a4c21ed0afc59b5f90719d4ba756e581a162ecbf93118dc9c6be5acf70aa309188166ca @@ -18453,18 +18129,7 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^8.0.1": - version: 8.0.1 - resolution: "wrap-ansi@npm:8.0.1" - dependencies: - ansi-styles: "npm:^6.1.0" - string-width: "npm:^5.0.1" - strip-ansi: "npm:^7.0.1" - checksum: f8ca229685bf7533351d740da00e81ec8c4a58879e92c30c6a380df9b1efa8ed102231ce147c42d651d02bbdb9a9d8f19c7bb4a7528e82734de72a31336d3cf9 - languageName: node - linkType: hard - -"wrap-ansi@npm:^8.1.0": +"wrap-ansi@npm:^8.0.1, wrap-ansi@npm:^8.1.0": version: 8.1.0 resolution: "wrap-ansi@npm:8.1.0" dependencies: @@ -18519,7 +18184,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.13.0": +"ws@npm:^8.13.0, ws@npm:^8.8.0": version: 8.14.2 resolution: "ws@npm:8.14.2" peerDependencies: @@ -18534,21 +18199,6 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.8.0": - version: 8.9.0 - resolution: "ws@npm:8.9.0" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: be5289395cf4fd8376869e926b26064d6302c8b94a181d709957e754b25a5070789ba7405b35a33e511eec6c474647bea331a68024878510d08b12ce5aa75da8 - languageName: node - linkType: hard - "xdg-basedir@npm:^5.0.1, xdg-basedir@npm:^5.1.0": version: 5.1.0 resolution: "xdg-basedir@npm:5.1.0"