Skip to content

Commit 7779994

Browse files
authored
chore(deps): update dependencies (#244)
1 parent df63c31 commit 7779994

File tree

12 files changed

+2849
-2703
lines changed

12 files changed

+2849
-2703
lines changed

.github/workflows/create-release-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828

29-
- uses: actions/setup-node@v3
29+
- uses: actions/setup-node@v4
3030
with:
31-
node-version: '18'
31+
node-version: '20'
3232

3333
- name: Bump and create PR
3434
run: |

.github/workflows/lint-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818

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

2525
- name: Install All Dependencies

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
'bump-theme-package/'))
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1616
with:
17-
node-version: '18'
17+
node-version: '20'
1818
registry-url: 'https://registry.npmjs.org'
1919
scope: '@dvcorg'
2020
- run: |

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,19 @@
2525
"packages/*"
2626
],
2727
"devDependencies": {
28-
"@release-it-plugins/workspaces": "^3.2.0",
29-
"@typescript-eslint/eslint-plugin": "5.61.0",
30-
"@typescript-eslint/parser": "5.61.0",
31-
"eslint": "8.44.0",
32-
"eslint-config-prettier": "8.8.0",
28+
"@typescript-eslint/eslint-plugin": "6.11.0",
29+
"@typescript-eslint/parser": "6.11.0",
30+
"eslint": "8.54.0",
31+
"eslint-config-prettier": "9.0.0",
3332
"eslint-plugin-json": "3.1.0",
34-
"eslint-plugin-jsx-a11y": "6.7.1",
35-
"eslint-plugin-prettier": "^5.0.0-alpha.2",
36-
"eslint-plugin-react": "7.32.2",
37-
"gatsby-plugin-postcss": "^6.11.0",
33+
"eslint-plugin-jsx-a11y": "6.8.0",
34+
"eslint-plugin-prettier": "^5.0.1",
35+
"eslint-plugin-react": "7.33.2",
36+
"gatsby-plugin-postcss": "^6.12.0",
3837
"husky": "8.0.3",
39-
"lint-staged": "13.2.3",
40-
"prettier": "3.0.0",
41-
"stylelint": "15.10.1",
38+
"lint-staged": "15.1.0",
39+
"prettier": "3.1.0",
40+
"stylelint": "15.11.0",
4241
"stylelint-config-standard": "34.0.0"
4342
}
4443
}

packages/gatsby-theme-iterative/package.json

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,9 @@
1414
"@reach/skip-nav": "^0.18.0",
1515
"@sentry/gatsby": "^7.57.0",
1616
"@svgr/webpack": "^8.0.0",
17-
"@types/gatsbyjs__reach-router": "^2.0.0",
18-
"@types/isomorphic-fetch": "^0.0.36",
19-
"@types/promise-polyfill": "^6.0.4",
20-
"@types/react-collapse": "^5.0.1",
21-
"@types/react-helmet": "^6.1.6",
22-
"@types/unist": "^3.0.0",
2317
"autoprefixer": "^10.4.4",
2418
"classnames": "^2.3.1",
2519
"ease-component": "^1.0.0",
26-
"eslint": "^8.44.0",
2720
"gatsby-plugin-image": "^3.11.0",
2821
"gatsby-plugin-manifest": "^5.11.0",
2922
"gatsby-plugin-postcss": "^6.11.0",
@@ -45,7 +38,7 @@
4538
"gatsby-transformer-sharp": "^5.11.0",
4639
"github-markdown-css": "^5.1.0",
4740
"github-slugger": "^2.0.0",
48-
"hast-util-select": "^5.0.4",
41+
"hast-util-select": "^6.0.2",
4942
"iso-url": "^1.2.1",
5043
"isomorphic-fetch": "^3.0.0",
5144
"lodash": "^4.17.21",
@@ -71,16 +64,20 @@
7164
"scroll": "^3.0.1",
7265
"tailwindcss": "^3.1.3",
7366
"title-case": "^3.0.3",
74-
"unified": "^10.1.2",
67+
"unified": "^11.0.4",
7568
"unist-util-remove-position": "^5.0.0",
7669
"unist-util-visit": "^5.0.0"
7770
},
7871
"devDependencies": {
79-
"@types/hast": "3.0.0",
80-
"@typescript-eslint/eslint-plugin": "5.61.0",
81-
"@typescript-eslint/parser": "5.61.0",
82-
"stylelint": "15.10.1",
83-
"typescript": "5.1.6"
72+
"@types/gatsbyjs__reach-router": "^2.0.0",
73+
"@types/hast": "3.0.3",
74+
"@types/isomorphic-fetch": "^0.0.36",
75+
"@types/promise-polyfill": "^6.0.4",
76+
"@types/react-collapse": "^5.0.1",
77+
"@types/react-helmet": "^6.1.6",
78+
"@types/unist": "^3.0.0",
79+
"stylelint": "15.11.0",
80+
"typescript": "5.2.2"
8481
},
8582
"peerDependencies": {
8683
"gatsby": "^5.0.0",

packages/gatsby-theme-iterative/plugins/gatsby-remark-args-linker/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ module.exports = async (
3131
typeof pathname === 'string'
3232
? parentNode?.relativeDirectory?.split('/').includes(pathname)
3333
: Array.isArray(pathname)
34-
? pathname.some(p =>
35-
parentNode?.relativeDirectory?.split('/').includes(p)
36-
)
37-
: false
34+
? pathname.some(p =>
35+
parentNode?.relativeDirectory?.split('/').includes(p)
36+
)
37+
: false
3838
if (!isArgsLinkerPage) return markdownAST
3939
visit(
4040
markdownAST,

packages/gatsby-theme-iterative/plugins/gatsby-remark-dvc-linker/commandLinker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ module.exports = aliasEntries => astNode => {
2727
cli === 'cml'
2828
? CML_COMMAND_ROOT
2929
: cli === 'gto'
30-
? GTO_COMMAND_ROOT
31-
: COMMAND_ROOT
30+
? GTO_COMMAND_ROOT
31+
: COMMAND_ROOT
3232
const command = parts[index + 1]
3333
const aliasEntry =
3434
aliasEntries &&

packages/gatsby-theme-iterative/pseudo-shadow.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
const path = require('path')
22
const pseudoShadow = modulePath => {
33
try {
4-
return require(path.resolve(
5-
'src',
6-
'@dvcorg',
7-
'gatsby-theme-iterative',
8-
modulePath
9-
))
4+
return require(
5+
path.resolve('src', '@dvcorg', 'gatsby-theme-iterative', modulePath)
6+
)
107
} catch (e) {
118
return require(path.resolve(__dirname, 'src', modulePath))
129
}

packages/gatsby-theme-iterative/src/components/Documentation/Markdown/components/default.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export const Details: React.FC<
4646
typeof cur === 'string'
4747
? cur
4848
: typeof cur === 'object'
49-
? cur?.props?.children?.toString()
50-
: '')
49+
? cur?.props?.children?.toString()
50+
: '')
5151
}, '')
5252
id = useMemo(() => {
5353
return id ? slugger.slug(id) : slugger.slug(title)

packages/gatsby-theme-iterative/src/components/SEO/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ const SEO: React.FC<ISEOProps> = ({
103103
}
104104
]
105105
: pathname
106-
? [
107-
{
108-
rel: 'canonical',
109-
href: fullUrl
110-
}
111-
]
112-
: []),
106+
? [
107+
{
108+
rel: 'canonical',
109+
href: fullUrl
110+
}
111+
]
112+
: []),
113113
...link
114114
]}
115115
>

0 commit comments

Comments
 (0)