Skip to content

Commit 012b87e

Browse files
authored
Merge pull request #2432 from system-ui/deps-16
Deps bumps for 0.16.0
2 parents 8952c8b + afb61cb commit 012b87e

File tree

168 files changed

+6917
-11475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+6917
-11475
lines changed

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"buildCommand": "build",
44
"packages": ["packages/theme-ui", "packages/core"],
55
"sandboxes": ["/examples/next", "/examples/gatsby-plugin"],
6-
"node": "16"
6+
"node": "18"
77
}

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ dist
88
coverage
99
examples/next/.next
1010
docs/src/pages/index.mdx
11+
12+
# Prettier doesn't know how to format MDX2 and makes silly mistakes.
13+
*.mdx

babel.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ module.exports = {
99
targets: '> 0.25%, not dead, not ie 11',
1010
},
1111
],
12-
'@babel/react',
12+
[
13+
'@babel/react',
14+
{
15+
runtime: 'automatic',
16+
importSource: '@theme-ui/core',
17+
},
18+
],
1319
'@babel/preset-typescript',
1420
],
1521
env: {

examples/gatsby-plugin/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
"build": "gatsby build"
1313
},
1414
"dependencies": {
15-
"@emotion/react": "^11",
16-
"gatsby": "^4.21.0",
17-
"gatsby-plugin-mdx": "^3.7.1",
15+
"@emotion/react": "^11.11.1",
16+
"gatsby": "^5",
17+
"gatsby-plugin-mdx": "^5",
1818
"gatsby-plugin-theme-ui": "workspace:^",
1919
"react": "^18.1.0",
20-
"react-dom": "^18.1.0",
20+
"react-dom": "^18",
2121
"theme-ui": "workspace:^"
2222
},
2323
"devDependencies": {
24-
"@types/react": "^18",
25-
"typescript": "^4",
26-
"babel-eslint": "^10"
24+
"@types/react": "^18.2.12",
25+
"babel-eslint": "^10",
26+
"typescript": "^5"
2727
}
2828
}

examples/gatsby-plugin/src/layout.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/** @jsx jsx */
2-
import { jsx, Themed } from 'theme-ui'
1+
/** @jsxImportSource theme-ui */
2+
import { Themed } from 'theme-ui'
33

44
const Layout = (props) => (
55
<Themed.root>

examples/gatsby/package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,20 @@
1212
"build": "gatsby build"
1313
},
1414
"dependencies": {
15-
"@emotion/react": "^11",
16-
"gatsby": "^4.21.0",
17-
"gatsby-plugin-mdx": "^4.0.0",
18-
"react": "^18.1.0",
19-
"react-dom": "^18.1.0",
15+
"@emotion/react": "^11.11.1",
16+
"@mdx-js/react": "^2.3.0",
2017
"@theme-ui/mdx": "workspace:^",
21-
"theme-ui": "workspace:^",
22-
"@mdx-js/react": "^2",
23-
"gatsby-source-filesystem": "latest"
18+
"gatsby": "^5",
19+
"gatsby-plugin-mdx": "^5",
20+
"gatsby-source-filesystem": "latest",
21+
"react": "^18.1.0",
22+
"react-dom": "^18",
23+
"theme-ui": "workspace:^"
2424
},
2525
"devDependencies": {
26-
"@types/react": "^18",
27-
"typescript": "^4",
28-
"@babel/core": "^7.15.8",
26+
"@types/react": "^18.2.12",
2927
"babel-eslint": "^10",
30-
"graphql": "^15"
28+
"graphql": "^15",
29+
"typescript": "^5"
3130
}
3231
}

examples/next/package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,19 @@
1212
"typecheck": "tsc --noEmit"
1313
},
1414
"dependencies": {
15-
"@emotion/react": "^11",
16-
"@mdx-js/loader": "^2.1.2",
17-
"@mdx-js/react": "^2.1.2",
18-
"@next/mdx": "^12.0.7",
15+
"@emotion/react": "^11.11.1",
16+
"@mdx-js/loader": "^2.3.0",
17+
"@mdx-js/react": "^2.3.0",
18+
"@next/mdx": "^13.4.5",
1919
"@theme-ui/css": "workspace:^",
20-
"next": "^12.1.0",
21-
"react": "^18",
20+
"next": "^13.4.5",
21+
"react": "^18.1.0",
2222
"react-dom": "^18",
2323
"theme-ui": "workspace:^"
2424
},
2525
"devDependencies": {
26-
"typescript": "^4",
27-
"@babel/core": "^7",
28-
"webpack": "^4",
29-
"@types/react": "^18"
26+
"@types/react": "^18.2.12",
27+
"typescript": "^5",
28+
"webpack": "^5.86.0"
3029
}
3130
}

examples/prism/gatsby-browser.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/prism/gatsby-config.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

examples/prism/gatsby-ssr.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)