Skip to content

Commit

Permalink
docs(website): upgrade heroicons dependency to 2.0.12 (#3404)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes committed Oct 31, 2022
1 parent e33be4b commit 9b4642f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
14 changes: 7 additions & 7 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@docusaurus/core": "^2.1.0",
"@docusaurus/plugin-sitemap": "^2.1.0",
"@docusaurus/preset-classic": "^2.1.0",
"@heroicons/react": "^1.0.6",
"@heroicons/react": "^2.0.12",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.1.1",
"prism-react-renderer": "^1.3.3",
Expand Down
13 changes: 5 additions & 8 deletions website/src/components/about-lerna.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import {
ClockIcon,
CogIcon,
CollectionIcon,
CubeTransparentIcon,
EmojiHappyIcon,
GlobeIcon,
LightningBoltIcon,
RectangleGroupIcon,
RectangleStackIcon,
ShareIcon,
SparklesIcon,
TemplateIcon,
UsersIcon,
} from "@heroicons/react/outline";
} from "@heroicons/react/24/outline";
import clsx from "clsx";
import React from "react";
import styles from "./about-lerna.module.css";
Expand Down Expand Up @@ -41,7 +38,7 @@ const callouts: Callout[] = [
title: "Target Dependencies",
text: "Lerna lets you specify how different targets (npm scripts) depend on each other.",
link: "/docs/features/run-tasks#target-dependencies-aka-task-pipelines",
icon: CollectionIcon,
icon: RectangleStackIcon,
},
{
title: "Efficient Execution",
Expand Down Expand Up @@ -92,7 +89,7 @@ const callouts: Callout[] = [
text:
"Why have separate tools for running tasks, linking packages and publishing them? Lerna does it--less config, less overhead.",
link: "/docs/getting-started",
icon: TemplateIcon,
icon: RectangleGroupIcon,
},
];

Expand Down
4 changes: 2 additions & 2 deletions website/src/components/hero-lerna.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChevronRightIcon, DuplicateIcon } from "@heroicons/react/outline";
import { ChevronRightIcon, DocumentDuplicateIcon } from "@heroicons/react/24/outline";
import { CopyToClipboard } from "react-copy-to-clipboard";
import React, { useEffect, useState } from "react";
import clsx from "clsx";
Expand Down Expand Up @@ -66,7 +66,7 @@ export default function HeroLerna(): JSX.Element {
<span className={styles.command__text}>
<span aria-hidden="true">$</span> {command}
</span>
<DuplicateIcon className={styles.command__icon} />
<DocumentDuplicateIcon className={styles.command__icon} />
</button>
</CopyToClipboard>
</div>
Expand Down

0 comments on commit 9b4642f

Please sign in to comment.