Skip to content

Commit

Permalink
fix(deps): update dependency prism-react-renderer to v2 (#1643)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[prism-react-renderer](https://togithub.com/FormidableLabs/prism-react-renderer)
| [`1.3.5` ->
`2.0.4`](https://renovatebot.com/diffs/npm/prism-react-renderer/1.3.5/2.0.4)
|
[![age](https://badges.renovateapi.com/packages/npm/prism-react-renderer/2.0.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/prism-react-renderer/2.0.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/prism-react-renderer/2.0.4/compatibility-slim/1.3.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/prism-react-renderer/2.0.4/confidence-slim/1.3.5)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>FormidableLabs/prism-react-renderer</summary>

###
[`v2.0.4`](https://togithub.com/FormidableLabs/prism-react-renderer/releases/tag/prism-react-renderer%402.0.4)

[Compare
Source](https://togithub.com/FormidableLabs/prism-react-renderer/compare/[email protected]@2.0.4)

##### Patch Changes

-   Fix types for Prism library.

([#&#8203;204](https://togithub.com/FormidableLabs/prism-react-renderer/pull/204))

###
[`v2.0.3`](https://togithub.com/FormidableLabs/prism-react-renderer/releases/tag/prism-react-renderer%402.0.3)

[Compare
Source](https://togithub.com/FormidableLabs/prism-react-renderer/compare/[email protected]@2.0.3)

##### Patch Changes

-   Add package README

([#&#8203;200](https://togithub.com/FormidableLabs/prism-react-renderer/pull/200))

###
[`v2.0.2`](https://togithub.com/FormidableLabs/prism-react-renderer/releases/tag/prism-react-renderer%402.0.2)

[Compare
Source](https://togithub.com/FormidableLabs/prism-react-renderer/compare/[email protected]@2.0.2)

##### Patch Changes

-   Add publish provenance

([#&#8203;198](https://togithub.com/FormidableLabs/prism-react-renderer/pull/198))

###
[`v2.0.1`](https://togithub.com/FormidableLabs/prism-react-renderer/releases/tag/prism-react-renderer%402.0.1)

[Compare
Source](https://togithub.com/FormidableLabs/prism-react-renderer/compare/[email protected]@2.0.1)

##### Patch Changes

- Fix inclusion of [@&#8203;types](https://togithub.com/types)
dependency for prismjs

([#&#8203;196](https://togithub.com/FormidableLabs/prism-react-renderer/pull/196))

###
[`v2.0.0`](https://togithub.com/FormidableLabs/prism-react-renderer/releases/tag/prism-react-renderer%402.0.0)

[Compare
Source](https://togithub.com/FormidableLabs/prism-react-renderer/compare/[email protected])

##### Major Changes

-   v2 release with updated API

([#&#8203;191](https://togithub.com/FormidableLabs/prism-react-renderer/pull/191))

##### Minor Changes

- Added 2 new styles for the code viewer. light & dark mode themes using
only

([#&#8203;192](https://togithub.com/FormidableLabs/prism-react-renderer/pull/192))
    colors found on tailwindCSS.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/defenseunicorns/zarf).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41OC4wIiwidXBkYXRlZEluVmVyIjoiMzUuMTAyLjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Wayne Starr <[email protected]>
Co-authored-by: Wayne Starr <[email protected]>
  • Loading branch information
3 people authored Jun 8, 2023
1 parent 45bb825 commit df6d714
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 17 deletions.
6 changes: 3 additions & 3 deletions docs-website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const darkCodeTheme = require("prism-react-renderer/themes/shadesOfPurple");
const prismRenderer = require("prism-react-renderer/dist/index");
const { SocialsBox } = require("./static-components/SocialsBox/SocialsBox");

/** @type {import('@docusaurus/types').Config} */
Expand Down Expand Up @@ -137,8 +137,8 @@ const config = {
],
},
prism: {
theme: darkCodeTheme,
darkTheme: darkCodeTheme,
theme: prismRenderer.themes.shadesOfPurple,
darkTheme: prismRenderer.themes.shadesOfPurple,
},
}),
};
Expand Down
75 changes: 64 additions & 11 deletions docs-website/package-lock.json

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

4 changes: 1 addition & 3 deletions docs-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
"@docusaurus/preset-classic": "2.4.1",
"@docusaurus/theme-mermaid": "2.4.1",
"@easyops-cn/docusaurus-search-local": "^0.35.0",
"prism-react-renderer": "1.3.5",
"react": "17.0.2",
"react-dom": "17.0.2"
"prism-react-renderer": "2.0.4"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.1"
Expand Down

0 comments on commit df6d714

Please sign in to comment.