Skip to content

Commit 18b3a1d

Browse files
Astro v6 (#683)
1 parent 0efaab9 commit 18b3a1d

27 files changed

+834
-584
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Node.js
2121
uses: actions/setup-node@v6
2222
with:
23-
node-version: '20' # LTS version
23+
node-version: '24' # LTS version
2424

2525
# Install pnpm (version from package.json packageManager field)
2626
- name: Install pnpm

.github/workflows/check-tool-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node.js
1717
uses: actions/setup-node@v6
1818
with:
19-
node-version: '20'
19+
node-version: '24'
2020

2121
- name: Install pnpm
2222
uses: pnpm/action-setup@v4

astro.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,4 @@ export default defineConfig({
4545
adapter: netlify(),
4646
site: 'https://openapi.tools',
4747
trailingSlash: 'never',
48-
prefetch: true,
4948
});

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
publish = "dist"
44

55
[build.environment]
6-
NODE_VERSION = "20"
6+
NODE_VERSION = "24"
77

88
[build.processing.html]
99
pretty_urls = false

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
},
2323
"dependencies": {
2424
"@algolia/autocomplete-core": "^1.19.4",
25-
"@astrojs/check": "^0.9.6",
26-
"@astrojs/netlify": "^6.6.3",
27-
"@astrojs/react": "^4.4.2",
28-
"@astrojs/rss": "^4.0.14",
29-
"@astrojs/sitemap": "^3.6.0",
25+
"@astrojs/check": "0.9.6-beta.1",
26+
"@astrojs/netlify": "7.0.0-beta.5",
27+
"@astrojs/react": "5.0.0-beta.1",
28+
"@astrojs/rss": "4.0.15-beta.1",
29+
"@astrojs/sitemap": "3.6.1-beta.2",
3030
"@astrojs/ts-plugin": "^1.10.6",
3131
"@headlessui/react": "^2.2.9",
3232
"@markdoc/markdoc": "^0.5.4",
@@ -37,8 +37,8 @@
3737
"@radix-ui/react-slot": "^1.2.4",
3838
"@sindresorhus/slugify": "^3.0.0",
3939
"@tanstack/react-table": "^8.21.3",
40-
"astro": "^5.16.6",
41-
"astro-seo": "^0.8.4",
40+
"astro": "6.0.0-beta.1",
41+
"astro-seo": "^1.1.0",
4242
"class-variance-authority": "^0.7.1",
4343
"clsx": "^2.1.1",
4444
"cmdk": "^1.1.1",
@@ -57,7 +57,7 @@
5757
"sharp": "^0.34.0",
5858
"tailwind-merge": "^3.4.0",
5959
"tw-animate-css": "^1.3.0",
60-
"zod": "^3.23.8"
60+
"zod": "^4.3.5"
6161
},
6262
"devDependencies": {
6363
"@eslint/js": "^9.39.0",

pnpm-lock.yaml

Lines changed: 766 additions & 518 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Link.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import posthog from 'posthog-js';
3-
import type { Category } from 'src/content/config';
3+
import type { Category } from 'src/content.config';
44

55
import generateUrlWithUTM from '@/utils/generateUrlWithUTM';
66

src/components/SponsorBanner.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
// SponsorBanner.astro
3-
import type { BannerSponsor } from 'src/content/config';
3+
import type { BannerSponsor } from 'src/content.config';
44
55
import generateUrlWithUTM from '@/utils/generateUrlWithUTM';
66

src/components/ToolBadge.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import React from 'react';
2-
3-
import type { Badge } from '@/content/config';
1+
import type { Badge } from '@/content.config';
42

53
interface ToolBadgeProps {
64
badge: Badge;

src/components/table/Columns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type ColumnDef } from '@tanstack/react-table';
2-
import type { Category, Tool } from 'src/content/config';
2+
import type { Category, Tool } from 'src/content.config';
33
import { isSponsorshipActive } from 'src/utils/sponsorship';
44

55
import { getDeviconClassName } from '@/utils/languageUtils';

0 commit comments

Comments
 (0)