Skip to content

Commit

Permalink
chore(deps): bump prism-react-renderer from 1.3.5 to 2.0.3 in /website
Browse files Browse the repository at this point in the history
Bumps [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) from 1.3.5 to 2.0.3.
- [Release notes](https://github.com/FormidableLabs/prism-react-renderer/releases)
- [Commits](https://github.com/FormidableLabs/prism-react-renderer/compare/[email protected])

---
updated-dependencies:
- dependency-name: prism-react-renderer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and neilime committed May 5, 2023
1 parent dabf2ab commit cf3898e
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 112 deletions.
225 changes: 114 additions & 111 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,118 +1,121 @@
const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
const {
themes: { github: lightCodeTheme, dracula: darkCodeTheme },
} = require("prism-react-renderer");

// With JSDoc @type annotations, IDEs can provide config autocompletion
/** @type {import('@docusaurus/types').DocusaurusConfig} */
(module.exports = {
title: "TwbsHelper",
tagline:
"Laminas (formerly Zend Framework) module for easy integration of the Twitter Bootstrap v4+",
url: "https://neilime.github.io",
baseUrl: "/twbs-helper-module/",
trailingSlash: true,
onBrokenLinks: "ignore",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "neilime",
projectName: "twbs-helper-module",
presets: [
[
"@docusaurus/preset-classic",
/** @type {import('@docusaurus/preset-classic').Options} */
(
module.exports = {
title: "TwbsHelper",
tagline:
"Laminas (formerly Zend Framework) module for easy integration of the Twitter Bootstrap v4+",
url: "https://neilime.github.io",
baseUrl: "/twbs-helper-module/",
trailingSlash: true,
onBrokenLinks: "ignore",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "neilime",
projectName: "twbs-helper-module",
presets: [
[
"@docusaurus/preset-classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://neilime/twbs-helper-module/edit/main/website/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
}),
],
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://neilime/twbs-helper-module/edit/main/website/",
navbar: {
title: "TwbsHelper",
logo: {
alt: "TwbsHelper Logo",
src: "img/logo.svg",
},
items: [
{
type: "doc",
docId: "installation",
position: "left",
label: "Installation",
},
{
type: "doc",
docId: "usage/intro",
position: "left",
label: "Usage",
},
{
href: "https://github.com/neilime/twbs-helper-module",
label: "GitHub",
position: "right",
},
],
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Installation",
to: "/docs/installation",
},
{
label: "Usage",
to: "/docs/usage",
},
],
},
{
title: "ESCEMI",
items: [
{
label: "www.escemi.com",
href: "https://www.escemi.com/",
},
{
label: "Linkedin",
href: "https://www.linkedin.com/company/escemi",
},
{
label: "Malt",
href: "https://www.malt.fr/profile/emilienescalle",
},
],
},
{
title: "More",
items: [
{
label: "Github",
href: "https://github.com/escemi-tech",
},
{
label: "BuildAndRun",
href: "https://www.build-and-run.fr/",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} TwbsHelper.`,
},
}),
],
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: "TwbsHelper",
logo: {
alt: "TwbsHelper Logo",
src: "img/logo.svg",
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ["php"],
},
items: [
{
type: "doc",
docId: "installation",
position: "left",
label: "Installation",
},
{
type: "doc",
docId: "usage/intro",
position: "left",
label: "Usage",
},
{
href: "https://github.com/neilime/twbs-helper-module",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Installation",
to: "/docs/installation",
},
{
label: "Usage",
to: "/docs/usage",
},
],
},
{
title: "ESCEMI",
items: [
{
label: "www.escemi.com",
href: "https://www.escemi.com/",
},
{
label: "Linkedin",
href: "https://www.linkedin.com/company/escemi",
},
{
label: "Malt",
href: "https://www.malt.fr/profile/emilienescalle",
},
],
},
{
title: "More",
items: [
{
label: "Github",
href: "https://github.com/escemi-tech",
},
{
label: "BuildAndRun",
href: "https://www.build-and-run.fr/",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} TwbsHelper.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ["php"],
},
}),
});
}),
}
);
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@svgr/webpack": "^7.0.0",
"clsx": "^1.2.1",
"file-loader": "^6.2.0",
"prism-react-renderer": "^1.3.5",
"prism-react-renderer": "^2.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"url-loader": "^4.1.1"
Expand Down
13 changes: 13 additions & 0 deletions website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2613,6 +2613,11 @@
resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-5.0.3.tgz#e7b5aebbac150f8b5fdd4a46e7f0bd8e65e19109"
integrity sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw==

"@types/prismjs@^1.26.0":
version "1.26.0"
resolved "https://registry.yarnpkg.com/@types/prismjs/-/prismjs-1.26.0.tgz#a1c3809b0ad61c62cac6d4e0c56d610c910b7654"
integrity sha512-ZTaqn/qSqUuAq1YwvOFQfVW1AR/oQJlLSZVustdjwI+GZ8kr0MSHBj0tsXPW1EqHubx50gtBEjbPGsdZwQwCjQ==

"@types/prop-types@*":
version "15.7.5"
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf"
Expand Down Expand Up @@ -6502,6 +6507,14 @@ prism-react-renderer@^1.3.5:
resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz#786bb69aa6f73c32ba1ee813fbe17a0115435085"
integrity sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==

prism-react-renderer@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-2.0.3.tgz#251c93af94718991f6d4805bae70ac08c37997ce"
integrity sha512-KhTfMTznJeSqJkoqh9TUDuvRdyaNWXHCii1Z46sqthQXnMiFzCaWapfsmW5kHcFjRwEUJ92iysrgznv0y9XHlQ==
dependencies:
"@types/prismjs" "^1.26.0"
clsx "^1.2.1"

prismjs@^1.28.0:
version "1.28.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.28.0.tgz#0d8f561fa0f7cf6ebca901747828b149147044b6"
Expand Down

0 comments on commit cf3898e

Please sign in to comment.