Skip to content

Commit

Permalink
dependency issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MattReimer committed Dec 12, 2023
1 parent 199ffeb commit bd712bd
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .yarn/versions/bb612729.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
undecided:
- "@riverscapes/gatsby"
- "@riverscapes/template-clean"
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,5 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.7.2"
},
"dependencies": {
"@mui/x-tree-view": "^6.17.0"
}
}
2 changes: 1 addition & 1 deletion sites/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ v18.16.0
## Upgrading a site to the latest version of Gatsby

1. Open a terminal and make sure you are in the `./docs` folder with the correct version of Nodejs.
2. Run `yarn up` to upgrade to the latest version of Gatsby.
2. Run `yarn upgrade:theme` (it's a custom script) to upgrade to the latest version of Gatsby.
3. If you like, check your `yarn.lock` file in the git diff to make sure the theme is at the correct level.

## Migration of Jekyll `./docs` site to Gatsby
Expand Down
1 change: 1 addition & 0 deletions sites/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
"start": "gatsby develop -p 8000",
"start:clean": "yarn clean; gatsby develop -p 8000",
"upgrade:theme": "yarn up @riverscapes/gatsby-theme",
"serve": "gatsby serve --prefix-paths -o",
"clean": "gatsby clean",
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\" && exit 1"
Expand Down
3 changes: 2 additions & 1 deletion theme/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@riverscapes/gatsby-theme",
"description": "Riverscapes website powered by Gatsby and Markdown",
"version": "0.1.8",
"version": "0.1.9",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -16,6 +16,7 @@
"@mdx-js/react": "^2.3.0",
"@mui/icons-material": "^5.14.8",
"@mui/material": "^5.14.8",
"@mui/x-tree-view": "^6.17.0",
"gatsby-plugin-image": "^3.10.0",
"gatsby-plugin-manifest": "^5.10.0",
"gatsby-plugin-mdx": "^5.10.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3345,6 +3345,7 @@ __metadata:
"@mdx-js/react": ^2.3.0
"@mui/icons-material": ^5.14.8
"@mui/material": ^5.14.8
"@mui/x-tree-view": ^6.17.0
"@types/jest": ^29.2.5
"@types/lodash": ^4.14.178
"@types/node": ^14.18.12
Expand Down Expand Up @@ -3392,7 +3393,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@riverscapes/gatsby@workspace:."
dependencies:
"@mui/x-tree-view": ^6.17.0
gatsby: ^5.10.0
react: ^18.2.0
react-dom: ^18.2.0
Expand Down

0 comments on commit bd712bd

Please sign in to comment.