Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Update theme to 0.2.x #249

Merged
merged 11 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed the husky pre-commit was not working. It was simple change to add to this PR

15 changes: 2 additions & 13 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,7 @@ const plugins = [
resolve: '@dvcorg/gatsby-theme-iterative',
options: {
simpleLinkerTerms: require('./content/linked-terms'),
cssBase: path.join(
'src',
'@dvcorg',
'gatsby-theme-iterative',
'components',
'Page',
'base.css'
),
customMediaConfig: {
importFrom: './src/styles/media.css'
}
glossaryInstanceName: false
}
},
{
Expand Down Expand Up @@ -107,8 +97,7 @@ const plugins = [
]
}
},
'gatsby-plugin-meta-redirect',
'@sentry/gatsby'
'gatsby-plugin-meta-redirect'
]

module.exports = {
Expand Down
7 changes: 0 additions & 7 deletions gatsby-ssr.js

This file was deleted.

10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@
"prepare": "husky install"
},
"dependencies": {
"@dvcorg/gatsby-theme-iterative": "0.1.24",
"@dvcorg/gatsby-theme-iterative": "^0.2.8",
"@dvcorg/websites-server": "^0.0.16",
"@octokit/request": "^6.2.2",
"@sentry/gatsby": "^7.13.0",
"@svgr/webpack": "6.3.1",
"autoprefixer": "10.4.12",
"classnames": "2.3.2",
Expand All @@ -50,7 +49,6 @@
"react-helmet": "6.1.0",
"repo-link-check": "0.13.0",
"serve-handler": "6.1.3",
"tailwindcss": "3.1.8",
"typed.js": "2.0.12"
},
"devDependencies": {
Expand All @@ -77,17 +75,13 @@
"postcss-mixins": "9.0.4",
"postcss-nested": "5.0.6",
"prettier": "2.7.1",
"tailwindcss": "3.1.6",
"typescript": "4.8.3"
},
"keywords": [
"gatsby"
],
"license": "0BSD",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,json}": "eslint",
"*.{js,json,css,md}": "prettier --write"
Expand Down
Empty file removed postcss.config.js
Empty file.
4 changes: 0 additions & 4 deletions sentry.config.js

This file was deleted.

Loading