Skip to content

Commit

Permalink
chore: upgrade theme-ui to v0.15 (#93)
Browse files Browse the repository at this point in the history
* chore: upgrade yarn to v3.2.4 and install interactive-tools

* chore: upgrade theme-ui to v0.15

* ci: trigger build
  • Loading branch information
emmenko authored Nov 15, 2022
1 parent ca181de commit 0d6e01c
Show file tree
Hide file tree
Showing 9 changed files with 3,284 additions and 1,442 deletions.
541 changes: 541 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

768 changes: 0 additions & 768 deletions .yarn/releases/yarn-3.1.0.cjs

This file was deleted.

801 changes: 801 additions & 0 deletions .yarn/releases/yarn-3.2.4.cjs

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-constraints.cjs
spec: "@yarnpkg/plugin-constraints"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.1.0.cjs
yarnPath: .yarn/releases/yarn-3.2.4.cjs
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@emotion/react": "11.10.5",
"@mdx-js/mdx": "1.6.22",
"@mdx-js/react": "1.6.22",
"@netlify/plugin-gatsby": "1.0.3",
"@percy/cli": "1.0.0-beta.70",
"@readmo/sdk": "0.1.1",
"@theme-ui/components": "0.12.0",
"@theme-ui/preset-base": "0.12.0",
"@theme-ui/prism": "0.12.0",
"@theme-ui/components": "0.15.4",
"@theme-ui/mdx": "0.15.4",
"@theme-ui/preset-base": "0.15.4",
"@theme-ui/prism": "0.15.4",
"gatsby": "3.14.3",
"gatsby-plugin-catch-links": "3.14.0",
"gatsby-plugin-gdpr-tracking": "1.2.2",
Expand All @@ -35,7 +37,7 @@
"gatsby-plugin-offline": "4.14.0",
"gatsby-plugin-react-helmet": "4.14.0",
"gatsby-plugin-sharp": "3.14.1",
"gatsby-plugin-theme-ui": "0.12.0",
"gatsby-plugin-theme-ui": "0.15.4",
"gatsby-remark-images": "5.11.0",
"gatsby-source-filesystem": "3.14.0",
"gatsby-transformer-sharp": "3.14.0",
Expand All @@ -47,7 +49,7 @@
"react-dom": "17.0.2",
"react-helmet": "6.1.0",
"rehype-slug": "4.0.1",
"theme-ui": "0.12.0"
"theme-ui": "0.15.4"
},
"devDependencies": {
"eslint-config-react-app": "6.0.0",
Expand All @@ -58,5 +60,5 @@
"graphql-compose": "^7.25.0",
"webpack": "^5.24.2"
},
"packageManager": "yarn@3.1.0"
"packageManager": "yarn@3.2.4"
}
2 changes: 1 addition & 1 deletion src/components/code.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Themed } from 'theme-ui';
import Highlight, { defaultProps } from 'prism-react-renderer';
import { Themed } from '@theme-ui/mdx';
import { Box } from '@theme-ui/components';
import codeBlockParseOptions from '../utils/code-block-parse-options';

Expand Down
2 changes: 1 addition & 1 deletion src/components/feature-image.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Themed } from 'theme-ui';
import { Themed } from '@theme-ui/mdx';
import { Box, Flex, Link as HTMLLink } from '@theme-ui/components';
import { GatsbyImage } from 'gatsby-plugin-image';

Expand Down
2 changes: 1 addition & 1 deletion src/gatsby-plugin-theme-ui/components.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Themed } from 'theme-ui';
import { Themed } from '@theme-ui/mdx';
import { Box } from '@theme-ui/components';
import Code from '../components/code';

Expand Down
Loading

0 comments on commit 0d6e01c

Please sign in to comment.