Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependencies #244

Merged
merged 2 commits into from
Nov 20, 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
6 changes: 3 additions & 3 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Bump and create PR
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Node.js and use yarn
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20'
cache: 'yarn'

- name: Install All Dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
'bump-theme-package/'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
registry-url: 'https://registry.npmjs.org'
scope: '@dvcorg'
- run: |
Expand Down
23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,19 @@
"packages/*"
],
"devDependencies": {
"@release-it-plugins/workspaces": "^3.2.0",
"@typescript-eslint/eslint-plugin": "5.61.0",
"@typescript-eslint/parser": "5.61.0",
"eslint": "8.44.0",
"eslint-config-prettier": "8.8.0",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "^5.0.0-alpha.2",
"eslint-plugin-react": "7.32.2",
"gatsby-plugin-postcss": "^6.11.0",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "7.33.2",
"gatsby-plugin-postcss": "^6.12.0",
"husky": "8.0.3",
"lint-staged": "13.2.3",
"prettier": "3.0.0",
"stylelint": "15.10.1",
"lint-staged": "15.1.0",
"prettier": "3.1.0",
"stylelint": "15.11.0",
"stylelint-config-standard": "34.0.0"
}
}
25 changes: 11 additions & 14 deletions packages/gatsby-theme-iterative/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,9 @@
"@reach/skip-nav": "^0.18.0",
"@sentry/gatsby": "^7.57.0",
"@svgr/webpack": "^8.0.0",
"@types/gatsbyjs__reach-router": "^2.0.0",
"@types/isomorphic-fetch": "^0.0.36",
"@types/promise-polyfill": "^6.0.4",
"@types/react-collapse": "^5.0.1",
"@types/react-helmet": "^6.1.6",
"@types/unist": "^3.0.0",
"autoprefixer": "^10.4.4",
"classnames": "^2.3.1",
"ease-component": "^1.0.0",
"eslint": "^8.44.0",
"gatsby-plugin-image": "^3.11.0",
"gatsby-plugin-manifest": "^5.11.0",
"gatsby-plugin-postcss": "^6.11.0",
Expand All @@ -45,7 +38,7 @@
"gatsby-transformer-sharp": "^5.11.0",
"github-markdown-css": "^5.1.0",
"github-slugger": "^2.0.0",
"hast-util-select": "^5.0.4",
"hast-util-select": "^6.0.2",
"iso-url": "^1.2.1",
"isomorphic-fetch": "^3.0.0",
"lodash": "^4.17.21",
Expand All @@ -71,16 +64,20 @@
"scroll": "^3.0.1",
"tailwindcss": "^3.1.3",
"title-case": "^3.0.3",
"unified": "^10.1.2",
"unified": "^11.0.4",
"unist-util-remove-position": "^5.0.0",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@types/hast": "3.0.0",
"@typescript-eslint/eslint-plugin": "5.61.0",
"@typescript-eslint/parser": "5.61.0",
"stylelint": "15.10.1",
"typescript": "5.1.6"
"@types/gatsbyjs__reach-router": "^2.0.0",
"@types/hast": "3.0.3",
"@types/isomorphic-fetch": "^0.0.36",
"@types/promise-polyfill": "^6.0.4",
"@types/react-collapse": "^5.0.1",
"@types/react-helmet": "^6.1.6",
"@types/unist": "^3.0.0",
"stylelint": "15.11.0",
"typescript": "5.2.2"
},
"peerDependencies": {
"gatsby": "^5.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ module.exports = async (
typeof pathname === 'string'
? parentNode?.relativeDirectory?.split('/').includes(pathname)
: Array.isArray(pathname)
? pathname.some(p =>
parentNode?.relativeDirectory?.split('/').includes(p)
)
: false
? pathname.some(p =>
parentNode?.relativeDirectory?.split('/').includes(p)
)
: false
if (!isArgsLinkerPage) return markdownAST
visit(
markdownAST,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ module.exports = aliasEntries => astNode => {
cli === 'cml'
? CML_COMMAND_ROOT
: cli === 'gto'
? GTO_COMMAND_ROOT
: COMMAND_ROOT
? GTO_COMMAND_ROOT
: COMMAND_ROOT
const command = parts[index + 1]
const aliasEntry =
aliasEntries &&
Expand Down
9 changes: 3 additions & 6 deletions packages/gatsby-theme-iterative/pseudo-shadow.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
const path = require('path')
const pseudoShadow = modulePath => {
try {
return require(path.resolve(
'src',
'@dvcorg',
'gatsby-theme-iterative',
modulePath
))
return require(
path.resolve('src', '@dvcorg', 'gatsby-theme-iterative', modulePath)
)
} catch (e) {
return require(path.resolve(__dirname, 'src', modulePath))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export const Details: React.FC<
typeof cur === 'string'
? cur
: typeof cur === 'object'
? cur?.props?.children?.toString()
: '')
? cur?.props?.children?.toString()
: '')
}, '')
id = useMemo(() => {
return id ? slugger.slug(id) : slugger.slug(title)
Expand Down
14 changes: 7 additions & 7 deletions packages/gatsby-theme-iterative/src/components/SEO/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ const SEO: React.FC<ISEOProps> = ({
}
]
: pathname
? [
{
rel: 'canonical',
href: fullUrl
}
]
: []),
? [
{
rel: 'canonical',
href: fullUrl
}
]
: []),
...link
]}
>
Expand Down
4 changes: 2 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"schedule:monthly",
"group:linters",
"group:postcss",
"helpers:disableTypesNodeMajor",
Expand All @@ -22,15 +23,13 @@
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"automergeType": "branch",
"schedule": ["on tuesday every 2 weeks"],
"prPriority": 1,
"dependencyDashboardApproval": false
},
{
"matchPackagePatterns": ["*"],
"stabilityDays": 7,
"matchDatasources": ["npm"],
"schedule": ["on tuesday"],
"automerge": true,
"automergeType": "branch",
"dependencyDashboardApproval": false
Expand All @@ -39,6 +38,7 @@
"matchPackagePatterns": ["@dvcorg", "iterative"],
"additionalBranchPrefix": "iterative-package-",
"matchDatasources": ["npm"],
"schedule": ["at any time"],
"prCreation": "immediate",
"prPriority": 2,
"dependencyDashboardApproval": false
Expand Down
Loading