Skip to content

Commit 80efcfb

Browse files
committed
chore: bump dependencies with Relay 20 support
1 parent 66d6a1c commit 80efcfb

7 files changed

Lines changed: 785 additions & 871 deletions

File tree

.changeset/giant-falcons-repair.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"solid-relay": patch
3+
---
4+
5+
chore: be explicitly compatible with Relay 20

docs/app.config.ts

Lines changed: 48 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as fs from "node:fs";
22
import * as path from "node:path";
33
import { createWithSolidBase } from "@kobalte/solidbase/config";
44
import defaultTheme, {
5-
type SidebarItem,
5+
type DefaultThemeSidebarItem,
66
} from "@kobalte/solidbase/default-theme";
77
import { defineConfig } from "@solidjs/start/config";
88

@@ -47,58 +47,54 @@ export default defineConfig(
4747
},
4848
],
4949
sidebar: {
50-
"/guide": {
51-
items: [
52-
{
53-
title: "Overview",
54-
collapsed: false,
55-
items: [
56-
{
57-
title: "Getting Started",
58-
link: "/",
59-
},
60-
],
61-
},
62-
],
63-
},
64-
"/api": {
65-
items: [
66-
{
67-
title: "API Reference",
68-
collapsed: false,
69-
items: [
70-
{
71-
title: "Index",
72-
link: "/",
73-
},
74-
],
75-
},
76-
...(await Promise.all(
77-
["Functions", "Interfaces"].map(
78-
async (section): Promise<SidebarItem> => {
79-
const dir = section.toLowerCase();
80-
const items = await fs.promises.readdir(
81-
path.join(import.meta.dirname, "src/routes/api", dir),
82-
);
50+
"/guide": [
51+
{
52+
title: "Overview",
53+
collapsed: false,
54+
items: [
55+
{
56+
title: "Getting Started",
57+
link: "/",
58+
},
59+
],
60+
},
61+
],
62+
"/api": [
63+
{
64+
title: "API Reference",
65+
collapsed: false,
66+
items: [
67+
{
68+
title: "Index",
69+
link: "/",
70+
},
71+
],
72+
},
73+
...(await Promise.all(
74+
["Functions", "Interfaces"].map(
75+
async (section): Promise<DefaultThemeSidebarItem> => {
76+
const dir = section.toLowerCase();
77+
const items = await fs.promises.readdir(
78+
path.join(import.meta.dirname, "src/routes/api", dir),
79+
);
8380

84-
return {
85-
title: section,
86-
collapsed: false,
87-
items: items.map((item) => {
88-
const name = path
89-
.basename(item)
90-
.replace(path.extname(item), "");
91-
return {
92-
title: name,
93-
link: `/${dir}/${name}`,
94-
};
95-
}),
96-
};
97-
},
98-
),
99-
)),
100-
],
101-
},
81+
return {
82+
title: section,
83+
collapsed: false,
84+
items: items.map((item) => {
85+
const name = path
86+
.basename(item)
87+
.replace(path.extname(item), "");
88+
return {
89+
title: name,
90+
link: `/${dir}/${name}`,
91+
};
92+
}),
93+
};
94+
},
95+
),
96+
)),
97+
],
10298
},
10399
},
104100
},

docs/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
"preview": "vinxi preview"
99
},
1010
"dependencies": {
11-
"@fontsource-variable/inter": "^5.2.5",
12-
"@fontsource-variable/jetbrains-mono": "^5.2.5",
13-
"@fontsource-variable/lexend": "^5.2.7",
14-
"@kobalte/solidbase": "^0.2.11",
11+
"@fontsource-variable/inter": "^5.2.6",
12+
"@fontsource-variable/jetbrains-mono": "^5.2.6",
13+
"@fontsource-variable/lexend": "^5.2.9",
14+
"@kobalte/solidbase": "^0.2.16",
1515
"@solidjs/meta": "^0.29.4",
1616
"@solidjs/router": "^0.15.3",
1717
"@solidjs/start": "^1.1.4",
1818
"@vinxi/plugin-mdx": "^3.7.2",
1919
"solid-js": "^1.9.7",
2020
"solid-mdx": "^0.0.7",
21-
"vinxi": "^0.5.6"
21+
"vinxi": "^0.5.7"
2222
},
2323
"devDependencies": {
2424
"@iconify-json/ri": "^1.2.5",
25-
"@types/node": "^22.15.21",
25+
"@types/node": "^24.0.3",
2626
"solid-relay": "workspace:^",
27-
"typedoc": "^0.28.4",
28-
"typedoc-plugin-markdown": "^4.6.3"
27+
"typedoc": "^0.28.5",
28+
"typedoc-plugin-markdown": "^4.6.4"
2929
}
3030
}

