Skip to content

Commit

Permalink
fix(create-gatsby): Update questionare (gatsbyjs#37148)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts authored Dec 2, 2022
1 parent 535c3b4 commit 1c84345
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/docs/how-to/styling/theme-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Theme UI includes the `gatsby-plugin-theme-ui` package to better integrate with
Install the following packages to add Theme UI.

```shell
npm install theme-ui gatsby-plugin-theme-ui
npm install theme-ui @theme-ui/mdx gatsby-plugin-theme-ui @emotion/react @mdx-js/react
```

After installing the dependencies, add the following to your `gatsby-config.js`.
Expand Down
13 changes: 6 additions & 7 deletions examples/using-vanilla-extract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,17 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@vanilla-extract/babel-plugin": "^1.1.5",
"@vanilla-extract/css": "^1.6.8",
"@vanilla-extract/webpack-plugin": "^2.1.6",
"@vanilla-extract/css": "^1.9.2",
"@vanilla-extract/webpack-plugin": "^2.2.0",
"gatsby": "next",
"gatsby-plugin-vanilla-extract": "^2.0.1",
"gatsby-plugin-vanilla-extract": "^4.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/node": "^17.0.21",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"@types/node": "^18.11.10",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"typescript": "^4.6.2"
}
}
4 changes: 2 additions & 2 deletions packages/create-gatsby/src/questions/features.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"gatsby-plugin-google-analytics": {
"message": "Add the Google Analytics tracking script"
"gatsby-plugin-google-gtag": {
"message": "Add the Google gtag script for e.g. Google Analytics"
},
"gatsby-plugin-image": {
"message": "Add responsive images",
Expand Down
7 changes: 3 additions & 4 deletions packages/create-gatsby/src/questions/styles.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@
"message": "Theme UI",
"dependencies": [
"theme-ui",
"@theme-ui/mdx",
"@emotion/react",
"@emotion/styled",
"@mdx-js/react@v1"
"@mdx-js/react"
]
},
"gatsby-plugin-vanilla-extract": {
"message": "vanilla-extract",
"dependencies": [
"@vanilla-extract/webpack-plugin",
"@vanilla-extract/css",
"@vanilla-extract/babel-plugin"
"@vanilla-extract/css"
]
}
}

0 comments on commit 1c84345

Please sign in to comment.