Skip to content

Commit 1dccbd5

Browse files
authored
Merge branch 'main' into eol
2 parents d94d5ce + f76285a commit 1dccbd5

File tree

784 files changed

+2689
-1215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

784 files changed

+2689
-1215
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ updates:
88
- 'github_actions:pull-request'
99
commit-message:
1010
prefix: meta
11+
cooldown:
12+
default-days: 3
1113
open-pull-requests-limit: 10
1214

1315
- package-ecosystem: npm
@@ -19,6 +21,8 @@ updates:
1921
- 'github_actions:pull-request'
2022
commit-message:
2123
prefix: meta
24+
cooldown:
25+
default-days: 3
2226
groups:
2327
lint:
2428
patterns:

.lighthouserc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"collect": {
44
"numberOfRuns": 1,
55
"settings": {
6-
"preset": "desktop"
6+
"preset": "desktop",
7+
"skipAudits": ["is-crawlable"]
78
}
89
},
910
"assert": {

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22
1+
v22.14.0

apps/site/components/Downloads/Release/InstallationMethodDropdown.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ const InstallationMethodDropdown: FC = () => {
8080
ariaLabel={t('layouts.download.dropdown.platform')}
8181
onChange={platform => platform && release.setInstallMethod(platform)}
8282
className="min-w-28"
83+
dropdownClassName="!max-h-none"
8384
inline={true}
8485
/>
8586
);

apps/site/navigation.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@
3232
}
3333
},
3434
"footerLinks": [
35-
{
36-
"link": "https://openjsf.org/",
37-
"text": "components.containers.footer.links.openJSFoundation"
38-
},
3935
{
4036
"link": "https://trademark-policy.openjsf.org/",
4137
"text": "components.containers.footer.links.trademarkPolicy"
@@ -55,6 +51,10 @@
5551
{
5652
"link": "https://github.com/nodejs/node/security/policy",
5753
"text": "components.containers.footer.links.security"
54+
},
55+
{
56+
"link": "https://openjsf.org/",
57+
"text": "components.containers.footer.links.openJSFoundation"
5858
}
5959
],
6060
"socialLinks": [

apps/site/next.config.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ const nextConfig = {
9595
'shiki',
9696
],
9797
},
98+
// If we're building for the Cloudflare deployment we want to set
99+
// an appropriate deploymentId (needed for skew protection)
100+
// TODO: The `OPEN_NEXT_CLOUDFLARE` environment variable is being
101+
// defined in the worker building script, ideally the open-next
102+
// adapter should set it itself when it invokes the Next.js build
103+
// process, onces it does that remove the manual `OPEN_NEXT_CLOUDFLARE`
104+
// definition in the package.json script.
105+
deploymentId: process.env.OPEN_NEXT_CLOUDFLARE
106+
? (await import('@opennextjs/cloudflare')).getDeploymentId()
107+
: undefined,
98108
};
99109

100110
const withNextIntl = createNextIntlPlugin('./i18n.tsx');

apps/site/open-next.config.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1+
import type { OpenNextConfig } from '@opennextjs/cloudflare';
12
import { defineCloudflareConfig } from '@opennextjs/cloudflare';
23
import incrementalCache from '@opennextjs/cloudflare/overrides/incremental-cache/kv-incremental-cache';
34

45
const cloudflareConfig = defineCloudflareConfig({ incrementalCache });
56

6-
export default { ...cloudflareConfig, buildCommand: 'pnpm build:default' };
7+
const openNextConfig: OpenNextConfig = {
8+
...cloudflareConfig,
9+
buildCommand: 'pnpm build:default',
10+
cloudflare: {
11+
skewProtection: {
12+
enabled: true,
13+
},
14+
},
15+
};
16+
17+
export default openNextConfig;

apps/site/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"build:blog-data": "cross-env NODE_NO_WARNINGS=1 node ./scripts/blog-data/generate.mjs",
88
"build:blog-data:watch": "node --watch --watch-path=pages/en/blog ./scripts/blog-data/generate.mjs",
99
"build:default": "cross-env NODE_NO_WARNINGS=1 next build",
10-
"cloudflare:build:worker": "opennextjs-cloudflare build",
11-
"cloudflare:deploy": "wrangler deploy",
10+
"cloudflare:build:worker": "OPEN_NEXT_CLOUDFLARE=true opennextjs-cloudflare build",
11+
"cloudflare:deploy": "opennextjs-cloudflare deploy",
1212
"cloudflare:preview": "wrangler dev",
1313
"predeploy": "node --run build:blog-data",
14-
"deploy": "cross-env NEXT_PUBLIC_STATIC_EXPORT=true node --run build:default",
14+
"deploy": "cross-env NEXT_PUBLIC_STATIC_EXPORT=true node --run build:default -- --turbo",
1515
"predev": "node --run build:blog-data",
1616
"dev": "cross-env NODE_NO_WARNINGS=1 next dev --turbo",
1717
"lint": "turbo run lint:md lint:js lint:css",
@@ -57,7 +57,7 @@
5757
"feed": "~5.1.0",
5858
"github-slugger": "~2.0.0",
5959
"gray-matter": "~4.0.3",
60-
"next": "15.3.4",
60+
"next": "15.4.3",
6161
"next-intl": "~4.3.4",
6262
"next-themes": "~0.4.6",
6363
"postcss-calc": "~10.1.1",
@@ -79,11 +79,11 @@
7979
"@eslint/eslintrc": "~3.3.1",
8080
"@flarelabs-net/wrangler-build-time-fs-assets-polyfilling": "^0.0.0",
8181
"@next/eslint-plugin-next": "15.3.4",
82-
"@opennextjs/cloudflare": "^1.3.0",
82+
"@opennextjs/cloudflare": "^1.6.0",
8383
"@playwright/test": "^1.53.2",
8484
"@testing-library/user-event": "~14.6.1",
8585
"@types/semver": "~7.7.0",
86-
"eslint-config-next": "15.3.5",
86+
"eslint-config-next": "15.4.3",
8787
"eslint-import-resolver-typescript": "~4.4.4",
8888
"eslint-plugin-mdx": "~3.6.0",
8989
"eslint-plugin-react": "~7.37.4",
@@ -110,7 +110,7 @@
110110
"typescript": "catalog:",
111111
"typescript-eslint": "~8.35.1",
112112
"user-agent-data-types": "0.4.2",
113-
"wrangler": "^4.22.0"
113+
"wrangler": "^4.25.1"
114114
},
115115
"imports": {
116116
"#site/*": [

apps/site/pages/en/blog/release/v0.10.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
date: '2013-03-11T16:00:00.000Z'
33
category: release
4-
title: Node v0.10.0 (Stable)
4+
title: Node.js v0.10.0 (Stable)
55
layout: blog-post
66
author: Isaac Z. Schlueter
77
---

apps/site/pages/en/blog/release/v0.10.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
date: '2013-03-21T16:09:59.000Z'
33
category: release
4-
title: Node v0.10.1 (Stable)
4+
title: Node.js v0.10.1 (Stable)
55
layout: blog-post
66
author: The Node.js Project
77
---

0 commit comments

Comments
 (0)