example/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
"@solidjs/meta": "^0.29.4",
1313
"@solidjs/router": "^0.15.3",
1414
"@solidjs/start": "^1.1.4",
15-
"meros": "^1.3.0",
16-
"relay-runtime": "^19.0.0",
15+
"meros": "^1.3.1",
16+
"relay-runtime": "^20.0.0",
1717
"solid-js": "^1.9.7",
1818
"solid-relay": "workspace:*",
19-
"vinxi": "^0.5.6"
19+
"vinxi": "^0.5.7"
2020
},
2121
"devDependencies": {
22-
"@types/relay-runtime": "^19.0.1",
22+
"@types/relay-runtime": "^19.0.2",
2323
"concurrently": "^9.1.2",
2424
"graphql-client-example-server": "^1.5.2",
25-
"relay-compiler": "^19.0.0",
26-
"solid-devtools": "^0.34.0",
25+
"relay-compiler": "^20.0.0",
26+
"solid-devtools": "^0.34.1",
2727
"vite-plugin-cjs-interop": "^2.2.0",
2828
"vite-plugin-relay": "^2.1.0"
2929
}

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"tiny-invariant": "^1.3.3"
4040
},
4141
"peerDependencies": {
42-
"relay-runtime": "^18.1.0 || ^19",
42+
"relay-runtime": "^18.1.0 || ^19 || ^20",
4343
"seroval": "^1.1.0",
4444
"solid-js": ">=1.4.0"
4545
},
@@ -48,28 +48,28 @@
4848
"@changesets/cli": "^2.29.4",
4949
"@solidjs/testing-library": "^0.8.10",
5050
"@testing-library/jest-dom": "^6.6.3",
51-
"@types/node": "^22.15.21",
52-
"@types/relay-runtime": "^19.0.1",
51+
"@types/node": "^24.0.3",
52+
"@types/relay-runtime": "^19.0.2",
5353
"@types/relay-test-utils": "^19.0.0",
54-
"@vitest/coverage-v8": "^3.1.4",
55-
"@vitest/ui": "^3.1.4",
54+
"@vitest/coverage-v8": "^3.2.3",
55+
"@vitest/ui": "^3.2.3",
5656
"concurrently": "^9.1.2",
57-
"happy-dom": "^17.4.7",
57+
"happy-dom": "^18.0.1",
5858
"magic-string": "^0.30.17",
59-
"minimatch": "^10.0.1",
60-
"oxc-parser": "^0.72.0",
61-
"oxc-walker": "^0.2.5",
62-
"pkg-pr-new": "^0.0.50",
59+
"minimatch": "^10.0.3",
60+
"oxc-parser": "^0.73.0",
61+
"oxc-walker": "^0.3.0",
62+
"pkg-pr-new": "^0.0.51",
6363
"publint": "^0.3.12",
64-
"relay-compiler": "^19.0.0",
65-
"relay-runtime": "^19.0.0",
66-
"relay-test-utils": "^19.0.0",
64+
"relay-compiler": "^20.0.0",
65+
"relay-runtime": "^20.0.0",
66+
"relay-test-utils": "^20.0.0",
6767
"solid-js": "^1.9.7",
68-
"tsdown": "^0.12.2",
68+
"tsdown": "^0.12.8",
6969
"typescript": "^5.8.3",
7070
"vite-plugin-relay-lite": "^0.11.0",
7171
"vite-plugin-solid": "^2.11.6",
72-
"vitest": "^3.1.4"
72+
"vitest": "^3.2.3"
7373
},
7474
"pnpm": {
7575
"patchedDependencies": {
@@ -78,5 +78,5 @@
7878
},
7979
"files": ["dist"],
8080
"license": "MIT",
81-
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
81+
"packageManager": "pnpm@10.12.1"
8282
}

0 commit comments

Comments
 (0)