Skip to content

Commit 9335bd8

Browse files
authored
chore: upgrade pkgs (#509)
1 parent 559e644 commit 9335bd8

File tree

6 files changed

+6063
-2719
lines changed

6 files changed

+6063
-2719
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build": "gatsby build",
1414
"clean": "gatsby clean",
1515
"start": "node ./src/server.js",
16-
"heroku-postbuild": "heroku-deploy",
16+
"heroku-postbuild": "bash node_modules/.bin/heroku-deploy",
1717
"test": "jest",
1818
"format": "prettier --write",
1919
"format-check-all": "prettier --check \"**/*.{js,jsx,md,tsx,ts,json,css,yml,yaml}\"",
@@ -41,16 +41,16 @@
4141
},
4242
"homepage": "https://github.com/iterative/cml.dev#readme",
4343
"engines": {
44-
"node": ">=18.x <=20.x"
44+
"node": "22.x",
45+
"yarn": "4.x"
4546
},
4647
"dependencies": {
47-
"@dvcorg/gatsby-theme-iterative": "0.3.21",
48-
"@dvcorg/websites-server": "^0.1.1",
48+
"@dvcorg/gatsby-theme-iterative": "0.3.25",
49+
"@dvcorg/websites-server": "^0.3.0",
4950
"@emotion/react": "11.10.5",
5051
"@emotion/styled": "11.10.5",
5152
"@hapi/wreck": "18.0.0",
5253
"@mdx-js/react": "2.2.1",
53-
"@octokit/graphql": "5.0.4",
5454
"@reach/portal": "0.18.0",
5555
"@reach/tooltip": "0.18.0",
5656
"@theme-ui/color": "0.15.4",

src/@dvcorg/gatsby-theme-iterative/components/Documentation/Layout/styles.module.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@
4141
&.opened {
4242
content: '';
4343
position: fixed;
44-
top: 0;
45-
left: 0;
46-
bottom: 0;
47-
right: 0;
44+
inset: 0;
4845
z-index: 1;
4946
opacity: 1;
5047
pointer-events: all;

src/@dvcorg/gatsby-theme-iterative/components/LayoutFooter/index.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@ const footerLists: Array<IFooterListPopupProps> = [
6363
}
6464
]
6565
},
66-
{
67-
title: 'Company',
68-
items: [
69-
{ text: 'About us', url: 'https://iterative.ai/about/' },
70-
{ text: 'Join us', url: 'https://iterative.ai/about#career' },
71-
{ text: 'Media Kit', url: 'https://iterative.ai/brand' }
72-
]
73-
},
7466
{
7567
title: 'More Tools',
7668
items: [

src/components/molecules/HamburgerMenu/styles.module.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
transform: translateX(100%);
1111
transition: transform 0.4s ease, visibility 0.4s;
1212
will-change: transform;
13-
left: 0;
14-
right: 0;
15-
top: 0;
16-
bottom: 0;
13+
inset: 0;
1714
background-color: var(--color-gray-hover);
1815
color: #fff;
1916
overflow-y: auto;

src/gatsby/models/github/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
const { request } = require('@octokit/request')
1+
let request
2+
;(async () => {
3+
const mod = await import('@octokit/request')
4+
request = mod.request
5+
})()
26
/*
37
GitHub Static Data
48

0 commit comments

Comments
 (0)